arXiv:2610.25069cs.LGOct 2026

Manuscript Offprint

arXiv:2610.25069

Auto-MD-bench: Evaluating Autoresearch Agents for Real-World Medical Tasks

Shenqi Zhou, Qiran Zou, Wenhao Zhao, Zhenyu Liao, Dianbo Liu

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.

1 INTRODUCTION

Autonomous research agents can increasingly develop machine learning models end to end, from data inspection and model selection to implementation, validation, and iterative refinement (Chan et al., 2025; Miller et al., 2025). Such capabilities are particularly consequential in medicine, where prediction models use patient data to estimate clinical outcomes and inform patient care (Steyerberg et al., 2009). Automating their development could reduce the effort required to build models for different outcomes and patient populations, but it also delegates clinically consequential modeling decisions to autonomous agents. 1^{1}

In real-world medical settings, however, strong performance on a target metric does not fully characterize a model's suitability for medical use. A model may distinguish patients at higher and lower risk while providing inaccurate estimates of their absolute risk, potentially misleading screening or treatment decisions (Van Calster et al., 2019). Its performance may also change when applied to patients from another cohort, hospital, or time period (Royston and Altman, 2013). These aspects of model quality are not necessarily captured by the primary task objective that typically guides autonomous model development. This raises a key question: are standard task objectives sufficient to guide agents toward models suitable for real-world medical use?

Existing benchmarks evaluate autonomous model development across general machine learning and biomedical tasks, but largely focus on primary task performance. A unified evaluation of primary performance, risk calibration, and external validation is still missing (Table 1). This leaves open whether models optimized for strong task performance also satisfy broader requirements for medical use. We address this gap by evaluating these properties together and ana-

1^{1}Code: https://github.com/Edwin0080/Auto-MD-bench. Data for 10 of the 15 tasks: https://huggingface.co/datasets/Edwin0080/Auto-MD-bench.

lyzing how agents' modeling choices relate to the resulting differences.

We introduce Auto-MD-bench, comprising 15 medical prediction tasks from 10 clinical datasets spanning survival analysis, classification, and sequential prediction, with external validation across cohorts, hospitals, and time periods. Agents choose their modeling and validation procedures using labeled training data, while test outcomes remain hidden throughout model development. We evaluate the resulting models on primary task performance, risk calibration, and performance under population shift, and analyze their code and development records to characterize how the agents build and revise their models. Figure 1 summarizes the benchmark workflow.

We evaluate four agents: AIDE, AI Scientist v2, Codex, and Autoresearch. Both Codex and Autoresearch exceed the simple baseline models in mean primary score, while their mean calibration errors are roughly three times as large. Across agents, models with similar primary scores can exhibit markedly different calibration, and performance varies substantially across population shifts. Analysis of the developed models identifies modeling practices associated with these calibration differences. In an additional experiment on UCI Diabetes, explicitly including calibration in the stated objective changes agents' modeling choices and reduces mean ECE from 0.172 to 0.016 while maintaining similar AUROC. Together, these results show that the primary task objective provides an incomplete specification of model quality for medical use.

Our contributions are:

  • We introduce Auto-MD-bench, a benchmark of 15 medical prediction tasks from 10 clinical datasets that evaluates autonomous model development beyond the primary task metric, including risk calibration and external validation across cohorts, hospitals, and time periods.

  • Across four agents, we show that strong primary performance can mask substantial differences in calibration and performance under population shift. We further show in a controlled experiment that explicitly incorporating calibration into the objective can substantially improve calibration while maintaining similar predictive discrimination.

  • We extend benchmark evaluation beyond final model outputs by capturing agents' code and development records, enabling systematic analysis of how autonomous agents construct, validate, and revise medical prediction models.