SQLSpace:一个用于 Text-to-SQL 发现和缓解鲁棒性差距的表示空间
SQLSpace: A Representation Space for Text-to-SQL to Discover and Mitigate Robustness Gaps
AI总结:
提出 SQLSpace 表示空间,通过分析基准组成、细粒度评估模型性能及有针对性查询重写,发现并缓解 text-to-SQL 模型的鲁棒性差距。
摘要:
我们引入了 SQLSpace,这是一种通过最少人工干预导出的、人类可解释、可泛化且紧凑的 text-to-SQL 示例表示。我们通过三个用例展示了这些表示在评估中的实用性:(i) 仔细比较和对比流行的 text-to-SQL 基准的组成,以识别它们评估的示例的独特维度;(ii) 在总体准确率之外,以细粒度级别理解模型性能;(iii) 通过基于学习到的正确性估计进行有针对性的查询重写来提升模型性能。我们表明 SQLSpace 实现了仅靠原始示例难以完成的分析:它揭示了基准之间的组成差异,暴露了仅凭准确率掩盖的性能模式,并支持对查询成功与否的建模。
英文摘要:
We introduce SQLSpace, a human-interpretable, generalizable, compact representation for text-to-SQL examples derived with minimal human intervention. We demonstrate the utility of these representations in evaluation with three use cases: (i) closely comparing and contrasting the composition of popular text-to-SQL benchmarks to identify unique dimensions of examples they evaluate, (ii) understanding model performance at a granular level beyond overall accuracy scores, and (iii) improving model performance through targeted query rewriting based on learned correctness estimation. We show that SQLSpace enables analysis that would be difficult with raw examples alone: it reveals compositional differences between benchmarks, exposes performance patterns obscured by accuracy alone, and supports modeling of query success.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。