PortPy.AI: A Benchmark for AI and Optimization in Cancer Radiotherapy Planning
Abstract
External beam radiotherapy is a cornerstone of cancer treatment, used in roughly half of all cancer patients. It delivers high-energy radiation beams to destroy tumors while minimizing radiation dose to surrounding healthy tissues. Treatment planning requires optimizing machine parameters, including the shapes and intensities of radiation beams, based on each patient’s unique anatomy. This gives rise to large-scale, multi-criteria, and often combinatorial optimization problems that must be solved separately for each patient under strict clinical time constraints. Although recent advances in AI/ML show promise for improving many planning and decision-making tasks, progress in this area has been limited by the lack of standardized, publicly available benchmark datasets and baseline algorithms. To address this gap, we introduce PortPy.AI, an open-source benchmark derived from real patient data that comprises an AI-ready dataset, three benchmark tasks, baseline algorithms, and a standardized evaluation protocol. The tasks span the end-to-end treatment planning pipeline—beamlet-to-voxel dose prediction (Task 1), total dose prediction (Task 2), and plan optimization (Task 3)—and each is evaluated not only by its own accuracy but by the clinical quality of the treatment plan it leads to. PortPy.AI is built on PortPy (Planning and Optimization for Radiation Therapy in Python), our open-source Python platform for data processing, plan generation, and plan evaluation. Several of the provided baseline methods have been clinically validated and deployed at our institution to support automated radiotherapy planning for cancer patients. By providing a common benchmark on an open research platform, PortPy.AI aims to accelerate progress in radiotherapy treatment planning and promote collaboration across the AI/ML, mathematical optimization, medical physics, and radiation oncology communities. Toolkit (PortPy): https://github.com/PortPy-Project/PortPy Benchmark dataset (PortPy.AI): https://huggingface.co/datasets/PortPy-Project/PortPy_Dataset