Abstract
Manifold Topological Deep Learning (MTDL) bridges the gap between differential topology and deep learning by treating images as differentiable manifolds. By utilizing Hodge theory to decompose image-derived vector fields into curl-free, divergence-free, and harmonic components, MTDL captures essential geometric and topological features. The framework achieves state-of-the-art performance on the massive MedMNIST v2 benchmark while remaining significantly more lightweight than standard architectures like ResNet-50 or Vision Transformers.
Introduction
Topological Deep Learning (TDL) has emerged as a powerful paradigm for capturing the "shape" of data. However, its application has primarily focused on combinatorial structures such as point clouds and graphs. Images, by contrast, are naturally continuous and smooth, making them better represented as differentiable manifolds.
Applying TDL to manifolds is challenging because traditional tools like persistent homology often overlook the "smooth" information—such as vector fields and differential forms—that characterizes a manifold's geometry. Furthermore, rigorously modeling an image as a manifold while preserving its topological properties is non-trivial. This paper introduces MTDL, a framework that integrates discrete Hodge theory directly into a deep learning pipeline for biomedical image analysis.
Methods: The MTDL Pipeline
The MTDL framework follows a multi-step pipeline designed to extract and utilize topological invariants from medical images.
- Manifold Representation: The input image is modeled as a discrete differentiable manifold embedded in a Cartesian grid.
- Vector Field Construction: Scalar pixel values are converted into a vector field using either gradient-based (intensity changes) or flow-based (pixel value "flow") methods.
- Hodge Decomposition: This core innovation uses the discrete Hodge Laplacian to decompose the vector field into three mutually orthogonal components:
- Curl-free: Captures the gradient flow.
- Divergence-free: Captures solenoidal or circulating flow.
- Harmonic: Encapsulates global topological information, such as loops or voids.
- CNN Architecture (TransConv): These components are concatenated and processed by a "TransConv" architecture—a modified Transformer encoder where multi-head attention and feedforward layers are replaced with convolutional blocks and maxpooling to emphasize topological features.
Experimental Evaluation
The model was rigorously evaluated on the MedMNIST v2 benchmark, which comprises 717,287 images across 17 datasets (11 2D and 6 3D). These datasets cover diverse modalities including X-ray, CT, MRI, and Ultrasound, and involve tasks ranging from binary classification to multi-label ordinal regression.
Key Results
MTDL consistently outperformed state-of-the-art models across nearly all 17 MedMNIST datasets:
- Overall Performance: On 2D datasets, MTDL achieved an average AUC of 0.956 and an Accuracy of 0.868, surpassing the second-best models (0.943 and 0.846, respectively).
- Significant Gains: In specific challenging datasets like RetinaMNIST, the AUC improved from a previous best of 0.773 to 0.874.
- 3D Superiority: For 3D medical data, MTDL maintained its lead with an average AUC of 0.910.
- Efficiency: Despite its high performance, MTDL is remarkably efficient, utilizing only ~0.56M parameters for 2D tasks—a fraction of the requirements for ResNet-50 or ViT.
Discussion and Insights
The success of MTDL stems from treating Hodge theory as a form of advanced feature engineering. By "pre-digesting" data into fundamental topological building blocks, the learning task for the downstream classifier is simplified. The harmonic component is particularly valuable in medical imaging for detecting structures like blood vessels or cell boundaries.
Furthermore, by utilizing a discrete version of de Rham-Hodge theory tailored for Cartesian grids, the framework maintains mathematical rigor in a pixelated environment. Robustness tests on the HAM10000 dataset also indicated that MTDL's performance scales positively with image resolution, capturing finer geometric details as they become available.
Conclusion and Future Work
MTDL represents a significant advancement in integrating differential topology with deep learning. Future work will explore alternative vector field representations, more complex five-component Hodge decompositions for richer boundary information, and the re-integration of attention mechanisms for long-range dependencies in large 3D tensors. The ultimate goal is to scale MTDL for complex clinical applications, such as automated lung CT screening.
Summary updated