Introduction
In digital pathology, identifying cancerous patterns is a high-stakes task often hindered by human error and observer variability. Content-Based Medical Image Retrieval (CBMIR) systems serve as "search engines" for pathologists, enabling the retrieval of previously diagnosed cases with similar morphological features to a current query.
While current state-of-the-art solutions rely heavily on Deep Learning (DL), these models face significant hurdles in clinical settings: they require massive labeled datasets, demand high computational power (GPUs), and often operate as "black boxes" lacking interpretability. To address these challenges, we introduce THIR (Topological Histopathological Image Retrieval), an entirely unsupervised framework that utilizes Topological Data Analysis (TDA) to encode the structural "fingerprints" of tissue.
Methodology: Topological Fingerprinting
THIR replaces traditional neural networks with a mathematical approach based on Persistent Homology using Cubical Complexes. Unlike standard filters that analyze local textures, TDA captures the intrinsic structural patterns of tissue, such as the connectivity and shape of cellular structures.
The core process involves:
- Cubical Persistence: Histopathology images are treated as regular grids of pixels. The system uses cubical complexes to track the birth and death of topological features—specifically, 1D "loops" ($\beta_1$ Betti numbers)—as the image is thresholded across various intensity levels.
- Betti Curves: For each RGB channel, the system generates a "Betti curve," which plots the number of loops present at different intensity thresholds.
- Feature Extraction: These curves are concatenated into a compact 600-dimensional feature vector.
- Unsupervised Retrieval: Similarity is determined by calculating the Euclidean distance between the topological descriptors of the query and the database. This process requires no training phase.
Experimental Evaluation
The framework was evaluated using the BreaKHis dataset, containing 7,909 microscopic images of breast tumor tissue across four magnifications (40×, 100×, 200×, and 400×).
Key Results
THIR consistently outperformed both supervised and unsupervised state-of-the-art methods:
- High Accuracy: At 400× magnification, THIR achieved a top-5 accuracy of 0.98, surpassing the supervised "Breast-twins" model (0.69).
- Superior Precision: At 100× magnification, it reached a precision of 0.99, outperforming various CNN-based and hashing-based methods.
- Computational Efficiency: The entire BreaKHis dataset can be processed in under 20 minutes on a standard CPU, a stark contrast to the hours of GPU-accelerated training required by DL models.
Discussion and Insights
The success of THIR stems from its focus on structure over pixels. Topological features are naturally invariant to rotation and minor intensity fluctuations, making the system robust against noise from different lab preparations. Furthermore, the method offers interpretability: pathologists can visually compare Betti curves, providing a geometric rationale for why two images are considered similar.
Conclusion and Future Work
THIR demonstrates that unsupervised topological methods can match or exceed the performance of complex deep learning models in medical image retrieval. Future research will explore incorporating 0D (connected components) and 2D (voids) features, testing alternative color spaces better suited for H&E staining, and validating the framework on multi-organ datasets and whole-slide images (WSIs).
Summary updated