Lune

EMNLP Findings2025

Enhancing SQL Table Acquisition with Reverse Engineering for Text-to-SQL

Shixin Liu, Haoyu Xu, Yu Hong

Abstract

Text-to-SQL oriented table acquisition suffers from heterogeneous semantic gap. To address the issue, we propose a Reverse Engineering (RE) based optimization approach. Instead of forward table search using questions as queries, RE reversely generates potentially-matched question conditioned on table schemas, and promotes semantic consistency verification between homogeneous questions. We experiment on two benchmarks, including SpiderUnion and BirdUnion. The test results show that our approach yields substantial improvements compared to the Retrieval-Reranker (2R) baseline, and achieves competitive performance in both table acquisition and Text-to-SQL tasks. 1

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillation cites Unsupervised Cross-lingual Representation Learning at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on11

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  2. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
  3. DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-CorrectionMohammadreza Pourreza, Davood RafieiNeurIPS 2023 · 909 citations
  4. M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge DistillationJianlyu Chen, Shitao Xiao, Peitian Zhang, Kun Luo et al.ACL Findings 2024 · 762 citations
  5. Unsupervised Cross-lingual Representation Learning at ScaleAlexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary et al.ACL 2020 · 539 citations

Related papers

  1. Bidirectional Semantic Enhancement for Schema Routing Across Large-Scale DatabasesYuyang Wu, Xiaoliang Wang, Cam-Tu NguyenACL Findings 2026
  2. REaR : Retrieve, Expand and Refine for Effective Multitable RetrievalRishita Agarwal, Himanshu Singhal, Peter Baile Chen, Manan Roy Choudhury et al.ACL 2026 · 2 citations
  3. Graph-Link: Bridging the Semantic-Structural Gap in Text-to-SQL via Constrained Subgraph InductionJianwei Zhong, Yuxi Yang, Quanxin Liu, Ruida Xu et al.ICML 2026
  4. RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL ParsersBailin Wang, Richard Shin, Xiaodong Liu, Oleksandr Polozov et al.ACL 2020 · 39 citations
  5. Retrieve Only Relevant Tables Whether Few or Many: Adaptive Table Retrieval MethodTaehee Kim, Seungbin Yang, Jihwan Kim, Jaegul ChooACL Findings 2026
Dusk over the sea between two cliffs drawn in fine vertical lines