Graph-Fusion RESDSQL: Enhancing NL2SQL Robustness with Dynamic Schema Linking and Contextual Integration

In this paper, we tackle the Natural Language to SQL (NL2SQL) task, which aims to convert user queries in natural language into executable SQL statements, enabling non-professionals to easily access database information without needing programming skills. We propose a new model that builds upon the RESDSQL framework by incorporating graph encoding strategies and a fusion layer. The graph encoding dynamically models tables, columns, and questions using multi-layer graph attention, enhancing the schema linking component of RESDSQL. Additionally, the fusion layer interconnects contextual information between skeleton parsing and schema linking, facilitating information sharing and mutual influence. This approach improves robustness when generating complex SQL statements. Experimental results on the Spider dataset demonstrate that our model outperforms RESDSQL, achieving significant improvements in both Execution Accuracy (EX) and Exact-Match Accuracy (EM), particularly when dealing with complex multi-table joins and nested SQL statements. Our contributions lie in integrating graph structure encoding and self-attention mechanisms into the NL2SQL process, thereby enhancing the model's ability to capture relationships between database entities and natural language queries.

Authors

Institutions

Publication Details

Published
2025-05-09
DOI
https://doi.org/10.1109/cisce65916.2025.11065889
Primary Topic
Graph Theory and Algorithms
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Graph-Fusion RESDSQL: Enhancing NL2SQL Robustness with Dynamic Schema Linking and Contextual Integration

Tianrong Zhang, Yulong Liu
Graph Theory and Algorithms
article

Graph-Fusion RESDSQL: Enhancing NL2SQL Robustness with Dynamic Schema Linking and Contextual Integration

Tianrong Zhang, Yulong Liu
article en

Abstract

In this paper, we tackle the Natural Language to SQL (NL2SQL) task, which aims to convert user queries in natural language into executable SQL statements, enabling non-professionals to easily access database information without needing programming skills. We propose a new model that builds upon the RESDSQL framework by incorporating graph encoding strategies and a fusion layer. The graph encoding dynamically models tables, columns, and questions using multi-layer graph attention, enhancing the schema linking component of RESDSQL. Additionally, the fusion layer interconnects contextual information between skeleton parsing and schema linking, facilitating information sharing and mutual influence. This approach improves robustness when generating complex SQL statements. Experimental results on the Spider dataset demonstrate that our model outperforms RESDSQL, achieving significant improvements in both Execution Accuracy (EX) and Exact-Match Accuracy (EM), particularly when dealing with complex multi-table joins and nested SQL statements. Our contributions lie in integrating graph structure encoding and self-attention mechanisms into the NL2SQL process, thereby enhancing the model's ability to capture relationships between database entities and natural language queries.

China Electronics Technology Group Corporation (CN)
Openalex Percentile: Top 85%
Graph Theory and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Graph-Fusion RESDSQL: Enhancing NL2SQL Robustness with Dynamic Schema Linking and Contextual Integration — Tianrong Zhang, Yulong Liu · (2025) | TGRS Research Map | TGRS