A Study of Cross-Dataset Generalization on Liver Vessel Segmentation Improved by a Topological Loss

José M. Saavedra, Héctor Henríquez, Miguel Chicchon, Camila Figueroa, Marcelo Pizarro, Joaquín Curimil, Violeta Chang
deepCVL, Universidad de los Andes, Santiago, Chile · Universidad de Santiago de Chile · Universidad Continental, Perú
Medical & Biological Engineering & Computing, vol. 64, 2026

Computer Vision Lab · Universidad de los Andes

3D rendering of a segmented liver and its vessels

Which liver vessel segmentation models still work in a hospital they were not trained in? An unbiased comparison of U-Net-based, mask-based and foundation models, and a topology-aware loss that improves cross-dataset generalization.

3families compared: U-Net-based, mask-based and foundation models
0.7132clDice on IRCAD, a dataset never used for training
0.6704clDice on MSD, also unseen
0.7472Dice on MSD when training on a mixed dataset

Summary

We carry out a comprehensive and unbiased evaluation of contemporary liver vessel segmentation architectures — UNet-based, mask-based and foundation models — focusing on how well they generalize to datasets that were not used for training.

Combining a region-based Dice loss with a topology-based one (clDice) gives the strongest generalization: on datasets not used for training, the models reach a clDice of 0.7132 on IRCAD and 0.6704 on MSD. Training on a mixed dataset raises the Dice score on MSD to 0.7472.

Why liver vessels

Liver surgery is planned around the vessels: the portal and hepatic veins define the functional segments that a surgeon can remove, and the volume of liver left after a resection depends on them. Segmenting the vascular tree from a CT is therefore a prerequisite for planning, and it is hard. The vessels are thin, branch repeatedly and vary in contrast between scanners and protocols.

Many models report excellent scores on the dataset they were trained on. The question that matters clinically is different: does the model still work in another hospital?

What we compared

We carried out a comprehensive and unbiased evaluation of contemporary architectures under the same conditions, focusing on generalization to datasets left out of training.

  • U-Net-based models, the standard for medical segmentation.
  • Mask-based models, which predict object masks rather than per-pixel labels.
  • Foundation models, pretrained on large collections and adapted to the task.
  • Losses: the region-based Dice loss alone, and combined with clDice, a topology-based loss computed on the vessel centrelines that rewards connected trees and penalizes broken branches.

Results

Combining Dice with the topological clDice loss gives the strongest generalization. On datasets not used for training, the models reach a clDice of 0.7132 on IRCAD and 0.6704 on MSD. Training on a mixed dataset raises Dice on MSD to 0.7472.

The full article, with all models, tables and figures, is available from the publisher (link above).

Read the article

Where it fits

This study is part of our work on liver surgery planning with the STIC-AMSUD project on future liver remnant estimation, and it motivated B-MIM, our CT encoder for fine-grained anatomy, which raises vessel topology on unseen data by 18.5%.

B-MIM project page

BibTeX

@article{saavedra2026liver,
  title   = {A study of cross-dataset generalization on liver vessel segmentation improved by a topological loss},
  author  = {Saavedra, Jose M. and Henr{\'i}quez, H{\'e}ctor and Chicchon, Miguel and Figueroa, Camila and Pizarro, Marcelo and Curimil, Joaqu{\'i}n and Chang, Violeta},
  journal = {Medical \& Biological Engineering \& Computing},
  volume  = {64},
  year    = {2026},
  doi     = {10.1007/s11517-026-03636-7}
}