Global Pooling, More than Meets the Eye: Position Information is Encoded Channel-Wise in CNNs
Md. Amirul Islam, Matthew Kowal, Sen Jia, Konstantinos G. Derpanis, Neil D. B. Bruce
Abstract
In this paper, we challenge the common assumption that collapsing the spatial dimensions of a 3D (spatial-channel) tensor in a convolutional neural network (CNN) into a vector via global pooling removes all spatial information. Specifically, we demonstrate that positional information is encoded based on the ordering of the channel dimensions, while semantic information is largely not. Following this demonstration, we show the real world impact of these findings by applying them to two applications. First, we propose a simple yet effective data augmentation strategy and loss function which improves the translation invariance of a CNN's output. Second, we propose a method to efficiently determine which channels in the latent representation are responsible for (i) encoding overall position information or (ii) region-specific positions. We first show that semantic segmentation has a significant reliance on the overall position channels to make predictions. We then show for the first time that it is possible to perform a 'region-specific' attack, and degrade a network's performance in a particular part of the input. We believe our findings and demonstrated applications will benefit research areas concerned with understanding the characteristics of CNNs. Code is available at: https://github.com/islamamirul/PermuteNet .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e792aee1-a3e9-4af4-b253-df816f4d25e2Cited by top-tier papers4
- Flamingo: a Visual Language Model for Few-Shot LearningJean-Baptiste Alayrac, Jeff Donahue, Pauline Luc, Antoine Miech et al.NeurIPS 2022 · 6,707 citations
- MSI: Maximize Support-Set Information for Few-Shot SegmentationSeonghyeon Moon, Samuel S. Sohn, Honglu Zhou, Sejong Yoon et al.ICCV 2023 · 34 citations
- A Dynamic GCN with Cross-Representation Distillation for Event-Based LearningYongjian Deng, Hao Chen, Youfu LiAAAI 2024 · 12 citations
- SSHPool: The Separated Subgraph-based Hierarchical PoolingZhuo Xu, Lu Bai, Lixin Cui, Ming Li et al.AAAI 2026 · 1 citation
Builds on5
- How much Position Information Do Convolutional Neural Networks Encode?Md. Amirul Islam, Sen Jia, Neil D. B. BruceICLR 2020 · 392 citations
- Shape or Texture: Understanding Discriminative Features in CNNsMd. Amirul Islam, Matthew Kowal, Patrick Esser, Sen Jia et al.ICLR 2021 · 86 citations
- Mind the Pad - CNNs Can Develop Blind SpotsBilal Alsallakh, Narine Kokhlikyan, Vivek Miglani, Jun Yuan et al.ICLR 2021 · 32 citations
- On Translation Invariance in CNNs: Convolutional Layers Can Exploit Absolute Spatial LocationOsman Semih Kayhan, Jan C. van GemertCVPR 2020
- Positional Encoding As Spatial Inductive Bias in GANsRui Xu, Xintao Wang, Kai Chen, Bolei Zhou et al.CVPR 2021
Related papers
- Unveiling The Mask of Position-Information Pattern Through the Mist of Image FeaturesChieh Hubert Lin, Hung-Yu Tseng, Hsin-Ying Lee, Maneesh Kumar Singh et al.ICML 2023 · 3 citations
- Learnable Dynamic Temporal Pooling for Time Series ClassificationDongha Lee, Seonghyeon Lee, Hwanjo YuAAAI 2021 · 34 citations
- Leveraging Spatial Invariance to Boost Adversarial TransferabilityZihan Zhou, Li Li, Yanli Ren, Chuan Qin et al.ICCV 2025 · 1 citation
- Information Entropy Based Feature Pooling for Convolutional Neural NetworksWeitao Wan, Jiansheng Chen, Tianpeng Li, Yiqing Huang et al.ICCV 2019 · 33 citations
- LiftPool: Bidirectional ConvNet PoolingJiaojiao Zhao, Cees G. M. SnoekICLR 2021 · 27 citations
