Decoupling Representation and Classifier for Long-Tailed Recognition
Links
- arXiv:1910.09217. Code: facebookresearch/classifier-balancing. Overview: class imbalance.
In one paragraph
Two stages. Stage 1: learn the backbone with ordinary instance-balanced sampling. Stage 2: keep it frozen and rebalance only the linear classifier, in one of three ways: cRT (re-train the classifier with class-balanced sampling), τ-normalisation (replace the class weight w_j by w_j/\lVert w_j\rVert^{\tau}, \tau\in[0,1]) or learnable weight scaling. The observation behind it: head classes end up with larger weight norms \lVert w_j\rVert, which inflates their logits; \tau-normalisation removes exactly that size effect and has one parameter.
Questions and doubts
- τ-normalisation works only if logit magnitude is the main bias; a bias term or a feature-norm effect would not be removed by it. Menon 2021 corrects by a \log\pi_j offset instead and explains why the right correction is additive in the logit.
- “Imbalance does not hurt representations” is shown on these benchmarks with instance-balanced sampling as the winner; it is not a statement about very extreme ratios, and Fang 2021 predicts the features themselves degrade then.
- \tau is chosen on validation data from the long-tailed distribution.
- Written from the abstract and method summary, not a full reading.
Takeaways
- Imbalance shows up most in the classifier’s weight norms; fixing only the last layer recovers most of the loss.
- A clean baseline to compare any new loss against.