Rethinking Global Average Pooling: Your Classifier Is Secretly a Multi-Instance Learner
Not on the map. Why?
Abstract (arXiv)
Modern image classifiers widely adopt global average pooling (GAP) followed by a linear classification head. This linearity ensures that the image-level logits equal the average of logits obtained by applying the classification head pointwise to the feature grid prior to GAP. Consequently, standard classifiers may inherently retain spatial class evidence that remains recoverable even when the image-level prediction is incorrect. This structure naturally suggests a multiple-instance learning (MIL) interpretation, where an image is viewed as a bag of spatial instances. Within this formulation, we demonstrate that standard classifiers trained with a single label per image can still learn the intended classification task in multi-object scenes. We further exploit this property to decompose image-level logits into a prediction grid, providing a post-hoc diagnostic to extract spatial class evidence that GAP otherwise obscures. Our systematic evaluation reveals that off-the-shelf models consistently recover the ground-truth class within foreground regions. The MIL interpretation further suggests that common classifier failures reflect known limitations of mean aggregation.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 46 of its 60 references that are in the map. First posted on arXiv 12 Jun 2026.
Builds on
46 of 60 references.
References · 46
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2022A ConvNet for the 2020scited by 3,579
34 more
- 2015Learning Deep Features for Discriminative Localizationcited by 2,436
- 2013Visualizing and Understanding Convolutional Networkscited by 2,290
- 2020Shortcut Learning in Deep Neural Networkscited by 1,969
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
- 2019Natural Adversarial Examplescited by 1,408
- 2018Attention-based Deep Multiple Instance Learningcited by 1,095
- 2023Vision Transformers Need Registerscited by 871
- 2021Going deeper with Image Transformerscited by 764
- 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 675
- 2013Network In Networkcited by 605
- 2021Extract Free Dense Labels from CLIPcited by 583
- 2020Dense Contrastive Learning for Self-Supervised Visual Pre-Trainingcited by 512
- 2022Image as a Foreign Language: BEiT Pretraining for All Vision and Vision-Language Taskscited by 511
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2020Noise or Signal: The Role of Image Backgrounds in Object Recognitioncited by 343
- 2020Are we done with ImageNet?cited by 333
- 2020Propagate Yourself: Exploring Pixel-Level Consistency for Unsupervised Visual Representation Learningcited by 297
- 2019Approximating CNNs with Bag-of-local-Features models works surprisingly well on ImageNetcited by 260
- 2016Multiple Instance Learning: A Survey of Problem Characteristics and Applicationscited by 164
- 2022Multi-class Token Transformer for Weakly Supervised Semantic Segmentationcited by 138
- 2021Re-labeling ImageNet: from Single to Multi-Labels, from Global to Localized Labelscited by 118
- 2020Evaluating Weakly Supervised Object Localization Methods Rightcited by 105
- 2021Large-scale Unsupervised Semantic Segmentationcited by 101
- 2015Constrained Convolutional Neural Networks for Weakly Supervised Segmentationcited by 100
- 2020COVID-19 Image Data Collection: Prospective Predictions Are the Futurecited by 100
- 2021Region Similarity Representation Learningcited by 96
- 2020From ImageNet to Image Classification: Contextualizing Progress on Benchmarkscited by 90
- 2021Does CLIP Benefit Visual Question Answering in the Medical Domain as Much as it Does in the General Domain?cited by 85
- 2022When does dough become a bagel? Analyzing the remaining mistakes on ImageNetcited by 61
- 2022ImageNet-X: Understanding Model Mistakes with Factor of Variation Annotationscited by 44
- 2015Classifying and Segmenting Microscopy Images Using Convolutional Multiple Instance Learningcited by 38
- 2020Building and Interpreting Deep Similarity Modelscited by 34
- 2024Key Patches Are All You Need: A Multiple Instance Learning Framework For Robust Medical Diagnosiscited by 3
- 2024LaFAM: Unsupervised Feature Attribution with Label-free Activation Mapscited by 1
Built on by
Not cited yet.