Anatomy-Calibrated Normality for Unified 3D Abdominal CT Anomaly Detection

Unsupervised anomaly detection trains a model only on healthy scans and flags anything it cannot explain. In principle this would let a single model catch lesions anywhere in an abdominal CT scan, including rare findings that no supervised model was trained on. In practice it works poorly. On the MOOD 2020 challenge, abdominal CT localization was markedly worse than brain MRI, and even the best brain result reached only 0.449 average precision (MOOD 2020). Our hypothesis is that much of this failure comes from how the error is distributed, not from too little model capacity. A detector's error on healthy tissue is not uniform. It is largest where organs meet: partial-volume blur, breathing motion, and bowel gas make those interfaces vary from patient to patient. It also changes from organ to organ. A single global threshold therefore produces two failures at once. Organ edges light up with false positives, and faint, low-contrast lesions inside quiet organs such as the liver fall below the threshold.

We propose a single detector for the whole abdomen. It sees the full, unmasked volume, so no anatomical context is thrown away, but it judges each voxel against the healthy variability expected at that voxel's anatomical position. That position is defined by two quantities: which organ the voxel belongs to, and its signed distance to the nearest organ surface. Both are computed automatically by an off-the-shelf multi-organ segmenter trained on normal anatomy. Organ masks are used as a coordinate system, not as scissors. This reframes two of the input directions. Region-of-interest segmentation becomes a source of conditioning rather than a hard crop. Low-contrast boundary ambiguity is handled without any lesion contour labels, because the model learns from healthy data how much residual error is normal at each distance from each organ boundary.

Core Claim

In a unified 3D anomaly detector for abdominal CT, conditioning both feature reconstruction and anomaly-score calibration on a continuous anatomical coordinate (soft organ identity plus signed distance to the organ surface) will do two things. It will cut false positives at organ interfaces. It will also raise recall of low-contrast lesions, and it will do so more than either hard organ masking or organ-only normalization. Because the coordinate extends outside the predicted organ surface, the method should also degrade gracefully when the upstream segmenter under-segments a lesion at the organ margin, which is the case where hard masking silently fails.

Three things are new relative to the closest work. Joint Embedding of 2D and 3D Networks fuses deep 2D features with a shallow 3D encoder for anomaly detection, but only on brain CT with synthetic anomalies, with no anatomical conditioning, and with abdominal data left as an explicitly open problem. ReCAP and AnyAD adjust their notion of normality to context, but both work on 2D slices and neither conditions on position within anatomy. Bounding Maps shows that soft, distance-graded targets help with low-contrast lesion edges, but it needs supervised lesion boxes. We borrow its intuition, that soft distance-to-boundary structure matters, and move it into an unsupervised setting where the distance is measured to organ surfaces rather than to lesion boundaries.

Research Program

The input is the whole CT volume, resampled and intensity-windowed but not masked. Features come from a frozen 2D foundation encoder of the DINOv2 family, the backbone AnyAD relies on and the kind of encoder Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors argues already encodes normality well. We apply it to axial, coronal, and sagittal slices and fuse the three into one 3D feature grid. This keeps the rich 2D pretraining while restoring through-plane information, addressing the trade-off Joint Embedding identified between deep 2D networks and memory-bound 3D ones.

A lightweight 3D reconstruction network then predicts each feature from its surroundings. It reuses three published devices against the identity shortcut, the failure where the model simply copies its input. The first is neighbor masking from UniAD, which hides immediate neighbors so a location must be inferred from wider context. The second is the dropout bottleneck from Dinomaly. The third is linear-cost state-space scanning, as in MambaAD, so the receptive field can span the abdomen without the cubic memory cost of full 3D attention.

The anatomical coordinate at voxel $x$ is $a(x) = (p(x), d(x))$. Here $p(x)$ is the segmenter's soft organ probability vector, and $d(x)$ is the signed distance in millimetres to the nearest organ surface, clipped to a band of a few centimetres on each side. The segmenter is an STU-Net-style model jointly trained on the A-Eval datasets, following A-Eval's finding that joint multi-dataset training generalizes best across sites. The coordinate is injected into the reconstruction network through per-channel scale and shift. This gives the network one normal model that bends with anatomy, rather than separate per-organ models that each overlap ambiguously with their neighbors. That overlap is the inter-class interference VQ-Flow describes for unified detectors.

The anomaly score at voxel $x$ is

$$s(x) = \frac{r(x) - \mu(a(x))}{\sigma(a(x))},$$

where $r(x)$ is the feature reconstruction error. The terms $\mu(a(x))$ and $\sigma(a(x))$ are the mean and spread of that error on healthy tissue at coordinate $a(x)$. They are predicted by a small head fit on held-out normal volumes with a Gaussian likelihood objective. Fitting on held-out volumes keeps the calibration from absorbing training-set overfitting.

The method carries one honest risk. If healthy interfaces are very noisy, $\sigma$ grows near the surface and could suppress genuine lesions on the organ margin. We therefore report recall stratified by lesion distance to the organ surface, and we treat any loss of recall in the margin band as a primary failure signal rather than a footnote.

Baselines

The naive reference point is an organ-wise intensity z-score. For each voxel, it measures how far the Hounsfield value lies from the healthy mean and spread of that organ's intensity. It needs no learning beyond the segmenter. It tells us how much of the task is simply "unusually dark liver." If the proposed model cannot clearly beat it on lesion-level recall in LiTS, the learned machinery is not earning its cost.

The strongest existing 2D unified approach is a slice-wise unified detector in the style of UniAD and MambaAD. We implement it as the same frozen encoder on axial slices only, with the same reconstruction devices, trained as one model on the same healthy volumes. Its anomaly maps are stacked into 3D. This represents the dominant practice benchmarked by BMAD, where every method is run per dataset on 2D slices. No reported result was found on Lacuna for BMAD's per-method LiverCT numbers. The closest reported medical figure is ReCAP's few-shot LiverCT image AUROC of 90.45% at two shots (ReCAP). Because that setting differs, we will rerun ReCAP's public configuration on our split rather than compare against the reported number.

The strongest existing volumetric method is Joint Embedding. It reports a segmentation AP of 0.9517 against a 0.9290 baseline on MOOD 2021 brain CT. That number is on brain CT with synthetic anomalies and does not transfer to the abdomen, so we retrain Joint Embedding on our abdominal healthy set. No reported result was found on Lacuna for any method's abdominal MOOD localization AP; MOOD 2020 describes abdominal performance only as substantially lower than brain.

We also run one-for-one per-organ detectors, which use the same architecture with each organ hard-cropped and a separate model per organ, at matched total parameter budget.

Every learned baseline uses the same healthy training volumes, the same frozen encoder where applicable, the same GPU-hour budget, and the same number of hyperparameter trials, all tuned on a validation split that contains synthetic anomalies only. Real lesions are never seen before testing. Beating a baseline means a gain in voxel-level average precision and in lesion-level recall at a fixed rate of false-positive voxels per healthy volume, with confidence intervals from patient-level bootstrap.

Four ablations isolate the key ingredient. The first removes the conditioning entirely. The second conditions on organ identity only, without distance. The third keeps the unconditioned model but applies the calibration $\mu, \sigma$ post hoc, binned by organ and distance band. The fourth replaces conditioning with hard zero-masking.

Why not just…?

Why not just z-score an existing unified detector's anomaly map per organ? This is the most serious threat, because it is a strict subset of our idea and costs almost nothing. The organ-only and post-hoc-calibration ablations test it directly. If organ-wise normalization recovers most of the gain, distance-to-surface conditioning is unnecessary and we will report the simpler method as the contribution. Our expectation that distance matters rests on where healthy variability concentrates: at interfaces rather than uniformly within an organ. The boundary false-positive measurement will confirm or refute that.

Why not just hard-mask each organ and run the detector inside it? Masking removes the neighboring anatomy that context-based reconstruction needs, and it adds an artificial intensity step at the mask edge. Worse, a lesion that the segmenter leaves outside the organ is gone from the analysis entirely, the dependency on upstream segmentation that the region-of-interest literature flags as its main weakness. Our segmentation-perturbation experiment, described below, measures this directly. It would show the masking alternative is adequate if its margin-lesion recall held up as well as ours under eroded masks.

Why not just run a mature 2D unified model slice by slice? Roth et al. showed that independent slice predictions fragment across depth. Your other Left! shows that 2D-pretrained models reason poorly about spatial relations. A slice-wise model also cannot tell a structure that continues across slices, such as a vessel or bowel loop, from a compact mass. The axial-only baseline settles this, and we will additionally report through-plane consistency of the anomaly maps.

Why not just train a heavily augmented supervised segmenter? Vasiliuk et al. found that augmented U-Nets are competitive for far-out-of-distribution artifacts but weak on subtle, close-to-normal pathology. Supervised models also cannot flag finding types they never saw. We concede that for liver tumors specifically, a supervised LiTS model will likely outperform any unsupervised detector. Our claim concerns unified coverage of unannotated findings, so we report the supervised model as an upper reference, not as a baseline we expect to beat.

Proposed Experiments

We will train on healthy abdominal volumes: the MOOD abdominal training set, plus scans from the A-Eval datasets screened as lesion-free. Evaluation uses three test sets. The first is MOOD-style synthetic anomalies placed across all organs, deliberately including the organ-margin band. The second is BMAD's LiverCT protocol, with normal BTCV volumes and LiTS tumors, scored by sample AUROC, voxel AUROC, and per-region overlap. The third is full LiTS volumes scored lesion-wise. LiTS is a demanding test because its tumors are small and low-contrast: even supervised entries reached only up to 0.554 lesion recall and 0.674 to 0.739 tumor Dice (LiTS). The file supplies no real 3D multi-organ pathology benchmark beyond the liver. Multi-organ claims will therefore rest on synthetic anomalies, which BMAD warns are imperfect proxies. We state this as a limitation.

Three checks decide the claim. First, on healthy test volumes, false-positive voxels within the interface band should fall relative to the unconditioned and organ-only variants. Lesion recall within 5 mm of the liver surface should not fall at the same time. A drop in margin recall would mean the calibration is hiding lesions rather than explaining normal variability.

Second, we perturb the segmenter's masks by erosion, dilation, and substitution of a weaker model. Our method's AP should degrade far less than hard masking, especially for margin lesions.

Third, on LiTS, the full model should beat the organ-wise intensity z-score and the retrained Joint Embedding on lesion recall at matched false positives per volume. If it does not, the conclusion is that anatomical calibration addresses interface noise but not the low-contrast detection problem itself, which is still a useful negative result.