MedUIGym: Evaluating and Training GUI Agents for Clinical Workflows
Yitong Qiao, Lei Liu, Yue Shen, Jian Wang, Jinjie Gu, Zhixuan Chu
Abstract
Automating clinical workflows requires vision-language agents that can navigate dense graphical user interfaces (GUIs) in electronic health records (EHRs) and execute precise actions, yet many medical agents still rely on text or structured tool calls. In this work, we introduce MedUIGym, a scalable interactive environment comprising 15,739 tasks from 17 benchmark sources across six clinical task families for training and evaluating clinical GUI agents. In MedUIGym, agents perceive EHR states from screenshots and execute mouse-and-keyboard actions, as well as a paired native-tool interface over identical clinical data. The environment verifies both final answers and required clinical actions, and supports parallel trajectory collection for training. Benchmarking twelve vision-language models shows that current agents struggle across diverse clinical workflows, and simply increasing reasoning effort fails to yield consistent gains. Furthermore, MedUIGym supports offline learning from GUI trajectories and online reinforcement learning from task rewards. After training, both Qwen3.5 models perform better on in-domain clinical tasks and generalize to tasks from external sources. By unifying tasks from existing benchmarks, dual-interface evaluation, and GUI trajectory collection, MedUIGym provides a testbed for studying how vision-language agents complete clinical tasks through the EHR's graphical interface. Our project page is available at https://github.com/yitong-qiao/MedUIGym.
Create a lesson
Related papers
Self-Evolving Evaluation Environments for Computer-Use Agents
Shared title terminologycs.AIWenhao Wang, Panrong Tong, Quyu Kong et al.
Transport-Safe Evaluation of LLM Agents: Trajectory-Dependent Judge Error and Anytime-Valid Auditing
Shared title terminologycs.AIYulliwas Ameur, Samia Bouzefrane, Soumya Banerjee
mini-psych-agent: Evaluating Human-Like Behavior in LLM Agents through Interactive Psychological Environments
Shared title terminologycs.AIYi-Fei Cao, Tianxin Huang, Hanbo Xie et al.
Same Executions, Different Gaps: Judgment Rules in Web-Agent Evaluation
Shared title terminologycs.AIZelong Wang, Weiyue Li, Fei Xue et al.
Post-Training Agents for Long-Document Reasoning
Shared title terminologycs.AISushant Mehta, Logan Ritchie, Edwin Chen
DiscernBench: Evaluating Cooperative Discernment of LLM Agents in Institutional Settings
Shared title terminologycs.AIDisha Sheshanarayana, Tanishka Magar