CARL: A Framework for Equivariant Image Registration

Thomas Hastings Greer, Lin Tian, François-Xavier Vialard, Roland Kwitt, Raúl San José Estépar, Marc Niethammer

Abstract

Image registration estimates spatial correspondences between image pairs. These estimates are typically obtained via numerical optimization or regression by a deep network. A desirable property is that a correspondence estimate for an image pair is maintained under deformations of the input images. Formally, the estimator should be equivariant to a desired class of image transformations. In this work, we present careful analyses of equivariance properties in the context of multi-step deep registration networks. Based on these analyses we 1) introduce the notions of [U,U] equivariance (network equivariance to the same deformations of the input images) and [W,U] equivariance (where input images can undergo different deformations); we 2) show that in a suitable multi-step registration setup it is sufficient for overall [W,U] equivariance if the first step has [W,U] equivariance and all others have [U,U] equivariance; we 3) show that common displacement-predicting networks only exhibit [U,U] equivariance to translations instead of the more powerful [W,U] equivariance; and we 4) show how to achieve multi-step [W,U] equivariance via a coordinate-attention mechanism combined with displacement-predicting networks. Our approach obtains excellent practical performance for 3D abdomen, lung, and brain medical image registration. We match or outperform state-of-the-art (SOTA) registration approaches on all the datasets with a particularly strong performance for the challenging abdomen registration.

Introduction

Image registration—the process of aligning two images, such as CT scans from different days—is a cornerstone of medical AI. Ideally, a registration algorithm should be equivariant: if the input images are shifted, the predicted transformation should shift accordingly.

Most current deep learning models only achieve "joint" ($[U, U]$) equivariance, meaning they function correctly only if both images are shifted by the same amount. They often fail when images are shifted independently (e.g., due to different fields of view or patient positioning), a property known as $[W, U]$ equivariance. In clinical practice, patients are rarely centered perfectly, and sensors may have different crops. Standard displacement-predicting CNNs are fundamentally limited to weaker joint equivariance, making them brittle in the face of large, independent displacements.

Methods

The CARL (Coordinate Attention with Refinement Layers) framework is a multi-step registration pipeline built on two main pillars:

Coordinate Attention ($\Xi_\theta$)

This core innovation replaces standard attention feature vectors with the spatial coordinates of each voxel as the "Value." This effectively computes a "center of mass" for features, allowing the network to find correspondences based on global spatial positioning rather than just local textures.

Multi-Step Equivariance

The authors mathematically prove that for a multi-step registration pipeline to achieve independent ($[W, U]$) equivariance, only the first step needs to be independently equivariant. Subsequent refinement layers only need to be jointly ($[U, U]$) equivariant. This allows CARL to utilize a powerful coordinate attention layer for coarse alignment followed by standard, efficient CNNs for fine-grained refinement. The architecture is trained unsupervised using Local Normalized Cross-Correlation (LNCC) and diffusion regularization to ensure smooth, diffeomorphic warps.

Datasets and Evaluation

CARL was evaluated on several diverse 3D medical datasets:

  • Abdomen1k: A challenging 3D CT dataset with highly variable fields of view.
  • HCP (Human Connectome Project): T1w Brain MRI images.
  • DirLab COPDGene: A standard lung CT benchmark for measuring Target Registration Error (TRE).
  • Learn2Reg Abdomen CT-CT: A competitive challenge dataset for testing generalization.

Key Results

CARL demonstrates superior performance, particularly in challenging scenarios:

  • Abdomen Registration: On Abdomen1k, CARL achieved a 75.7% DICE score, vastly outperforming the previous state-of-the-art unsupervised model, GradICON (49.6%), which struggles with independent shifts.
  • Brain & Lung: CARL matched or exceeded SOTA performance on HCP and DirLab. On DirLab, it achieved a mean Target Registration Error (mTRE) of 1.34mm with instance optimization.
  • Robustness: Stress tests showed that CARL’s performance remains stable even as images are translated by 45+ voxels, whereas standard models see accuracy plummet.
Warped abdomen image using the CARL framework.
Warped brain MRI using CARL{ROT}.

Discussion and Conclusion

The paper highlights that standard CNNs predict displacements relative to a fixed grid, tying the network's "view" to the coordinate system and preventing true independent equivariance. Coordinate attention acts as a differentiable keypoint matcher without requiring explicit labels.

While currently formally equivariant to translations, CARL empirically generalizes to scaling and rotations (referred to as CARL{ROT}). Future work may integrate Group Equivariant Convolutions or Spherical Harmonics to provide formal rotation equivariance. Despite the computational overhead of "Instance Optimization" (IO) at test time, CARL provides a robust "recipe" for building registration networks: a globally aware, equivariant initial stage followed by locally-focused refinement.

Summary updated

BibTeX
@inproceedings{greer2025carl,
  author = {Thomas Hastings Greer and Lin Tian and François-Xavier Vialard and Roland Kwitt and Raúl San José Estépar and Marc Niethammer},
  title = {{CARL: A Framework for Equivariant Image Registration}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=a4LBThnKBq},
}
Figure