Impact of Pretraining Length, Model Size, and Annotation Budget on Downstream Clinical Tasks of Foundation Models in Radiotherapy

Alejandro Cortina Uribe, Sidsel Højklint Poulsen, Ivan Richter Vogelius, Jens PetersenarXiv 2026

TL;DR

This paper introduces the first large-scale foundation models specifically for radiotherapy cone-beam CT (CBCT) scans, pretrained on over 150,000 3D images. The researchers demonstrate that self-supervised pretraining provides a massive performance boost for clinical tasks, particularly when annotated data is scarce, and surprisingly find that smaller, more efficient models often perform just as well as their larger counterparts.

What Problem Does This Paper Address?

Radiotherapy departments are gold mines of unannotated data. Every treatment session involves a 3D cone-beam CT (CBCT) scan to align the patient, capturing real-time changes like tumor shrinkage or tissue inflammation. While "foundation models" (FMs) have revolutionized natural language and general computer vision, the medical domain—and radiotherapy specifically—lacks specialized FMs.

The challenge is twofold: first, CBCT scans have lower image quality and different artifacts compared to standard diagnostic CTs, meaning general medical models might not translate well. Second, developing these models is expensive. Researchers need to know: How long should we pretrain? Does a bigger model actually help? And how can we track if the model is actually learning anything useful before we spend weeks finetuning it on downstream clinical tasks?

Methods

The authors adapted the SimMIM (Simple Masked Image Modeling) framework for 3D medical data. In this setup, the model is forced to "fill in the blanks" of randomly masked patches in a 3D volume.

Key technical choices included:

  • Architecture: Three sizes of Vision Transformers (ViT-tiny, -small, and -base), ranging from 6.9M to 91.4M parameters.
  • Tracking Metrics: To monitor pretraining without running full clinical evaluations, they used pretext validation loss, linear probing (training a simple classifier on top of frozen features), and RankMe (a metric that measures the "effective rank" or diversity of the learned representations).
  • Adaptation: They compared Full Finetuning against LoRA (Low-Rank Adaptation), which only updates a tiny fraction (0.5–2.5%) of the model's weights.

Datasets

The study utilized a massive, center-specific dataset from Copenhagen University Hospital:

  • Pretraining: 152,323 raw 3D CBCT scans from 7,365 patients across various cancer types (lymphoma, head and neck, esophagus, and lung).
  • Finetuning/Evaluation: A subset of 1,562 head and neck cancer patients.
  • Tasks: Downstream tasks ranged from "easy" (detecting a nasogastric feeding tube or identifying patient sex) to "hard" clinical characteristics (T-stage, N-stage, tumor site, and age).

Key Insights and Ideas

  • Pretraining is a "Force Multiplier" for Small Data: The most dramatic gains were seen when the amount of annotated data was limited. Pretrained models reached high performance with a fraction of the labels required by models trained from scratch.
  • The "Model Size Paradox": In general computer vision, bigger is usually better. Here, model size had an inconsistent effect. Smaller models (ViT-tiny) often performed comparably to the much larger ViT-base, suggesting that for specific medical tasks, massive parameter counts might just be "dead weight" that increases computational cost without adding clinical value.
  • Validation Loss is the Best Compass: Of all the metrics tracked during pretraining, the simple validation loss of the pretext task was the most consistent predictor of how well the model would eventually perform on real clinical tasks.
  • LoRA is a "Free Lunch": Low-Rank Adaptation performed nearly as well as full finetuning while being significantly more computationally efficient and less prone to overfitting.
Fig. 1. RankMe score per model size against PF-days. (a) Raw score values. (b) Normalized values to the embedding dimension. Tiny (ViT-t, 6.9M params), small (ViT-s, 24.5M params), and base (ViT-b, 91.4M params).

Key Results

  • Feeding Tube Classification: Pretrained models achieved an AUROC of 0.91–0.97, compared to a dismal 0.58–0.85 for models trained from scratch.
  • Sex Classification: Pretraining pushed performance to near-perfection (AUROC 0.99–1.0) versus 0.71–0.97 without it.
  • Clinical Staging: While tasks like T-stage and N-stage classification remained difficult (likely due to the subtle nature of these features on CBCT), pretraining still provided a more stable and higher-performing starting point than random initialization.
  • Efficiency: As shown in Figure 3, performance generally plateaus or improves slowly after 60-80 epochs, providing a clear "recipe" for when to stop expensive pretraining runs.
Performance on feeding tube classification improves significantly with pretraining length across all model sizes, consistently outperforming the 'no pretraining' baseline (dashed line).

Limitations and Future Work

The authors acknowledge that some downstream tasks (like sex classification) are more "sanity checks" than high-value clinical tools. The real test for these foundation models will be more complex "predictive" tasks, such as forecasting treatment response or patient survival, which require long-term follow-up data.

Future work could also explore "hybrid" architectures that combine the strengths of Transformers with the efficiency of Convolutions, or investigate whether these models can be used for automated organ segmentation—a high-demand task in adaptive radiotherapy.

The code and pretrained models are available under a non-commercial license at github.com/alexCortinaU/RT-CBCT_SSL.

Summary updated

Abstract

Cone-beam CT (CBCT) scans acquired during radiotherapy capture changes such as tumor shrinkage and radiation-induced tissue changes, offering great potential for foundation models that help monitor individual treatment responses. However, to our knowledge, no large-scale pretrained models for radiotherapy CBCT exist, and evaluating modeling choices is difficult since downstream tasks are not known in advance. We examine how pretraining length, model size, and finetuning strategy relate to downstream clinical performance, and how metrics tracked during pretraining correlate with it. We pretrain vision transformer encoders with masked image modeling on about 150,000 raw 3D radiotherapy CBCT scans, tracking representation quality via validation loss, effective rank, and linear probing. Downstream tasks are classification of feeding tube presence ($n=51,135$ CBCTs, $1,562$ patients) and clinical characteristics (T-, N-stage, sex, age, tumor site; $n=1,278$ patients) in head and neck cancer. We compare low-rank adaptation (LoRA) and full finetuning against no pretraining, varying annotated dataset size. Pretext validation loss was the most consistent predictor of downstream performance; effective rank and linear probing were also associated, but not consistently across model sizes and finetuning methods. LoRA performed comparably to full finetuning while training only 0.5-2.5% of the parameters. Fully finetuned models consistently outperformed models without pretraining across all sizes, with AUROC 0.91-0.97 vs. 0.58-0.85 for feeding tube classification and 0.99-1.00 vs. 0.71-0.97 for sex classification. Model size had only a small, inconsistent effect, suggesting smaller models suffice at lower computational cost. Code and pretrained models (non-commercial license): https://github.com/alexCortinaU/RT-CBCT_SSL
BibTeX
@misc{uribe2026impact,
  author = {Alejandro Cortina Uribe and Sidsel Højklint Poulsen and Ivan Richter Vogelius and Jens Petersen},
  title = {{Impact of Pretraining Length, Model Size, and Annotation Budget on Downstream Clinical Tasks of Foundation Models in Radiotherapy}},
  year = {2026},
  eprint = {2611.22896},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.22896},
}
Figure