FennecSeg: Compact CT Segmentation Models that Match TotalSegmentator at a Fraction of the Compute

Mohammed El Amine Mokhtari, Nour Islam MokhtariarXiv 2026

TL;DR

Mapping out organs and bones in 3D CT scans usually requires heavy, Swiss-Army-knife neural networks that segment over a hundred anatomical structures whether you asked for them or not. FennecSeg flips this approach by using lightweight, specialized models tailored to specific regions (like the abdomen, spine, or thorax), matching state-of-the-art accuracy in just over one second per scan on a consumer GPU. Best of all, training a brand-new anatomical group takes just a single night on a desktop PC, and inference runs via a clean, standalone PyTorch library.

What Problem Does This Paper Address?

Automatic CT segmentation—labeling every 3D pixel (voxel) belonging to the liver, heart, or individual vertebrae—is foundational for surgical planning, radiotherapy, and dataset curation. Recently, TotalSegmentator revolutionized the field by offering open models that segment 117 structures out of the box.

Historically, TotalSegmentator was bottlenecked by slow CPU pre-processing and file exporting, taking over a minute per scan. Recent engineering breakthroughs—including TotalSegmentator’s own forthcoming v3.1—moved the entire pipeline onto the GPU, slashing runtimes down to a few seconds.

Once the data-plumbing bottleneck is solved, the neural network itself becomes the primary cost. TotalSegmentator v3.1 relies on a massive, 102-million-parameter monolithic model for all 117 structures. If a researcher or clinician only cares about abdominal organs, they still pay the compute and memory tax for the entire body. FennecSeg asks: What if we pair fast GPU pipelines with compact, region-specific models so users only pay for what they need—and can cheaply train new ones?

Methods

FennecSeg combines standard medical-imaging building blocks from the nnU-Net ecosystem with clever architectural trimming and training tricks:

  • Compact Architecture: Each regional task uses a pared-down 3D residual-encoder U-Net with 5 resolution stages instead of 6, single decoder convolutions, and no deep supervision. This shrinks the model to 18.0M parameters (72 MB), nearly $6\times$ smaller than TotalSegmentator v3.1.
  • GPU-Resident Inference & Larger Windows: Like recent fast pipelines, resampling, normalization, and label generation stay entirely on the GPU. Uniquely, FennecSeg crops the scan to the body’s bounding box first, and runs inference using larger, less-overlapping sliding windows ($160^3$ voxels with a 0.8 step size) than the $128^3$ patches used during training—halving runtime with zero accuracy penalty.
  • Present-Class Loss & Wall-Clock Scheduling: When a small 3D training patch only shows three vertebrae out of 26, standard Dice loss (a measure of spatial overlap from 0 to 1) rewards the model with a perfect score of 1.0 for predicting "empty" on the 23 absent vertebrae, causing training to collapse into predicting pure background. FennecSeg computes soft Dice loss only over foreground classes actually present in the batch. Furthermore, learning-rate decay is tied to wall-clock time rather than iteration count, making overnight training runs predictable regardless of hardware speed.
  • Post-Processing Filter: Tiny, isolated false-positive blobs of absent organs severely penalize scan-level Dice scores. FennecSeg removes connected components smaller than $337.5\text{ mm}^3$, a threshold tuned strictly on validation scans.

Datasets

  • TotalSegmentator Dataset (v3.0.0): Contains 1,939 CT scans with reference masks for 117 structures, stored at $1.5\text{ mm}$ isotropic spacing. The authors use the official training split (holding out 20 scans for validation) and report all benchmarks on the unseen 109-scan official test split. No new datasets are introduced, though the authors also test resampling behavior on simulated clinical-resolution grids ($0.8\times0.8\times1.0\text{ mm}$ and $0.8\times0.8\times2.5\text{ mm}$).

Key Insights and Ideas

  • Separating Pipeline Magic from Model Magic: By running TotalSegmentator’s original weights inside FennecSeg's GPU pipeline, the authors prove that the massive $9.4\times$ speedups over older releases come purely from GPU inference engineering, not model changes.
  • Larger Inference Windows Work: Evaluating a 3D U-Net on $160^3$ windows despite training on $128^3$ patches cuts sliding-window overhead in half without degrading boundary accuracy.
  • Overnight Extensibility: By warm-starting weights from an already-trained regional model (copying everything except the final classification layer), a researcher can train a high-performing model for a completely new set of structures in 15.3 to 19.5 GPU hours on a single consumer card.
  • Zero-Dependency Packaging: The fennecseg library reads NIfTI and DICOM directly using pure PyTorch—no cumbersome nnU-Net or TotalSegmentator installations required.

Key Results

Benchmarked end-to-end on all 109 test scans using a consumer desktop NVIDIA RTX 4070 (12 GB):

Time per scan against Dice accuracy across all three anatomical groups on an RTX 4070.
  • Abdomen (14 structures): Reaches 0.884 Dice in 1.16 s/scan using 4.2 GB VRAM. Out of the box, this edges out TotalSegmentator v3.1 (0.881 Dice, 5.9 GB VRAM), while running $3.7\times$ faster than v3.1 called per-scan (4.30 s) and $1.5\times$ faster than v3.1 in batch folder mode (1.76 s). Applying FennecSeg's small-piece filter to v3.1 bumps v3.1 to 0.887 Dice.
  • Spine (25 vertebrae + sacrum): Achieves 0.894 Dice in 1.20 s/scan (6.2 GB VRAM), compared to 0.898 Dice for v3.1.
  • Thorax (5 lung lobes, trachea, heart): Reaches 0.917 Dice in 1.10 s/scan using just 3.2 GB VRAM, compared to 0.921 Dice for v3.1 ($1.6\times$ to $3.9\times$ faster).

Across all three groups, FennecSeg stays within 0.005 Dice of the 102M-parameter general model at a fraction of the compute.

Limitations and Future Work

  • Not Ideal for Whole-Body Tasks: If you actually need all 117 structures, running multiple FennecSeg models sequentially adds up their runtimes, making TotalSegmentator’s single v3.1 network the better tool.
  • High-Resolution File I/O: Benchmarks use $1.5\text{ mm}$ scans. On finer clinical grids ($0.8\times0.8\times1.0\text{ mm}$), total time rises to 5.0 s/scan—the network still takes ~1.1 s, while reading, resampling, and writing huge files eat up the rest.
  • Filter Trade-offs & Scope: The $337.5\text{ mm}^3$ size filter occasionally deletes tiny legitimate structures (like small adrenal glands or organ tips just entering the scan field of view), though users can toggle it off. Finally, evaluation is currently limited to one dataset and one GPU; testing on external benchmarks (like AMOS or VerSe) and expanding to the remaining TotalSegmentator structures is left for future releases.

Summary updated

BibTeX
@misc{mokhtari2026fennecseg,
  author = {Mohammed El Amine Mokhtari and Nour Islam Mokhtari},
  title = {{FennecSeg: Compact CT Segmentation Models that Match TotalSegmentator at a Fraction of the Compute}},
  year = {2026},
  eprint = {2611.38223},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38223},
}
Figure