Abstract
This paper introduces a novel framework for Cross-category Semi-supervised Semantic Segmentation (C3S). Unlike traditional semi-supervised methods that require pixel-level masks for every target category, C3S allows a model to segment "weak" categories (those with only image-level labels) by transferring structural knowledge from "strong" categories (those with expensive pixel-level annotations). By combining a label-transfer network with an adversarial refinement process, the proposed framework achieves nearly 90% of the performance of fully supervised models while requiring significantly less manual labeling.
Introduction
Semantic segmentation—the task of assigning a category label to every single pixel in an image—is notoriously data-hungry. While massive datasets with image-level tags (e.g., "this image contains a dog") are readily available, pixel-level masks are rare and expensive to produce.
Most semi-supervised methods follow an "In-category" (I3S) approach, where a few pixel-level masks are required for every category the model intends to segment. However, this approach does not scale well to the thousands of object classes found in real-world environments. This research addresses a more realistic and challenging problem: Cross-category transfer. The goal is to enable a model to learn what a "generic object" looks like from a few well-annotated "strong" classes (like horses and airplanes) and then apply that structural knowledge to segment entirely different "weak" classes (like dogs and cats) using only basic image-level tags.
Methodology
The authors propose a two-stage architecture consisting of two primary components: the Label Transfer Network (L-Net) and the Prediction Transfer Network (P-Net).
1. L-Net (Label Transfer Network)
The L-Net is trained on strong categories to perform class-agnostic segmentation. By binarizing ground-truth labels during training, the network learns to ignore specific class identities and focus on object boundaries and spatial extents. When applied to weak categories, it produces a coarse mask. To refine this initial output, the framework utilizes Class Activation Maps (CAMs) from a pre-trained classifier to identify category-specific "seeds." A Random Walk (self-diffusion) algorithm then spreads these labels across the coarse mask to improve coverage.
2. P-Net (Prediction Transfer Network)
To transition from coarse masks to sharp, detailed boundaries, the authors employ Adversarial Learning. The segmentation network acts as a "Generator," while the P-Net acts as a "Discriminator." The P-Net is trained to distinguish between predicted masks and real ground-truth masks (both encoded by multiplying them with the original image). This adversarial setup forces the segmentation network to produce masks that match the high-order structural patterns found in real-world objects, effectively "cleaning" the noisy output from the L-Net.
Key Results
The framework was evaluated on the PASCAL VOC 2012 and MS-COCO datasets, demonstrating remarkable transferability and performance.
- High Fidelity: On PASCAL VOC, using only 50% of categories with pixel-level labels, the model achieved 96.5% of the performance of a fully supervised baseline.
- Extreme Transfer: In a cross-dataset experiment transferring knowledge from MS-COCO to PASCAL VOC—where zero PASCAL categories had pixel labels—the model retained 89.4% of the baseline performance (56.2% mIoU).
- Outperforming SOTA: The L-Net/P-Net combination consistently outperformed existing weakly-supervised methods, such as Adversarial Erasing (AE), by significant margins (e.g., a 13.1% lead in mIoU on Split-set 1).
Discussion and Insights
A core insight of this work is that class-agnosticism is key. The structural characteristics of an object—its edges, textures, and relationship to the background—are often shared across categories. A model that understands how to segment a horse already possesses a significant advantage when attempting to segment a dog.
Furthermore, the authors found that Adversarial Refinement is superior to simple mathematical smoothing (like CRFs). The P-Net learns complex, high-level structural priors that traditional methods miss. However, the authors note that transfer works best between categories with similar appearances (e.g., different four-legged animals). Transferring knowledge between highly dissimilar categories, such as a chair and an airplane, remains a significant challenge for future research.
Scaling this framework to larger datasets like ImageNet could potentially allow for the automatic generation of pixel-level masks for thousands of categories that currently only possess image-level tags, drastically reducing the cost of building high-quality segmentation models.
Summary updated