Interactive-T2S: Multi-Turn Interactions for Text-to-SQL with Large Language Models
<|reference_start|>Interactive-T2S: Multi-Turn Interactions for Text-to-SQL with Large Language Models: This study explores text-to-SQL parsing by leveraging the powerful reasoning capabilities of large language models (LLMs). Despite recent advancements, existing LLM-based methods have not adequately addressed scalability, leading to inefficiencies when processing wide tables. Furthermore, current interaction-based approaches either lack a step-by-step, interpretable SQL generation process or fail to provide an efficient and universally applicable interaction design. To address these challenges, we introduce Interactive-T2S, a framework that generates SQL queries through direct interactions with databases. This framework includes four general tools that facilitate proactive and efficient information retrieval by the LLM. Additionally, we have developed detailed exemplars to demonstrate the step-wise reasoning processes within our framework. Our experiments on the BIRD-Dev dataset, employing a setting without oracle knowledge, reveal that our method achieves state-of-the-art results with only two exemplars, underscoring the effectiveness and robustness of our framework.<|reference_end|>
@article{xiong2024interactive-t2s:,
    title={Interactive-T2S: Multi-Turn Interactions for Text-to-SQL with Large
  Language Models},
    author={Guanming Xiong, Junwei Bao, Hongfei Jiang, Yang Song, Wen Zhao},
    journal={arXiv preprint arXiv:2408.11062},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.11062},
    primaryClass={cs.CL cs.AI}
}