Manuscript Offprint

arXiv:2610.11312

MedBenchAgent: Towards Systematic Automation of Medical VLM Benchmark Construction

Yulin Fu, Junren Wang, Guangjing Yang, Zhangyuan Yu, Wanran Sun, Jiabao Zhou, Jin Yin, Qicheng Lao

ABSTRACT

Large-scale construction of medical vision-language model (VLM) benchmarks is increasingly feasible with richly annotated imaging datasets and large language models (LLMs), yet existing automation largely focuses on generating evaluation items within predefined benchmark specifications. We study the broader problem of automatically deriving the specification itself: what to evaluate, which annotations support each task, and how to translate this evidence into reliable evaluation items. We formulate benchmark construction as constrained compilation, in which the benchmark specification is progressively derived from evaluation requirements, heterogeneous annotations, and medical knowledge. Based on this formulation, we introduce MedBenchAgent, a multi-agent framework with a Benchmark Intermediate Representation (BIR) that encodes task definitions, evidence mappings, evaluation protocols, and item specifications across construction stages. MedBenchAgent separates planning, which derives and verifies the specification, from instantiation, which constructs and audits items under the locked specification. MedBenchAgent achieves a Task-Space F1 of 90.9%, outperforming direct task induction (79.2–80.0%) and prior-guided induction (85.1%); 994 of 1,000 sampled items from correctly identified tasks pass human audit. We further demonstrate portability to a specialized medical domain and evaluate twelve VLMs, revealing task- and setting-specific variation obscured by aggregate scores. These results establish constrained compilation as a scalable and auditable framework for medical VLM benchmark construction beyond question generation.

1 INTRODUCTION

Large-scale construction of medical vision-language model (VLM) benchmarks is increasingly feasible as richly annotated imaging datasets provide reusable supervision and large language models (LLMs) enable scalable generation of evaluation items (Zhang et al., 2023; Hu et al., 2024; Chen et al., 2024). Yet a benchmark is more than a collection of images and questions: it must specify what capabilities are evaluated, which source annotations validly support them, how annotation evidence is transformed into reference answers, how evaluation items are instantiated, and how model responses are elicited and assessed. Collectively, we refer to these decisions as the benchmark specification, which in turn determines the claims that the resulting evaluation can support. In medical imaging, establishing such a specification requires interpreting heterogeneous annotation schemas, units, terminology, and label semantics, making manual benchmark design time-consuming and expertise-intensive. Automating the specification itself, rather than only large-scale item generation, is therefore an important problem for scalable and reliable medical VLM evaluation.

Existing work approaches automated benchmark construction from two directions. Medical systems construct benchmarks from domain data, but operate within predefined clinical scopes, reporting structures, or question schemas (Xie et al., 2026; Liu et al., 2026a). General-purpose systems offer greater flexibility by using declarative or agentic workflows to translate evaluation requirements into benchmark construction (Li et al., 2025; Xiong et al., 2026; Butt et al., 2025). However, they do not explicitly constrain medical benchmark specification by annotation-supported task validity, reference provenance, and medical knowledge. The remaining challenge, then, is to combine flexible benchmark specification with the semantic and evidential constraints imposed by evaluation requirements and heterogeneous medical data.

We address this challenge with MedBenchAgent, a multi-agent framework for systematic medical VLM benchmark construction. We cast benchmark construction as constrained compilation, in which the benchmark specification is progressively established from an intended evaluation scope, heterogeneous source annotations, and medical knowledge, with each confirmed decision narrowing the space of subsequent construction. To make these constraints explicit and preserve them across stages, we introduce a Benchmark Intermediate Representation (BIR) that records the evaluation scope, task hierarchy, annotation evidence mappings, evaluation protocols, sample allocations, and item-construction specifications. Together, constrained compilation and the BIR provide an explicit mechanism for carrying semantic and evidential constraints from benchmark specification into downstream construction. MedBenchAgent operationalizes this formulation through a staged multi-agent workflow for medical benchmark construction: 1) planning resolves and verifies the specification against dataset annotations and medical references before locking the BIR; and 2) instantiation constructs and audits evaluation items under this fixed specification. In this way, MedBenchAgent extends automation from predefined medical scopes or question structures to benchmark specification itself, while preserving the annotation and medical constraints required for reliable construction.

This formulation enables empirical evaluation of both the benchmark-construction process and the benchmark produced by MedBenchAgent. In construction analysis, MedBenchAgent achieves a Task-Space F1 of 90.9%, compared with 79.2–80.0% for direct task induction and 85.1% when the same task prior is provided to the direct model. For correctly identified tasks, 994 of 1,000 sampled items pass human audit. Together, these results suggest that open-ended decisions about what should be evaluated are substantially more challenging than evidence mapping and item construction once benchmark semantics are constrained. We further instantiate the workflow in a specialized medical domain under a different annotation schema and evaluate twelve VLMs on the resulting benchmark. Model evaluation reveals substantial variation across tasks, imaging settings, and evaluation metrics that aggregate scores can obscure, reinforcing fine-grained benchmark specification as an important component of medical VLM evaluation.

Overall, this work makes three contributions: (1) Conceptually, we model the construction of medical VLM benchmarks and formulate it as constrained compilation; (2) Methodologically, we introduce a multi-agent MedBenchAgent framework and its Benchmark Intermediate Representation (BIR); and (3) Empirically, we derive insights into both the benchmark-construction process and medical VLM evaluation, while providing reusable benchmark artifacts.

References (59)