Neural Cellular Automata for Weakly Supervised Segmentation of White Blood Cells

Michael Deutges, Chen Yang, Raheleh Salehi, Nassir Navab, Carsten Marr, Ario Sadafi

Introduction

Accurate segmentation of white blood cells (WBCs) is a cornerstone of hematology, essential for diagnosing conditions like leukemia. However, training deep learning models for this task usually requires "gold standard" manual annotations—where experts painstakingly trace the boundaries of cells. This process is slow, expensive, and prone to human error.

To bypass this, researchers use Weakly Supervised Segmentation (WSS), which learns boundaries using only image-level category labels (e.g., "this is a Basophil"). Standard approaches often rely on Class Activation Maps (CAMs), which highlight discriminative parts but frequently fail to capture the full cell body or struggle with "domain shift" between different laboratories. This paper introduces NCA-WSS, a method leveraging Neural Cellular Automata (NCA) to achieve state-of-the-art segmentation accuracy that generalizes remarkably well across clinical datasets.

Methodology: The NCA-WSS Pipeline

The authors propose a two-stage pipeline based on the self-organizing properties of Neural Cellular Automata.

1. NCA Backbone and Training

Unlike standard Convolutional Neural Networks (CNNs), an NCA treats every pixel as a "cell" with a state that evolves over multiple iterations based on local rules. The model is trained as a simple classifier: it runs the NCA for 32 steps, pools the resulting feature maps, and predicts the cell type.

2. Segmentation Mask Extraction

The core innovation of this approach is how the mask is extracted without additional training. By analyzing the high-dimensional feature maps produced by the NCA, the researchers apply Principal Component Analysis (PCA). They discovered that the first principal component naturally corresponds to the physical structure of the WBC. By projecting features onto this component and applying Otsu’s thresholding, a clean binary mask is generated.

Experimental Evaluation

The study evaluated the model on three distinct datasets to test performance and cross-domain robustness:

  • Raabin: 1,145 images across 5 WBC classes.
  • Matek19: 1,285 images featuring 15 distinct classes.
  • INT25: An internal dataset of 563 images used to test generalization to entirely new environments.
Examples of white blood cell images, their corresponding segmentation masks, and class labels across the three evaluation datasets.

Key Insights and Results

The most striking insight is that NCA models, when forced to classify, naturally "organize" their internal features to match physical boundaries. The iterative local updates force the model to learn the cell's full extent to achieve high classification accuracy. Furthermore, using PCA focuses on high-variance regions, effectively dampening background noise and staining artifacts.

Performance Highlights: * In-Domain: On the Matek19 dataset, NCA-WSS achieved an Intersection over Union (IoU) of 82.6%, nearly doubling the performance of the best baseline (FL-W3S at 47.0%). * Cross-Domain: When trained on Matek19 and tested on the unseen Raabin dataset, the model maintained a 55.1% IoU, outperforming many models trained directly on Raabin. * Efficiency: The NCA architecture is highly parameter-efficient, making it suitable for resource-constrained medical devices.

Conclusion and Future Work

NCA-WSS demonstrates that emergent structure in self-organizing systems can be a powerful tool for medical image analysis. While currently focused on single-cell patches, future work will explore handling crowded blood smears with overlapping cells and extending the framework to broader histopathology tasks. Refining the mask extraction process beyond PCA and Otsu thresholding could further sharpen boundaries for clinical use.

Summary updated

BibTeX
@inproceedings{deutges2025neural,
  author = {Michael Deutges and Chen Yang and Raheleh Salehi and Nassir Navab and Carsten Marr and Ario Sadafi},
  title = {{Neural Cellular Automata for Weakly Supervised Segmentation of White Blood Cells}},
  booktitle = {EMA4MICCAI},
  year = {2025},
  doi = {10.1007/978-3-032-13961-0\_29},
}
Figure