Circle of Willis Centerline Graphs: A Dataset and Baseline Algorithm

Fabio Musio, Norman Juchler, Kaiyuan Yang, Suprosanna Shit, Chinmay Prabhakar, Bjoern Menze, Sven Hirsch

TL;DR

This paper introduces the first publicly available centerline graph dataset for the Circle of Willis (CoW), a critical brain arterial network, alongside a novel baseline extraction algorithm. By combining a 3D U-Net with an A* pathfinding heuristic, the proposed pipeline achieves perfect topological reconstruction ($F1 = 1.0$) and highly robust morphometric feature extraction. This work marks a significant shift from simple voxel-level segmentation toward anatomically faithful, graph-based vascular analysis.

What Problem Does This Paper Address?

The Circle of Willis (CoW) is a complex network of arteries at the base of the brain that balances blood flow between hemispheres. Variations or pathologies in this structure are tightly linked to strokes and aneurysms. While deep learning has made voxel-level segmentation of these vessels common, voxels alone cannot provide the geometric metrics—such as vessel tortuosity, bifurcation angles, and precise radii—needed for advanced hemodynamic modeling and clinical tracking.

To extract these metrics, researchers rely on "centerlines" (1D graph representations of the vessels). However, classical skeletonization techniques frequently fail on the CoW's highly variable and intricate geometry, introducing artificial loops, dead ends, or fragmented segments. Compounding this issue, there has been a severe lack of publicly available, anatomically labeled centerline datasets to train and evaluate better models.

Topological errors introduced by traditional skeletonization tools

Methods

The authors tackle this challenge with a two-part approach: dataset curation and a new hybrid baseline pipeline.

  1. Dataset Curation: They applied a traditional thinning algorithm (Voreen) to multi-class vessel masks and then utilized a rigorous, rule-based post-processing pipeline combined with expert clinician oversight to manually correct topological errors.
  2. Baseline Algorithm: To automate this process without traditional artifacts, they formulated centerline extraction as a machine learning problem. They trained a 3D U-Net (via the nnU-Net framework) to predict binary skeletons directly from multi-class annotations. To combat the extreme class imbalance that typically causes fragmented predictions, they used a composite loss function combining Focal Loss and Tversky Loss.

Crucially, they introduced an A* pathfinding algorithm step to reconnect any broken skeleton fragments. This pathfinder uses a custom cost function that minimizes Euclidean distance while maximizing the distance from vessel boundaries, ensuring the reconnected paths stay perfectly centered within the anatomy.

Overview of the baseline centerline extraction pipeline

Datasets

The authors utilized the TopCoW dataset, which consists of images from 200 stroke patients. Because each patient was imaged using both Magnetic Resonance Angiography (MRA) and Computed Tomography Angiography (CTA), the dataset contains 400 image pairs in total. From this, they generated and released 400 annotated CoW centerline graphs, complete with spatial coordinates, anatomical labels for 13 distinct artery segments, and pre-computed morphometric features.

Key Insights and Ideas

  • Voxel Overlap Metrics are Insufficient: Standard metrics like the Dice coefficient are poor indicators of topological correctness. A model can score highly on voxel overlap while still producing broken vessel graphs that are useless for blood flow simulation.
  • Hybrid AI + Heuristics is Key: Pure deep learning struggles with the strict connectivity constraints of vascular networks due to voxel-level class imbalances. Pairing a neural network (for local feature extraction) with a classical pathfinding heuristic (A* for global connectivity) bridges this gap effectively.
  • Modality Bias Exists: A quantitative comparison revealed that MRA consistently yields larger vessel radii measurements than CTA for identical anatomy. This highlights an inherent imaging bias that researchers must account for in multi-modal studies.
  • Anatomical Variation is the Rule, Not the Exception: Only 13% of CTA and 18% of MRA cases exhibited a "complete" textbook CoW configuration, underscoring the necessity of robust algorithms capable of handling missing or asymmetric segments.

Key Results

The baseline pipeline demonstrated exceptional anatomical fidelity when evaluated against the manually verified reference graphs:

  • Perfect Topology: The algorithm achieved a micro-averaged $F1$ score of 1.0 for variant classification, meaning it accurately captured the presence or absence of all vascular segments.
  • Sub-Voxel Accuracy: The average Euclidean distance between predicted and reference graph nodes was just 0.226 mm, well below the 0.25 mm voxel resolution limit.
  • Drastic Error Reduction: The A* connection step successfully reduced the connected component error ($\beta_0$ Betti number error) from 5.31 down to 0.01.
  • Feature Robustness: Highly critical morphometric features like segment radius, length, and volume showed excellent agreement with reference data, yielding a median relative error $\le$ 2.1% and a Pearson correlation $r \ge$ 0.99.
Comparison of segment and bifurcation features

Limitations and Future Work

While highly accurate, the pipeline currently relies on manually verified, clean segmentation masks as input; its performance on noisy, fully automated model segmentations remains untested. Additionally, the heavy upsampling and ensembling required by the 3D U-Net results in a relatively slow inference time of 81 seconds per case. Finally, certain fine-grained features, specifically vessel curvature and bifurcation angles, showed higher sensitivity to centerline noise, indicating that further smoothing or alternative sampling strategies are needed for precise quantitative analysis.

Summary updated

BibTeX
@misc{musio2025circle,
  author = {Fabio Musio and Norman Juchler and Kaiyuan Yang and Suprosanna Shit and Chinmay Prabhakar and Bjoern Menze and Sven Hirsch},
  title = {{Circle of Willis Centerline Graphs: A Dataset and Baseline Algorithm}},
  year = {2025},
  eprint = {2510.13720},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.13720},
}
Figure