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 on true masks, outperforms state-of-the-art approaches on every dataset and generalises to methods relying on label queries. Our ablation study shows that the gain clearly comes from the models attending to where the prior points.

Authors

Institutions

Publication Details

Journal
arXiv
Published
2026-12-03
Primary Topic
Advanced Neural Network Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Belay That Token: Free Spatial Priors for Semi-Supervised Hierarchical Multi-Label Classification

Dragi Kocev, Boshko Koloski, Dubravko R. Culibrk, Nikola Marić et al.
arXiv
Advanced Neural Network Applications
preprint

Belay That Token: Free Spatial Priors for Semi-Supervised Hierarchical Multi-Label Classification

Dragi Kocev, Boshko Koloski, Dubravko R. Culibrk, Nikola Marić, Sašo Džeroski, Marko Pavlovic, Filip Josifljević
preprint en

Abstract

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 on true masks, outperforms state-of-the-art approaches on every dataset and generalises to methods relying on label queries. Our ablation study shows that the gain clearly comes from the models attending to where the prior points.

arXiv
University of Novi Sad (RS), Jožef Stefan Institute (SI)
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon