HillInfer: Efficient Long-Context LLM Inference on the Edge with Hierarchical KV Eviction using SmartSSD
He Sun, Li Li, Li Li, Mingjun Xiao · 2026 · 4 citationsRead the paper
Deploying Large Language Models (LLMs) on memory-constrained AI Personal Computers (AIPCs) enables low-latency, privacy-preserving inference, but long-context generation is fundamentally bottlenecked by the linearly growing Key-Value (KV) cache. While dynamic KV eviction mitigates this memory wall, existing offloading strategies either trigger crippling PCIe I/O bottlenecks on standard SSDs or suffer from FPGA resource exhaustion by forcing compute-intensive exact attention on a single, weak Computational Storage Drive (CSD). In this paper, we propose HillInfer, a CSD-assisted KV eviction framework that introduces a paradigm shift: offloading strictly lightweight token importance evaluation to a single CSD (e.g., SmartSSD) on AIPCs. To fully capitalize on this lightweight offloading strategy, HillInfer orchestrates a Hierarchical KV Cache Manager (HKM) that leverages temporal locality and dynamic token hit rates to physically partition cache pools, thereby eliminating cross-device I/O thrashing. Additionally, we design an Adaptive Prefetch-based Pipeline (APP) that adaptively balances the evaluation workload between the host CPU and the SmartSSD, effectively masking the heterogeneous straggler effect. Finally, we introduce a CSD-based Evaluation Configuration (CEC) to enable resource-efficient near-data processing on the FPGA. Extensive experiments on a commodity AIPC demonstrate that HillInfer achieves up to an 8.56$\times$ speedup over state-of-the-art baselines, delivering low-latency, I/O-efficient long-context inference without sacrificing model accuracy.
What the full text shows
Working prototype- Reduction in end-to-end inference latency compared to baselines. — 76.25% to 88.32% lower (Long-context inference on LongBench dataset)
- Speedup in inference throughput over state-of-the-art baselines. — 4.21x to 8.56x higher (Commodity AIPC setup)
- Model accuracy maintenance relative to Full Cache and other baselines. — Comparable accuracy (Tested on LongChat-7B, LLaMA-13B, Qwen-7B, and OPT-6.7B across multiple datasets (OpenBookQA, RTE, PIQA, COPA, PG-19))
- Setup
- Ubuntu 22.04 desktop with NVIDIA RTX 4090 (24GB VRAM), Intel Xeon Platinum 8352V (64GB RAM), and Samsung SmartSSD (Xilinx UltraScale+ FPGA, 4GB DDR4, 4TB NAND Flash) via PCIe 3.0.
- How
- The authors developed HillInfer, a framework that offloads lightweight token importance evaluation (raw inner products) to a SmartSSD FPGA to avoid PCIe bottlenecks. It utilizes a Hierarchical KV Cache Manager (HKM) for bidirectional data movement between CPU and SSD, and an Adaptive Prefetch-based Pipeline (APP) to synchronize CPU and FPGA workloads.
- Limitations
- Dependent on specific hardware (SmartSSD/FPGA) for near-data processing. · Performance depends on the target token retention ratio (optimal found between 10% and 20%).
Summarized by Gemma 4 from the open-access full text · 10 Nov 2026. Read it