arXiv:cs.AI· Ruichen Xia, Xiao Han, Dingyu Yang, Luwei Yang, Sai Wu, Dongxiang Zhang, Binhui Yao, Gang Chen·· 16 小时前
LYNX:通过接地与闭环精炼实现分析程序合成
LYNX: Analytical Program Synthesis via Grounding and Closed-Loop Refinement
AI 导读
LYNX 是一个多智能体框架,将 LLM 驱动的数据分析建模为受 schema 与知识约束的合成问题,通过规划、生成、验证、精炼的闭环工作流协同保证语义一致与执行正确。
正文
Abstract:LLM-powered data analytics aims to translate natural language instructions into executable analytical programs over underlying data. However, existing approaches, whether treating LLMs as intent-to-code translators or as standalone analytical engines, often fail to reliably align domain semantics with complex schemas and heterogeneous metadata, resulting in brittle execution and semantically inconsistent analytical outputs in real-world workloads. We present LYNX, a multi-agent framework that formulates LLM-driven analytics as a schema- and knowledge-constrained analysis problem rather than a single-pass generation task. LYNX organizes analytical synthesis into a closed-loop workflow of planning, generation, verification, and refinement through three role-specialized agents that collaboratively enforce schema grounding, semantic consistency, and execution correctness. To address domain ambiguity and schema misalignment, LYNX integrates Semantic-Structural Distillation and Stage-Aware Allocation (SSD-SAA). A delta-guided iterative revision continuously diagnoses and repairs semantic and execution-level failures, substantially improving synthesis robustness. We evaluate LYNX on two NL-to-SQL benchmarks, BIRD-SQL Mini-Dev and the more challenging Spider 2.0-Lite. Experimental results demonstrate strong performance and efficiency, achieving 10.66% to 59.54% execution accuracy across lightweight and commercial models, while reducing token consumption by 70.53% compared with the prior most efficient method. Our framework displays high generalization over different backbones, from open-source, lightweight models to the latest commercial models. Additional case studies on quantitative finance analytics and complex multi-relational SQL workloads further demonstrate the framework's robustness, scalability, and practical applicability in real-world analytical scenarios.
| Subjects: | Artificial Intelligence (cs.AI); Databases (cs.DB) |
| Cite as: | arXiv:2610.14777 [cs.AI] |
| (or arXiv:2610.14777v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.14777 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Xiao Han [view email]
[v1]
Sat, 10 Oct 2026 10:01:24 UTC (3,211 KB)
来源:arXiv:cs.AI · arxiv.org