English

PromptMind Team at EHRSQL-2024: Improving Reliability of SQL Generation using Ensemble LLMs

Databases 2024-05-16 v1 Artificial Intelligence Computation and Language Machine Learning

Abstract

This paper presents our approach to the EHRSQL-2024 shared task, which aims to develop a reliable Text-to-SQL system for electronic health records. We propose two approaches that leverage large language models (LLMs) for prompting and fine-tuning to generate EHRSQL queries. In both techniques, we concentrate on bridging the gap between the real-world knowledge on which LLMs are trained and the domain specific knowledge required for the task. The paper provides the results of each approach individually, demonstrating that they achieve high execution accuracy. Additionally, we show that an ensemble approach further enhances generation reliability by reducing errors. This approach secured us 2nd place in the shared task competition. The methodologies outlined in this paper are designed to be transferable to domain-specific Text-to-SQL problems that emphasize both accuracy and reliability.

Keywords

Cite

@article{arxiv.2405.08839,
  title  = {PromptMind Team at EHRSQL-2024: Improving Reliability of SQL Generation using Ensemble LLMs},
  author = {Satya K Gundabathula and Sriram R Kolar},
  journal= {arXiv preprint arXiv:2405.08839},
  year   = {2024}
}

Comments

Accepted as a poster for Clinical NLP workshop at NAACL 2024

R2 v1 2026-06-28T16:27:23.089Z