From Retrieved Context to Runtime Control: Adaptive Compression for Edge-based RAG

📅 2026-08-19
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文针对边缘设备上RAG模型的上下文压缩问题,提出了一种基于遥测信息的自适应压缩方法,通过动态调整压缩率来优化能耗和推理质量。
📝 Abstract
Retrieval-augmented generation (RAG) improves language-model responses by grounding generation in external passages, which comes with overhead: retrieved context lengthens the prompt, increasing prefill work, KV-cache footprint, memory traffic, latency, and energy. Context compression offers a natural remedy by pruning retrieved text before generation. However, state-of-the-art context-compression methods are typically used with a fixed compression budget, or with the rate selected offline and then applied at inference time. This static view ignores both workload variation and the live state of the edge device. On an edge SoC, compression is not free: the compressor itself runs on the same SoC and consumes latency and energy that can offset any generation savings. This paper proposes a vision for telemetry-informed adaptive compression in edge RAG, grounded in experimental evidence. We characterize the compression tradeoff on the NVIDIA Jetson AGX Thor using Llama and Qwen generators, Natural Questions and HotpotQA datasets, and LLMLingua-2 compression. Our measurements show that generation dominates the RAG budget for larger models, reaching roughly 90% of per-query latency and 91% of GPU energy for 7B-8B generators. Exploring the impact of the compression rate reveals an adaptive operating region: mild compression can miss energy opportunities, and overly aggressive compression can hurt inference quality. Intermediate compression can reduce GPU energy by up to 53.2%, and SoC energy by up to 48.2%, with negligible quality loss. We argue for runtime policies that dynamically manage compression, guided by workload features and edge telemetry.
Problem

Research questions and friction points this paper is trying to address.

Retrieval-augmented generation
context compression
edge device
latency
energy
Innovation

Methods, ideas, or system contributions that make the work stand out.

adaptive compression
edge telemetry
runtime policies
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
Z
Zlatan Feric
Northeastern University
A
Amir Taherin
Northeastern University
Yanzhi Wang
Yanzhi Wang
Northeastern University
Energy efficient and High Performance Deep LearningNeuromorphic ComputingLow-Power Circuits and
D
David Kaeli
Northeastern University