EHR-SeqSQL : A Sequential Text-to-SQL Dataset For Interactively Exploring Electronic Health Records

Jaehee Ryu, Seonhee Cho, Gyubok Lee, Edward Choi
5/23/2024
cs.CLcs.AIcs.DB

Official code: seonhee99/EHR-SeqSQL (17 stars, last commit 2024-07-05).

Abstract

In this paper, we introduce EHR-SeqSQL, a novel sequential text-to-SQL dataset for Electronic Health Record (EHR) databases. EHR-SeqSQL is designed to address critical yet underexplored aspects in text-to-SQL parsing: interactivity, compositionality, and efficiency. To the best of our knowledge, EHR-SeqSQL is not only the largest but also the first medical text-to-SQL dataset benchmark to include sequential and contextual questions. We provide a data split and the new test set designed to assess compositional generalization ability. Our experiments demonstrate the superiority of a multi-turn approach over a single-turn approach in learning compositionality. Additionally, our dataset integrates specially crafted tokens into SQL queries to improve execution efficiency. With EHR-SeqSQL, we aim to bridge the gap between practical needs and academic research in the text-to-SQL domain. EHR-SeqSQL is available at https://github.com/seonhee99/EHR-SeqSQL.

View on arXivView PDF

Code Implementations(1)

Official repository of "EHR-SeqSQL : A Sequential Text-to-SQL Dataset For Interactively Exploring Electronic Health Records" (ACL 2024 Findings)

173Jun 3, 20242 years ago

Similar Papers

Cite this paper

@article{ryu2024ehrseqsql,
  title  = {EHR-SeqSQL : A Sequential Text-to-SQL Dataset For Interactively Exploring Electronic Health Records},
  author = {Jaehee Ryu and Seonhee Cho and Gyubok Lee and Edward Choi},
  year   = {2024},
  eprint = {2406.00019},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.00019v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.00019.svg)](https://codeofpaper.com/paper/2406.00019)

Discussion