[Paper Review] Feature Incay for Representation Regularization
This paper proposes feature incay, a novel regularizer that encourages deep neural network feature vectors to grow in norm during training, improving inter-class separability and intra-class compactness. By minimizing the reciprocal of the L2 norm of features (Reciprocal Norm Loss), it boosts generalization, consistently outperforming standard softmax and large-margin softmax on MNIST, CIFAR10, and CIFAR100 with higher accuracy and larger feature norms.
Softmax loss is widely used in deep neural networks for multi-class classification, where each class is represented by a weight vector, a sample is represented as a feature vector, and the feature vector has the largest projection on the weight vector of the correct category when the model correctly classifies a sample. To ensure generalization, weight decay that shrinks the weight norm is often used as regularizer. Different from traditional learning algorithms where features are fixed and only weights are tunable, features are also tunable as representation learning in deep learning. Thus, we propose feature incay to also regularize representation learning, which favors feature vectors with large norm when the samples can be correctly classified. With the feature incay, feature vectors are further pushed away from the origin along the direction of their corresponding weight vectors, which achieves better inter-class separability. In addition, the proposed feature incay encourages intra-class compactness along the directions of weight vectors by increasing the small feature norm faster than the large ones. Empirical results on MNIST, CIFAR10 and CIFAR100 demonstrate feature incay can improve the generalization ability.
Motivation & Objective
- To address the underutilization of feature norm in standard softmax loss, which only optimizes angles and weight norms.
- To improve model generalization by explicitly regularizing feature representations, not just classifier weights.
- To propose a new inductive bias that favors large feature norms for correctly classified samples.
- To theoretically and empirically justify the importance of feature norm in representation learning.
- To demonstrate that feature incay complements existing methods like large-margin softmax and center loss.
Proposed method
- Introduces Reciprocal Norm Loss, which minimizes the inverse of the L2 norm of feature vectors to encourage larger norms.
- Applies feature incay as a regularizer alongside softmax or large-margin softmax, with a hyperparameter λ to balance the losses.
- The method increases the norm of small-norm features faster than large-norm features, promoting intra-class compactness.
- Feature incay pushes feature vectors away from the origin along their respective weight vector directions, enhancing inter-class margin.
- The loss is differentiable and compatible with standard backpropagation, enabling end-to-end training.
- The approach is general and can be combined with other regularizers like center loss or large-margin constraints.
Experimental results
Research questions
- RQ1Why does the standard softmax loss fail to optimize feature norm even for well-classified samples?
- RQ2How does increasing feature norm improve generalization in deep neural networks?
- RQ3Can a regularizer that encourages large feature norms simultaneously improve inter-class separability and intra-class compactness?
- RQ4How does feature incay compare to weight decay and other regularization techniques in representation learning?
- RQ5What is the optimal hyperparameter setting for feature incay in combination with large-margin softmax?
Key findings
- Feature incay significantly increases the average L2 norm of feature vectors on test sets, with RN+Softmax achieving 92.04% top-1 accuracy on CIFAR10 when λ=0.1.
- On CIFAR100, RN+L-Softmax achieves 29.18% error rate, a 0.37% improvement over L-Softmax (29.53%), demonstrating consistent gains.
- The method reduces test loss from 0.1498 (Softmax) to 0.1432 (RN+Softmax), indicating better generalization.
- Even with small λ values, feature incay improves L-Softmax performance, showing robustness to hyperparameter choice.
- The Reciprocal Norm Loss effectively increases small-norm features faster than large-norm ones, reducing intra-class variance.
- Empirical results show that feature incay improves generalization across all three datasets: MNIST, CIFAR10, and CIFAR100.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.