A Simple Episodic Linear Probe Improves Visual Recognition in the Wild

CVPR 2022  ·  Yuanzhi Liang, Linchao Zhu, Xiaohan Wang, Yi Yang ·

Understanding network generalization and feature discrimination is an open research problem in visual recognition. Many studies have been conducted to assess the quality of feature representations. One of the simple strategies is to utilize a linear probing classifier to quantitatively evaluate the class accuracy under the obtained features. The typical linear probe is only applied as a proxy at the inference time, but its efficacy in measuring features' suitability for linear classification is largely neglected in training. In this paper, we propose an episodic linear probing (ELP) classifier to reflect the generalization of visual representations in an online manner. ELP is trained with detached features from the network and re-initialized episodically. It demonstrates the discriminability of the visual representations in training. Then, an ELP-suitable Regularization term (ELP-SR) is introduced to reflect the distances of probability distributions between ELP classifier and the main classifier. ELP-SR leverages a re-scaling factor to regularize each sample in training, which modulates the loss function adaptively and encourages the features to be discriminative and generalized. We observe significant improvements in three real-world visual recognition tasks, including fine-grained visual classification, long-tailed visual recognition, and generic object recognition. The performance gains show the effectiveness of our method in improving network generalization and feature discrimination.

PDF Abstract
Task Dataset Model Metric Name Metric Value Global Rank Benchmark
Long-tail Learning CIFAR-100-LT (ρ=10) ELP Error Rate 40.9 # 26
Long-tail Learning CIFAR-100-LT (ρ=100) ELP Error Rate 57.6 # 58
Long-tail Learning CIFAR-10-LT (ρ=10) ELP Error Rate 11.3 # 32
Long-tail Learning CIFAR-10-LT (ρ=100) ELP Error Rate 22 # 23
Fine-Grained Image Classification CUB-200-2011 ELP Accuracy 88.8 # 13
Fine-Grained Image Classification FGVC Aircraft ELP Accuracy 92.7 # 34
Image Classification ImageNet ELP (naive ResNet50) Top 1 Accuracy 76.13 # 854
Fine-Grained Image Classification Stanford Cars ELP Accuracy 94.2 # 45

Methods


No methods listed for this paper. Add relevant methods here