arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.18157cs.CLcs.AIcs.MA
收藏

扇出还是中继?面向LLM智能体查询孤立表的所有权感知路由

Fan Out or Relay? Ownership-Aware Routing for LLM Agents Querying Siloed Tables

University of California San Diego(加利福尼亚大学圣迭戈分校)

Zhexi Feng

AI总结:

针对LLM智能体查询孤立表的场景,提出所有权感知路由(OAR)方法,其在多数设置下准确率不劣于最优固定协议,在特定数据集上还优于所有固定协议。

摘要:

在组织内部,问题相关的数据通常由多个所有者持有,这些所有者仅查询自己的表而不会将数据移交。大型语言模型(LLM)协调器可选择扇出,即同时将问题发送给所有所有者;或选择中继,即依次查询所有者并复用之前返回的行。我们证明这两种方式都无法预先保证安全,因为数据所有权决定了哪种方式是正确的。在PeopleJoin和BIRD数据集上针对三个模型家族的13种设置中,对于单个所有者可回答的问题,扇出在12种设置中更准确,但最多只能回答需要连接两个所有者表的问题的4.3%。这种差异取决于所有权而非查询形式:在BIRD的两表连接任务中,当一个所有者持有两个表时,扇出的回答准确率为32%-44%,否则仅为1%-4%。中继的优势在于会根据返回的行进行调整,而在完全相同的规划器中隐藏这些返回行会使两所有者场景下的准确率从23.2%降至5.1%。由于所有权是公开信息,我们提出所有权感知路由(OAR),该方法会生成仅含模式的SQL查询,统计其连接的所有者表数量,并在读取任何私有行之前对问题进行路由。在10种设置中,OAR的准确率从未显著低于最优固定协议,且在PeopleJoin数据集上优于所有固定协议,在保留的组织数据上的优势最高达9.3个百分点。

英文摘要:

Inside organizations, a question's data often sit with several owners, who query their own tables but never hand them over. An LLM coordinator can fan out, sending the question to every owner at once, or relay, querying owners in turn and reusing earlier rows. We show that neither is safe in advance, because data ownership decides which one is right. Across thirteen settings on PeopleJoin and BIRD with three model families, fan-out is more accurate in twelve on questions one owner can answer, yet answers at most 4.3% of those joining two owners' tables. The flip follows ownership, not query shape: on BIRD two-table joins, fan-out answers 32-44% when one owner holds both and 1-4% otherwise. Relay wins by conditioning on returned rows, and hiding them from an otherwise identical planner cuts two-owner accuracy from 23.2% to 5.1%. Since ownership is public, we propose Ownership-Aware Routing (OAR), which drafts a schema-only SQL query, counts the owners whose tables it joins, and routes the question before any private row is read. In ten settings OAR is never significantly less accurate than the best fixed protocol, and beats every fixed protocol on PeopleJoin, by up to 9.3 points on held-out organizations.

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

↑