paper-with-me

Papers

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

2026-08-20 · Zlatan Feric, Amir Taherin, Yanzhi Wang, David Kaeli arxiv

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.

📄 PDF Abstract BibTeX arXiv:2608.19535

Code (2)

arxivsub/arXivSub_daily_arxiv ★ 4
phuthiendao/RAG-arxiv-daily

Tasks

Natural Questions

Similar Papers 제목 키워드 기반

AdaSpring: Context-adaptive and Runtime-evolutionary Deep Model Compression for Mobile Applications

2021-01-28 · Sicong Liu, Bin Guo, Ke Ma, Zhiwen Yu 외

There are many deep learning (e.g., DNN) powered mobile and wearable applications today continuously and unobtrusively sensing the ambient surroundings to enhance all aspects of human lives. To enable robust and private …

Model Compression

AttnComp: Attention-Guided Adaptive Context Compression for Retrieval-Augmented Generation

2025-09-22 · Lvzhou Luo, Yixuan Cao, Ping Luo arxiv

Retrieval-augmented generation improves the factual accuracy of Large Language Models (LLMs) by incorporating external context, but often suffers from irrelevant retrieved content that hinders effectiveness. Context comp…

Enhancing RAG Efficiency with Adaptive Context Compression

2025-07-24 · Shuyu Guo, Shuo Zhang, Zhaochun Ren arxiv

Retrieval-augmented generation (RAG) enhances large language models (LLMs) with external knowledge but incurs significant inference costs due to lengthy retrieved contexts. While context compression mitigates this issue,…

AdaComp: Extractive Context Compression with Adaptive Predictor for Retrieval-Augmented Large Language Models

2024-09-03 · Qianchi Zhang, Hainan Zhang, Liang Pang, Hongwei Zheng 외

Retrieved documents containing noise will hinder RAG from detecting answer clues and make the inference process slow and expensive. Therefore, context compression is necessary to enhance its accuracy and efficiency. Exis…

RAGRetrievalTriplet

Runtime-Certified Bounded-Error Quantized Attention

2026-05-20 · Dean Calver arxiv

KV cache quantization reduces the memory cost of long-context LLM inference, but introduces approximation error that is typically validated only empirically. Existing systems rely on average-case robustness, with no mech…

Language Modelling