Learning to Flag Unmarked Lesions in 3D CT from Radiologists' Ruler Marks

Radiologists already leave a trace of what is abnormal in almost every oncology CT scan. They draw one or two ruler lines across the main lesion on one chosen slice, following the RECIST convention (Response Evaluation Criteria in Solid Tumors, the standard used to track tumor size). These marks are large in number and cost nothing extra to collect. They are also incomplete in two ways. They sit on a single 2D slice of a 3D volume, and they cover only the lesion the radiologist chose to measure, so smaller, secondary, or incidental lesions in the same scan go unmarked. Current systems trained on these archives treat every unmarked region as healthy and work slice by slice. As a result they learn to suppress exactly the lesions nobody measured, and they cannot follow a lesion through the depth of the scan.

We propose to train a 3D anomaly scorer directly from these marks. The network reads whole CT volumes and outputs a calibrated "how unusual is this voxel" score. It is trained with one rule: the few voxels on a radiologist's ruler line must score far above the typical voxel, and everything else is treated as unlabeled, a pool that is mostly normal but contaminated with lesions, rather than as healthy. The test is whether this combination recovers lesions on slices the radiologist never marked and lesions the radiologist never measured. Neither 2D anomaly detectors nor supervised lesion detectors trained on the same archive can be expected to do this.

Core Claim

Two things together, a volumetric backbone and an anomaly objective that tolerates contamination of the unlabeled pool, turn single-slice, single-lesion clinical marks into voxel-level supervision. That supervision should extend through-plane and to unmarked lesions. Neither ingredient is enough alone. A 3D supervised segmenter trained on the same marks punishes unmarked lesions as false positives. A 2D anomaly objective cannot carry the key-slice label to neighboring slices except by accident. The claim is falsifiable on three axes. First, recall of lesion voxels on slices away from the marked slice. Second, recall of lesions that were deliberately hidden from the training labels. Third, detection of lesion types never marked in training.

Where This Sits in Prior Work

The anomaly objective comes from the weakly supervised anomaly detection line. Deep Anomaly Detection with Deviation Networks (DevNet) trains a single scoring network so that normal points follow a Gaussian reference distribution and a few labeled anomalies are pushed several standard deviations into the upper tail. It reports large AUC-PR gains from as few as 30 labeled anomalies. Deep Weakly-supervised Anomaly Detection (PReNet) replaces per-point scoring with ordinal scoring of anomaly–anomaly, anomaly–unlabeled and unlabeled–unlabeled pairs. It reports 10%–30% average gains on unseen anomaly classes and stability under up to 10% contamination of the unlabeled set. These papers supply our method. Both are built and evaluated only on tabular feature vectors. We move their objectives to dense voxel score maps, where "a sample" is a voxel embedded in anatomy rather than an independent row.

The volumetric side motivates the work and also limits it. Deep convolutional networks for pancreas segmentation in CT imaging showed that slice-by-slice predictions give fragmented, slice-inconsistent 3D structures. Medical anomaly detection has not absorbed this lesson. BMAD: Benchmarks for Medical Anomaly Detection evaluates 15 methods on BraTS brain MRI and LiTS/BTCV liver CT as collections of independent 2D slices, and finds frozen-feature memory-bank methods such as PatchCore and RD4AD on top. Beyond Static Anchors: Bounded Prototype Conditioning for Language-Free Medical Anomaly Detection (ReCAP) is the strongest reported few-shot method on that benchmark, and its authors state that extending it to volumetric CT/MRI is future work. On the cost side, Swin-UMamba: Mamba-based UNet with ImageNet-based pretraining shows that state-space backbones reach linear cost in token count and can reuse 2D pretraining. It is purely supervised segmentation, but we borrow it as a backbone option.

On the annotation side, DeepLesion: automated mining of large-scale lesion annotations and universal lesion detection with deep learning mined 33,688 bookmarked key slices with RECIST marks and trained a 2D Faster R-CNN. Its authors document the missing-annotation problem: true but unbookmarked lesions are scored as false positives. Weakly Supervised Lesion Co-Segmentation on Ct Scans expands RECIST lines into GrabCut pseudo-masks and trains a 2D co-segmentation network. Both papers motivate our setting. Both stay on the key slice and treat unmarked tissue as background; we change both choices. The closest connection in the file, Gap 3's suggestion to use PReNet-style contamination modeling against DeepLesion's missing marks, has to our knowledge not been done.

Research Program

The model is a 3D encoder–decoder that maps a CT sub-volume to a voxel score map $s(v)$. The default is a 3D convolutional U-Net, with a Swin-UMamba-style state-space variant to test whether longer through-plane context helps at fixed memory.

Supervision comes in two kinds. Anomaly anchors $A$ are a deliberately conservative set: voxels within a few pixels of the RECIST long and short axes on the key slice only. We use no GrabCut expansion and no assumed 3D extent, so pseudo-mask error cannot enter the training signal. All other voxels in the volume form the unlabeled pool $U$. Where available, voxels from organ regions known to be lesion-free (for example tumor-free LiTS/BTCV liver regions) are added as clean reference normals.

Following DevNet, each score is standardized as $z(v) = (s(v) - \mu_R)/\sigma_R$, where $\mu_R$ and $\sigma_R$ are the mean and standard deviation of reference scores drawn from a standard normal prior. Training minimizes

$$ \mathcal{L} = \sum_{v \in U \setminus T_q} |z(v)| \;+\; \lambda \sum_{v \in A} \max\big(0,\, a - z(v)\big), $$

where $a$ is the required tail margin (e.g. 5 standard deviations), $\lambda$ balances the two terms, and $T_q$ is the top-$q$ fraction of unlabeled voxels in the current volume ranked by score. Those voxels are excluded from the normality term, so the network is never forced to call a plausible unmarked lesion normal.

The trimming fraction $q$ is the single contamination knob. We set it from expected lesion burden on a validation split and report sensitivity to it. A second arm adds a PReNet-style ordinal relation head on pooled region embeddings (anchor–anchor high, anchor–unlabeled middle, unlabeled–unlabeled low). This tests whether relation learning improves unseen-type generalization in 3D as it did on tabular data.

The volumetric hypothesis is that anchors on one slice, combined with a 3D receptive field, push up scores on the same lesion's neighboring slices, because the network can only separate anchors from unlabeled tissue through features that are continuous in depth. The contamination hypothesis is that trimming lets those propagated high scores survive on unmarked lesions instead of being trained away.

The central evaluation device is a simulated bookmark protocol on fully annotated volumes. On LiTS liver CT, which often contains several tumors per scan, and on BraTS MRI, we keep only the largest lesion's RECIST line on its maximum-diameter slice and hide every other label. Training then matches the information content of a PACS archive, but the evaluation can use complete 3D ground truth. DeepLesion itself is used for scale and for the real missing-annotation regime. We take its lesion pseudo-categories as given and hold one category out entirely to test unseen lesion types. A small radiologist re-read of held-out DeepLesion volumes estimates real unmarked-lesion recall; its size is set by budget.

Baselines

The naive reference point is a 3D U-Net trained on the same RECIST marks with every unmarked voxel labeled background. This is the "do nothing about missing annotations" choice. Our method has to beat it on recall of hidden lesions without losing precision on marked ones. If it does not, the anomaly framing adds nothing.

The strongest simple competitor is a 3D segmenter with ignore masking. It uses the same backbone and the same conservative anchor voxels as positives, but excludes from the loss every voxel outside the marked slice, plus a high-confidence region around the mark. This is the most dangerous baseline because it also refuses to punish unmarked lesions, by never looking at them. It is run on identical data, crops, augmentations and GPU-hours, with an equal hyperparameter search budget (the same number of trials over learning rate and the ignore radius as we spend over $q$, $a$ and $\lambda$). Beating it requires higher lesion-level recall on hidden LiTS tumors at matched false positives per volume. We expect the advantage to come from the deviation term's use of the whole unlabeled volume as a normality reference, which ignore masking discards.

The strongest existing anomaly detector is ReCAP (Beyond Static Anchors: Bounded Prototype Conditioning for Language-Free Medical Anomaly Detection). On BMAD LiverCT it reports image-level AUROC rising "from 84.48% (the previous best) to 90.45%" in the 2-shot setting. We reproduce it on BMAD's 2D slices and on our volumes with per-slice scores stacked into 3D. Our method must match it on BMAD's slice-level AUROC and exceed it on volumetric lesion recall and through-plane consistency. We also run PatchCore, the BMAD sample-level leader; no reported result found on Lacuna for PatchCore's numeric BMAD LiverCT score, so we report our own reproduction.

For the DeepLesion regime, the reference is the 2D Faster R-CNN of DeepLesion: automated mining of large-scale lesion annotations and universal lesion detection with deep learning, which reports 64.30% detection accuracy at IoU 0.5. For key-slice delineation, the reference is the co-segmentation model of Weakly Supervised Lesion Co-Segmentation on Ct Scans, which reports 90.3% mean Dice on 1,000 manual masks. We do not expect to beat the latter on key-slice Dice, since we use no pseudo-masks. The relevant comparison is recall away from the key slice, where that model makes no prediction.

The ablations that isolate the key ingredients run with the same loss on three inputs: a 2D backbone, a 2.5D backbone (adjacent slices stacked as channels), and the full 3D backbone. They also include $q=0$, which is plain DevNet treating unlabeled voxels as normal, and the relation-head arm.

Why not just…?

Why not just run PatchCore or ReCAP on each slice and stack the scores? These methods need no marks and are strong in 2D, as BMAD and ReCAP report. They score each slice against a 2D notion of normality, though. The pancreas results of Deep convolutional networks for pancreas segmentation in CT imaging suggest such stacks will be fragmented in depth. They also cannot use the RECIST marks at all. We include both as baselines. If stacked ReCAP matches us on hidden-lesion recall and depth consistency, the volumetric claim fails, and we will say so.

Why not just expand the RECIST lines with GrabCut and train nnU-Net-style 3D segmentation? Agarwal et al. report that their pipeline inherits GrabCut errors in low-contrast regions and that dense CRF refinement trades recall for precision. Standard supervision also labels unmarked lesions as background. The version of this alternative that avoids the second problem is the ignore-masked segmenter above, which is a genuine threat. The simulated bookmark protocol settles the question directly: if ignore masking recovers hidden LiTS tumors as well as the trimmed deviation loss, the contribution narrows to "use 3D context" and the anomaly objective is unnecessary.

Why not just use 2.5D input, a few neighboring slices as channels, instead of a full 3D network? This is cheaper, can reuse 2D pretraining, and may capture most of the through-plane context relevant to small lesions. We have no evidence in hand that rules it out, so it is an ablation arm under the same loss rather than a strawman. If 2.5D matches 3D, we will recommend it and report the depth range at which the two diverge, measured as recall as a function of distance from the key slice.

Why not just apply positive-unlabeled learning with a standard segmentation loss? That approach also treats unmarked tissue as contaminated. It differs from ours in how scores are scaled. The deviation loss expresses scores in standard deviations relative to the volume's own unlabeled distribution, and we hypothesize this transfers better to unseen lesion types. The held-out-category test on DeepLesion is where this would show. If a positive-unlabeled baseline ties us there, the calibration argument is unsupported.

Decisive Experiments

Three results decide the proposal. First, on LiTS under simulated bookmarks, lesion-level recall of hidden tumors at one and four false positives per volume must exceed the naive and ignore-masked 3D baselines. Second, voxel recall on marked lesions at slices 2, 4 and 8 mm away from the key slice must be higher for the 3D model than for the 2D and 2.5D versions with the same loss. This shows that the label really spreads through depth. Third, on DeepLesion with one lesion category held out, the held-out category's FROC (detection sensitivity plotted against false positives per volume) must be higher with the trimmed loss, $q>0$, than with plain DevNet, $q=0$. Image-level and pixel-level AUROC and Per-Region Overlap on BMAD's LiverCT and BrainMRI are reported for comparability with ReCAP and PatchCore, along with sensitivity curves over $q$. If the first result fails, the anomaly framing is unnecessary. If the second fails, the volumetric framing is. Either outcome is informative to groups currently training on DeepLesion-style archives.