EC-RAG: Towards Efficient Edge-Cloud Retrieval-Augmented Generation Systems
Liang Wang, Kai Wang, Ranjun Jia, Kai Lu, Jiguang Wan, Hao Huo, Yulong Zhai, Zhiyuan Liang, Di Wang
摘要
Retrieval-augmented generation (RAG) grounds the desired responses of large language models (LLMs) by connecting to external knowledge databases. However, deploying full-scale LLMs on resource-constrained edge servers is impractical. Instead, small language models (SLMs) enable efficient deployment at the edge, but their limited model capacity may compromise generation quality. In this paper, we propose EC-RAG, a novel edge-cloud RAG system that selectively decides whether the final response should be generated by the edge-based SLM or the API-accessed cloud-based LLM. Specifically, on top of standard RAG, EC-RAG integrates dynamic chunk pruning to retain only useful information for each query and achieves adaptive query routing based on the query complexity and the amount of retained information, balancing accuracy, latency, and API cost. Furthermore, we explore several system optimizations to improve SLM inference performance at the edge. Our evaluation across four datasets shows that EC-RAG incurs only a slight additional cost relative to the SLM-only RAG and closes much of the quality gap with the LLM-only RAG. EC-RAG delivers up to a 30% higher F1-score than the SLM-only RAG and reduces costs by 90% compared to the LLM-only RAG, while ensuring low average latency.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- AdaRAG: Adaptive Optimization for Retrieval Augmented Generation with Multilevel Retrievers at the EdgeTao Ouyang, Guihang Hong, Kongyange Zhao, Zhi Zhou 等INFOCOM 2025 · 被引用 5 次
- SRAG: A Lightweight and Specialized Retrieval-augmented Generation System at the EdgeRuikun Luo, Zihan Xing, Lin Gu, Song Wu 等SIGIR 2026
- METIS: Fast Quality-Aware RAG Systems with Configuration AdaptationSiddhant Ray, Rui Pan, Zhuohan Gu, Kuntai Du 等SOSP 2025 · 被引用 3 次
- CoEdge-RAG: Optimizing Hierarchical Scheduling for Retrieval-Augmented LLMs in Collaborative Edge ComputingGuihang Hong, Tao Ouyang, Kongyange Zhao, Zhi Zhou 等RTSS 2025 · 被引用 4 次
- Clue-RAG: Towards Accurate and Cost-Efficient Graph-Based RAG Via Multi-Partite Graph-Based IndexYaodong Su, Yixiang Fang, Yingli Zhou, Chuanhui YangICDE 2026
