Decoupled gradient harmonized detector for partial annotation: Application to signet ring cell detection

Tiancheng Lin, Yuanfan Guo, Canqian Yang, Jiancheng Yang, Yi Xu

TL;DR

This paper introduces the Decoupled Gradient Harmonizing Mechanism (DGHM), a novel loss function designed to handle "partial annotation" in medical imaging. By decoupling noisy, unannotated samples from clean ones and treating their gradient contributions differently, the authors achieved 2nd place in the MICCAI DigestPath2019 challenge for detecting signet ring cells.

What Problem Does This Paper Address?

Detecting Signet Ring Cell Carcinoma (SRCC) is a critical but grueling task for pathologists. While AI can help, training these models requires massive amounts of annotated data. In the medical field, "perfect" annotation is nearly impossible due to the sheer volume of cells and the expertise required.

This leads to Partial Annotation (PA): a dataset where some positive cells are labeled (green boxes), but many others are missed (yellow boxes). In a standard training setup, these missed cells are treated as "background" (negatives). This creates label noise, leading to two major issues:

  1. Noisy example overfitting: The model tries too hard to learn that a missed cell is "background," ruining its accuracy.
  2. Hard example under-learning: Existing robust losses (like GHM) often down-weight "outliers" to avoid noise, but in doing so, they also ignore genuine, hard-to-detect cells that the model actually needs to study more.

Methods

The authors propose the DGHM-C loss, which builds upon the Gradient Harmonized Mechanism (GHM). The core innovation is decoupling.

  1. Data Splitting: They categorize anchors into two spaces:
  2. Clean Space ($S_c$): Positive samples and negative samples from guaranteed "normal" images.
  3. Noisy Space ($S_n$): Negative samples from "abnormal" images (where unannotated positive cells likely hide).
  4. Gradient Harmonizing: The model calculates the "gradient density"—essentially how many samples have a similar level of difficulty.
  5. The "Decoupled" Twist: Instead of a one-size-fits-all approach, DGHM applies different logic to outliers based on their source:
  6. In Clean Space: Outliers are likely "hard examples." The model up-weights these to ensure it learns the difficult features of signet ring cells.
  7. In Noisy Space: Outliers are likely "mislabeled examples" (the missed cells). The model down-weights these to prevent the AI from "memorizing" the wrong labels.

Datasets

The study uses the MICCAI DigestPath2019 challenge dataset:

  • Source: 450 pathology images from 90 patients (gastric mucosa and intestine).
  • Composition: 78 Abnormal Pathology (AP) images with ~15,000 annotated Signet Ring Cells (SRCs) and 372 Normal Pathology (NP) images.
  • Challenge: The AP images are partially annotated, meaning many SRCs are present but not boxed, serving as the primary source of label noise.

Key Insights and Ideas

  • The Gradient Distribution Signature: The authors discovered that clean and noisy samples have distinct gradient norm distributions. Clean samples have a higher proportion of "hard" outliers compared to noisy ones, suggesting that the model naturally struggles more with genuine complexity than with random noise.
  • Harmonization vs. Focus: Standard Focal Loss focuses on hard examples but fails when those "hard" examples are actually wrong labels. Standard GHM treats all outliers as noise. DGHM is the "middle way"—it recognizes that difficulty is subjective based on whether the label is trustworthy.
  • Implicit vs. Explicit Correction: Unlike other methods that try to "guess" the correct labels (pseudo-labeling), DGHM works directly within the loss function, making it more computationally efficient and easier to integrate into existing detection frameworks like RetinaNet.

Key Results

  • Challenge Performance: The method secured 2nd place in the DigestPath2019 competition.
  • Quantitative Gains: On a test set with 70% of labels intentionally removed (simulating extreme partial annotation), DGHM-C achieved an FROC of 0.6720, significantly outperforming Focal Loss (0.1050) and standard GHM-C (0.4089).
  • Recall: The model showed a massive improvement in R-recall (the ability to detect the unannotated cells), proving that the decoupling strategy successfully allowed the model to "see" cells it was never explicitly told were there.

Limitations and Future Work

  • Precision-Recall Trade-off: Because the model becomes very good at finding unannotated cells, its "Precision" score (as measured against the original, imperfect labels) appears lower. The authors argue this is a measurement error of the dataset, not the model, but it makes evaluation tricky.
  • Regression Branch: Currently, DGHM is only applied to the classification branch. The authors note that the bounding box regression branch still only trains on positive (annotated) samples, meaning the localization of "discovered" unannotated cells isn't as refined as it could be.
  • Hyperparameter Sensitivity: The method introduces parameters like the outlier threshold ($\lambda$) and modulating factors ($\mu_n, \mu_c$), which require tuning for different datasets.

Summary updated

BibTeX
@inproceedings{lin2021decoupled,
  author = {Tiancheng Lin and Yuanfan Guo and Canqian Yang and Jiancheng Yang and Yi Xu},
  title = {{Decoupled gradient harmonized detector for partial annotation: Application to signet ring cell detection}},
  booktitle = {Neurocomputing},
  year = {2021},
  url = {https://openreview.net/forum?id=t7VawveNS4h},
}
Figure