Abstract
Precision in radiotherapy requires accurate tracking of intra-fraction organ motion. Traditional Deformable Image Registration (DIR) methods are often too slow for real-time use, while deep learning approaches require extensive pre-training and may lack generalizability. This paper introduces NGPDIR, a novel framework leveraging Neural Graphics Primitives (NGP) with multi-resolution hash encoding. NGPDIR achieves state-of-the-art registration accuracy—a Target Registration Error (TRE) of 1.15 mm—in under 2 seconds through self-supervised instance optimization. By eliminating the need for large training datasets and providing continuous representation, NGPDIR offers a highly efficient solution for real-time clinical motion extraction.
Introduction
In radiotherapy, accounting for "intra-fraction motion"—the movement of internal organs due to physiological processes like respiration—is critical to ensuring radiation targets the tumor while sparing healthy tissue. Deformable Image Registration (DIR) is the standard technique used to calculate a Displacement Vector Field (DVF) that maps images across different respiratory phases.
However, existing DIR methods face a significant trade-off between speed, accuracy, and generalizability. Traditional iterative methods are accurate but computationally expensive. Deep Learning (DL) models offer fast inference but depend on massive, pre-labeled datasets and often struggle with out-of-distribution patient data. Implicit Neural Representations (INR) provide excellent per-case optimization but have historically been too slow for clinical workflows, often requiring over 15 seconds per registration.
Methodology: NGPDIR Architecture
The proposed NGPDIR method addresses these limitations by utilizing Neural Graphics Primitives (NGP), a technique originally developed for high-speed 3D scene reconstruction. The core innovation lies in its multi-resolution hash encoding scheme, which replaces deep, computationally heavy networks with a hierarchical lookup structure.
As shown in the pipeline, the process involves:
- Input: A 3D coordinate $(x, y, z)$ from the image volume.
- Encoding: The coordinate is mapped to indices in multiple hash tables at varying resolutions, capturing both coarse anatomical structures and fine-grained local details.
- Interpolation: Features are retrieved from the hash tables and interpolated to form a dense feature vector.
- Prediction: A very shallow Multi-Layer Perceptron (MLP) processes this vector to predict the local displacement $(\delta x, \delta y, \delta z)$.
Because the network is lightweight and the hash lookups are highly efficient, NGPDIR can be optimized from scratch for a specific patient's scan in seconds—a process known as self-supervised instance optimization.
Experimental Results
The performance of NGPDIR was evaluated using the DIR-lab dataset, a benchmark consisting of 10 4D-CT lung cases with physician-labeled landmarks. The study also utilized Totalsegmentor to generate anatomical masks for assessing "sliding boundaries" (e.g., the interface between lungs and the chest wall).
Performance and Efficiency
NGPDIR demonstrates a superior speed-accuracy profile compared to existing methods. It achieved a mean Target Registration Error (TRE) of 1.15 ± 1.15 mm in just 1.77 seconds. As illustrated in the performance plot, NGPDIR (purple star) occupies the bottom-left quadrant, indicating it is both faster and more accurate than previous INR-based methods like IDIR and ccIDIR, which require significantly more time to reach comparable error levels.
Key Insights
- Resolution Independence: Unlike CNN-based methods constrained by fixed voxel grids, NGPDIR provides a continuous representation. This allows it to handle varying image sizes and physical spacings without preprocessing steps like resizing.
- Handling Sliding Boundaries: The multi-level primitives effectively capture the complex "sliding" motion between the lung and chest wall, resulting in smoother and more anatomically realistic displacement fields than traditional tools like Plastimatch.
Conclusion and Future Work
NGPDIR represents a significant step toward real-time adaptive radiotherapy. By combining the flexibility of implicit representations with the speed of hash-based encoding, it achieves clinical-grade accuracy on-the-fly without requiring prior training.
While 1.77 seconds is a breakthrough, future research aims to reach sub-second "instantaneous" inference. Potential avenues include meta-learning to provide the model with a "warm start" based on general human anatomy priors, further accelerating the optimization process for individual patients.
Summary updated