PyTrial: Machine Learning Software and Benchmark for Clinical Trial Applications
Not on the map. Why?
Abstract (arXiv)
Clinical trials are conducted to test the effectiveness and safety of potential drugs in humans for regulatory approval. Machine learning (ML) has recently emerged as a new tool to assist in clinical trials. Despite this progress, there have been few efforts to document and benchmark ML4Trial algorithms available to the ML research community. Additionally, the accessibility to clinical trial-related datasets is limited, and there is a lack of well-defined clinical tasks to facilitate the development of new algorithms. To fill this gap, we have developed PyTrial that provides benchmarks and open-source implementations of a series of ML algorithms for clinical trial design and operations. In this paper, we thoroughly investigate 34 ML algorithms for clinical trials across 6 different tasks, including patient outcome prediction, trial site selection, trial outcome prediction, patient-trial matching, trial similarity search, and synthetic data generation. We have also collected and prepared 23 ML-ready datasets as well as their working examples in Jupyter Notebooks for quick implementation and testing. PyTrial defines each task through a simple four-step process: data loading, model specification, model training, and model evaluation, all achievable with just a few lines of code. Furthermore, our modular API architecture empowers practitioners to expand the framework to incorporate new algorithms and tasks effortlessly. The code is available at https://github.com/RyanWangZf/PyTrial.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 40 of its 65 references that are in the map. First posted on arXiv 6 Jun 2023.
Builds on
40 of 65 references.
References · 40
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2013Auto-Encoding Variational Bayescited by 3,980
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
- 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
- 2021Revisiting Deep Learning Models for Tabular Datacited by 725
- 2019Modeling Tabular data using Conditional GANcited by 695
- 2014Distributed Representations of Sentences and Documentscited by 677
- 2018Junction Tree Variational Autoencoder for Molecular Graph Generationcited by 647
28 more
- 2016RETAIN: An Interpretable Predictive Model for Healthcare using Reverse Time Attention Mechanismcited by 344
- 2018GuacaMol: Benchmarking Models for De Novo Molecular Designcited by 294
- 2015Doctor AI: Predicting Clinical Events via Recurrent Neural Networkscited by 205
- 2017Generating Multi-label Discrete Patient Records using Generative Adversarial Networkscited by 197
- 2022TransTab: Learning Transferable Tabular Transformers Across Tablescited by 132
- 2017Dipole: Diagnosis Prediction in Healthcare via Attention-based Bidirectional Recurrent Neural Networkscited by 114
- 2019Policy Learning for Fairness in Rankingcited by 74
- 2021WhiteningBERT: An Easy Unsupervised Sentence Embedding Approachcited by 68
- 2019Augmenting Genetic Algorithms with Deep Neural Networks for Exploring the Chemical Spacecited by 66
- 2022MolGenSurvey: A Systematic Survey in Machine Learning Models for Molecule Designcited by 66
- 2021Differentiable Scaffolding Tree for Molecular Optimizationcited by 53
- 2021HINT: Hierarchical Interaction Network for Trial Outcome Prediction Leveraging Web Datacited by 49
- 2020MIMOSA: Multi-constraint Molecule Sampling for Molecule Optimizationcited by 48
- 2018RAIM: Recurrent Attentive and Intensive Model of Multimodal Patient Monitoring Datacited by 47
- 2020StageNet: Stage-Aware Neural Networks for Health Risk Predictioncited by 47
- 2020Behavioral Use Licensing for Responsible AIcited by 46
- 2022TorchDrug: A Powerful and Flexible Machine Learning Platform for Drug Discoverycited by 45
- 2020COMPOSE: Cross-Modal Pseudo-Siamese Network for Patient Trial Matchingcited by 37
- 2020EVA: Generating Longitudinal Electronic Health Records Using Conditional Variational Autoencoderscited by 28
- 2022PromptEHR: Conditional Electronic Healthcare Records Generation with Prompt Learningcited by 22
- 2022Trial2Vec: Zero-Shot Clinical Trial Document Similarity Search using Self-Supervisioncited by 18
- 2023SPOT: Sequential Predictive Modeling of Clinical Trial Outcome with Meta-Learningcited by 13
- 2023AutoTrial: Prompting Language Models for Clinical Trial Designcited by 11
- 2019Doctor2Vec: Dynamic Doctor Representation Learning for Clinical Trial Recruitmentcited by 9
- 2018Learning Vine Copula Models For Synthetic Data Generationcited by 8
- 2022Artificial Intelligence for In Silico Clinical Trials: A Reviewcited by 6
- 2023FRAMM: Fair Ranking with Missing Modalities for Clinical Trial Site Selectioncited by 6
- 2022Clinical trial site matching with improved diversity using fair policy learningcited by 3
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 1.
3 papers.
- 2024Accelerating Clinical Evidence Synthesis with Large Language Modelscited by 15
- 2025MMCTOP: A Multimodal Textualization and Mixture-of-Experts Framework for Clinical Trial Outcome Predictioncited by 0
- 2026DeepImagine: Clinical Trial Outcome Prediction via Stepwise Local Counterfactual Imaginationscited by 0
- 2026DeepImagine: Clinical Trial Outcome Prediction via Stepwise Local Counterfactual Imaginations24 Apr 2026
- 2025MMCTOP: A Multimodal Textualization and Mixture-of-Experts Framework for Clinical Trial Outcome Prediction26 Dec 2025
- 2024Accelerating Clinical Evidence Synthesis with Large Language Models25 Jun 2024