Belay That Token: Free Spatial Priors for Semi-Supervised Hierarchical Multi-Label Classification
Multi-label classifiers typically assign each class its own token or query that attends over image patches, a design meant to let each class look at its own evidence. We show that in semi-supervised training scenario, typical in hierarchical multi-label classification this does not happen: without spatial supervision, the class tokens of a vision transformer collapse onto one attention map. This collapse is not caused by the classifier head, attention sinks or token initialisation. To address this deficiency we propose to ground the tokens. A training-free open-vocabulary segmenter marks, offline and without annotation, roughly where each class appears in every training image, labeled or not, and each class token's attention is trained to follow that map. The prior is used only during training, so inference costs nothing extra, and a constraint layer keeps predictions consistent with the label hierarchy. With 10% of images labeled and on representative data sets covering both remote sensing and general-purpose imagery (UC Merced, Potsdam, FLAIR #1 and COCO-Stuff), grounding raises AUPRC over the same model without it by 1.8 to 11.2 points, recovers 67-93% of the gain of grounding…
- arXiv
- 2612.05239
- Authors
- Dubravko Ćulibrk, Nikola Marić, Filip Josifljević, Boshko Koloski, Dragi Kocev and 2 more
- Categories
- cs.CV · cs.LG