TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Pay More Attention to History: A Context Modelling Strateg...

Pay More Attention to History: A Context Modelling Strategy for Conversational Text-to-SQL

Yuntao Li, Hanchu Zhang, Yutian Li, Sirui Wang, Wei Wu, Yan Zhang

2021-12-16Semantic ParsingText-To-SQLNatural Language Queries
PaperPDFCode(official)

Abstract

Conversational text-to-SQL aims at converting multi-turn natural language queries into their corresponding SQL (Structured Query Language) representations. One of the most intractable problems of conversational text-to-SQL is modelling the semantics of multi-turn queries and gathering the proper information required for the current query. This paper shows that explicitly modelling the semantic changes by adding each turn and the summarization of the whole context can bring better performance on converting conversational queries into SQLs. In particular, we propose two conversational modelling tasks in both turn grain and conversation grain. These two tasks simply work as auxiliary training tasks to help with multi-turn conversational semantic parsing. We conducted empirical studies and achieved new state-of-the-art results on the large-scale open-domain conversational text-to-SQL dataset. The results demonstrate that the proposed mechanism significantly improves the performance of multi-turn semantic parsing.

Results

TaskDatasetMetricValueModel
Semantic ParsingSParCinteraction match accuracy43.2RAT-SQL-TC + GAP
Semantic ParsingSParCquestion match accuracy65.7RAT-SQL-TC + GAP
Text-To-SQLSParCinteraction match accuracy43.2RAT-SQL-TC + GAP
Text-To-SQLSParCquestion match accuracy65.7RAT-SQL-TC + GAP

Related Papers

CogniSQL-R1-Zero: Lightweight Reinforced Reasoning for Efficient SQL Generation2025-07-08XiYan-SQL: A Novel Multi-Generator Framework For Text-to-SQL2025-07-07Where, What, Why: Towards Explainable Driver Attention Prediction2025-06-29SPAZER: Spatial-Semantic Progressive Reasoning Agent for Zero-shot 3D Visual Grounding2025-06-27A Modular Multitask Reasoning Framework Integrating Spatio-temporal Models and LLMs2025-06-25Towards Probabilistic Question Answering Over Tabular Data2025-06-25SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applications2025-06-23Schema-R1: A reasoning training approach for schema linking in Text-to-SQL Task2025-06-13