When a network learns to segment objects from image-level tags alone ("this photo contains a bird"), its activation maps light up the beak and miss the wings. Recent methods try to fix this by describing each class with several "part prototypes," which are reference feature vectors that each stand for one region of an object, such as head, torso or legs. Every pixel similar to some part is then claimed for the object. Self-supervised learning has found that sets of prototypes tend to quietly merge: in one study only about 10% of prototypes stayed distinct under standard joint training. Nobody has checked whether the part prototypes in weakly supervised segmentation suffer the same fate. If they do, the multi-part machinery is mostly describing the beak several times over.
This note proposes to measure part-prototype collapse directly during weakly supervised training and to separate two possible causes. The first is optimization collapse: prototypes are trained by backpropagation together with the encoder, which rewards them for merging. The second is seed-set collapse: prototypes are fit only to the high-confidence pixels of the activation map, which already cover only the discriminative part, so even perfectly separated prototypes can only span the hotspot. These two causes call for different fixes. We build a method that addresses both, and use a factorial ablation to find out which one matters.
Core Claim
Our hypothesis is that in multi-prototype weakly supervised semantic segmentation, the main limit on how much of an object gets covered is where the prototypes are allowed to look, rather than how many prototypes there are. Fitting a per-class mixture of directional (unit-sphere) part prototypes by online expectation-maximization should recover more of the object. This fit sits outside the gradient graph, and its responsibilities are computed over all pixels of images tagged with the class, softly weighted by the activation map rather than hard-thresholded. Pixels would then be assigned to parts through a partial transport step with an explicit "unassigned" bin. This combination should give more distinct parts, larger ground-truth coverage, and better pseudo-masks than the jointly trained, seed-thresholded prototypes used today. The claim is falsifiable at the level of mechanism. If decoupling helps while widening the seed set does not, or the reverse, we learn which cause is real.
Research Program
The motivating evidence comes from two places. Why Prototypes Collapse shows that in prototypical self-supervised learning, joint encoder–prototype optimization causes prototypes to merge within the first few epochs. With full decoupling, where the encoder trains with prototypes frozen and the prototypes are updated by an online Gaussian mixture, uniqueness stays at 100% instead of roughly 10%. That work was done on global image embeddings, not dense feature maps. On the localization side, POT partitions high-confidence CAM pixels into $K$ clusters per class and assigns all pixels to them by similarity-aware optimal transport. A class activation map (CAM) is the per-pixel class score map read off a classifier. POT argues that a single prototype fails when an object's appearance is "sparse and dispersed." Pixel-to-Prototype Contrast uses one prototype per class built from confident pixels. SIPE builds image-specific prototypes from CAM-derived seeds. All three draw their prototypes from the confident region of the activation map, and the first two update them jointly with the backbone. That makes them candidates for both causes of collapse, and none of them reports prototype distinctness or the part coverage of ground-truth masks.
The first deliverable is a diagnostic. We re-implement a POT-style pipeline on frozen CLIP-ES initial maps and log three quantities at each epoch, using ground-truth masks for analysis only. Prototype uniqueness is the fraction of per-class prototype pairs whose cosine similarity is below a fixed threshold. Effective part count is the exponential of the entropy of transported mass across a class's parts. Part coverage is the fraction of ground-truth object pixels whose nearest part prototype lies within the assignment radius. We also break coverage down by "discriminative" versus "non-discriminative" ground-truth pixels, split by the initial CAM score. This tells us whether extra prototypes reach the wings or just re-describe the beak.
The second deliverable is the method. For each class $c$ we keep $K$ unit-norm part prototypes $\mu_{c,k}$ with concentrations $\kappa_{c,k}$. This is a von Mises–Fisher mixture, which fits normalized features better than the Gaussian assumption that the decoupling paper flags as a limitation. The prototypes are updated by online expectation-maximization with responsibility-based forgetting, and no gradient flows into them. The responsibility of pixel $i$ for part $k$ is weighted by $s_i^{\gamma}$, where $s_i \in [0,1]$ is the CAM score and $\gamma$ controls how much the activation map dominates. In place of a hard threshold, every pixel in a tagged image contributes in proportion to its score. Assignment uses a partial transport problem borrowed from P²OT:
$$ \min_{P \ge 0}\ \langle P, C\rangle - \epsilon H(P)\quad \text{s.t.}\quad P\mathbf{1} \le a,\ \ \mathbf{1}^\top P\mathbf{1} = \rho, $$
The terms are defined as follows. $P$ is the transport plan from pixels to the $K$ parts of the tagged classes plus one rejection bin. $C$ holds one minus cosine similarities. $a$ is the per-pixel mass. $\epsilon$ is the entropic smoothing weight. $\rho \in (0,1]$ is the total mass routed to object parts, ramped up during training. We impose no uniform size constraint on parts, because parts genuinely differ in size, and P²OT replaces such constraints with a soft KL term for this reason. The encoder is trained only on a cross-view consistency loss between each pixel's transported part assignment and the prediction from an augmented view, with the prototypes frozen during that step. Refined maps become pseudo-masks for a standard second-stage segmenter. We do not claim to solve co-occurring context such as railway tracks with trains. The rejection bin can absorb low-similarity clutter, but nothing in the file suggests it will separate context that always appears with the object, and we report those classes separately.
Baselines
The naive reference point is the CLIP-ES initial activation map, thresholded into pseudo-masks and passed through the same second-stage segmenter. POT reports improving on these maps by "over 4%", so this anchors how much any prototype method adds.
The strongest prototype-based competitor is POT, which reports 76.1% validation mIoU on PASCAL VOC 2012 and 47.9% on MS COCO 2014 (mIoU is mean intersection-over-union between predicted and true masks). It is the closest existing method: it already uses several prototypes per class and transports all pixels to them. Its absolute seed mIoU is not in the file; no reported result was found on Lacuna for POT's pseudo-mask mIoU beyond the relative "over 4%". The highest number in the file on this question belongs to OTPL, which links ViT class tokens to patch tokens by transport with CAM marginals and reports 76.4% validation and 76.8% test mIoU on VOC 2012 with CLIP-ES, and 47.6% on COCO. We also include the single-prototype contrastive method of Pixel-to-Prototype Contrast, which reports raising seed mIoU from 55.4% to 61.5% on SEAM, and SIPE, which reports a 58.6% seed mIoU. These two are older and run on different backbones, so we re-run them on CLIP-ES features to remove the backbone confound.
For fairness, every method starts from the same frozen CLIP-ES maps and backbone and the same second-stage segmenter and schedule. Each gets an equal tuning budget of twelve configurations over its own key hyperparameters, selected on a held-out split of VOC train. We report means over three seeds. Beating POT means a seed-mIoU gain beyond seed variance and at least matching its final validation mIoU under this matched protocol. Matching OTPL's published 76.4% is the external bar.
The ablation that isolates the key ingredient is a two-by-two design. One factor is the prototype update rule: joint backpropagation versus decoupled online expectation-maximization. The other is the seed set: thresholded confident pixels versus CAM-weighted all-pixel responsibilities. Partial mass and the choice between von Mises–Fisher and Gaussian mixtures are tested as single additions on the best cell.
Why not just…?
Why not just raise $K$ in POT? Adding prototypes is the cheapest move, and the decoupling paper notes that self-supervised methods use banks of 65,000+ prototypes partly to mask collapse. If prototypes are fit only to hotspot pixels, extra ones would subdivide the hotspot rather than reach new parts. Our diagnostic tests this directly by plotting part coverage of non-discriminative ground-truth pixels against $K$ for joint POT-style training. A flat curve rules this alternative out. A rising curve that matches our method would mean our contribution is unnecessary, and we would report that.
Why not just recompute prototypes by k-means or an exponential moving average each step? Either option is already decoupled from the gradient, and it is a real threat to the expectation-maximization component specifically. The factorial ablation includes k-means and moving-average variants in the decoupled row. If they match online expectation-maximization, the honest conclusion is that "no gradient into prototypes" is what matters, and the mixture model adds nothing. The seed-set factor would still be tested independently.
Why not just lower the CAM threshold? This is the simplest way to widen the seed set, and it is the main threat to the soft-weighting idea. A lower threshold admits background pixels as heavily as object pixels, while soft weighting by $s_i^{\gamma}$ discounts them smoothly. We sweep thresholds for the thresholded arm with the same tuning budget. If the best threshold matches the soft-weighted arm, we drop soft weighting and keep the simpler rule.
Why not just use token-level transport as in OTPL? OTPL attacks a related gap between class tokens and patch tokens, and it holds the best number in the file. It still relies on CAM scores as transport marginals, and it says nothing about whether multiple parts stay distinct. We treat it as the bar for final mIoU, and we test whether our part prototypes add on top of it by plugging refined maps into OTPL's pipeline.
Proposed Experiments
The main evaluation is on PASCAL VOC 2012 with SBD augmentation (seed mIoU on train, final mIoU on val and test) and on MS COCO 2014 (val mIoU). We report per-class IoU, with special attention to person, a category where articulated pose breaks weakly supervised methods; MELM reports 2.0% person AP in detection. We also report train and boat, which are classes dominated by co-occurring context.
The decisive check comes from the diagnostic curves together with the factorial ablation. The hypothesis survives only if three things hold. First, joint, thresholded training shows uniqueness or coverage falling over epochs. Second, at least one of the two fixes recovers coverage of non-discriminative pixels. Third, coverage gains translate into seed-mIoU gains. If uniqueness stays high under joint training, optimization collapse does not occur in this dense setting, which would be a useful negative result and would narrow the claim to the seed set. A secondary transfer check converts refined maps into boxes on CUB-200-2011 and compares against WEND, which reports 83.77% Top-1 localization accuracy. This tests whether better part coverage carries over to fine-grained bird localization, where wings and tails are exactly what activation maps miss.
References
- Why Prototypes Collapse: Diagnosing and Preventing Partial Collapse in Prototypical Self-Supervised Learning
- POT: Prototypical Optimal Transport for Weakly Supervised Semantic Segmentation
- Weakly Supervised Semantic Segmentation by Pixel-to-Prototype Contrast
- Self-supervised Image-specific Prototype Exploration for Weakly Supervised Semantic Segmentation
- P$^2$OT: Progressive Partial Optimal Transport for Deep Imbalanced Clustering
- Class Token as Proxy: Optimal Transport-assisted Proxy Learning for Weakly Supervised Semantic Segmentation
- Min-Entropy Latent Model for Weakly Supervised Object Detection
- Rethinking the Localization in Weakly Supervised Object Localization