arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.01079cs.DB
收藏

MobileRAG:一种面向端侧RAG的快速、内存高效且节能的方法

MobileRAG: A Fast, Memory-Efficient, and Energy-Efficient Method for On-Device RAG

Taehwan Park, Geonho Lee, Min-Soo Kim

AI总结:

MobileRAG通过EcoVector向量搜索和选择性内容缩减方法,在移动端实现低内存、低功耗且准确的RAG,支持离线隐私保护。

摘要:

检索增强生成(RAG)已在服务器基础设施上被证明有效,但其在移动设备上的应用由于内存和功耗资源有限仍未得到充分探索。现有向量搜索和RAG解决方案大多假设计算资源充足,使其在端侧场景中不切实际。本文提出MobileRAG,一个完全端侧的流水线,通过结合移动友好的向量搜索算法EcoVector与轻量级选择性内容缩减(SCR)方法克服上述限制。通过分区并部分加载索引数据,EcoVector大幅降低内存占用和CPU使用率,而SCR方法过滤不相关文本以减小语言模型(LM)输入规模且不降低准确率。大量实验表明,MobileRAG在延迟、内存使用和功耗方面显著优于传统向量搜索和RAG方法,同时保持准确率并支持离线运行,从而在资源受限环境中保护隐私。

英文摘要:

Retrieval-Augmented Generation (RAG) has proven effective on server infrastructures, but its application on mobile devices is still underexplored due to limited memory and power resources. Existing vector search and RAG solutions largely assume abundant computation resources, making them impractical for on-device scenarios. In this paper, we propose MobileRAG, a fully on-device pipeline that overcomes these limitations by combining a mobile-friendly vector search algorithm, \textit{EcoVector}, with a lightweight \textit{Selective Content Reduction} (SCR) method. By partitioning and partially loading index data, EcoVector drastically reduces both memory footprint and CPU usage, while the SCR method filters out irrelevant text to diminish Language Model (LM) input size without degrading accuracy. Extensive experiments demonstrated that MobileRAG significantly outperforms conventional vector search and RAG methods in terms of latency, memory usage, and power consumption, while maintaining accuracy and enabling offline operation to safeguard privacy in resource-constrained environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑