Auto-MD-bench: Evaluating Autoresearch Agents for Real-World Medical Tasks
Organizations: National University of Singapore · Zhejiang University · Amazon
Abstract
Autonomous agents are increasingly capable of developing machine learning (ML) models end to end. In medical practice, however, strong performance on the target metric does not fully characterize how good the models are in real-world use cases. For example, medical ML models should also provide well-calibrated risk estimates and remain robust across patient populations. Yet autonomous model development is typically guided by task objectives that emphasize simple predictive discrimination (e.g. AUROC). This raises a key question: are these objectives sufficient to guide agents toward models that meet the broader requirements of real-world medical use? In this study, we introduce Auto-MD-bench, a benchmark of 15 real-world medical tasks from 10 clinical datasets, spanning survival analysis, classification and sequential prediction, with external validation across cohorts, hospitals and time periods. We evaluate four agents: AIDE, AI Scientist v2, Codex, and Autoresearch. The strongest agents achieve competitive primary scores, yet their predicted risks are less calibrated than those of the simple baseline models, which could lead to severe medical accidents. Moreover, models with nearly identical primary scores can exhibit markedly different calibration, while performance varies substantially across population shifts. These findings show that primary task performance alone is insufficient to assess autonomous clinical modeling and multiple different metrics widely used in healthcare practice need to be taken into consideration.
Figures & tables
| Evaluation for medical use | ||||
|---|---|---|---|---|
| Benchmark | Domain | Tasks | Calibration | External validation |
| MLE-bench | General ML (Kaggle) | 75 | ✗ | ✗ |
| HealthAgentBench | Healthcare workflows | 54 | ✗ | ✗ |
| MedAgentBoard | Diverse medical tasks | 100 | ✗ | ✗ |
| MedAgentGym | Biomedical data science | 129 † | ✗ | ✗ |
| AutoHealth | Health prediction | 17 | ✓ | ✗ |
| Normalized score | Mean rank | Valid | |||
|---|---|---|---|---|---|
| System | penalized | non-pen. | penalized | non-pen. | runs |
| Simple baseline models | 0.487 | – | – | ||
| AIDE | 0.474 0.032 | 0.474 0.032 | 2.93 0.88 | 3.13 0.99 | 100.0% 0.0% |
| Codex | 0.517 0.003 | 0.517 0.003 | 1.60 0.51 | 1.60 0.51 | 100.0% 0.0% |
| Autoresearch | 0.518 0.006 | 0.518 0.006 | 1.80 0.77 | 1.80 0.77 | 100.0% 0.0% |
| AI Scientist v2 | 0.355 0.064 | 0.467 | 3.67 0.82 | 3.47 0.83 | 73.3% 13.3% |
| All | Survival analysis | Classification | Sequential prediction | |
|---|---|---|---|---|
| AIDE | 0.128 | 0.045 | 0.280 | 0.066 |
| Codex | 0.086 | 0.076 | 0.113 | 0.065 |
| Autoresearch | 0.075 | 0.061 | 0.087 | 0.090 |
| AI Scientist v2 | 0.072 | 0.048 | 0.102 | 0.078 |
| Simple baseline models | 0.027 | 0.027 | 0.031 | 0.018 |
| Objective | AUROC | ECE |
|---|---|---|
| AUROC | 0.676 0.023 | 0.172 0.211 |
| Brier score | 0.640 0.107 | 0.061 0.157 |
| AUROC and ECE | 0.683 0.016 | 0.016 0.023 |
| External validation setting | Simple baseline models | AIDE | Codex | Autoresearch | AI Scientist v2 |
|---|---|---|---|---|---|
| Rotterdam GBSG (cohort) | 0.372 (100%) | 0.306 (86%) | 0.385 (99%) | 0.371 (97%) | 0.332 (85%) |
| SEER (temporal) | 0.724 (99%) | 0.730 (97%) | 0.745 (103%) | 0.735 (99%) | 0.670 ∗ (–) |
| eICU (hospital) | 0.736 (99%) | 0.748 (99%) | 0.751 (100%) | 0.751 (100%) | 0.705 (100%) |
| Sepsis (hospital) | 0.199 (52%) | 0.168 (41%) | 0.231 (52%) | 0.268 (61%) | 0.228 ∗ (63%) |
| Sepsis + 500 target labels | 0.248 (65%) | 0.217 (54%) | 0.299 (67%) | 0.253 (57%) | 0.124 ∗ (34%) |
| Method | AIDE | Codex | Autoresearch | AI Scientist v2 |
|---|---|---|---|---|
| Model family | ||||
| Gradient-boosted trees | 87% 0% | 89% 8% | 89% 8% | 76% 13% |
| Neural networks | 11% 8% | 31% 17% | 38% 10% | 36% 10% |
| Ensembling and validation | ||||
| Averaging across seeds or folds | 62% 14% | 89% 4% | 89% 10% | 31% 7% |
| Single model only | 13% 12% | 2% 4% | 4% 8% | 36% 10% |
| LLM | Normalized score | ECE |
|---|---|---|
| Qwen3.8 Flash | 0.517 0.003 | 0.086 |
| gpt-6-luna | 0.517 0.004 | 0.041 |
| Gemini 3.8 Flash | 0.520 0.006 | 0.029 |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Task | Data source | Outcome | Validation | Metric | Train / test |
| Survival analysis | |||||
| SUPPORT | Cohort | Death | Internal | 7,098 / 1,775 | |
| METABRIC | Cohort | Death | Internal | 1,523 / 381 | |
| Rotterdam | Cohort | Recurrence or death | Internal | 2,385 / 597 | |
| Rotterdam GBSG | Cohort trial | Recurrence or death | External (cohort) | 2,982 / 686 | |
| SEER † | Registry | Breast-cancer death | Internal | 232,625 / 49,291 | |
| Dataset | Content | Access |
|---|---|---|
| SUPPORT ( Connors et al., 1995 ) | 9,100 seriously ill inpatients, 5 US hospitals, 1989–94 | public |
| METABRIC ( Curtis et al., 2012 ) | 2,000 breast tumors with genomic profiles | public |
| Rotterdam, GBSG ( Royston and Altman, 2013 ) | breast cancer registry (1978–93) and trial (1984–89) | public |
| UCI Diabetes ( Strack et al., 2014 ; Clore et al., 2014 ) | 101,766 encounters involving patients with diabetes, 130 US hospitals, 1999–2008 | public |
| PhysioNet/CinC 2012 ( Silva et al., 2012 ) | 12,000 ICU stays, first 48 h | public |
| PhysioNet/CinC 2019 ( Reyna et al., 2019b ; Reyna et al., 2019a ) | hourly ICU records labeled for sepsis onset, 40,336 patients, 2 hospital systems | public |
| Agent | Type | Search strategy | Submission selection |
|---|---|---|---|
| Codex | coding agent | agent-directed | final submission.csv |
| Autoresearch | coding agent | greedy search | final submission.csv |
| AIDE | research agent | greedy tree search | best self-reported validation score |
| AI Scientist v2 | research agent | best-first tree search | submission from the selected node in the latest stage with a saved submission |
| Agent | Input | Output |
|---|---|---|
| AIDE | 0.65 0.05 | 0.28 0.02 |
| Codex | 26.88 1.86 | 0.17 0.01 |
| Autoresearch | 51.44 13.23 | 0.30 0.08 |
| AI Scientist v2 | 4.29 0.63 | 1.69 0.24 |
| Task | Simple baseline models | AIDE | Codex | Autoresearch | AI Scientist v2 |
|---|---|---|---|---|---|
| SUPPORT | 0.622 | ||||
| METABRIC | 0.642 | ||||
| Rotterdam | 0.685 | ||||
| Rotterdam GBSG | 0.686 | ||||
| SEER | 0.865 | ||||
| SEER, later period | 0.862 |
| Task | Simple baseline models | AIDE | Codex | Autoresearch | AI Scientist v2 |
|---|---|---|---|---|---|
| SUPPORT | 0.032 | ||||
| METABRIC | 0.054 | ||||
| Rotterdam | 0.042 | ||||
| Rotterdam GBSG | 0.039 | ||||
| SEER | 0.006 | ||||
| SEER, later period | 0.007 |
| Task | Grouping | Simple baseline models’ lowest group | Same lowest group | Agent gap | Simple baseline models’ gap |
|---|---|---|---|---|---|
| Rotterdam | Age | Oldest | 92% | 0.074 | 0.089 |
| Rotterdam GBSG | Age | Oldest | 25% | 0.019 | 0.033 |
| SEER | Age | Youngest | 73% | 0.023 | 0.024 |
| SEER | Race/ethnicity | American Indian/Alaska Native | 73% | 0.036 | 0.049 |
| SEER, later period | Age | Youngest | 80% | 0.027 | 0.026 |
| SEER, later period | Race/ethnicity | American Indian/Alaska Native | 70% | 0.035 | 0.048 |
| Agent | Objective | Valid | AUROC | Brier score | ECE |
|---|---|---|---|---|---|
| AIDE | AUROC | 3/3 | 0.659 0.042 | 0.335 0.068 | 0.440 0.090 |
| AIDE | Brier score | 3/3 | 0.606 0.142 | 0.099 0.010 | 0.037 0.054 |
| AIDE | AUROC and ECE | 3/3 | 0.685 0.005 | 0.095 0.002 | 0.022 0.027 |
| Codex | AUROC | 3/3 | 0.682 0.011 | 0.161 0.117 | 0.133 0.221 |
| Codex | Brier score | 3/3 | 0.688 0.001 | 0.093 0.000 | 0.005 0.002 |
| Codex | AUROC and ECE | 3/3 | 0.690 0.002 | 0.093 0.000 | 0.005 0.001 |
| Practice | AUROC (A) | Brier score (B) | AUROC and ECE (C) |
|---|---|---|---|
| Averaged ranks as probabilities | 3 | 0 | 0 |
| Class-imbalance handling without recalibration | 3 | 1 | 0 |
| Explicit probability calibration | 1 | 6 | 10 |
| Agent | Task | Repetition | Problem |
|---|---|---|---|
| Codex | SUPPORT | 2 | The labels of the XGBoost Cox member are all positive, so censored patients are treated as events (about 20%) |
| Codex | SUPPORT | 3 | The labels of the XGBoost Cox member are all positive (about 20%) |
| Codex | SEER, later period | 1 | The XGBoost Cox member adds 100,000 to censoring times, so censored patients stay in the risk set throughout (about 37% on average, about half after 36 months) |
| Autoresearch | SEER | 1 | The labels of the XGBoost Cox member are not negated for censored patients (about 1.5%) |
| Autoresearch | SEER | 3 | The binary members for 24, 48 and 60 months label patients censored before the time point as survivors (about 27%) |
| Autoresearch | NHANES | 1 | The per-time-point IPCW classifiers take weights from a KM estimate that ignores the survey cycle, while censoring is determined entirely by the cycle; predicted survival in some cycles collapses to 0.1–0.3 (about 71%) |
| AIDE | Codex | Autoresearch | AI Scientist v2 | |
| Versions per run | 25.3 | 6.4 | 7.8 | 41.0 |
| Time to first valid version (min) | 30 | 64 | 17 | 30 |
| Run time (min) | 720 | 295 | 429 | 720 |
| Ended before 12 h | 0% | 98% | 100% | 0% |
| Selected submission has highest test score | 22% | 32% | 36% | 21% |
| Reported validation test score † |
| Share of pairs | |||
|---|---|---|---|
| Change | Score increase | Score decrease | Mean score change |
| Ensembling | 58% | 41% | |
| Hyperparameter tuning | 50% | 49% | |
| Feature engineering | 51% | 46% | |
| Model family | 79% | 18% | |
| Bug fix | 66% | 32% | |
| Practice | AIDE | Codex | Autoresearch | AI Scientist v2 |
|---|---|---|---|---|
| Averaged ranks as probabilities | 20% | 18% | 9% | 6% |
| Class-imbalance handling, no recalibration | 21% | 4% | 13% | 35% |
| Performance checked by age or sex | 0% | 4% | 9% | 0% |
| Validation under population shift | 33% | 89% | 89% | 40% |
| Missingness features | 81% | 89% | 89% | 58% |
| Comparison | Agreement |
|---|---|
| Modeling methods, repeated annotation | 95% (130 fields, 10 runs) |
| Modeling practices, repeated annotation | 95% (288 fields, 36 runs) |
| Missingness features vs. earlier records | 91% (100 runs) |
| Validation under population shift vs. earlier checks | 95% (22 runs) |
| LLM | Normalized score | ECE | Valid runs | Input tokens | Output tokens |
|---|---|---|---|---|---|
| Qwen3.8 Flash | 0.517 0.003 | 0.086 | 100.0% 0.0% | 26.88 1.86 | 0.17 0.01 |
| gpt-6-luna | 0.517 0.004 | 0.041 | 100.0% 0.0% | 2.77 0.12 | 0.04 0.00 |
| Gemini 3.8 Flash | 0.520 0.006 | 0.029 | 100.0% 0.0% | 7.29 0.24 | 0.05 0.00 |