← Latest papers
🤖 machine learning

Rethinking Loss Reweighting for Imbalance Learning as an Inverse Problem: A Neural Collapse Point of View

This paper proposes a novel inverse-view loss reweighting strategy for long-tailed classification that dynamically infers class weights to achieve an ideal equal per-class loss objective inspired by Neural Collapse, thereby reducing loss imbalance and outperforming existing baselines.

Original authors: Jinping Wang, Zixin Tong, Zhiwu Xie, Zhiqiang Gao

Published 2026-05-12
📖 5 min read🧠 Deep dive

Original authors: Jinping Wang, Zixin Tong, Zhiwu Xie, Zhiqiang Gao

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a teacher trying to grade a class of students for a final exam. However, this class has a weird problem: 90% of the students are "Head Students" who have studied the same 10 chapters over and over again, while the remaining 10% are "Tail Students" who have only studied 1 or 2 chapters.

In a standard classroom (a balanced dataset), the teacher treats everyone equally. But in this long-tailed classroom, if the teacher just grades based on the total score, the "Head Students" will dominate the conversation. The teacher will naturally focus on the 90% because they show up more often, and the "Tail Students" will get ignored, even though they are just as important to the class's overall success.

In the world of Artificial Intelligence, this is called Long-Tailed Learning. The AI model gets really good at recognizing common things (like "dogs" or "cars") but terrible at recognizing rare things (like "sloths" or "specific types of beetles").

The Old Way: Guessing the Weights

To fix this, researchers have tried Loss Reweighting. Think of "Loss" as the grade the AI gets when it makes a mistake.

  • The Old Strategy: Researchers would try to guess how much to "boost" the grades of the rare students. They might say, "Okay, since the sloth students are rare, let's multiply their mistakes by 10 so the teacher pays more attention to them."
  • The Problem: These methods are mostly guesses (heuristics). They don't really know what the perfect final grade distribution should look like. They are just trying different multipliers until something works, without a clear target.

The New Idea: The "Perfect Classroom" Blueprint

This paper introduces a new way of thinking, inspired by a phenomenon called Neural Collapse.

Imagine that when a student is perfectly prepared, their knowledge becomes super organized. In the AI world, Neural Collapse is a state where the AI's brain organizes itself perfectly:

  1. All examples of "dogs" cluster tightly together.
  2. All examples of "cats" cluster tightly together.
  3. The distance between the "dog" cluster and the "cat" cluster is perfectly symmetrical.

The authors discovered a beautiful rule: In this perfectly organized state, every single class (dog, cat, sloth, beetle) should have the exact same average "grade" (loss). If the AI is truly balanced, it shouldn't be struggling more with one group than another.

The Solution: Working Backwards (The Inverse Problem)

Instead of guessing how much to boost the rare students, the authors decided to work backwards.

  1. Set the Goal: "We want the AI to reach a state where every class has the exact same average loss."
  2. The Inverse Question: "Given that we want equal losses, what specific multipliers (weights) do we need to apply right now to make that happen?"

They treated this like a math puzzle (an inverse problem). Instead of saying, "I think we need a weight of 5," they solved the equation: "To get an equal loss, the weight must be X."

They found a simple, closed-form formula (a direct mathematical recipe) to calculate exactly what weight each class needs at every step of the training.

The Two-Part Strategy

The paper proposes a two-step "teacher" strategy to make this work:

  1. The Micro-Adjustment (Batch-wise): Every time the AI looks at a small group of students (a "mini-batch"), it calculates exactly how much to boost the rare ones in that specific group to balance the immediate grades. It's like a teacher instantly adjusting the difficulty of a quiz based on who is in the room today.
  2. The Macro-Adjustment (Frequency): Sometimes, the "Tail Students" (rare classes) just don't show up often enough in these small groups. Even if you boost them when they do show up, they still get less practice time overall. So, the authors add a second layer: they track how often each class appears. If a class is rare, they give it a permanent "bonus" to compensate for the fact that it appears less often.

The Results

When they tested this "Inverse Reweighting" method:

  • Better Balance: The AI stopped ignoring the rare classes. The "grades" (losses) for common and rare classes became much more equal.
  • Perfect Geometry: The AI's internal brain structure looked more like the "perfectly organized" Neural Collapse blueprint.
  • Higher Scores: On standard tests (like CIFAR-100 and ImageNet), this method beat almost all other existing methods, achieving the best results (State-of-the-Art) in many cases.

Summary

Think of it like this: Old methods were like a teacher guessing, "I'll give the quiet students extra credit because they seem shy." This new method is like a teacher who says, "I know the goal is for everyone to have the same average score. Let me calculate the exact amount of help each student needs right now to make that happen, and I'll adjust it every single day."

By turning the problem into a math equation with a clear target (equal loss), the authors created a system that naturally guides the AI to a perfectly balanced state.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →