知道何时停止:预测文本到SQL执行一致性收敛
Knowing When to Stop: Predicting Execution-Consistency Convergence in Text-to-SQL
AI总结:
研究预测文本到SQL结果执行一致性收敛的停止时机,训练轻量级1-D模型观察一致性轨迹来决定是否继续运行,在多数据集上验证方法能自适应停止点,还展示了训练增强及噪声注入下的效果。
摘要:
重复调用大语言模型是评估文本到SQL结果可信度的标准方法,何时停止是开放问题。我们将其表述为收敛预测问题,训练轻量级1-D模型,根据运行一致性轨迹决定是否继续运行。在多个数据集上进行基准测试,结果表明该方法能自适应停止点,还通过训练增强和噪声注入验证了其可靠性。
英文摘要:
Repeated LLM calls are the standard way to estimate how trustworthy a Text-to-SQL result is: run the pipeline multiple times, judge each SQL execution, and use the consistency of the verdicts as a confidence signal. The open question is when to stop, when the consistency has converged. We formulate this as a convergence-prediction problem and train a family of lightweight 1-D models that observe the running consistency trajectory and decide, at each step, whether further runs are unlikely to shift it materially, and we benchmark them against a principled Beta-Bernoulli stopping rule and a learned run-count baseline. On the BIRD benchmark and two production customer datasets, our method adapts its stopping point to each user question, halting sooner when consistency converges early and continuing longer when it converges late. We further show that the weak serial correlation between runs lets us permute their order as a training augmentation, controlled by a tunable shuffling weight. Performance stays consistent across the three datasets, and to mimic an imperfect production judge we inject noise into the correct/incorrect verdicts obtained by comparing the generated and ground-truth SQL results, showing that the method still predicts convergence reliably.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。