Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Beyond the final layer: Attentive multilayer fusion for vision transformers

About

With the rise of large-scale foundation models, efficiently adapting them to downstream tasks remains a central challenge. Linear probing, which freezes the backbone and trains a lightweight head, is computationally efficient but often restricted to last-layer representations. We show that task-relevant information is distributed across the network hierarchy rather than solely encoded in any of the last layers. To leverage this distribution of information, we apply an attentive probing mechanism that dynamically fuses representations from all layers of a Vision Transformer. This mechanism learns to identify the most relevant layers for a target task and combines low-level structural cues with high-level semantic abstractions. Across 20 diverse datasets and multiple pretrained foundation models, our method achieves consistent, substantial gains over standard linear probes. Attention heatmaps further reveal that tasks different from the pre-training domain benefit most from intermediate representations. Overall, our findings underscore the value of intermediate layer information and demonstrate a principled, task aware approach for unlocking their potential in probing-based adaptation.

Laure Ciernik, Marco Morik, Lukas Thede, Luca Eyring, Shinichi Nakajima, Zeynep Akata, Lukas Muttenthaler• 2026

Related benchmarks

TaskDatasetResultRank
Image ClassificationPets--
308
Image ClassificationGTSRB--
291
Image ClassificationFlowers
Accuracy (BA)98.49
15
Image ClassificationSVHN
Balanced Accuracy83.31
8
Image ClassificationSTL-10
Balanced Acc99.33
6
Image ClassificationCIFAR-10
Balanced Accuracy97.68
6
Image ClassificationCaltech-101
Balanced Accuracy96.45
6
Image ClassificationImageNet-1K
Balanced Accuracy82.64
6
Image ClassificationCIFAR-100
Balanced Accuracy88.78
6
Image ClassificationCountry-211
Balanced Accuracy26.44
6
Showing 10 of 18 rows

Other info

Follow for update