Abstract
This paper introduces a novel multi-task learning framework for weakly supervised cell recognition in immunohistochemical (IHC) cytoplasm staining images. By leveraging simple point annotations and two auxiliary tasks—consistency learning with dynamic masks and tissue prior learning—the model effectively overcomes the challenges of overlapping cells and highly variable cell morphology to accurately classify and count tumor cells.
Introduction
In cancer diagnosis, pathologists rely on Immunohistochemical (IHC) staining to highlight specific tumor cells. Automating the counting and classification of these cells can significantly reduce labor. To avoid the tedious process of drawing pixel-perfect boundaries for training data, researchers use weakly supervised learning based on simple point annotations. However, IHC cytoplasm staining is particularly challenging; unlike nuclear staining, cytoplasm-stained cells vary wildly in shape and size and frequently overlap. Traditional weakly supervised models generate fixed-size circular "pseudo-masks" which often lead to overfitting on artificial shapes. Furthermore, subtle visual differences between healthy tissue and positive tumor cells make classification prone to error.
Methodology
The authors propose an encoder-decoder architecture (DeepLabV3+ with a ResNet101 backbone) trained via a multi-task learning framework. The network features one shared encoder and three distinct decoders as shown in Figure 1.
- Main Branch (Cell Segmentation & Classification): This branch performs the primary task using fixed-size circular masks generated from point annotations.
- Auxiliary Branch 1 (Consistency Learning): To prevent overfitting to circular masks, a "dynamic decoder" is trained on masks that are randomly perturbed in shape and size. A consistency loss forces the main and dynamic decoders to align, teaching the encoder to recognize robust morphological features.
- Auxiliary Branch 2 (Tissue Prior): Tumor cells typically cluster. A "prior decoder" learns this spatial distribution using a cluster map generated by a separate pre-trained model. Early stopping is used during the pre-training phase to capture general tissue neighborhoods without memorizing noisy point-derived boundaries.
During inference, the auxiliary decoders are discarded, maintaining a fast and lightweight prediction process.
Experimental Results
The framework was evaluated on an in-house dataset of 80 IHC cytoplasm staining images covering four cancer types. The training set included over 52,000 annotated cells. The proposed multi-task framework (Ours++) outperformed recent baseline methods under identical conditions.
For positive tumor cells, the model achieved a Total F1 score of 0.789 and a Mean F1 score of 0.753, notably higher than FCRN (0.719 / 0.674) and EstimateMask (0.777 / 0.716). As shown in Figure 2, the performance of Ours++ remains superior across various matching radii used during evaluation.
Ablation studies confirmed the value of the auxiliary branches: adding the dynamic decoder (Ours+) improved the Total F1 to 0.784, while the full model (Ours++) reached 0.789. Qualitative analysis showed that the tissue prior branch successfully corrected misclassifications of visually ambiguous cells, while the dynamic mask branch suppressed missed detections of irregularly shaped cells.
Conclusion
By integrating dynamic mask consistency and tissue prior learning, the proposed framework effectively addresses the complexities of cell recognition in IHC cytoplasm staining. While the model achieves state-of-the-art results, future work will focus on reducing sensitivity to post-processing hyperparameters, such as the distance radius used for matching predicted centers to ground-truth points.
Summary updated