TL;DR
This paper introduces a novel method to improve multi-label classification of medical images by incorporating biological knowledge as learnable constraints. This approach prevents biologically impossible predictions from foundation models, leading to significant accuracy improvements in hematological image analysis.
What Problem Does This Paper Address?
Foundation models, while powerful for feature extraction in medical imaging, often struggle with multi-label classification tasks. Specifically, they can produce predictions that are biologically impossible, such as the co-occurrence of mutually exclusive conditions or the misinterpretation of subtle abnormalities. This is a critical issue in clinical settings where accurate and biologically plausible diagnoses are paramount. The paper focuses on neutrophil classification, a crucial aspect of hematological diagnosis, where manual classification is time-consuming and prone to inter-observer variability. The challenge lies in integrating domain knowledge to enforce known biological relationships and handle complex interdependencies between multiple abnormalities.
Methods
The authors propose a "Biologically-Constrained Multi-Label Classification" framework that enhances existing foundation models. The core of their approach lies in a learnable constraint module with three key components:
- Feature Projection: High-dimensional features from a foundation model (like DinoBloom) are projected into a more suitable space for learning biological constraints. This involves mean pooling and normalization to create a condensed feature vector representing the entire cell.
- Constraint Matrix Generation: A transformer-based multi-head attention mechanism is used to dynamically learn relationships between different abnormalities. This generates a constraint matrix (R) that captures both positive (co-occurrence) and negative (mutual exclusivity) relationships.
- Adaptive Thresholding: An uncertainty-aware mechanism dynamically adjusts decision boundaries. This is achieved using Monte Carlo dropout sampling to estimate prediction uncertainty, which then influences the adaptive threshold for each class. This allows the model to require higher confidence for uncertain predictions and account for class imbalance.
The framework is trained end-to-end, with the foundation model backbone frozen, and incorporates a multi-term loss function that includes binary cross-entropy, a constraint loss (comparing learned constraints to prior biological knowledge), and an uncertainty loss.
Datasets
The authors evaluated their method on three datasets:
- AML Matek Dataset: A public dataset with 18,365 expert-labeled single-cell images and 15 morphological classes.
- BMC Dataset: A public dataset containing 171,373 cells from bone marrow smears, annotated with 21 distinct cell types. This dataset is noted for its significant class imbalance.
- GR-Neutro Dataset: An in-house dataset comprising 1,934 high-resolution microscopy images of neutrophils, with 7 different classes of abnormalities.
All datasets were preprocessed by resizing to 224x224 pixels and normalizing. Class imbalance was addressed using SMOTE, random undersampling, and class weights.
Key Insights and Ideas
- Biological Plausibility Matters: Foundation models, despite their power, can generate biologically impossible predictions. Explicitly enforcing biological constraints is crucial for clinical applications.
- Learnable Constraints are Key: Instead of hardcoding rules, learning these constraints dynamically from data and prior knowledge allows for more nuanced and flexible biological reasoning.
- Uncertainty-Aware Thresholding: Adapting decision thresholds based on prediction uncertainty is vital for robust classification, especially when dealing with subtle or ambiguous abnormalities.
- Modularity is a Strength: The proposed constraint module can be integrated with various foundation models, making the approach adaptable and broadly applicable.
Key Results
The proposed method consistently outperformed state-of-the-art methods and other foundation models across all three datasets.
- On the GR-Neutro dataset, the model achieved an accuracy of 0.94, a significant improvement over the base model (0.81).
- On the AML Matek dataset, the method achieved a weighted F1-score of 0.95 and a balanced accuracy of 0.91, outperforming previous Transformer-based methods.
- On the BMC dataset, the approach achieved a weighted F1-score of 0.89 and a balanced accuracy of 0.75, effectively handling class imbalance.
- Ablation studies showed that both the learnable constraints and adaptive thresholding components significantly contributed to the performance gains. The learned constraint matrix successfully captured mutual exclusivity and nuanced co-occurrence relationships.
Limitations and Future Work
The authors acknowledge that their approach is currently focused on neutrophil classification. Future work will involve:
- Expanding the method to larger, multi-center datasets.
- Incorporating temporal dynamics into neutrophil analysis.
- Further exploring the interpretability of the learned constraints and attention mechanisms.
Summary updated