Reducing Information Bottleneck for Weakly Supervised Semantic Segmentation

Jungbeom Lee, Jooyoung Choi, Jisoo Mok, Sungroh Yoon

TL;DR

Weakly supervised semantic segmentation often fails because neural networks are "lazy"—they only look at the most obvious (discriminative) parts of an object to make a classification. This paper identifies the final activation layer as a major "information bottleneck" and proposes a simple yet effective fix: removing that activation during fine-tuning and using a new pooling method to force the network to see the whole object.

What Problem Does This Paper Address?

Semantic segmentation—the task of labeling every single pixel in an image—is incredibly powerful but notoriously expensive. Labeling a single image for a dataset like Cityscapes can take over 90 minutes of human effort. To solve this, researchers use Weakly Supervised Semantic Segmentation (WSSS), which tries to learn pixel-level details using only image-level tags (e.g., "this image contains a cat").

The standard approach uses Class Activation Maps (CAMs) to see which pixels the classifier "looked at." However, classifiers are efficient: if a network can identify a "bird" just by seeing its beak, it won't bother looking at the wings or tail. This results in sparse, incomplete localization maps that make for poor training data for the final segmentation model.

MNIST Toy Experiment illustrating the Information Bottleneck. Gradients for non-discriminative features drop significantly at the final layers.

The authors argue this isn't just a training quirk; it’s a fundamental consequence of the Information Bottleneck (IB) principle, where networks compress input data to the bare minimum needed for the task. They demonstrate this using a modified MNIST dataset (adding random shapes to digits), proving theoretically and visually that while intermediate layers capture "non-discriminative but class-relevant" features, the final layers discard them.

Methods

The authors introduce a framework called RIB (Reducing Information Bottleneck), consisting of two main components designed to recover this lost information:

  1. Removing the Final Activation: Most classifiers end with a sigmoid or softmax function. These functions "saturate"—once the network is confident about a region, the gradients drop to near zero, preventing the model from learning about other parts of the object. The authors propose fine-tuning the model using a new loss function ($L_{RIB}$) that removes this final non-linearity, allowing information from non-discriminative regions to flow back through the network.
  2. GNDRP (Global Non-Discriminative Region Pooling): Standard models use Global Average Pooling (GAP), which averages all features. This allows highly "loud" discriminative regions to drown out the rest. The authors introduce GNDRP, which specifically aggregates features from regions where the CAM scores are low (below a threshold $\tau$). This forces the network to increase the classification logit by finding relevant information in the parts of the object it previously ignored.

The workflow is straightforward: train a standard classifier, fine-tune it with RIB and GNDRP to generate "thick" CAMs, refine those maps using standard tools (like IRN), and finally train a segmentation network.

Key Insights and Ideas

  • The Final Layer is the Tightest Bottleneck: While many researchers focus on the compression happening in deep intermediate layers, this paper shows that the final activation (softmax/sigmoid) is actually the most aggressive filter. It acts as a "gatekeeper" that discards any information not strictly necessary for the final label.
  • Gradients are the Key: By removing the saturating activation, the authors "un-clog" the gradient flow. This allows the network to receive feedback on pixels that are part of the object but weren't "obvious" enough to trigger the initial classifier.
  • Don't Just Pool Everything: The move from GAP to GNDRP is a clever "attention" flip. Instead of looking at the average of the whole image, the model is forced to justify its classification using the "quiet" parts of the object.

Key Results

The RIB method achieved new state-of-the-art (SOTA) results for WSSS using image-level labels on industry-standard benchmarks:

  • PASCAL VOC 2012: Achieved an mIoU of 68.3% on the validation set and 68.6% on the test set, outperforming previous leaders like CONTA and SEAM.
  • MS COCO 2014: Reached an mIoU of 43.8%, a significant improvement over the baseline IRN (41.4%).
Qualitative comparison showing standard CAMs versus the proposed RIB process, which successfully expands activations to cover the entire object.
  • Qualitative Improvement: Visualizations clearly show that while standard CAMs might only highlight a bird's head or a cat's face, RIB-generated CAMs successfully expand over iterations to cover the entire body, leading to much more accurate pseudo-ground truths for the final segmentation model.

Limitations and Future Work

  • Saliency Trade-offs: The authors note that while using "salient object masks" (a common trick in WSSS) improves boundaries, it can cause the model to ignore non-salient objects (like a sofa in the background). RIB helps find these objects, but the boundary precision isn't always perfect without saliency.
  • Spurious Correlations: Like all WSSS methods, RIB can still be fooled by "co-occurrence." If boats always appear on water, the model might still struggle to separate the boat pixels from the water pixels.
  • Future Direction: The authors suggest future work should focus on simultaneously identifying precise boundaries while ensuring non-salient objects aren't left behind.

Summary updated

BibTeX
@inproceedings{lee2021reducing,
  author = {Jungbeom Lee and Jooyoung Choi and Jisoo Mok and Sungroh Yoon},
  title = {{Reducing Information Bottleneck for Weakly Supervised Semantic Segmentation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=MYs3AVBLeY8},
}
Figure