A Scalable Distributed Framework for Multimodal GigaVoxel Image Registration
Rohit Jena, Vedant Zope, Pratik A Chaudhari, James Gee
International Conference on Learning Representations 2026 · Oral
Overview
This talk introduces a groundbreaking framework designed to push the boundaries of multimodal image registration, enabling processing at an unprecedented gigavoxel scale. Presented by Vedant Zope, the work addresses critical memory and computational bottlenecks inherent in current image registration techniques, particularly when dealing with high-resolution 3D medical images. The core innovation lies in a combination of highly optimized, fused kernel primitives and novel distributed computing strategies that allow for significantly larger image volumes to be registered efficiently on both single and multiple GPU setups.

Key moments
- 0:00 Introduction to image registration and memory bottlenecks
- 1:00 Fused implicit grid sampler for deformation field
- 2:00 Fused cross-correlation loss and performance improvements
- 3:30 Memory-efficient fused mutual information loss implementation
- 4:45 Scaling beyond single GPU: Introducing grid parallelism
- 5:50 Distributed interpolation using efficient ring communication
- 6:50 Demonstrating gigavoxel scale registration with 8 GPUs
- 7:20 Q&A: Rationale for analytical gradient calculation
A Scalable Distributed Framework for Multimodal GigaVoxel Image Registration
Speakers: Rohit Jena, Vedant Zope, Pratik A Chaudhari, James Gee
Conference: ICLR 2026
YouTube: https://slideslive.com/39062145
Overview
This talk introduces a groundbreaking framework designed to push the boundaries of multimodal image registration, enabling processing at an unprecedented gigavoxel scale. Presented by Vedant Zope, the work addresses critical memory and computational bottlenecks inherent in current image registration techniques, particularly when dealing with high-resolution 3D medical images. The core innovation lies in a combination of highly optimized, fused kernel primitives and novel distributed computing strategies that allow for significantly larger image volumes to be registered efficiently on both single and multiple GPU setups.
The significance of this research cannot be overstated for fields like medical imaging, neuroscience, and computational biology, where the demand for higher resolution and larger volumetric data analysis is constantly growing. Traditional image registration methods often buckle under the memory demands of gigavoxel-scale data, limiting the detail and scope of analysis. By providing a robust and scalable solution, this framework promises to unlock new avenues for scientific discovery, enabling more accurate diagnostics, better treatment planning, and deeper insights into complex biological structures without compromising computational efficiency or accuracy.
Background
▶ Watch: Introduction to image registration and memory bottlenecks (0:00)
Image registration is a fundamental problem in many scientific and engineering disciplines, particularly in medical imaging. It involves finding a dense correspondence, represented by a deformation field (phi), that maps a "moving image" onto a "fixed image." This process is typically formulated as an optimization problem: phi* = argmin(C(Fixed, Moving(phi)) + R(phi)), where C is a similarity function (e.g., mutual information (MI) or normalized local cross-correlation (LNCC)) that quantifies the alignment between the images, and R is a regularization term that encourages physically plausible and smooth deformations.
A major challenge in scaling image registration, especially for high-resolution 3D data, stems from its intensive memory footprint. Current implementations frequently materialize large intermediate tensors in High Bandwidth Memory (HBM), the main memory on GPUs. While HBM offers substantial capacity, its access latency is higher than faster, more limited memory tiers like registers and shared memory on the GPU. The talk highlights that a significant fraction of GPU memory usage is dominated by these intermediate tensors, particularly in the computation of loss functions like LNCC and MI, and in the grid interpolation step which applies the deformation field. This memory overhead severely limits the size of images that can be processed on a single GPU and makes distributed scaling difficult. The authors identify these three specific operations—grid interpolation, LNCC, and MI—as the primary bottlenecks preventing image registration from scaling to gigavoxel dimensions. The overarching strategy to overcome these limitations is to move computation closer to the hardware's faster memory tiers by avoiding the explicit materialization of intermediate tensors and leveraging highly optimized, fused kernels.
Key Findings
▶ Watch: Fused cross-correlation loss and performance improvements (2:00)
The research presents several key findings and contributions that collectively enable gigavoxel-scale image registration:
- Fused Implicit Grid Sampler: A novel fused implicit grid sampler was developed that eliminates the need to materialize intermediate tensors during the deformation field application. This drastically reduces HBM reads and writes, moving computation closer to GPU registers and shared memory.
- Analytically Re-derived and Fused Loss Functions:
- For LNCC, the backward pass was analytically re-derived and fused into a single kernel. This reduced memory usage from approximately
16n(wherenis image size) to5nand achieved substantial runtime improvements (e.g., 37 seconds down to 0.5 seconds for a full pipeline) with a slight improvement in Dice score due to enhanced numerical stability. - For MI, a fused implementation avoids the explicit construction of large Parzen window tensors, leading to constant memory usage regardless of image size. This resulted in significant memory reduction (from 12 GB to under 600 MB) and runtime acceleration (75 seconds to 29 seconds) while maintaining accuracy.
- Grid Parallelism for Multi-GPU Scaling: A novel distributed strategy called grid parallelism was introduced. Unlike naive tensor parallelism or tiling, grid parallelism spatially shards the image volume across multiple GPUs and employs halo exchanges to share boundary information. This approach ensures mathematical correctness for operations requiring neighborhood information (like convolutions) and maintains consistent accuracy (Dice score) as the number of GPUs increases, effectively preventing artifacts seen with other methods.
- Distributed Interpolation with Ring Communication: An efficient mechanism for distributed interpolation was developed using ring communication. This technique allows GPUs to sequentially pass and accumulate partial contributions of interpolated values, ensuring that memory consumption per GPU remains constant regardless of the total image scale or number of GPUs.
- Gigavoxel Scale Demonstrated: The culmination of these innovations allowed for the successful registration of an in-vivo 250-micron brain to an ex-vivo 100-micron brain, involving over 118 billion parameters. This was achieved in approximately one minute using eight NVIDIA A6000 GPUs, demonstrating the framework's ability to handle truly gigavoxel-scale data with high efficiency and accuracy.
Technical Deep Dive
▶ Watch: Scaling beyond single GPU: Introducing grid parallelism (4:45)
The core of this work lies in deeply optimizing fundamental image registration operations by leveraging GPU memory hierarchies and distributed computing principles.
Fused Implicit Grid Sampler
The standard grid sampler operation, which applies the deformation field to the moving image, typically involves multiple sequential steps: an initial grid, application of an affine transformation, addition of the dense deformation field, and finally, sampling from the moving image. Each of these steps materializes intermediate tensors in HBM, leading to significant memory traffic.
The proposed fused implicit grid sampler addresses this by collapsing these operations into a single GPU kernel. Inside this fused kernel, each thread is responsible for processing a specific spatial location x. Instead of storing intermediate grids, the thread directly loads the local deformation ux and the affine transformation AT. It then computes the composite transformation Ax + T + Sux on the fly within the thread's local memory or registers. This composite transformation is immediately used to sample the moving image at that location, producing the moved image directly. As a result, the intermediate tensors are entirely eliminated, requiring only one final read from HBM for the moving image data, vastly reducing memory bandwidth requirements and improving cache locality.
Fused Cross-Correlation (LNCC) Loss
The vanilla LNCC formulation, commonly used in image registration, explicitly computes numerous intermediate tensors such as squared terms, cross terms, and local statistics for both the forward and backward passes. This results in a roughly 16x memory overhead for the forward pass and another 16x for the backward pass, as highlighted by the extensive computational graph of PyTorch's LNCC implementation.
The authors' solution involves an analytical re-derivation of the backward pass. Instead of relying on automatic differentiation to generate intermediate tensors that need to be stored, they analytically express the gradients such that all necessary quantities can be reconstructed from a minimal set of convolved states. The entire computation, including the forward and analytically derived backward passes, is then fused into a single kernel. This approach reduces memory usage from approximately 16n to just 5n. Crucially, in the backward pass, the same minimal state tensor is reused and updated in place, preventing any additional HBM overhead. This deep optimization not only reduces memory but also significantly accelerates computation. When integrated into a deep learning model like TransMorph, this fused LNCC reduced training time from 170 hours to 128 hours, demonstrating its broad applicability beyond traditional registration pipelines.
Fused Mutual Information (MI) Loss
Mutual Information is known to be even more memory-intensive than LNCC. Standard methods construct large Parzen window tensors of size B x N (batch size x number of voxels) and materialize them in HBM to build the joint histogram of image intensities.
The fused MI implementation avoids this memory-intensive step entirely. Instead, each voxel contributes a "soft vote" to a few bins in the joint histogram via kernel functions. The product of these kernel contributions for corresponding voxels in the fixed and moving images (Wi Wj, denoted as V-Fk and W-Mk) forms the voxel's sum contribution to the joint bins. This joint distribution is then built incrementally in shared memory, which is much faster than HBM. The gradients are also computed on the fly without materializing intermediate tensors, leading to an O(1) memory overhead, meaning memory usage remains constant regardless of the input image size. This is a critical breakthrough for scaling MI-based registration.
Multi-GPU Scaling with Grid Parallelism
Scaling image registration to multiple GPUs presents unique challenges. Standard techniques like tiling or naive tensor parallelism fall short because:
- Interpolation requires random access into the image, which breaks the inherent assumptions of tiling that often rely on contiguous memory blocks.
- Operations like cross-correlation and smoothing require neighborhood information, introducing dependencies across shard boundaries that are not easily handled by simple tensor splitting.
To overcome these, the authors introduce grid parallelism. In this strategy, the image volume is divided into discrete spatial shards, with each shard assigned to a different GPU. To handle inter-shard dependencies, halo exchanges are employed. These exchanges involve neighboring GPUs sharing a thin boundary region (the "halo") of their respective shards. This ensures that operations requiring neighborhood information, such as convolutions, remain mathematically correct across shard boundaries, preventing visible artifacts and maintaining the accuracy of the deformation field. The comparison with naive tensor parallelism clearly shows that grid parallelism preserves the Dice score, whereas naive methods suffer significant accuracy degradation.
Distributed Interpolation with Ring Communication
Distributed interpolation is a critical component of grid parallelism. Each output voxel's interpolated value can depend on input values from multiple shards. This can be expressed as a weighted combination of terms, where each shard contributes a partial sum.
To compute this efficiently across GPUs, the framework employs ring communication. In this protocol, GPUs are logically arranged in a ring. Each GPU processes its shard and then passes it sequentially around the ring, accumulating partial contributions from other GPUs along the way. After one full pass around the ring, each GPU possesses the final interpolated values for its assigned shard. This method is highly memory-efficient because at any given point, each GPU holds only a single image shard, ensuring that memory consumption per GPU remains constant even as the overall image size and number of GPUs scale up. This contrasts sharply with approaches where each GPU might need to store multiple shards, leading to memory growth with scale.
Experimental Setup & Results
▶ Watch: Distributed interpolation using efficient ring communication (5:50)
The effectiveness of the proposed framework was rigorously evaluated across various scenarios, demonstrating significant improvements in performance and scalability.
Single GPU Performance:
- LNCC Loss: When the fused LNCC loss was integrated into a full registration pipeline, the runtime dramatically dropped from approximately 37 seconds to a mere 0.5 seconds. Memory usage was reduced by nearly half. Crucially, accuracy was not compromised; in fact, a slight improvement in the Dice score was observed, attributed to the enhanced numerical stability of the fused kernels.
- Deep Learning Context (TransMorph): The benefits extended to deep learning models. Training TransMorph, a transformer-based registration model, with the fused grid sampler and LNCC loss, reduced training time from around 170 hours to just under 128 hours. While the GPU memory footprint was still largely dominated by the model and activations, a reduction in memory usage was observed, and validation Dice scores again showed a slight improvement.
- MI Loss: For the more memory-intensive mutual information, the fused kernels achieved a runtime reduction from 75 seconds to 29 seconds for the forward and backward passes. More significantly, memory usage plummeted from approximately 12 GB to just under 600 MB, demonstrating constant memory consumption irrespective of input size, a critical achievement. Performance (accuracy) remained consistent with standard implementations.
Multi-GPU Scaling and Gigavoxel Demonstration:
- Grid Parallelism Efficacy: Quantitative evaluation showed that the Dice score remained almost constant when using grid parallelism across multiple GPUs, whereas it dropped significantly with naive tensor parallelism, which also introduced visible artifacts near shard boundaries. This validates the importance of halo exchanges for maintaining accuracy.
- Distributed Interpolation Memory: The ring communication sampler for distributed interpolation proved its memory efficiency. Without it, memory consumption per GPU increased with scale, but with the ring sampler, it remained constant, as each GPU only held a single image shard at any given time.
- Gigavoxel Scale Registration: The ultimate demonstration involved registering an in-vivo 250-micron human brain to an ex-vivo 100-micron human brain. This task, encompassing over 118 billion parameters, was completed in approximately one minute using eight NVIDIA A6000 GPUs. Qualitatively, the aligned image showed excellent correspondence with the fixed image, and fine dendritic structures, typically not visible at lower resolutions (e.g., 1-millimeter), were clearly preserved and aligned, showcasing the framework's ability to handle unprecedented detail and scale.
Practical Implications
▶ Watch: Q&A: Rationale for analytical gradient calculation (7:20)
This scalable distributed framework for gigavoxel image registration carries profound practical implications for a wide range of practitioners and industries.
For researchers and practitioners in medical imaging, neuroscience, and computational biology, this work effectively breaks the memory barrier that has historically limited the resolution and size of volumetric data that can be processed. It enables the analysis of gigavoxel-scale images, such as whole-brain scans at cellular resolution, without compromising detail or requiring prohibitively expensive supercomputing resources. This opens doors for more precise diagnostics, detailed anatomical mapping, and deeper insights into disease mechanisms or neural pathways.
For infrastructure teams and ML engineers, the framework provides a robust blueprint for optimizing computationally and memory-intensive ML workloads. The principles of kernel fusion, analytical gradient derivation, and efficient distributed memory management (like grid parallelism with halo exchanges and ring communication) can be adapted to other domains facing similar scaling challenges. It highlights the significant performance gains achievable by moving computation closer to GPU hardware, leveraging registers and shared memory, and meticulously avoiding the materialization of intermediate tensors. This approach, while requiring deeper expertise in GPU programming and algorithm design compared to relying solely on high-level autodiff frameworks, delivers unparalleled efficiency.
Model builders and deployers will benefit from the drastically reduced training and inference times, as well as the ability to deploy registration models that can handle larger input volumes. The improved numerical stability offered by fused kernels could also lead to more robust and accurate models in practice.
However, there are also tradeoffs and limitations. The development of fused kernels and analytical gradients requires specialized expertise and is more complex than relying solely on standard automatic differentiation libraries like PyTorch's Autograd. While Autograd is flexible, it can be inefficient due to its tendency to store intermediate tensors for gradient computation. The approach presented here explicitly bypasses this by re-deriving gradients, which is a significant development effort. Furthermore, while the framework dramatically reduces memory usage, for very large deep learning models, the memory footprint of model parameters and activations can still be substantial, even if the loss computation is optimized. The analytical derivation might also need to be revisited if the underlying registration model or loss function undergoes significant architectural changes. Nevertheless, the demonstrated gains in speed and scale make this approach highly attractive for critical applications.
Key Takeaways
- Memory Optimization through Fusion: The core innovation lies in fusing operations like grid sampling and loss computations (LNCC, MI) into single kernels and analytically re-deriving gradients to avoid materializing large intermediate tensors in HBM.
- Dramatic Performance Gains on Single GPU: This approach significantly reduces memory usage (e.g., LNCC from 16x to 5x, MI from 12GB to 600MB) and accelerates runtime (e.g., LNCC pipeline 37s to 0.5s, MI pipeline 75s to 29s) without compromising accuracy.
- Effective Multi-GPU Scaling with Grid Parallelism: Grid parallelism, which shards image volumes spatially and uses halo exchanges for boundary information, is crucial for scaling registration to multiple GPUs while preserving accuracy and preventing artifacts.
- Efficient Distributed Interpolation: The use of ring communication for distributed interpolation ensures constant memory consumption per GPU, even at massive scales, by efficiently accumulating partial contributions across the distributed system.
- Gigavoxel Scale Achieved: The combined framework successfully enables multimodal image registration at gigavoxel scales (e.g., 118 billion parameters in 1 minute on 8 A6000 GPUs), opening new possibilities for high-resolution analysis in various scientific domains.
- Blueprint for Hardware-Aware Optimization: The work serves as a powerful example of how deep understanding of GPU memory hierarchies and analytical algorithm design can yield significant performance and scalability improvements beyond what high-level frameworks alone can offer.
About the Speaker(s)
The talk was presented by Vedant Zope, who is listed alongside Rohit Jena, Pratik A Chaudhari, and James Gee as authors of this work. Their affiliations and specific roles are not detailed in the provided transcript, but their collaborative effort has produced a significant advancement in the field of scalable image registration.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026