# Research on real-time detection of radiotherapy setup errors and intelligent quality control methods based on artificial intelligence and big data

**Authors:** Weixiang Lin, Chengjian Xiao, Liangjie Xiao, Jianlan Fang, Xiaobin Xu, Yongwen Fang

PMC · DOI: 10.3389/fonc.2026.1733312 · Frontiers in Oncology · 2026-02-05

## TL;DR

This study uses AI to detect unusual errors in radiotherapy setup in near-real-time, improving quality control in cancer treatment.

## Contribution

A novel unsupervised machine learning framework for real-time detection of 6D radiotherapy setup errors is proposed and validated.

## Key findings

- Isolation Forest outperformed LOF with a ROC-AUC of 0.960 for detecting abnormal setup errors.
- The method showed high performance across immobilization methods, with AUC ≥ 0.92 in most cases.
- AP, Pitch, and LR directions were identified as key contributors to abnormality detection.

## Abstract

This study aimed to develop and validate an unsupervised machine learning–based approach for near-real-time alerting of statistically abnormal six-dimensional (6D) radiotherapy setup errors. Using large-scale clinical datasets, the robustness of the proposed approach was evaluated across different immobilization methods and treatment sites to support quality assurance alerting.

A total of 7,539 CBCT-based 6D setup error records collected at our center between May 2022 and March 2025 were analyzed. After data standardization and construction of proxy anomalous samples, two unsupervised models—Isolation Forest (IF) and Local Outlier Factor (LOF)—were developed. Model performance was assessed using ROC-AUC, PR-AUC, and sensitivity at a fixed false positive rate (FPR ≈ 5%). Subgroup analyses were performed by immobilization method and treatment site. Interpretability was explored using principal component analysis (PCA) and Spearman correlation. To provide minimal translational context, geometric tolerance exceedance rates based on translational and rotational thresholds were quantified.

Overall, IF outperformed LOF (ROC-AUC = 0.960 [95% CI: 0.956–0.964] vs. 0.880 [95% CI: 0.872–0.888]). Most immobilization methods achieved AUC ≥ 0.92 (range: 0.912–1.000), with dual-face SRT masks and neck–thorax mask plus vacuum cushion combinations approaching ideal performance (AUC ≈ 1.00). Interpretability analyses indicated that the AP, Pitch, and LR directions were the primary contributors to abnormality detection. Longitudinal evaluation revealed stable performance without model drift.

This study demonstrates the feasibility of applying unsupervised learning to identify statistically unusual setup patterns and proposes a closed-loop “setup–monitoring–alert” framework. The approach is intended as an auxiliary alerting tool to support clinical workflows, rather than to replace dosimetric evaluation or clinical decision-making.

## Full-text entities

- **Diseases:** fatigue (MESH:D005221), anomaly (MESH:D000013), IF (MESH:D007733), Cancer (MESH:D009369), breast cancer (MESH:D001943)
- **Chemicals:** IF (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12916396/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12916396/full.md

## References

30 references — full list in the complete paper: https://tomesphere.com/paper/PMC12916396/full.md

---
Source: https://tomesphere.com/paper/PMC12916396