RadOncGym: An Agent-Based Framework for Radiotherapy Dose-Mimicking Optimization

Tong Miao, Shupeng Cheng, Xiwen Chen, Ruishan Liu
11/25/2026
cs.AI

Official code: miaot-usc/RadOncGym (1 star, Python, MIT, last commit 2026-10-23).

Abstract

AI dose-prediction models generate patient-specific 3D dose distributions from patient anatomy, providing an important intermediate representation for automated radiotherapy planning. However, an AI-predicted dose must undergo downstream optimization to produce a physically constrained treatment plan, a process that requires balancing competing planning objectives.

Show full abstract

We present RadOncGym, an agent-based framework that enables an LLM agent to iteratively tune 12 planning-objective weights for dose-mimicking optimization. To reduce iterative evaluation cost, RadOncGym incorporates a surrogate verifier that provides rapid feedback while allowing the agent to decide when to request a full planning solve within a fixed solve budget. We evaluate RadOncGym on 60 OpenKBP head-and-neck patients, each paired with 10 predictions from OpenKBP-Opt dose-prediction sets, yielding 600 patient-prediction contexts per experimental configuration. Under RadOncGym's 16-turn setting with a three-solve budget, a GPT-5.6 Sol agent reduces mean clinical-criterion violation by 0.6131 Gy and improves DVH and dose scores by 0.5986 and 0.2204 Gy relative to leaving all 12 weights fixed at 1, outperforming all evaluated non-agent weight-tuning methods under the same solve budget. It remains competitive with the 16-solve variants of these methods while requiring 75.0-77.6% less normalized runtime. RadOncGym demonstrates the potential of LLM agents as optimization planners in downstream radiotherapy plan optimization and provides a public testbed for their systematic evaluation. Code and configurations are available at https://github.com/miaot-usc/RadOncGym.

View on arXivView PDF

Code Implementations(1)

MIT

Radiotherapy dose-mimicking optimization environment.

11PythonOct 21, 20261 months agoMIT

Similar Papers

Cite this paper

@article{miao2026radoncgym,
  title  = {RadOncGym: An Agent-Based Framework for Radiotherapy Dose-Mimicking Optimization},
  author = {Tong Miao and Shupeng Cheng and Xiwen Chen and Ruishan Liu},
  year   = {2026},
  eprint = {2611.33821},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.33821v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.33821.svg)](https://codeofpaper.com/paper/2611.33821)

Discussion