[Paper Review] Topological shape transform for thymus structures
SampEuler, a robust Euler characteristic transform-based shape descriptor, is introduced to quantify thymic architecture; it outperforms some topology-based methods and enables age-related structural insights in thymus tissue.
The Euler characteristic transform (ECT) is an emerging and powerful framework within topological data analysis for quantifying the geometry of shape. The applicability of ECT has been limited due to its sensitivity to noisy data. Here, we introduce SampEuler, a novel ECT-based shape descriptor designed to achieve enhanced robustness to perturbations. We provide a theoretical analysis establishing the stability of SampEuler and validate these properties empirically through pairwise similarity analyses on a benchmark dataset and showcase it on a thymus dataset. The thymus is a primary lymphoid organ that is essential for the maturation and selection of self-tolerant T cells, and within the thymus, thymic epithelial cells are organized in complex three-dimensional architectures, yet the principles governing their formation, functional organization, and remodeling during age-related involution remain poorly understood. Addressing these questions requires robust and informative shape descriptors capable of capturing subtle architectural changes across developmental stages. We develop and apply SampEuler to a newly generated two-dimensional imaging dataset of mouse thymi spanning multiple age groups, where SampEuler outperforms both persistent homology--based methods and deep learning models in detecting subtle, localized morphological differences associated with aging. To facilitate interpretation, we develop a vectorization and visualization framework for SampEuler, which preserves rich morphological information and enables identification of structural features that distinguish thymi across age groups. Collectively, our results demonstrate that SampEuler provides a robust and interpretable approach for quantifying thymic architecture and reveals age-dependent structural changes that offer new insights into thymic organization and involution.
Motivation & Objective
- Develop a robust, isometry-invariant shape descriptor based on the Euler Characteristic Transform (ECT) to quantify complex 3D/2D biological shapes.
- Enhance robustness to noise and misalignment in ECT through a new discrete sampler (SampEuler) and a vectorization framework.
- Benchmark SampEuler against persistent homology-based methods, DETECT, and deep learning on standard shape datasets.
- Apply SampEuler to mouse thymus images to detect age-related architectural changes and relate morphology to cellular composition.
Proposed method
- Define SampEuler as a discrete, isometry-invariant descriptor built from the ECT pushforward measure by sampling curves from ECCs.
- Prove SampEuler convergence to the ECT pushforward measure as discretization is refined and use Wasserstein distance for continuity.
- Develop a vectorization and visualization framework for SampEuler to support interpretation and machine-learning applications.
- Benchmark SampEuler on synthetic networks and the MPEG-7 dataset against existing TDA methods and deep learning baselines.
- Apply SampEuler to 2D thymic epithelial cell (TEC) network images across age groups to classify age and visualize shape-based features.

Experimental results
Research questions
- RQ1Can SampEuler provide a robust, invariant representation of shape under rotations and perturbations where ECT is sensitive?
- RQ2Does SampEuler offer improved classification accuracy and computation time compared to persistent homology and DETECT on standard benchmarks?
- RQ3Can SampEuler reveal age-related architectural changes in thymic TEC networks and relate morphology to cellular composition?
Key findings
- SampEuler and its vectorization distinguish perturbed versus aligned shapes, outperforming DETECT in preserving information.
- On the MPEG-7 dataset, SampEuler achieves higher classification accuracy than several conventional TDA methods.
- SampEuler-based age classification of thymic quadrants achieves competitive accuracy with lower computational cost than deep learning models.
- SHAP-based interpretation identifies regions in Euler characteristic curves that drive age-group classification, linking morphology to cortical and medullary thymic structure.
- Age-related morphological differences are most pronounced near the thymic capsule and diminish toward the cortico-medullary junction, with additional to-be-confirmed variations in old thymi.
![Figure 2 : CLASSIFICATION STUDY on MPEG7 DATASET. We compare SampEuler with conventional shape analysis methods using the MPEG7 dataset [ 43 ] . ( A ) Examples of the MPEG7 dataset images, one sample from each of the 10-class subset used in previous studies [ 33 , 44 ] . ( B ) The barplot of the acc](https://ar5iv.labs.arxiv.org/html/2602.18889/assets/figures/main_2.png)
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.