KU-DMIS at EHRSQL 2024:Generating SQL query via question templatization in EHR
Hajung Kim, Chanhwi Kim, Hoonick Lee, Kyochul Jang, Jiwoo Lee,, Kyungjae Lee, Gangwoo Kim, Jaewoo Kang

TL;DR
This paper presents a novel framework for converting natural language questions into SQL queries in electronic health records, effectively handling out-of-domain questions and verifying query correctness through execution, improving adaptability and performance.
Contribution
Introduces a question templization and verification framework using fine-tuned GPT-3.5 to improve robustness in text-to-SQL conversion for EHR data.
Findings
Effective handling of out-of-domain questions.
Improved performance on EHRSQL-2024 benchmark.
Competitive results in the official leaderboard.
Abstract
Transforming natural language questions into SQL queries is crucial for precise data retrieval from electronic health record (EHR) databases. A significant challenge in this process is detecting and rejecting unanswerable questions that request information beyond the database's scope or exceed the system's capabilities. In this paper, we introduce a novel text-to-SQL framework that robustly handles out-of-domain questions and verifies the generated queries with query execution.Our framework begins by standardizing the structure of questions into a templated format. We use a powerful large language model (LLM), fine-tuned GPT-3.5 with detailed prompts involving the table schemas of the EHR database system. Our experimental results demonstrate the effectiveness of our framework on the EHRSQL-2024 benchmark benchmark, a shared task in the ClinicalNLP workshop. Although a straightforward…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Mathematics, Computing, and Information Processing
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · 15 Ways to Contact How can i speak to someone at Delta Airlines · Cosine Annealing · Discriminative Fine-Tuning · Softmax · {Dispute@FaQ-s}How to file a dispute with Expedia? · Layer Normalization · Weight Decay · Attention Dropout · Linear Layer
