An integrated diffusion-weighted imaging processing and interpretation platform for MR-guided radiotherapy
Organizations: Department of Radiation Oncology, University of Texas Southwestern Medical Center, Dallas, Texas, USA · Department of Radiation Oncology, University of California San Francisco, San Francisco, California, USA
Abstract
Background: Magnetic resonance imaging-guided linear accelerators (MR-Linacs) allow diffusion-weighted imaging (DWI) to be acquired at every treatment fraction, but converting these low-signal-to-noise-ratio acquisitions into clinical decisions requires both reliable quantitative processing and an interpretation that reconciles a scattered and often contradictory literature. Purpose: To describe and evaluate an integrated, web-based platform that carries raw MR-Linac DWI to a structured, literature-grounded clinical interpretation, and to assess its retrieval-augmented generation (RAG) interpretation module by independent expert rating. Methods: The platform couples a deep-learning processing pipeline, comprising distortion correction, denoising, and intravoxel incoherent motion (IVIM)/apparent diffusion coefficient (ADC) fitting, with longitudinal region-of-interest analysis and a RAG interpretation agent. The agent reasons over a two-layer knowledge base of curated publications (a structured catalog index plus line-indexed full text), delegates arithmetic to deterministic tools, and is designed to trace each statement to a source document, section, and line range. One medical physicist and one physician independently rated the agent's reports for nine longitudinal glioblastoma cases on a 1-5 scale across three metrics: clinical-reasoning soundness, literature-citation quality, and overall clinical utility. Results: Across 54 ratings, the pooled mean was 4.65 +/- 0.80, with 93% of ratings >= 4; metric means were 4.6 (reasoning), 4.5 (citation), and 4.8 (utility), and raters agreed within one point on 85% of paired ratings. Conclusions: A single platform can integrate MR-Linac DWI post-processing with traceable, expert-evaluated clinical interpretation, while highlighting the safeguards needed to verify LLM-generated reasoning in radiation oncology.
Figures & tables
| Component | Version | Role in the platform |
|---|---|---|
| Python | 3.10 | Implementation language |
| Flask / Flask-SocketIO | 2.3 / 5.5 | Web server and real-time progress streaming |
| PyTorch | 2.6 (CUDA 12.6) | Deep-learning models (distortion, denoising, fitting) |
| pydicom | 3.0.1 | DICOM reading and metadata extraction |
| nibabel | 5.3.2 | NIfTI input/output |
| SimpleITK | 2.4.1 | Reorientation, resampling, geometry |
| Attribute | Categories (examples) | Coverage |
|---|---|---|
| Tumor type | Glioblastoma / glioma / brain metastases | predominant |
| Pancreatic adenocarcinoma; head and neck; prostate | secondary | |
| Parameters | ADC | 28 papers |
| IVIM ( , , ) | 13 papers | |
| Setting | MR-Linac / MR-guided radiotherapy; chemoradiation | |
| Evidence | Original studies, systematic reviews/meta-analyses, position statements | mixed |
| Dimension | Physicist | Physician | Pooled |
|---|---|---|---|
| ( ) | ( ) | ( ) | |
| Clinical-reasoning soundness | |||
| Literature-citation quality | |||
| Overall clinical utility | |||
| Overall |
Diffusion MRI
Diffusion MRI measures water motion in tissue to characterize brain microstructure, white-matter pathways, and disease.
See all 51 papers