STRuCT-LLM: Unifying Tabular and Graph Reasoning with Reinforcement Learning for Semantic Parsing
On the map: LLM reasoning → Knowledge- and tool-augmented reasoning
Abstract (arXiv)
We propose STRuCT-LLM, a unified framework for training large language models (LLMs) to perform structured reasoning over both relational and graph-structured data. Our approach jointly optimizes Text-to-SQL and Text-to-Cypher tasks using reinforcement learning (RL) combined with Chain-of-Thought (CoT) supervision. To support fine-grained optimization in graph-based parsing, we introduce a topology-aware reward function based on graph edit distance. Unlike prior work that treats relational and graph formalisms in isolation, STRuCT-LLM leverages shared abstractions between SQL and Cypher to induce cross-formalism transfer, enabling SQL training to improve Cypher performance and vice versa - even without shared schemas. Our largest model (QwQ-32B) achieves substantial relative improvements across tasks: on semantic parsing, Spider improves by 13.5% and Text2Cypher by 73.1%. The model also demonstrates strong zero-shot generalization, improving performance on downstream tabular QA (TableBench: 8.5%) and knowledge graph QA (CR-LT-KGQA: 1.7%) without any QA-specific supervision. These results demonstrate both the effectiveness of executable queries as scaffolds for structured reasoning and the synergistic benefits of jointly training on SQL and Cypher (code available at https://github.com/bouv/STRuCT-LLM).
Key facts. Cited by 5 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 24 of its 48 references that are in the map. First posted on arXiv 15 Jun 2025.
Builds on
24 of 48 references.
Closest ancestors · 3
Same direction, newest first
- 2025Sparks of Tabular Reasoning via Text2SQL Reinforcement Learning23 Apr
- 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQL29 Mar
- 2024CR-LT-KGQA: A Knowledge Graph Question Answering Dataset Requiring Commonsense Reasoning and Long-Tail Knowledge3 Mar
Other references · 21
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2024OpenAI o1 System Cardcited by 1,244
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 687
- 2023StructGPT: A General Framework for Large Language Model to Reason over Structured Datacited by 343
- 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 234
- 2023GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and Benchmarkingcited by 210
- 2024Large Language Models(LLMs) on Tabular Data: Prediction, Generation, and Understanding -- A Surveycited by 159
- 2025SQL-R1: Training Natural Language to SQL Reasoning Model By Reinforcement Learningcited by 68
- 2020On the Potential of Lexico-logical Alignments for Semantic Parsing to SQL Queriescited by 60
9 more
- 2021Text-to-SQL in the Wild: A Naturally-Occurring Dataset Based on Stack Exchange Datacited by 43
- 2024Text2Cypher: Bridging Natural Language and Graph Databasescited by 30
- 2024Solid-SQL: Enhanced Schema-linking based In-context Learning for Robust Text-to-SQLcited by 11
- 2025The Mighty ToRR: A Benchmark for Table Reasoning and Robustnesscited by 10
- 2025Enhancing Text2Cypher with Schema Filteringcited by 6
- 2025Query, Don't Train: Privacy-Preserving Tabular Prediction from EHR Data via SQL Queriescited by 5
- 2023Natural Language Models for Data Visualization Utilizing nvBench Datasetcited by 3
- 2025Bridging the Gap: Enabling Natural Language Queries for NoSQL Databases through Text-to-NoSQL Translationcited by 2
- 2025Text2Cypher: Data Pruning using Hard Example Selectioncited by 1
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Towards Agents That Know When They Don't Know: Uncertainty as a Control Signal for Structured Reasoningcited by 10
- 2026Ambig-DS: A Benchmark for Task-Framing Ambiguity in Data-Science Agentscited by 5
- 2025Towards Label-Free Biological Reasoning Synthetic Dataset Creation via Uncertainty Filteringcited by 3
- 2026Object Aligner: A Configurable JSON Schema Similarity Score for Graphs, Applied to LLM Prompt Optimizationcited by 0
- 2026CypherTurn: A Multi-Turn Benchmark for Conversational Text-to-Cypher Evaluation and the Autonomy Divergencecited by 0
- 2026CypherTurn: A Multi-Turn Benchmark for Conversational Text-to-Cypher Evaluation and the Autonomy Divergence29 Sep 2026
- 2026Object Aligner: A Configurable JSON Schema Similarity Score for Graphs, Applied to LLM Prompt Optimization2 Jul 2026
- 2026Ambig-DS: A Benchmark for Task-Framing Ambiguity in Data-Science Agents10 May 2026
- 2025Towards Label-Free Biological Reasoning Synthetic Dataset Creation via Uncertainty Filtering7 Oct 2025
- 2025Towards Agents That Know When They Don't Know: Uncertainty as a Control Signal for Structured Reasoning2 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2026Graph Reasoning Paradigm: Structured and Symbolic Reasoning with Topology-Aware Reinforcement Learning for Large Language Models
- 2025GraphOmni: A Comprehensive and Extensible Benchmark Framework for Large Language Models on Graph-theoretic Tasks
- 2026Improving LLM Reasoning with Homophily-aware Structural and Semantic Text-Attributed Graph Compression
- 2026GRAIN: Bridging Name and Narrative Shifts in Real-World Graph Reasoning through Invariance-Rewarded Agentic RL
- 2026StrucTab: A Structured Optimization Framework for Table Parsing
- 2024Can LLMs perform structured graph reasoning?
- 2026Enhancing Table Reasoning with Deterministic Table-State Rewards
- 2025Graph-Reward-SQL: Execution-Free Reinforcement Learning for Text-to-SQL via Graph Matching and Stepwise Reward