arXiv:2607.14661cs.AI2026-07

让手机本地运行大模型助手,靠分模块协作提升效率。

SmartRAG: Native Graph-Based RAG for Mobile Device

论文配图:SmartRAG: Native Graph-Based RAG for Mobile Device
图 1 · 摘自论文原文
  • 将智能助手拆为感知、记忆、聚焦、思考四模块协同工作。
  • 1.7B参数模型在4个问答数据集上媲美18倍大的模型,延迟低。
  • 适合需要隐私保护与离线运行的移动场景使用。

在移动端部署大型语言模型作为个人助手,需兼顾隐私性、低延迟和离线可用性,但巨量模型的计算开销与边缘设备预算存在冲突。我们认为仅靠模型压缩无法解决这一矛盾,必须将本地智能分解为互补功能角色。我们提出 SmartRAG,一个完全在设备端运行的框架,围绕感知、记忆、聚焦、思考四个协调模块构建智能助理。核心是 EvoNER,一种可持续学习的命名实体识别器,通过教师蒸馏更新不断扩展标签库,无需重训练主干LLM即可识别新实体类型。提取的知识存储于 MRGraph——一种三层溯源保全的知识图谱中,查询时通过图遍历、词法匹配与密集语义搜索的混合管道检索。只有高价值语义操作(标注、规划、答案生成)才调用本地LLM,从而控制推理成本。在四个QA基准(TriviaQA、Natural Questions、HotpotQA、MultiHopQA)上的实验表明,采用量化后的1.7B参数骨干模型,SmartRAG实现了与最大达18倍规模的模型相媲美的多跳推理性能,且可在主流智能手机上完全离线运行,满足实际内存与延迟要求。

原文摘要 · Abstract (English)

Deploying large language models (LLMs) as personal assistants on mobile devices demands privacy, low latency, and offline availability, yet the computational cost of giant models clashes with strict edge-hardware budgets. We argue that this tension cannot be resolved by model compression alone; it requires decomposing on-device intelligence into complementary functional roles. We present SmartRAG, a fully on-device framework that organizes an intelligent assistant around four coordinated modules -- Perception, Memory, Focus, and Thinking. At the core of SmartRAG is EvoNER, a continually learnable named-entity recognizer that incrementally expands its label inventory through teacher-distilled updates, enabling the system to absorb previously unseen entity types without retraining the backbone LLM. Extracted knowledge is stored in MRGraph, a three-layer provenance-preserving knowledge graph, and retrieved at query time through a hybrid pipeline combining graph traversal, lexical matching, and dense semantic search. The on-device LLM is invoked only for high-value semantic operations -- labeling, planning, and answer synthesis -- keeping inference costs bounded. Experiments on four QA benchmarks (TriviaQA, Natural Questions, HotpotQA, MultiHopQA) show that SmartRAG with a quantized 1.7B-parameter backbone achieves multi-hop reasoning performance competitive with models up to 18$\times$ larger, while running entirely on commodity smartphones within practical memory and latency envelopes.

移动端知识图谱RAG低延迟

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。