Reproduce “Scaling of Class-wise Training Losses for Post-hoc Calibration” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Seungjin Jung, Seungmo Seo, Yonghyun Jeong, Jongwon Choi

Researchers introduce Class-wise Loss Scaling, a post-hoc calibration method that synchronizes diverging class-wise training losses to improve model confidence. This approach achieves state-of-the-art calibration error reduction while preserving or enhancing accuracy, particularly on imbalanced datasets.

Key insights

  • The variance of class-wise training losses is strongly correlated with Expected Calibration Error (ECE), not just the total training loss.
  • Synchronizing class-wise training losses, rather than solely focusing on a global loss, is crucial for achieving effective model calibration.
  • Normal Distribution normalization of class-wise losses is empirically superior for estimating scaling weights due to its robustness against outliers.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.