mlsanityData to 14 Oct 2026

Chain-of-Query: Unleashing the Power of LLMs in SQL-Aided Table Understanding via Multi-Agent Collaboration

arXiv 2508.15809 ↗First posted 14 Aug 2025cs.CL cs.AI cs.DBcited by 6

On the map: LLM agents and tool use → Web, search, and research agents

Abstract (arXiv)

Table understanding requires structured, multi-step reasoning. Large Language Models (LLMs) struggle with it due to the structural complexity of tabular data. Recently, multi-agent frameworks for SQL generation have shown promise in tackling the challenges of understanding tabular data, but existing approaches often suffer from limitations such as the inability to comprehend table structure for reliable SQL generation, error propagation that results in invalid queries, and over-reliance on execution correctness. To address these issues, we propose Chain-of-Query (CoQ), a novel multi-agent framework for SQL-aided table understanding. CoQ adopts natural-language-style representations of table schemas to abstract away structural noise and enhance understanding. It employs a clause-by-clause SQL generation strategy to improve query quality and introduces a hybrid reasoning division that separates SQL-based mechanical reasoning from LLM-based logical inference, thereby reducing reliance on execution outcomes. Extensive experiments across four models and five widely used benchmarks demonstrate that CoQ achieves substantial accuracy improvements and significantly lowers invalid SQL rates compared to prior generic LLM-based, SQL-aided, and hybrid baselines, confirming its superior effectiveness in table understanding. The code is available at https://github.com/SongyuanSui/ChainofQuery.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 42 of its 57 references that are in the map. First posted on arXiv 14 Aug 2025.

Builds on

42 of 57 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024Efficient Multi-Agent Collaboration with Tool Use for Online Planning in Complex Table Question Answering28 Dec
  2. 2024MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQL15 Aug

Other references · 40

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  4. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,988
  5. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  6. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  7. 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 515
  8. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 477
  9. 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 434
  10. 2019TabFact: A Large-scale Dataset for Table-based Fact Verificationcited by 428
  11. 2023StructGPT: A General Framework for Large Language Model to Reason over Structured Datacited by 343
  12. 2022Binding Language Models in Symbolic Languagescited by 228
28 more
  1. 2024Chain-of-Table: Evolving Tables in the Reasoning Chain for Table Understandingcited by 188
  2. 2024CodeS: Towards Building Open-source Language Models for Text-to-SQLcited by 187
  3. 2023Large Language Models are Versatile Decomposers: Decompose Evidence and Questions for Table-based Reasoningcited by 178
  4. 2021FeTaQA: Free-form Table Question Answeringcited by 175
  5. 2023TableLlama: Towards Open Large Generalist Models for Tablescited by 137
  6. 2023Chain-of-Knowledge: Grounding Large Language Models via Dynamic Knowledge Adapting over Heterogeneous Sourcescited by 122
  7. 2024Data-efficient Fine-tuning for LLM-based Recommendationcited by 104
  8. 2023ReAcTable: Enhancing ReAct for Table Question Answeringcited by 76
  9. 2023Exploring Chain-of-Thought Style Prompting for Text-to-SQLcited by 69
  10. 2022Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environmentscited by 57
  11. 2023Generative Table Pre-training Empowers Models for Tabular Predictioncited by 55
  12. 2024Large Language Model for Table Processing: A Surveycited by 52
  13. 2024TableRAG: Million-Token Table Understanding with Language Modelscited by 41
  14. 2023Open-WikiTable: Dataset for Open Domain Question Answering with Complex Reasoning over Tablecited by 40
  15. 2024TabSQLify: Enhancing Reasoning Capabilities of LLMs Through Table Decompositioncited by 39
  16. 2024TokenRec: Learning to Tokenize ID for LLM-based Generative Recommendationcited by 35
  17. 2023TAP4LLM: Table Provider on Sampling, Augmenting, and Packing Semi-structured Data for Large Language Model Reasoningcited by 32
  18. 2024StructLM: Towards Building Generalist Models for Structured Knowledge Groundingcited by 29
  19. 2024Call Me When Necessary: LLMs can Efficiently and Faithfully Reason over Structured Environmentscited by 27
  20. 2024QueryAgent: A Reliable and Efficient Reasoning Framework with Environmental Feedback-based Self-Correctioncited by 27
  21. 2024OpenTab: Advancing Large Language Models as Open-domain Table Reasonerscited by 25
  22. 2024Exploring the Impact of Table-to-Text Methods on Augmenting LLM-based Question Answering with Domain Hybrid Datacited by 24
  23. 2024H-STAR: LLM-driven Hybrid SQL-Text Adaptive Reasoning on Tablescited by 21
  24. 2024Tree-of-Table: Unleashing the Power of LLMs for Enhanced Large-Scale Table Understandingcited by 20
  25. 2025Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errorscited by 14
  26. 2024SynTQA: Synergistic Table-based Question Answering via Mixture of Text-to-SQL and E2E TQAcited by 9
  27. 2025Enhancing LLM Reasoning for Time Series Classification by Tailored Thinking and Fused Decisioncited by 8
  28. 2025CoVE: Compressed Vocabulary Expansion Makes Better LLM-based Recommender Systemscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 4.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Toward Real-World Table Agents: Capabilities, Workflows, and Design Principles for LLM-based Table Intelligence
  2. 2023MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQL
  3. 2025BAPPA: Benchmarking Agents, Plans, and Pipelines for Automated Text-to-SQL Generation
  4. 2025RAISE: Reasoning Agent for Interactive SQL Exploration
  5. 2025Weaver: Interweaving SQL and LLM for Table Reasoning
  6. 2025SQL-of-Thought: Multi-agentic Text-to-SQL with Guided Error Correction
  7. 2025AGENTIQL: An Agent-Inspired Multi-Expert Framework for Text-to-SQL Generation
  8. 2025From Queries to Insights: Agentic LLM Pipelines for Spatio-Temporal Text-to-SQL