Reproduce “Towards Visualizing Electronic Medical Records via Natural Language Queries” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Haodi Zhang, Siqi Ning, Qiyong Zheng, Jinyin Nie, Liangjie Zhang, Weicheng Wang, Yuanfeng Song

Researchers introduce MedicalVis, the first large-scale text-to-visualization dataset for Electronic Medical Records (EMRs), created using an LLM-powered pipeline. They also present MedCodeT5, an LLM-based model optimized for EMRs, which translates natural language queries into accurate visualizations, achieving 60.4% overall accuracy on the new benchmark.

Key insights

  • Large Language Models can effectively automate the generation of high-quality, domain-specific text-to-visualization datasets, significantly reducing data scarcity and annotation costs in specialized fields.
  • A multi-task pretraining strategy on a specialized dataset (NLQ2DVQ, DVQ2NLQ, and sequence-to-sequence CLM) enhances transformer models' ability to handle diverse data requirements and improve generalization for complex domain-specific tasks.
  • Rule-based filtering of LLM-generated Data Visualization Queries is critical for ensuring the quality and suitability of visualizations, especially when constructing large-scale datasets automatically.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.