CT scanners at different hospitals reconstruct the same body at different slice spacings, from about 1 mm to 5 mm. Models that read a scan as a short stack of neighboring slices usually define "context" as a fixed number of slices, for example the 9 slices around the slice of interest. At 1 mm spacing, 9 slices cover 9 mm of anatomy. At 5 mm spacing they cover 45 mm, a different region of the body that looks different. We propose to define context by physical distance instead. The model gathers whichever slices fall within a fixed window measured in millimeters, tells the network each slice's true distance from the center slice, and predicts per-lesion 3D masks from that variable-sized, distance-labeled set. The claim is that this one change sharply reduces the drop in accuracy when a lesion or fracture segmenter trained on thin-slice scans is deployed on thick-slice scans.
This matters because the shift between thin and thick slices is common and predictable, and published systems are already known to suffer from it. Most work on domain shift in medical imaging targets appearance, meaning intensity, noise and texture. Slice thickness is a geometric shift. It changes what "the neighbor slice" means, and appearance harmonization cannot repair that. The task is instance segmentation, which here means finding every separate lesion or fracture and drawing its own mask. Errors along the slice axis show up directly in this task as one lesion broken into several pieces, or as missed lesions.
Core Claim
The closest work shows the problem without solving it. 3DCE fuses features from neighboring CT slices in a shared 2D network. It finds that gains level off at 18–54 mm of context, and it reports that detection degrades from 1 mm to 5 mm scans because fixed slice indexing spans very different physical distances. 3DCE also outputs only boxes, not masks. CSA-Net adds attention from the center slice to its two immediate neighbors and shows that this "2.5D" design beats full 3D models on anisotropic MRI (scans whose slice spacing is much coarser than their in-plane resolution). It does semantic rather than instance segmentation, uses only a three-slice window, and is evaluated on single-source data. The unified 2D DeepLesion framework gets large mask gains from lesion-centered crops, but it works slice by slice, and its authors name extending it to 3D as their main open problem.
Our proposal differs from all three in one specific way. The 3D context window is a physical interval, not a slice count. Each neighbor slice carries a continuous encoding of its signed offset in millimeters. The mask head then predicts the lesion's mask on every slice inside that interval. The prediction is that, at matched in-distribution accuracy, the gap in sensitivity between thin and thick test scans shrinks by at least half relative to fixed-index fusion.
Research Program
We would build a two-stage instance segmenter. The design starts from Mask R-CNN, a detector that proposes candidate object boxes and then predicts a mask inside each one. It uses RoIAlign, a way of cropping features without rounding coordinates. We adopt it because RoIAlign keeps in-plane precision, the strength the DeepLesion work found in cropping. A shared 2D backbone encodes the center slice and every slice whose z-position lies within ±W mm, with W set from the 3DCE plateau (about 27 mm). The number of slices therefore varies with scan spacing: about 55 at 1 mm and about 11 at 5 mm.
Each neighbor's features receive a sinusoidal encoding of its offset $\Delta z$ in millimeters. They are then combined by cross-slice attention in the style of CSA-Net, extended from a fixed triplet to a variable-length set. The attention for neighbor $j$ is a softmax over $q_c^\top k_j / \sqrt{d}$, where $q_c$ is the center-slice query, $k_j$ is the key computed from neighbor $j$'s features plus its offset encoding, and $d$ is the feature width. Because the set is variable, a 5 mm scan simply contributes fewer, more widely spaced members. The model has learned what anatomy at +25 mm looks like, rather than what "slice +5" looks like.
The mask head applies the same RoIAlign crop to each slice in the window and predicts one binary mask per slice for each proposal. This yields a short 3D instance mask directly, with no watershed step. Overlapping windows from successive center slices are merged by 3D mask overlap. Training uses thin-slice scans plus a physically faithful thickening transform. A thick slice is formed by averaging a slab of thin slices of the target thickness at the target stride, which mimics the partial-volume blur of real thick reconstructions. This avoids the interpolation artifacts that CSA-Net blames for 3D models' poor performance.
The analysis has three parts. First, we test whether attention weights over $\Delta z$ stay stable across spacings. This is the mechanism the claim depends on. Second, we measure how often single 3D lesions are split into fragments, the jagged slice-to-slice dropouts described for pancreas in Deep convolutional networks for pancreas segmentation in CT imaging. Third, we report results separately for elongated structures such as ribs, where the proposal-free volumetric work and FracNet+ argue that box-based methods struggle.
Baselines
The naive reference is a 2D Mask R-CNN run independently on each slice, with masks linked across slices by overlap. It shows how much any through-plane context buys.
The direct predecessor is a fixed-index model. It is identical to ours in backbone, RoIAlign multi-slice mask head and training schedule, but it fuses a fixed count of neighboring slices by index, as 3DCE does. We use 9 slices, and we also report a count tuned on validation data. It is the strongest competitor on the precise question, because it differs from our model only in how context is indexed. For DeepLesion detection, 3DCE reports 84.37% sensitivity at 4 false positives per image with 27 slices, against 80.32% for a 3-slice Faster R-CNN. Our reimplementation must reproduce roughly that level before any comparison under shift is meaningful.
The key ablation is the fixed-index model trained with the same random slab-thickening augmentation but without millimeter offset encoding. A second ablation adds offset encoding but keeps a fixed slice count. Together these separate three possible sources of any gain: knowing physical distance, having a physical window, and seeing thick slices in training.
The strongest existing method on volumetric fracture instances is FracNet+. It reports 84.29% detection sensitivity on the RibFrac test set, against 82.98% for the challenge winner. We would run its released configuration, or the closest faithful reimplementation, on our thickness-shifted test sets.
We also include a resample-to-common-spacing pipeline: nnU-Net-style 3D segmentation with connected components. For lesions on full DeepLesion images, nnU-Net reached only 34.1% Dice in the unified 2D framework, against 62.6% for crop-based segmentation. We still run it under the shift because it is the obvious practitioner choice.
For fairness, every learned baseline uses the same training scans, the same backbone where the architecture permits, a matched GPU-hour budget, and the same number of hyperparameter trials (twenty) selected on a thin-slice validation split. None sees real thick-slice data before testing.
Beating the field means two things. In-distribution sensitivity at thin slices must stay within one point of the best baseline. The drop in sensitivity from 1 mm to 5 mm test data must be at most half that of the fixed-index model, with a confidence interval obtained by bootstrapping over patients that excludes zero.
Why not just…?
Why not just resample every scan to a common slice spacing and use a standard 3D network? This is a real threat for moderate shifts. However, CSA-Net reports that interpolation artifacts make full 3D models lose to 2.5D attention on anisotropic data. In addition, upsampling a 5 mm scan to 1 mm cannot recreate detail that was never acquired. The resampling baseline above settles the question directly. If it matches us on the shifted RibFrac and DeepLesion splits, our contribution reduces to a cheaper equivalent and we will say so.
Why not just train the fixed-index model with thickness augmentation? This is the most serious alternative. A fixed-index model shown mixed spacings can still not tell whether "slice +3" is 3 mm or 15 mm away, so it must average over that ambiguity. Whether the averaging is actually harmful is an empirical question, and the augmentation-only ablation answers it. If that ablation closes most of the gap, the honest conclusion is that the augmentation, not the encoding, is the contribution.
Why not just harmonize scanner appearance with CycleGAN or histogram matching first? CySGAN beat such two-step pipelines, and DARCNN found image-translation adaptation (CyCADA, 0.1231 Jaccard index against 0.4725) collapsing under large shifts. More fundamentally, these methods change intensities, not slice geometry. We would include histogram matching as a control on the real multi-scanner splits, mainly to show that thickness rather than appearance drives the error there.
Proposed Experiments
The primary benchmark is the RibFrac split: 420 training, 80 validation and 160 test scans, with voxel-level instance labels from radiologists. Thin-slice training is paired with test sets re-thickened to 2.5 mm and 5 mm by slab averaging. We report FROC sensitivity, per-instance Dice and fragmentation rate. For lesion detection on real, naturally varying spacing, we use DeepLesion (dataset paper) with results broken down by native slice interval, comparing against the 3DCE figure above. DeepLesion masks are GrabCut approximations on key slices only, so we treat its mask metrics as secondary. If available, ULS23 (Universal Lesion Segmentation), cited as an evaluation set in SegVol, would provide true 3D lesion masks. No reported result was found on Lacuna for a slice-thickness-stratified instance segmentation number on it.
The decisive check is the comparison of thin-to-thick degradation curves across three models: the fixed-index model, the augmentation-only ablation, and ours. If only ours stays flat at 5 mm, the physical-distance indexing is doing the work. If the curves coincide, the hypothesis is refuted.
References
- 3D Context Enhanced Region-Based Convolutional Neural Network for End-to-End Lesion Detection
- A flexible 2.5D medical image segmentation approach with in-slice and cross-slice attention
- A Unified 2D Framework for DeepLesion Detection, Segmentation and Short Report Generation
- Mask R-CNN
- Deep convolutional networks for pancreas segmentation in CT imaging
- Proposal-Free Volumetric Instance Segmentation from Latent Single-Instance Masks
- Deep Rib Fracture Instance Segmentation and Classification From CT on the RibFrac Challenge
- 3D Domain Adaptive Instance Segmentation via Cyclic Segmentation GANs
- DARCNN: Domain Adaptive Region-Based Convolutional Neural Network for Unsupervised Instance Segmentation in Biomedical Images
- DeepLesion: automated mining of large-scale lesion annotations and universal lesion detection with deep learning
- SegVol: Universal and Interactive Volumetric Medical Image Segmentation