Proceedings

HealthLens: A Natural Language Querying System for Interactive Visualization of Electronic Health Records

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Demo Track. Pages 11123-11126.

https://doi.org/10.24963/ijcai.2025/1276

Abstract

As an essential part of modern healthcare systems, extracting valuable insights from electronic medical records (EMRs) remains challenging due to the complexity of structured and unstructured data. Data visualization is essential for transforming complex data into comprehensible visuals that enable professionals to identify patterns and trends. This process involves selecting data attributes, transforming the data, choosing appropriate visual encoding methods, and rendering graphical representations using declarative visualization languages (DVLs). However, achieving proficiency in DVLs requires a deep understanding of domain-specific data and expertise in these languages, which poses a significant barrier for beginners and non-technical users. To address these challenges, we present HealthLens, the first user-friendly visualization tool in the EMR domain that eliminates the need for prior knowledge of DVLs. Built on the MedCodeT5 model developed by us and leveraging a large language model with a bilevel optimization approach, HealthLens enables the generation of EMR visualizations from natural language queries. This demonstrates the feasibility of creating sophisticated visualizations with minimal technical expertise, advancing accessibility in the EMR field.

  1. [Cai et al., 2023] Fengquan Cai, Dong Cao, and Hui Ye. Graph Representation of Chinese EMRs and its Short-text Classification Application. In 2023 IEEE International Conference on Bioinformatics and Biomedicine (BIBM), pages 4513-4519, Los Alamitos, CA, USA, December 2023. IEEE Computer Society.
  2. [Crisan et al., 2022] Anamaria Crisan, Shannah E. Fisher, Jennifer L. Gardy, and Tamara Munzner. Gevitrec: Data reconnaissance through recommendation using a domain- specific visualization prevalence design space. IEEE Transactions on Visualization and Computer Graphics, 28(12):4855-4872, December 2022.
  3. [Fleming et al., 2024] Scott L. Fleming, Alejandro Lozano, William J. Haberkorn, Jenelle A. Jindal, Eduardo Reis, Rahul Thapa, Louis Blankemeier, Julian Z. Genkins, Ethan Steinberg, and et al. Nayak. Medalign: A clinician- generated dataset for instruction following with electronic medical records. Proceedings of the AAAI Conference on Artificial Intelligence, 38(20):22021-22030, Mar. 2024.
  4. [Li et al., 2018] Deqing Li, Honghui Mei, Yi Shen, Shuang Su, Wenli Zhang, Junting Wang, Ming Zu, and Wei Chen. Echarts: A declarative framework for rapid construction of web-based visualization. Visual Informatics, 2(2):136- 146, 2018.
  5. [Li et al., 2025] Shuaimin Li, Xuanang Chen, Yuanfeng Song, Yunze Song, Chen Jason Zhang, Fei Hao, and Lei Chen. prompt4vis: prompting large language models with example mining for tabular data visualization. The VLDB Journal, 34(4):38, May 2025.
  6. [Luo et al., 2021] Yuyu Luo, Nan Tang, Guoliang Li, Chengliang Chai, Wenbo Li, and Xuedi Qin. Synthesiz- ing natural language to visualization (nl2vis) benchmarks from nl2sql benchmarks. In Proceedings of the 2021 Inter- national Conference on Management of Data, SIGMOD '21, page 1235-1247, New York, NY, USA, 2021. Associ- ation for Computing Machinery.
  7. [Luo et al., 2022] Yuyu Luo, Nan Tang, Guoliang Li, Ji- awei Tang, Chengliang Chai, and Xuedi Qin. Natural language to visualization by neural machine translation. IEEE Transactions on Visualization and Computer Graph- ics, 28(1):217-226, 2022.
  8. [OpenAI, 2024] OpenAI. Gpt-4o system card, 2024.
  9. [Pandey et al., 2023] Aditeya Pandey, Sehi L'Yi, Qian- wen Wang, Michelle A. Borkin, and Nils Gehlenborg. Genorec: A recommendation system for interactive ge- nomics data visualization. IEEE Transactions on Visual- ization and Computer Graphics, 29(1):570-580, 2023.
  10. [Satyanarayan et al., 2017] Arvind Satyanarayan, Dominik Moritz, Kanit Wongsuphasawat, and Jeffrey Heer. Vega- lite: A grammar of interactive graphics. IEEE Transac- tions on Visualization and Computer Graphics, 23(1):341- 350, 2017.
  11. [Song et al., 2022] Yuanfeng Song, Xuefang Zhao, Ray- mond Chi-Wing Wong, and Di Jiang. Rgvisnet: A hybrid retrieval-generation neural framework towards automatic data visualization generation. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, KDD '22, page 1646-1655, New York, NY, USA, 2022. Association for Computing Machinery.
  12. [Song et al., 2024a] Yuanfeng Song, Jinwei Lu, Xuefang Zhao, Raymond Chi-Wing Wong, and Haodi Zhang. Demonstration of FeVisQA: Free-Form Question Answer- ing over Data Visualization . In 2024 IEEE 40th Inter- national Conference on Data Engineering (ICDE), pages 5417-5420, Los Alamitos, CA, USA, May 2024. IEEE Computer Society.
  13. [Song et al., 2024b] Yuanfeng Song, Xuefang Zhao, and Raymond Chi-Wing Wong. Marrying dialogue systems with data visualization: Interactive data visualization gen- eration from natural language conversations. In Proceed- ings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, KDD '24, page 2733-2744, New York, NY, USA, 2024. Association for Computing Machinery.
  14. [Song et al., 2025] Yuanfeng Song, Jinwei Lu, Yuanwei Song, Caleb Chen Cao, Raymond Chi-Wing Wong, and Haodi Zhang. Fevisqa: Free-form question answering over data visualizations. In 2025 IEEE 41st International Con- ference on Data Engineering (ICDE), pages 2726-2739. IEEE Computer Society, 2025.
  15. [Wang et al., 2021] Yue Wang, Weishi Wang, Shafiq Joty, and Steven C.H. Hoi. CodeT5: Identifier-aware unified pre-trained encoder-decoder models for code understand- ing and generation. In Marie-Francine Moens, Xuanjing Huang, Lucia Specia, and Scott Wen-tau Yih, editors, Pro- ceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 8696-8708, Online and Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics.
  16. [Williams and Boren, 2008] Faustine Williams and Suzanne Austin Boren. The role of the electronic medical record (emr) in care delivery development in developing countries: a systematic review. Informatics in primary care, 16(2), 2008.
  17. [Zhang et al., 2024] Weixu Zhang, Yifei Wang, Yuanfeng Song, Victor Junqiu Wei, Yuxing Tian, Yiyan Qi, Jonathan H. Chan, Raymond Chi-Wing Wong, and Haiqin Yang. Natural language interfaces for tabular data query- ing and visualization: A survey. IEEE Trans. on Knowl. and Data Eng., 36(11):6699-6718, November 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards