Vector Representations of Vessel Trees

James Batten, Michiel Schaap, Matthew Sinclair, Ying Bai, Ben Glocker

TL;DR

The authors introduce VeTTA (Vessel Tree Transformer Autoencoder), a two-stage framework that maps complex 3D vascular trees into compact, single-vector latent embeddings. By sequentially encoding continuous curvilinear vessel segments and decoding network topology through a recursive, slot-based transformer decoder, VeTTA guarantees valid tree topology, sharply lowers GPU memory usage compared to 3D voxel convolutions, and enables smooth, anatomically plausible latent-space interpolations.

What Problem Does This Paper Address?

Modeling 3D anatomical branching structures like coronary arteries is notoriously difficult:

  • Discretization and memory bottlenecks: Standard 3D convolutional models (operating on $128^3$ voxel grids) suffer from high GPU memory requirements and discretization artifacts, leading to fragmented or rough vessels.
  • Topological inconsistencies: Reconstructing centerlines via volumetric skeletonization often yields disconnected components, spurious branch loops, or broken connectivity.
  • Representation gap: Prior graph or implicit generative models either struggle with high-precision reconstruction or fail to enforce valid tree geometry throughout latent manipulations (e.g., during interpolation).

VeTTA addresses these issues by directly encoding and decoding explicit curvilinear geometry and branching connectivity into a single continuous latent space.

Methods

VeTTA uses two sequentially trained Transformer-based models:

  1. Vessel Autoencoder (Stage 1):
  2. Learns continuous geometric representations of individual vessel segments modeled as generalized cylinders (centerlines and radii).
  3. Coordinates $(x, y, z, r, t)$ are lifted using sinusoidal Fourier features. A Transformer encoder compresses each segment into a 64-dimensional vector $z_v$.
  4. A lightweight MLP decoder predicts residuals against linear endpoint interpolations. An endpoint modulation function $m(t)$ guarantees exact matching at segment boundaries during inference ($m(0)=m(1)=0$).
  5. Vessel Tree Autoencoder (Stage 2):
  6. Encoder: Takes the full set of directed edges (with node positions, topological types, and Stage 1 vessel embeddings $z_v$), processes them with a permutation-equivariant Transformer encoder, and pools them into a single global latent code $z_t$ (either standard AE or VAE).
  7. Recursive Slot-Based Decoder: Reconstructs the tree iteratively from the root down. At each step, a "query" node in the partial tree is expanded. A set of 32 learnable slot embeddings cross-attends to the partial tree and $z_t$, then groups via agglomerative clustering in the lifted Fourier domain to predict 0, 1, or 2 child nodes.
  8. Topological Hacks/Guarantees: Employs a learned start token for empty tree initialization, a semi-edge (self-loop at the root) to anchor the initial step, and a skip-vessel flag to handle segments shorter than 2.5 mm (e.g., resolving apparent trifurcations).
  9. Bipartite Matching Loss: Matches predicted slots to ground-truth children using a bidirectional Hungarian matching scheme (Top-$k$ matching).
[Full Tree Edges] ---> [Tree Transformer Encoder] ---> Latent Code z_t
                                                            |
[Partial Tree + Query] ---> [Transformer Decoder + Slots] --+---> [Predicted Children] (Recursive)

Datasets

  • SSA Dataset (2D): Public benchmark containing 15,248 training and 3,812 test synthetic 2D trees with binary segmentation masks.
  • VesselTrees Dataset (3D): 4,750 semi-automatically annotated 3D coronary artery meshes and centerlines derived from cardiac CT angiography (CTA) via HeartFlow's commercial processing pipeline (split into 3,996 train, 754 test, and 250 validation trees). Sub-trees are sampled with an arc length up to 60 mm.

Key Insights and Ideas

  • Decoupling geometry from topology: Separating the continuous shape of individual vessels from the tree's discrete branching structure allows the model to handle variable topology without losing fine geometric details.
  • Recursive structural inductive bias: Rather than generating an entire graph adjacency matrix in one shot, the decoder executes a recursive "program." This inherently guarantees that generated outputs remain valid, acyclic trees.
  • Clustering in the lifted sinusoidal domain: Clustering slot vectors in a Fourier-lifted co-domain simultaneously resolves multi-attribute properties (spatial coordinates, topology, radii, continuous trajectory embeddings) far more reliably than clustering directly in raw Euclidean space.
  • Massive memory efficiency: Bypassing dense 3D volumetric convolutions drastically reduces GPU memory overhead, enabling larger batch sizes (e.g., batch sizes of 1,100–1,750 on a single 32GB V100 GPU).

Key Results

  • 3D VesselTrees Dataset:
  • VeTTA-AE achieved a Dice score of 85.4%, outperforming 3D convolutional baselines GDVM-AE (46.5%) and Conv-3D-AE (71.8%).
  • Achieved lower Mesh Hausdorff Distance (2.09 mm vs. 2.22 mm for Conv-3D and 5.42 mm for GDVM), Average Surface Distance (0.288 mm vs. 0.525 mm), and Average Centerline Distance (0.326 mm vs. 0.587 mm).
  • Outperformed VesselVAE on reconstruction (VesselVAE achieved 15.9 mm Mesh HD and 2.70 mm ACD, as its multi-step encoder struggles to preserve input structure during reconstruction).
  • 2D SSA Dataset:
  • VeTTA-AE achieved the lowest Centerline Hausdorff Distance (0.184 vs. 0.327 for Conv-2D-AE) and highest Centerline F1 score (0.504 vs. 0.417).
  • Latent Space Interpolation:
  • Linear interpolations between unseen validation samples yielded continuous, topologically sound intermediate vessel trees without disconnected components or broken branches—unlike convolutional autoencoders, which produced fragmented artifacts.

Limitations and Future Work

  • Branching Degree Constraint: The current implementation restricts nodes to at most 2 children (trifurcations must be modeled as closely spaced bifurcations via skip-vessel flags).
  • Outlier Sensitivity: While Dice scores improved dramatically, improvements in Hausdorff distance were smaller due to its high sensitivity to isolated boundary deviations.
  • Ablation Studies: The authors note that detailed ablation studies isolating individual components (e.g., Fourier lifting vs. raw coordinates, slot counts, non-proximal edge filtering) and downstream clinical evaluations remain for future work.

Summary updated

BibTeX
@inproceedings{batten2025vector,
  author = {James Batten and Michiel Schaap and Matthew Sinclair and Ying Bai and Ben Glocker},
  title = {{Vector Representations of Vessel Trees}},
  booktitle = {MIDL},
  year = {2025},
  url = {https://openreview.net/forum?id=ESzOwfBhRv},
}
Figure