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

RubikSQL-HB:带循环知识的智能体文本到SQL系统

RubikSQL-HB: Agentic Text-to-SQL with Knowledge in the Loop

Huawei Technologies Co., Ltd.(华为技术有限公司);Alibaba Group(阿里巴巴集团);DeepSeek-AI(深度求索人工智能公司)

Haorui Jia, Zihan Qu, Yundi Dong, Ziyang Mei, Chi Zhang, Zezhi Zheng, Dousheng Zhao, Jiahao Zhang, Zui Chen, Han Li

AI总结:

本研究提出RubikSQL-HB系统,通过HeavenBase平台的可查询知识工作空间,将知识访问与SQL构建执行结合,在BIRD Mini-Dev评估中执行准确率达75.2%,提升了文本到SQL任务的决策质量。

摘要:

数据库智能体所需的不仅是模式结构,业务含义、存储值和参考查询提供了在推理不同阶段相关的知识。我们推出RubikSQL-HB,它通过构建在HeavenBase平台上的可查询、数据库特定知识工作空间来暴露这些材料。在智能体构建和研究答案时,其知识接口保持可用。候选智能体将知识访问与SQL构建和执行交错进行;下游的Judge(判断器)可重用相同接口来研究分歧。两阶段示例界面将发现参考问题与扩展其SQL分开。在500个问题的BIRD Mini-Dev评估中,完整管道达到75.2%的执行准确率,而首次候选选择为71.2%,执行多数投票为70.4%,79.0%的问题存在正确候选。原始知识条件(不使用内置工作空间重新生成候选)的准确率低3.0个百分点,带有工具和修订的裁决是相对于选择基线的主要增益来源。记录的执行探针显示持续调查如何解决候选分歧,单独的存档运行显示语义修订恢复了原始候选池中缺失的答案,版本化开发研究进一步说明重复修正如何成为可重用的执行检查。该系统和结果将知识接口设计与智能体决策质量联系起来:可查询知识支持有用替代方案的构建,证据感知的裁决将这些替代方案与最终答案联系起来,将知识保留在循环中使智能体能在推理发展时获取相关观察结果。

英文摘要:

Database agents need more than schema structure: business meanings, stored values and reference queries supply knowledge that becomes relevant at different points in reasoning. We introduce RubikSQL-HB, which exposes these materials through queryable, database-specific knowledge workspaces built on the HeavenBase platform. Its knowledge interface remains available as an agent constructs and investigates an answer. Candidate agents interleave knowledge access with SQL construction and execution; a downstream Judge can reuse the same interfaces to investigate disagreements. A two-stage example interface separates discovering a reference question from expanding its SQL. On a 500-question BIRD Mini-Dev evaluation, the full pipeline reaches 75.2% execution accuracy, against 71.2% for first-candidate selection and 70.4% for execution-majority voting, with a correct candidate available on 79.0% of questions. The raw-knowledge condition, which also regenerates candidates without the built workspace, is 3.0 points lower, and adjudication with tools and revision accounts for most of the gain over selection baselines. A recorded execution probe shows how continued investigation resolves a candidate disagreement. Separate archived runs show semantic revision recovering answers absent from their original candidate pools. A versioned development study further illustrates how recurring corrections become reusable execution checks. The system and results connect knowledge-interface design to agent decision quality: queryable knowledge supports the construction of useful alternatives, and evidence-aware adjudication connects those alternatives to a final answer. Keeping knowledge in the loop lets agents acquire relevant observations as their reasoning develops.

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

↑