Redesigning the classification layer by randomizing the class representation vectors
Not on the map. Why?
Abstract (arXiv)
Neural image classification models typically consist of two components. The first is an image encoder, which is responsible for encoding a given raw image into a representative vector. The second is the classification component, which is often implemented by projecting the representative vector onto target class vectors. The target class vectors, along with the rest of the model parameters, are estimated so as to minimize the loss function. In this paper, we analyze how simple design choices for the classification layer affect the learning dynamics. We show that the standard cross-entropy training implicitly captures visual similarities between different classes, which might deteriorate accuracy or even prevents some models from converging. We propose to draw the class vectors randomly and set them as fixed during training, thus invalidating the visual similarities encoded in these vectors. We analyze the effects of keeping the class vectors fixed and show that it can increase the inter-class separability, intra-class compactness, and the overall model accuracy, while maintaining the robustness to image corruptions and the generalization of the learned concepts.
Key facts. Cited by 2 papers in the map (data through 13 Oct 2026). First posted on arXiv 16 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 1.
2 papers.
- 2023Factorizers for Distributed Sparse Block Codes24 Mar 2023
- 2022A Baseline for Detecting Out-of-Distribution Examples in Image Captioning12 Jul 2022