SQLucid: Grounding Natural Language Database Queries with Interactive Explanations
<|reference_start|>SQLucid: Grounding Natural Language Database Queries with Interactive Explanations: Though recent advances in machine learning have led to significant improvements in natural language interfaces for databases, the accuracy and reliability of these systems remain limited, especially in high-stakes domains. This paper introduces SQLucid, a novel user interface that bridges the gap between non-expert users and complex database querying processes. SQLucid addresses existing limitations by integrating visual correspondence, intermediate query results, and editable step-by-step SQL explanations in natural language to facilitate user understanding and engagement. This unique blend of features empowers users to understand and refine SQL queries easily and precisely. Two user studies and one quantitative experiment were conducted to validate SQLucid's effectiveness, showing significant improvement in task completion accuracy and user confidence compared to existing interfaces. Our code is available at https://github.com/magic-YuanTian/SQLucid.<|reference_end|>
@article{tian2024sqlucid:,
    title={SQLucid: Grounding Natural Language Database Queries with Interactive
  Explanations},
    author={Yuan Tian, Jonathan K. Kummerfeld, Toby Jia-Jun Li, Tianyi Zhang},
    journal={arXiv preprint arXiv:2409.06178},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.06178},
    primaryClass={cs.HC cs.CL}
}