HyperMorph
Registration network whose weights come from a hypernetwork, so hyperparameters can be changed at test time.
Medical imaging · 318 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Medical imaging
- Parameters
- 40.4M
- Operations
- 318
- Framework
- PyTorch
- Recurrent
- No
- Published
- IPMI 2021
- Cited by
- 150 (as of 26 October 2026)
- Authors
- Andrew Hoopes, Malte Hoffmann, Bruce Fischl and others
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m17429
- Graph hash
- bad9b2324ef15f9c3453041c7496a4131c5020376f556dc9a28b25046d7e0cfa
- Skeleton hash
- e1a5896ff8a4b68dc891a5e0fb35f1d9c93b54ad80c200460c663f35667d7ad4
- Architecture hash
- 4543caf2d68a7cc6b9aaa85b5529039b0e1a04d8964473e15b5afa4062ea31fb
- Diagram SHA-256
- a18170bc6238d43dd517bc0f18d63b495140b0ec0e8bb676823e3719bd5e51c9
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
HyperMorph is a learning-based strategy for deformable image registration, the task of finding dense correspondences that align two images, and it removes the need to tune important registration hyperparameters during training. Tuning usually means training many separate models with various hyperparameter values.
The mechanism is a hypernetwork: a network that takes registration hyperparameters as input and learns to output the parameters of the registration network. The only trainable parameters are those of the hypernetwork, and at every mini-batch a set of hyperparameter values is sampled and used both as its input and in the loss. The registration network is a U-Net built with the VoxelMorph library, with a 4-layer convolutional encoder (16, 32, 32 and 32 channels), a 4-layer convolutional decoder and 3 more convolutional layers. The paper counts 313,507 convolutional parameters that the hypernetwork provides as output. The deformation field is parameterized as a stationary velocity field and integrated within the network to obtain a diffeomorphism, which is invertible by design.
A single trained model then registers images for any hyperparameter value, which the paper suggests exploring with sliders in near real-time. Its experiments use 3D brain MR images cropped to 160×192×224 volumes. For single-hyperparameter tests the paper reports that HyperMorph requires 5.2 ± 0.2 times fewer GPU-hours than a grid search with baseline models.
Key idea. HyperMorph trains a hypernetwork that takes a registration hyperparameter as input and modulates a registration network to produce the deformation field for that value, replacing repeated hyperparameter tuning.
- hypermorph
- deformable image registration
- image registration
- hypernetwork
- amortized hyperparameter learning
- hyperparameter tuning
- medical image registration
- brain mri registration
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{hoopes2021hypermorphamortizedhyperparameterlearning,
title={HyperMorph: Amortized Hyperparameter Learning for Image Registration},
author={Andrew Hoopes and Malte Hoffmann and Bruce Fischl and John Guttag and Adrian V. Dalca},
year={2021},
eprint={2101.01035},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2101.01035},
}