Generalised Balanced Softmax: A Finite-Data Perspective on Logit Adjustment for Long-Tailed Recognition
Yi-Hang Zhu, Rajeev Raman, Shiqi Su, Jianyuan Sun, Xinyu Yang, Nan Xing, Huiyu Zhou
Abstract
Models trained on long-tailed data using standard softmax tend to exhibit higher training error and a larger generalisation gap for classes with fewer training samples. We characterise this class-wise disparity as the preference issue and quantify it using a new metric, the model imbalance level . To understand this issue, we analyse how imbalanced training data adversely affects class-wise gradients under standard softmax training. This paper then develops a finite-data Generalised Balanced Softmax (GBS) framework for analysing and mitigating the preference issue. The framework uses the training-time logit adjustment , which is algebraically identical to the training-time logit-adjusted loss of Menon et al. (2021) when . The case also coincides with Balanced Softmax and with the unit adjustment supported by the Fisher-consistency argument under the true data distribution, corresponding to an idealised infinite-data setting. Building on this existing loss family, this paper uses a heuristic power-law assumption to motivate the adjustable coefficient and studies how affects trained models. Across the evaluated long-tailed benchmarks, does not attain the highest average testing recall on most datasets, showing that a different coefficient can be preferable when training on finite data. The selected values of reduce and improve average testing recall relative to the reference, while retaining negligible computational overhead and compatibility with existing representation-learning frameworks.
Create a lesson
Metadata
- Categories
- cs.LG, cs.CV
- Journal
- Pattern Recognition (2026), Article 114961
- Comments
- 26 pages, 8 figures. Revised author version of the CBS work published in Pattern Recognition. Title and terminology updated to Generalised Balanced Softmax (GBS); theoretical presentation and relationship to existing logit-adjustment methods clarified. Underlying loss function and reported experimental results unchanged
Related papers
From Perturbation Correction to Geometry-Aware Sampling: Sharpness-Guided Equilibrium Sampling for Balanced Flat Minima in Long-Tailed Learning
Shared title terminologycs.LGJiaxin Deng, Junbiao Pang
Spectral-Aware Analytic Class-Incremental Learning for Long-Tailed Distributions
Shared title terminologycs.LGQuyen Tran, Hai Nguyen, Quan Dao et al.
Exact Solution to Data-Driven Inverse Optimization of MILPs in Finite Time via Gradient-Based Methods
Shared title terminologycs.LGAkira Kitaoka
Deep Reinforcement Learning for Multi-UAV Data Harvesting Under Variable Team Sizes and Agent Loss
Shared title terminologycs.LGThiago de Souza Lamenza, Bruno José Olivieri de Souza, Markus Endler
When Every Rollout Fails: Splicing Learner-Conditioned Options into Long-Horizon Agent RL
Shared title terminologycs.LGHaowen Hou, Yicheng Liu, Zhen Huang et al.
When the Proxy Is Wrong: Mismatch-Corrected Bandits for Adaptive Data Sampling
Shared title terminologycs.LGAmine Saadi, Elissa Mhanna, Raphaël Féraud et al.