Privacy preserving image registration

Riccardo Taiello, Melek Önen, Francesco Capano, Olivier Humbert, Marco Lorenzi

TL;DR

This paper introduces Privacy Preserving Image Registration (PPIR), a novel framework that allows collaborative medical image alignment without exposing raw patient data. By integrating Secure Multi-Party Computation (MPC) and Fully Homomorphic Encryption (FHE) with smart optimization techniques like gradient sampling and workload partitioning, PPIR achieves near-identical accuracy to standard methods while keeping data completely confidential.

What Problem Does This Paper Address?

Medical image registration—the process of aligning multiple images (like MRI or CT scans) into a common spatial reference frame—is a foundational step in clinical workflows, from tracking tumor growth to atlas-based segmentation. Traditionally, these algorithms assume full, unencrypted access to the image pixels to calculate spatial transformations.

However, strict privacy regulations like GDPR and HIPAA classify medical images as highly sensitive personal health data. This prevents hospitals and research institutions from openly sharing images for collaborative analysis or cloud-based processing. The challenge addressed here is: How can two parties align their respective images without ever revealing the underlying image content to each other?

Methods

The authors reformulate classical image registration optimization paradigms to isolate the specific mathematical operations that require joint data access. For example, in a standard Gauss-Newton optimization scheme, the primary cross-party bottleneck is a matrix-vector multiplication between one party's gradient matrix and the other party's image.

Standard Gauss-Newton optimization scheme for image registration.

To secure this bottleneck, the paper introduces two cryptographic variants:

  1. PPIR(MPC): Uses the SPDZ protocol for additive secret sharing, where images are split into random-looking "shares" distributed between parties. Computations are performed jointly over these shares without revealing the actual values.
  2. PPIR(FHE): Uses the CKKS homomorphic encryption scheme, allowing one party to compute operations directly on data encrypted by the other party.

To overcome the massive computational and bandwidth overhead typical of these cryptographic tools in high dimensions, the authors introduce two key innovations:

  • Gradient Sampling: Instead of processing the entire image, they use Uniformly Random Selection (URS) or Gradient Magnitude Sampling (GMS) to focus only on informative regions (like image boundaries), drastically reducing data size.
  • Matrix Partitioning (FHE-v2): They propose a novel workload-balancing protocol that splits and flattens matrices, distributing the cryptographic processing load evenly between both parties to eliminate asymmetric bottlenecks.
Framework for computing secure matrix-vector multiplication using MPC and FHE.

Datasets

The framework was validated across a diverse set of 2D and 3D benchmarks:

  • 2D Point Cloud: 193 points representing the corpus callosum (Rigid registration, SSD loss).
  • 2D Whole-Body PET: 1260 × 1090 pixels (Affine and Cubic Splines registration, SSD loss).
  • 2D Brain MRI: 121 × 121 pixels (Cubic Splines registration, SSD loss).
  • 3D Brain MRI and PET: Multi-modal scans up to 180 × 256 × 256 voxels (Affine registration, Mutual Information loss).
  • 3D Abdomen MR and CT: 192 × 160 × 192 voxels from the public AbdomenMRCT dataset (Diffeomorphic ANTs registration, Cross-Correlation loss).

Key Insights and Ideas

  • Isolating Cryptographic Operations: You don't need to encrypt the entire registration pipeline. By pinpointing the exact step where data from both parties must interact (e.g., the $S^T \cdot J$ term in SSD loss), the authors minimized the use of expensive cryptographic primitives.
  • Workload Symmetry is Essential: In FHE-v1, one party performed all the heavy lifting while the other simply encrypted and decrypted data. By restructuring the protocol into a symmetric partitioned model (FHE-v2), they achieved a massive 100x speedup without sacrificing any accuracy.
  • Sparse Gradients Suffice: Image registration is largely driven by edges and boundaries. Exploiting this via Gradient Magnitude Sampling (GMS) allowed the protocols to drop 90% of the image pixels, slashing communication bandwidth and runtime by factors of 10x to 20x.

Key Results

Across all experiments, the privacy-preserving variants achieved virtually identical alignment quality compared to the unencrypted ("Clear") baselines.

As shown in the Affine SSD results table below, PPIR(MPC) matched the baseline intensity error of 4.34 perfectly. When combined with GMS, the communication cost plummeted from 1.54 MB to just 0.20 MB per party. Furthermore, the table highlights the dramatic efficiency leap of the partitioned PPIR(FHE)-v2 over v1, reducing the primary party's computation time from 2.55 seconds down to 0.01 seconds per iteration.

Quantitative metrics comparing clear registration against MPC and FHE variants.

For complex 3D multi-modal tasks, PPIR(MPC) successfully completed 3D Brain Mutual Information registration in under 5 minutes, demonstrating practical feasibility for real-world clinical timelines.

Limitations and Future Work

While MPC proved highly versatile, FHE variants still suffer from severe scalability limitations when moving beyond SSD loss to more complex, non-linear 3D registrations or advanced cost functions like Mutual Information. The computational cost of homomorphic operations remains a significant hurdle for real-time deployment on large 3D volumes.

The authors note that future work will focus on integrating hardware accelerators (such as dedicated cryptographic GPUs or FPGAs) to optimize FHE performance and extending PPIR to support a wider array of clinical cost functions.

Summary updated

BibTeX
@article{taiello2024privacy,
  author = {Riccardo Taiello and Melek Önen and Francesco Capano and Olivier Humbert and Marco Lorenzi},
  title = {{Privacy preserving image registration}},
  journal = {Medical Image Analysis},
  year = {2024},
  doi = {10.1016/j.media.2024.103129},
}
Figure