Whole-body CT segmenters such as TotalSegmentator and CADS now sit behind a lot of viewer features: organ volumes, auto-contours for radiotherapy, opportunistic screening and dataset preparation. Both were trained without left-right mirroring, because a flipped left kidney looks like a right kidney and the labels would stop matching. The choice is sensible, but its side effect had not been measured: if the model never saw a mirrored patient, does it find the liver by how the liver looks, or by where the liver usually is?
A preprint posted on 26 November 2026, arXiv:2611.35838 by Ehsan Rassekh (IEEE Graduate Student Member, academic address at the University of Udine), answers it with a check that needs no ground truth. Both models rely mostly on position. For anyone wiring these models into a DICOM viewer or a clinical platform, it is also a cheap test you can run on your own pipeline.
How the mirror stress test works
The procedure has four steps, shown in Fig. 1 of the paper:
- Read the left-right axis from the orientation codes of the image affine.
- Flip the voxel array along that axis but keep the affine unchanged, so the result is the image of a mirrored patient, not a relabelled view of the same patient.
- Run the model on the original scan and on the mirrored scan, then mirror the second prediction back.
- Compare the two label maps voxel by voxel.
If the model recognised organs by appearance, the mirrored-back prediction would put each organ in the same place as the original prediction. For paired structures the paper counts voxels that keep their label, voxels that get the partner label (left becomes right) and voxels that are lost. For unpaired organs it uses the Dice score between the two predictions. Since neither prediction is a ground truth, the test measures consistency, not accuracy.
The data are 180 contrast-enhanced abdominal CT scans drawn at random from three Medical Segmentation Decathlon collections (Hepatic Vessel, Colon and Pancreas, 60 each). TotalSegmentator 2.18.0 ran its 117-class “total” task, mostly in the fast 3 mm variant, and CADS ran on 120 of the same scans with its released research-licence weights. On one NVIDIA L4 GPU, a scan took about 20 to 35 seconds in the fast TotalSegmentator variant (both predictions included) and about 90 seconds for CADS.
Paired labels follow the side of the image
For the kidneys, hip bones, lower lung lobes, ribs, iliopsoas and back muscles, the share of side-swapped voxels among voxels found in both runs was 1.000 in all three collections. The model found the same structures at the mirrored place and named them after the side of the image they now occupied. The lower lung lobes behaved the same way even though the left and right lungs differ in shape. CADS gave the same result for the kidneys and lower lobes.
For symmetric pairs this is not an error in itself, because “left kidney” means the kidney on the patient’s left. It does show what the network relies on.
Organs that live on one side disappear
On mirrored scans the spleen, the inferior vena cava and the gallbladder were not found at all: mean Dice between the original and mirrored-back prediction was 0.000 to 0.007 across the three collections, and below 0.5 in every scan. The liver was found only in part (mean 0.361 to 0.399, below 0.5 in 85% to 93% of scans). Structures near the midline or with a distinct shape held up better, with mean Dice from 0.749 to 0.970 for the aorta, small bowel, esophagus, colon, heart and spinal cord.
Fig. 2 of the paper, used for the featured image above, shows one axial slice. After mirroring back, both models paint the spleen label over the liver and the liver label over the spleen, and the inferior vena cava is gone.
The two models also fail on the same scans. Per-scan liver Dice for TotalSegmentator and CADS correlates at 0.83, so the difficulty depends more on the scan than on the model. CADS differs in two places: the heart chambers it does find keep their anatomical label (but 62% to 77% of chamber voxels are lost), and its portal and splenic vein is much less consistent than TotalSegmentator’s.
The author ran a confirmatory rule fixed in writing before the Pancreas collection was touched (median spleen Dice below 0.1 and liver below 0.5), and it held: 0.000 for the spleen and 0.398 for the liver. A check with the full-resolution TotalSegmentator variant on 19 to 20 Colon scans gave the same picture.
Why a viewer or platform team should care
The clinical case the paper names is situs inversus totalis, where the thoracic and abdominal organs are a mirror image of the usual anatomy, at about 1 in 10,000 people. Those patients get scanned, and their images enter the same automatic pipelines. The risk per scan is small, but the failure is silent. The model returns a spleen mask sitting on the liver with no warning, and any volume or contour derived from it is wrong.
From the integration side I would add one more route to the same failure, though the paper does not test it. The test flips the pixels and keeps the header, which is what a scan looks like when its pixel data and orientation metadata disagree. Whether that happens in your pipeline depends on your conversion and export code, so it is worth testing rather than assuming.
What I would hang on a scan
- A position check before masks are used. The paper’s own suggested safeguard: check where the large organs are, the liver and spleen in particular, before passing masks to volumetry or planning. A liver centroid on the patient’s left or a spleen inside the liver region should block the result and flag the study.
- The mirror test as a regression test. It needs no labels, so you can run it on any batch of local scans when you change model versions, resampling or DICOM-to-NIfTI conversion. On the fast variant it costs about one extra inference per scan.
- A visible warning in the viewer. Show the organ labels with their side and a status when the position check fails, rather than a clean overlay that looks trustworthy.
For teams training their own multi-organ models, the paper points to label-aware mirroring as the obvious fix: mirror the training image and swap every left-right label pair at the same time. It was not tested here, so whether it removes the position shortcut without hurting normal scans is open.
Limits
- Consistency, not accuracy. The reference is the model’s own prediction on the original scan, not a manual annotation.
- A mirrored scan approximates situs inversus. Real patients can have extra anomalies and different vessel patterns, and no real situs inversus scans were tested.
- Two models, both trained without mirroring and partly on the same scans (CADS includes the TotalSegmentator data with refined labels). Models trained with mirroring were not tested.
- All three collections come from one institution and contain tumour patients.
- Part of the analysis (the unpaired-organ Dice) was added after seeing the first results, which is why the confirmatory rule was used. The rule was not publicly registered, and the first pre-written rule turned out to be confounded by lost voxels in small structures; the paper reports both.
Licence, code and status
The paper is a 9-page arXiv preprint under the standard arXiv non-exclusive licence and has not been peer reviewed. No code for the stress test is released; the procedure is short enough to rebuild from Section III. The models under test are public: TotalSegmentator is open source, and the CADS weights used are released under a research licence, which matters if you plan commercial use. The Medical Segmentation Decathlon scans are public. Nothing here is a medical device or a clinical validation.
Source: Ehsan Rassekh, “Mirror Stress Test of TotalSegmentator and CADS: Position Dependence and Left-Right Labeling in CT Organ Segmentation”, arXiv:2611.35838. Featured image built from Fig. 2 of the preprint with credit to the author.