[Paper Review] TorchRadon: Fast Differentiable Routines for Computed Tomography
TorchRadon is a CUDA library that provides differentiable Radon transforms, shearlets, and CT solvers in PyTorch, delivering up to 125x speedups over Astra Toolbox and enabling seamless integration into neural networks.
This work presents TorchRadon -- an open source CUDA library which contains a set of differentiable routines for solving computed tomography (CT) reconstruction problems. The library is designed to help researchers working on CT problems to combine deep learning and model-based approaches. The package is developed as a PyTorch extension and can be seamlessly integrated into existing deep learning training code. Compared to the existing Astra Toolbox, TorchRadon is up to 125 faster. The operators implemented by TorchRadon allow the computation of gradients using PyTorch backward(), and can therefore be easily inserted inside existing neural networks architectures. Because of its speed and GPU support, TorchRadon can also be effectively used as a fast backend for the implementation of iterative algorithms. This paper presents the main functionalities of the library, compares results with existing libraries and provides examples of usage.
Motivation & Objective
- Motivate combining deep learning with model-based CT reconstruction.
- Provide differentiable CT operators that integrate into PyTorch training graphs.
- Offer a fast GPU-backed backend to accelerate CT routines and iterative algorithms.
Proposed method
- Implement differentiable Radon forward/backward projections and shearlet transforms as PyTorch autograd-compatible operators.
- Provide submodules for projections (Radon, RadonFanbeam) and GPU-based Alpha shearlets with batch support.
- Include iterative solvers (CG, CGNE, Landweber) and regularization frameworks (shearlet-based) usable within neural networks.
- Benchmark against Astra Toolbox and AlphaTransforms to demonstrate speed and accuracy advantages.
- Demonstrate half-precision storage with GPU textures to accelerate memory-bound Radon operations while maintaining accuracy.
Experimental results
Research questions
- RQ1How do differentiable CT operators built in TorchRadon compare in speed and accuracy to existing libraries like Astra Toolbox and AlphaTransforms?
- RQ2Can Radon projections, shearlet transforms, and CT solvers be effectively batched and integrated into PyTorch models without code changes?
- RQ3What is the impact of half-precision storage on CT reconstruction accuracy and speed in a GPU setting?
- RQ4Can TorchRadon accelerate hybrid deep learning/model-based CT reconstruction workflows (e.g., ADMM, unrolled networks) with end-to-end differentiability?
Key findings
- TorchRadon achieves up to 125x faster forward/backward Radon projections than Astra Toolbox due to on-GPU batch processing and memory-efficient textures.
- Batch processing and GPU-based kernels enable TorchRadon to outperform CPU/GPU baselines by large margins (e.g., over 40x speedups in some batch scenarios).
- Half-precision storage yields substantial speedups (over 2.5x) with negligible accuracy loss for Radon transforms and FBP reconstructions.
- TorchRadon’s shearlet implementation matches AlphaTransforms with extremely small relative coefficient errors (as low as 3.86e-7 in single precision) and near-identical reconstructions (≈6e-16 relative error).
- FBP and iterative solvers (CGNE, Landweber) yield competitive or superior MSE/accuracy metrics compared to baselines; for example, FBP MSE 2.22e-4 vs 2.02e-4 (Astra) and CGNE achieving 4.42e-5 in one benchmark.
- The library integrates smoothly with PyTorch Autograd, enabling differentiable CT operators within neural network models without modifying training code.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.