Proportion Estimation by Masked Learning from Label Proportion

Takumi Okuo, Kazuya Nishimura, Hiroaki Ito, Kazuhiro Terada, Akihiko Yoshizawa, Ryoma Bise

TL;DR

This paper introduces a two-stage framework for estimating PD-L1 rates in histopathology images using a "masked" Learning from Label Proportions (LLP) approach. By combining a tumor cell detector with a novel Weighted Focal Proportion Loss, the authors achieve state-of-the-art results while requiring significantly less cell-level annotation than traditional detection-based methods.

What Problem Does This Paper Address?

In cancer treatment, the PD-L1 rate—the ratio of PD-L1 positive tumor cells to the total number of tumor cells—is a critical biomarker for determining if a patient will respond to immunotherapy. Currently, pathologists estimate this rate manually, a process that is subjective, time-consuming, and prone to variability.

Automating this task with deep learning faces three major hurdles:

  1. Annotation Cost: Training a standard detection model requires labeling thousands of individual cells, which is labor-intensive for experts.
  2. Partial Proportions: The PD-L1 rate only considers tumor cells, ignoring non-tumor cells (like immune or stromal cells). Global regression models often struggle because they can't distinguish which parts of the image contribute to the denominator.
  3. Data Imbalance: Clinical data is often heavily skewed. For example, many more patients have a PD-L1 rate in the "0 to 1%" range than in higher brackets, making it difficult for models to learn the nuances of low-proportion cases.

Methods

The authors propose a two-stage pipeline to tackle these challenges:

1. Tumor Cell Detection (The Mask)

First, they train a cell detection network using a small amount of cell-level annotation. This network identifies tumor regions and generates a tumor mask ($M$). This mask is the key to solving the "partial proportion" problem; it tells the subsequent estimation network exactly which pixels represent the tumor cells that should be counted.

Overview of the proposed two-stage method: tumor cell detection followed by masked proportion estimation.

2. Masked Learning from Label Proportions (LLP)

Instead of counting every cell, the second stage uses a feature extractor to produce two maps: one for positive tumor features ($F_p$) and one for negative ($F_n$). These maps are multiplied by the tumor mask ($M$) to ensure only tumor regions are considered. The final proportion $\hat{r}$ is calculated by summing the values in these masked maps.

3. Weighted Focal Proportion Loss (WFL)

To handle the data imbalance, the authors adapted the concept of Focal Loss to proportion estimation. Standard losses have low gradients for the tiny "0 to 1%" interval, making it hard for the model to distinguish it from the "1 to 25%" interval. Their WFL uses a hyper-parameter $\gamma$ that varies by interval: they set $\gamma=0$ for the 0-1% range to provide stronger gradients and $\gamma=2$ for others.

Comparison between standard Focal Proportion Loss and the proposed Weighted Focal Proportion Loss.

Datasets

The study utilized clinical histopathology data:

  • Detection Dataset: 58 core images where tumor/non-tumor regions were manually annotated (covering only about 5.71% of the total tissue area).
  • Proportion Dataset: 606 core images labeled with clinical PD-L1 intervals (e.g., 0-1%, 1-25%, 25-50%, 50-75%, 75-100%). These labels are readily available from existing clinical records, eliminating the need for new, expensive annotations.

Key Insights and Ideas

  • Masking as a Denominator: By using a coarse tumor detector to create a mask, the model effectively "ignores" non-tumor cells. This mimics how a pathologist focuses only on tumor cells when calculating the ratio.
  • LLP for Weak Supervision: Learning from label proportions allows the model to utilize existing clinical reports (which only give a range, not a count) as a training signal, drastically reducing the need for manual cell-level labeling.
  • Dynamic Loss Sensitivity: The realization that different proportion intervals require different "strictness" in the loss function allowed the model to maintain high sensitivity even in the highly imbalanced low-proportion cases.

Key Results

The proposed method outperformed ten baseline approaches, including standard classification and ordinal regression.

  • Accuracy: The method achieved a mean F1-score (mF1) of 0.603, significantly higher than standard classification (0.524) or basic LLP without masking (0.451).
  • Interpretability: Unlike "black-box" regression models, this method produces intermediate feature maps. Pathologists can visualize these maps to see which cells the AI classified as positive or negative, building trust in the clinical setting.

Limitations and Future Work

The authors note that the model's performance is inherently tied to the quality of the initial tumor detector. If the detector fails to identify a specific subtype of tumor cell, the proportion estimation will be inaccurate. Future work could involve improving the robustness of the tumor detection stage or exploring end-to-end training methods that further reduce the reliance on initial cell-level annotations.

Summary updated

BibTeX
@inproceedings{okuo2023proportion,
  author = {Takumi Okuo and Kazuya Nishimura and Hiroaki Ito and Kazuhiro Terada and Akihiko Yoshizawa and Ryoma Bise},
  title = {{Proportion Estimation by Masked Learning from Label Proportion}},
  booktitle = {DALI @ MICCAI},
  year = {2023},
  url = {https://openreview.net/forum?id=oiWDVxxbYk},
}
Figure