arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.16659cs.CLcs.AI
收藏

EHRSQL 2024中的ProbGate:通过概率阈值过滤与错误处理增强SQL查询生成准确率

ProbGate at EHRSQL 2024: Enhancing SQL Query Generation Accuracy through Probabilistic Threshold Filtering and Error Handling

KAIST Graduate School of Data Science(KAIST数据科学研究生院);KAIST Bio and Brain Engineering(KAIST生物与脑工程学院);KAIST AI(KAIST人工智能学院)

Sangryul Kim, Donghee Han, Sehyun Kim

AI总结:

本文提出ProbGate框架,通过微调模型、基于熵的方法和对数概率分布过滤低置信度SQL,并在实际数据库上执行查询以缓解语法和模式错误,有效解决了医疗text-to-SQL中识别无法回答查询的挑战,提升了SQL查询生成的准确率。

摘要:

近期,基于深度学习的语言模型显著提升了text-to-SQL任务的性能,在医疗领域检索患者记录方面具有广阔的应用前景。此类应用中的一个显著挑战是识别无法回答的查询。通过微调模型,我们展示了将病历查询转化为SQL查询的可行性。此外,我们引入了一种基于熵的方法来识别并过滤无法回答的结果。我们进一步通过基于对数概率的分布过滤低置信度SQL来提升结果质量,同时通过在实际数据库上执行查询来缓解语法和模式错误。我们通过实验验证了该方法能够过滤无法回答的问题,即使在模型参数不可访问时也能被广泛使用,且在实践中能被有效利用。

英文摘要:

Recently, deep learning-based language models have significantly enhanced text-to-SQL tasks, with promising applications in retrieving patient records within the medical domain. One notable challenge in such applications is discerning unanswerable queries. Through fine-tuning model, we demonstrate the feasibility of converting medical record inquiries into SQL queries. Additionally, we introduce an entropy-based method to identify and filter out unanswerable results. We further enhance result quality by filtering low-confidence SQL through log probability-based distribution, while grammatical and schema errors are mitigated by executing queries on the actual database. We experimentally verified that our method can filter unanswerable questions, which can be widely utilized even when the parameters of the model are not accessible, and that it can be effectively utilized in practice.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑