Reproduce “DIVER: A Robust Text-to-SQL System with Dynamic Interactive Value Linking and Evidence Reasoning” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yafeng Nan, Haifeng Sun, Zirui Zhuang, Qi Qi, Guojun Chu, Jianxin Liao, Dan Pei, Jingyu Wang

A training-free Text-to-SQL system, DIVER, automatically generates high-quality, model-adaptive evidence by simulating human expert reasoning and database interaction. It improves execution accuracy for state-of-the-art models on BIRD-dev by up to 10.82% for GPT-4o and enhances robustness on challenging benchmarks without relying on expert-written evidence.

Key insights

  • Decomposing complex natural language questions into smaller sub-clauses with token-level refinement is critical for simplifying the reasoning process and improving linking accuracy.
  • A dynamic, interactive probing approach to the database, guided by a structured Chain of Thoughts and Facts (CoTF), is superior to static similarity-based retrieval for robust value linking.
  • Generating evidence in both detailed ('long') and concise styles, adapted to different LLM input preferences, is crucial for maximizing performance across a range of Text-to-SQL models.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.