ACES: Automatic Cohort Extraction System for Event-Stream Datasets
Justin Xu, Jack Gallifant, Alistair E. W. Johnson, Matthew B. A. McDermott
Abstract
Reproducibility remains a significant challenge in machine learning (ML) for healthcare. Datasets, model pipelines, and even task or cohort definitions are often private in this field, leading to a significant barrier in sharing, iterating, and understanding ML results on electronic health record (EHR) datasets. We address a significant part of this problem by introducing the Automatic Cohort Extraction System (ACES) for event-stream data. This library is designed to simultaneously simplify the development of tasks and cohorts for ML in healthcare and also enable their reproduction, both at an exact level for single datasets and at a conceptual level across datasets. To accomplish this, ACES provides: (1) a highly intuitive and expressive domain-specific configuration language for defining both dataset-specific concepts and dataset-agnostic inclusion or exclusion criteria, and (2) a pipeline to automatically extract patient records that meet these defined criteria from real-world data. ACES can be automatically applied to any dataset in either the Medical Event Data Standard (MEDS) or Event Stream GPT (ES-GPT) formats, or to any dataset in which the necessary task-specific predicates can be extracted in an event-stream form. ACES has the potential to significantly lower the barrier to entry for defining ML tasks in representation learning, redefine the way researchers interact with EHR datasets, and significantly improve the state of reproducibility for ML studies using this modality. ACES is available at: https://github.com/justin13601/aces.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- PyHealth 2.0: A Comprehensive Open-Source Toolkit for Accessible and Reproducible Clinical Deep Learning cites Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical ML
- Inherent Trade-Offs between Diversity and Stability in Multi-Task Benchmarks cites A Theory of Dynamic Benchmarks
Cited by top-tier papers1
Builds on4
- Yet Another ICU Benchmark: A Flexible Multi-Center Framework for Clinical MLRobin Van De Water, Hendrik Schmidt, Paul W. G. Elbers, Patrick Thoral et al.ICLR 2024 · 43 citations
- Deep Contextual Clinical Prediction with Reverse DistillationRohan S. Kodialam, Rebecca Boiarsky, Justin Lim, Aditya Sai et al.AAAI 2021 · 28 citations
- Inherent Trade-Offs between Diversity and Stability in Multi-Task BenchmarksGuanhua Zhang, Moritz HardtICML 2024 · 22 citations
- A Theory of Dynamic BenchmarksAli Shirali, Rediet Abebe, Moritz HardtICLR 2023 · 1 citation
Related papers
- GRASP: Generic Framework for Health Status Representation Learning Based on Incorporating Knowledge from Similar PatientsChaohe Zhang, Xin Gao, Liantao Ma, Yasha Wang et al.AAAI 2021 · 77 citations
- NeuralCohort: Cohort-aware Neural Representation Learning for Healthcare AnalyticsChangshuo Liu, Lingze Zeng, Kaiping Zheng, Shaofeng Cai et al.ICML 2025
- RePrompT: Recurrent Prompt Tuning for Integrating Structured EHR Encoders with Large Language ModelsArya Hadizadeh Moghaddam, Drew Ross, Mohsen Nayebi Kerdabadi, Dongjie Wang et al.ACL Findings 2026
- CROCS: Clustering and Retrieval of Cardiac Signals Based on Patient Disease Class, Sex, and AgeDani Kiyasseh, Tingting Zhu, David A. CliftonNeurIPS 2021 · 10 citations
- README: Bridging Medical Jargon and Lay Understanding for Patient Education through Data-Centric NLPZonghai Yao, Nandyala Siddharth Kantu, Guanghao Wei, Hieu Tran et al.EMNLP Findings 2024 · 8 citations
