arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2504.00299cs.AI
收藏

具有本地数据保护功能的协作式大语言模型数值推理

Collaborative LLM Numerical Reasoning with Local Data Protection

AWS AI(AWS人工智能)

Min Zhang, Yuzhe Lu, Yun Zhou, Panpan Xu, Lin Lee Cheong, Chang-Tien Lu, Haozhu Wang

AI总结:

本文提出一种本地与远程大语言模型协作框架,通过上下文感知查询综合和基于工具的答案重建,在保护本地数据的同时提升数值推理准确性。

摘要:

对文档进行数值推理既需要上下文理解又需要逻辑推断,对于部署在计算受限设备上的低能力本地模型而言具有挑战性。尽管此类复杂推理查询可以路由到诸如GPT-4之类的强大远程模型,但暴露本地数据会引发严重的数据泄露担忧。现有的缓解方法会生成问题描述或示例以供远程协助。然而,数值推理的固有复杂性阻碍了本地模型生成逻辑等价的查询,也难以在远程指导下准确推断答案。在本文中,我们提出了一个模型协作框架,具有两项关键创新:(1)一种上下文感知的综合策略,在保留推理模式的同时转移查询主题;(2)一种基于工具的答案重建方法,重用远程生成的即插即用解决方案及代码片段。实验结果表明,与仅使用本地模型相比,我们的方法实现了更好的推理准确性,同时比完全依赖远程模型提供了更强的数据保护。此外,与现有的数据保护方法相比,我们的方法将准确性提高了16.2% - 43.6%,同时将数据泄露降低了2.3% - 44.6%。

英文摘要:

Numerical reasoning over documents, which demands both contextual understanding and logical inference, is challenging for low-capacity local models deployed on computation-constrained devices. Although such complex reasoning queries could be routed to powerful remote models like GPT-4, exposing local data raises significant data leakage concerns. Existing mitigation methods generate problem descriptions or examples for remote assistance. However, the inherent complexity of numerical reasoning hinders the local model from generating logically equivalent queries and accurately inferring answers with remote guidance. In this paper, we present a model collaboration framework with two key innovations: (1) a context-aware synthesis strategy that shifts the query topics while preserving reasoning patterns; and (2) a tool-based answer reconstruction approach that reuses the remote-generated plug-and-play solution with code snippets. Experimental results demonstrate that our method achieves better reasoning accuracy than solely using local models while providing stronger data protection than fully relying on remote models. Furthermore, our method improves accuracy by 16.2% - 43.6% while reducing data leakage by 2.3% - 44.6% compared to existing data protection approaches.

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

↑