mlsanityData to 14 Oct 2026

Weaver: Interweaving SQL and LLM for Table Reasoning

arXiv 2505.18961 ↗First posted 25 May 2025cs.AI cs.IRcited by 8

On the map: LLM reasoning → Knowledge- and tool-augmented reasoning

Abstract (arXiv)

Querying tables with unstructured data is challenging due to the presence of text (or image), either embedded in the table or in external paragraphs, which traditional SQL struggles to process, especially for tasks requiring semantic reasoning. While Large Language Models (LLMs) excel at understanding context, they face limitations with long input sequences. Existing approaches that combine SQL and LLMs typically rely on rigid, predefined work-flows, limiting their adaptability to complex queries. To address these issues, we introduce Weaver , a modular pipeline that dynamically integrates SQL and LLMs for table-based question answering (TableQA). Weaver generates a flexible, step-by-step plan that combines SQL for structured data retrieval with LLMs for semantic processing. By decomposing complex queries into manageable subtasks, Weaver improves accuracy and generalization. Our experiments show that Weaver consistently outperforms state-of-the-art methods across four TableQA datasets, reducing both API calls and error rates. The code, along with other associated scripts, are available at https://coral-lab-asu.github.io/weaver.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 25 of its 42 references that are in the map. First posted on arXiv 25 May 2025.

Builds on

25 of 42 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024H-STAR: LLM-driven Hybrid SQL-Text Adaptive Reasoning on Tables29 Jun
  2. 2024NormTab: Improving Symbolic Reasoning in LLMs Through Tabular Data Normalization25 Jun
  3. 2024TabSQLify: Enhancing Reasoning Capabilities of LLMs Through Table Decomposition15 Apr
  4. 2024ProTrix: Building Models for Planning and Reasoning over Tables with Sentence Context4 Mar
  5. 2024BlendSQL: A Scalable Dialect for Unifying Hybrid Question Answering in Relational Algebra27 Feb
  6. 2024Chain-of-Table: Evolving Tables in the Reasoning Chain for Table Understanding9 Jan
  7. 2021HiTab: A Hierarchical Table Dataset for Question Answering and Natural Language Generation15 Aug

Other references · 18

  1. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  2. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  3. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  4. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
  5. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  6. 2021FinQA: A Dataset of Numerical Reasoning over Financial Datacited by 562
  7. 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 515
  8. 2019TabFact: A Large-scale Dataset for Table-based Fact Verificationcited by 428
  9. 2022Large Language Models are Better Reasoners with Self-Verificationcited by 307
  10. 2022Binding Language Models in Symbolic Languagescited by 228
  11. 2020Open Question Answering over Tables and Textcited by 163
  12. 2020INFOTABS: Inference on Tables as Semi-structured Datacited by 86
6 more
  1. 2023ReAcTable: Enhancing ReAct for Table Question Answeringcited by 76
  2. 2024Semantic Operators: A Declarative Model for Rich, AI-based Data Processingcited by 34
  3. 2024Text2SQL is Not Enough: Unifying AI and Databases with TAGcited by 34
  4. 2024UQE: A Query Engine for Unstructured Databasescited by 21
  5. 2024Knowledge-Aware Reasoning over Multimodal Semi-structured Tablescited by 9
  6. 2024Semantic SQL -- Combining and optimizing semantic predicates in SQLcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 5.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Lucy: Think and Reason to Solve Text-to-SQL
  2. 2024A Survey of Table Reasoning with Large Language Models
  3. 2025Improving Table Understanding with LLMs and Entity-Oriented Search
  4. 2026Integrating Reasoning and Generalization in Text-to-SQL via Self-Enhanced Fine-Tuning
  5. 2024From Natural Language to SQL: Review of LLM-based Text-to-SQL Systems
  6. 2025SQLForge: Synthesizing Reliable and Diverse Data to Enhance Text-to-SQL Reasoning in LLMs
  7. 2025TableReasoner: Advancing Table Reasoning Framework with Large Language Models
  8. 2025Chain-of-Query: Unleashing the Power of LLMs in SQL-Aided Table Understanding via Multi-Agent Collaboration