SOTAVerified

Deep Nets with Subsampling Layers Unwittingly Discard Useful Activations at Test-Time

2024-10-01Code Available0· sign in to hype

Chiao-An Yang, Ziwei Liu, Raymond A. Yeh

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Subsampling layers play a crucial role in deep nets by discarding a portion of an activation map to reduce its spatial dimensions. This encourages the deep net to learn higher-level representations. Contrary to this motivation, we hypothesize that the discarded activations are useful and can be incorporated on the fly to improve models' prediction. To validate our hypothesis, we propose a search and aggregate method to find useful activation maps to be used at test time. We applied our approach to the task of image classification and semantic segmentation. Extensive experiments over nine different architectures on multiple datasets show that our method consistently improves model test-time performance, complementing existing test-time augmentation techniques. Our code is available at https://github.com/ca-joe-yang/discard-in-subsampling.

Tasks

Reproductions