Horus: One MRI Encoder for Every Slice Thickness

Fig. 4 of arXiv:2612.04594 by Correnti et al.: a coronal T1c glioma MRI and an axial T2 bladder tumor MRI with the lesion outlined, next to the first three principal components of frozen features from nnFoundation ViT, OpenMind SimCLR and Horus read at 4 mm, shown as color.

If you have pushed real hospital MRI through a research model, the voxel spacing gave you trouble before the network did. One brain study arrives as a 1 mm isotropic T1, the FLAIR from the same visit has 3 mm slices, and the time-of-flight angiogram has 0.3 mm voxels. Most pipelines deal with this by resampling everything to one grid, which blurs the vessels and invents detail between thick slices. Then they cut the volume into crops because the model cannot afford to see the whole scan at fine resolution.

A preprint posted on 2 December 2026, “Horus: A Foundation Model for MRI at Any Grain and Any Scale”, by Francesco Correnti, Vincenzo Yuto Civale, Andrew D. Bagdanov, Alberto Magi and Pietro Pala (University of Florence) and Niccolò Biondi (University of Trento), takes a different route. Horus reads the scan at its native voxels and lets you choose, at inference time, how many millimeters each token covers. Code and weights for three model sizes are already public.

What Horus does with a scan

Horus divides the volume into cubic cells of a size you pick in millimeters and turns each cell into one token. The authors call this size the grain, and pretrained at 16, 8, 4 and 2 mm. On a 1 mm isotropic scan a 4 mm cell holds 64 voxels; on a scan with 3 mm slices the same 4 mm cell holds fewer voxels along that axis, but it still covers the same piece of anatomy.

Three design choices make that work:

  • A kernel defined in millimeters. Instead of a patch embedding with a fixed grid of weights, Horus learns one continuous kernel (cubic B-splines, 16 per axis) and integrates it over each native voxel in the cell. The same weights embed a 2 mm cell or a 16 mm cell, at any spacing, and voxels are never split or interpolated.
  • Whole-scan context at a fine grain. A head scan read at 4 mm is a long sequence; the paper quotes 262,144 cells at 4 mm in its general discussion, and the repository measures about 180k cells for one head scan with Horus-1024/16. Full attention over that is too expensive, so most layers are Gated DeltaNet-2 linear-attention layers that scan the cells along space-filling curves (raster, Morton, Hilbert), with a full-attention layer every fourth block (every second in the widest model).
  • Pretraining across grains. A multi-grain version of LeJEPA aligns embeddings of the same region read at different cell sizes, at four levels: two views of a box, small cubes of masked cells, the whole volume, and the different sequences of one imaging session. No voxel reconstruction target is involved, so the loss does not depend on spacing.

That makes selective reading possible. Because any set of cells is a valid input, Horus can read the whole scan coarsely at 16 and 8 mm, find where the target probably is or where the prediction is unsure, and re-read only those cells at 4 and 2 mm with the same frozen encoder and the same head.

Training data and model sizes

Pretraining used 977,613 brain MRI volumes from 136,864 subjects across five public sources. MR-RATE, from a single hospital, provides 72% of the volumes; FOMO300K adds a wide range of contrasts (DWI, T1w, T2w, FLAIR, SWI, ASL, MRA, quantitative maps and others). Spacings vary a lot: the coarsest axis has a median of 1.8 mm and a 99th percentile of 6.8 mm. Every subject in the evaluation benchmark was removed from the pool, matched by identifier and by image.

There are three sizes: Horus-1024/8 (121M parameters, cut from the deeper model and briefly retrained), Horus-1024/16 (238M) and Horus-2048/8 (464M).

How it compares

The authors compared frozen Horus encoders with eleven other MRI foundation models, each run from its official code, weights and preprocessing: the OpenMind ResEnc-L (MAE and SimCLR) and Primus-M, both nnFoundation encoders, FOMO26, MedicalNet, BrainIAC, MARS and two BrainSegFounder variants. The benchmark has 33 tasks on 20 datasets, 22 on the brain and 11 on the body, ranging from age, dementia and IDH status to segmentation of white-matter lesions, MS lesions, the Circle of Willis, vestibular schwannoma, lumbar spine, prostate zones, bladder tumors and the heart. Every encoder is frozen and read by the same light heads, so differences come from the features.

Results are ranked by win rate: the share of other encoders a model beats by more than one standard error. On volume-level tasks (one prediction per scan) the three Horus sizes take the top three places, on the brain and on the body, which Horus never saw during pretraining. The widest model reaches a brain win rate of 80. On dense tasks the lead is narrow: a Horus size is first on both domains, but when the authors resample the datasets it stays first in only about two draws out of three.

Selective reading holds up on small targets. Horus-1024/16 recovers 90% of what the full 2 mm reading gains over the 8 mm one while computing 4 to 5% of its tokens on the Circle of Willis, fetal brain landmarks and MS lesions. On fetal landmarks a partial reading with 14% of the tokens even had a lower radial error than the dense one (1.73 against 1.80 mm).

On one FLAIR volume, Horus-2048/8 read at all four grains costs 37.6 TFLOP and at most 1.0 s on an A100, against 220.2 TFLOP and 3.1 s for the similarly sized nnFoundation ViT. The repository lists peak GPU memory for Horus-1024/16 on a head scan at 1.5 GB at 16 mm, 2.3 GB at 8 mm and 10.7 GB at 4 mm, weights included.

Where it falls short

  • It does not win everywhere. OpenMind SimCLR is better on white-matter hyperintensities and brain metastases, and the plain ViTs lead bladder tumor and heart segmentation. On volume-level body tasks it trails only on prostate cancer.
  • Selective reading is not free on scattered targets. Metastases, vestibular schwannoma plus cochlea, prostate lesions and white-matter hyperintensities need 39 to 60% of the tokens to reach the same 90% mark. On prostate lesions the first re-read cells added false positives before the score recovered.
  • Pretraining is brain only. Body results come from a model that never saw abdomen or pelvis in pretraining, and the model card says body scans are outside the pretraining distribution.
  • The feature visualizations in the paper are hand-picked scans and show tokens of different sizes per encoder; the authors say the figure illustrates rather than measures.
  • All published numbers use frozen encoders with light probes. Fine-tuning is supported in the code but not evaluated, so how it compares to a tuned nnU-Net on your own labels is an open question.

Fitting it into a viewer or clinical pipeline

For a DICOM viewer or a segmentation service, Horus shortens the preprocessing chain. The README states that no resampling, registration, skull stripping or bias correction is needed: horus.load reads a NIfTI in its native voxels, only reorders axes toward RAS and normalizes intensities, and a helper writes predicted maps back onto the voxels and affine of the original scan. That helper lets a mask land on the series a radiologist is looking at without another interpolation. There is no DICOM reader in the package, so series still need converting to NIfTI first.

The encode call takes the grain and an optional set of cells, so a region of interest from a viewer, a coarse detection or an atlas prior can decide where to read finely. The repository also ships scripts to extract features for linear probes and to train classification, regression, segmentation or landmark heads, frozen or with part of the encoder unfrozen.

Licence, code and status

The code is on github.com/miccunifi/Horus under Apache-2.0. The three checkpoints are on Hugging Face in the MICC-UniFi Horus collection, ungated, under CC BY-NC-SA 4.0, because the pretraining data (FOMO300K and MR-RATE) carry that licence. Gated DeltaNet-2, a required dependency installed separately, is under the NVIDIA Source Code License-NC. So a commercial product cannot ship the current release as is: the code is Apache-2.0, but the weights and the GDN-2 kernel are licensed for non-commercial use only. It needs Linux with an NVIDIA GPU, since the GDN-2 kernels are written in Triton. The authors state that Horus is not a medical device. The paper is a 24-page arXiv preprint under the standard arXiv licence and has not been peer reviewed.

Source: Correnti F., Civale V. Y., Bagdanov A. D., Magi A., Pala P., Biondi N. “Horus: A Foundation Model for MRI at Any Grain and Any Scale.” arXiv:2612.04594, 2026.

We build custom medical imaging platforms — advanced DICOM viewers, AI segmentation, and the clinical systems around them.

Copyright © 2026 PYCAD. All Rights Reserved.