RubikSQL-HB:基于HeavenBase知识工作区的Agentic Text-to-SQL系统
RubikSQL-HB: Agentic Text-to-SQL with Knowledge in the Loop
RubikSQL-HB将业务语义、存储值和参考查询以可查询的数据库专属知识工作区形式开放给Agent,使其在构建SQL时随时调用知识接口。在BIRD Mini-Dev 500题评测中,完整流水线执行准确率达75.2%,高于首选候选的71.2%和执行多数投票的70.4%,79.0%的题目存在正确候选。消融显示,带工具与修订的裁决机制贡献了相对选择基线的主要增益。
arXiv:2611.32772v1 Announce Type: new Abstract: 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org