← Latest papers
🤖 machine learning

On the Impact of Class Imbalance on the Learning Dynamics of Deep Neural Networks:An Intuitive Insight

This study systematically investigates how class imbalance disrupts the learning dynamics of deep neural networks, revealing that while models eventually learn minority samples, they do so through an early phase of underfitting followed by overfitting that yields non-generalizable representations.

Original authors: Ismail B. Mustapha, Shafaatunnur Hasan, Sunday O. Olatunji, Hatem S. Y. Nabus

Published 2026-05-26
📖 4 min read☕ Coffee break read

Original authors: Ismail B. Mustapha, Shafaatunnur Hasan, Sunday O. Olatunji, Hatem S. Y. Nabus

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

The Big Picture: The "Unfair Classroom"

Imagine a teacher (the Deep Neural Network) trying to learn two subjects: Math (the Majority Class) and Art (the Minority Class).

In a normal, balanced classroom, there are 50 students studying Math and 50 studying Art. The teacher learns both subjects equally well because there is plenty of practice material for both.

But in an imbalanced classroom, there are 99 students studying Math and only 1 student studying Art. This paper investigates what happens to the teacher's learning process in this unfair scenario.

What the Researchers Found

1. The "Ignore and Memorize" Phase

When the teacher starts the course with the imbalanced class, something strange happens:

  • Early on: The teacher completely ignores the Art student. They focus 100% on the Math students because there are so many of them. In fact, for the first few days of class, the teacher gets a perfect score on Math but a zero on Art. They haven't even tried to learn Art yet; they are just guessing "Math" for everyone.
  • Later on: Eventually, the teacher realizes, "Oh, I need to learn Art too." Because the teacher is very smart (the model is "overparameterized"), they can eventually memorize that one Art student perfectly.

The Catch: While the teacher can memorize the training Art student perfectly, they fail to understand the concept of Art. When a new Art student arrives for the final exam (the Test Phase), the teacher fails them. The teacher didn't learn the general rules of Art; they just memorized the specific details of the one student they saw in class to keep their overall grade high.

2. The "Majority Rules" Score

The paper explains that the teacher's overall grade (the Loss Function) is mostly determined by the Math students.

  • Imagine the teacher's report card is an average of all students. If 99 students get an A, the teacher gets an A, even if the one Art student gets an F.
  • Because the teacher wants to keep that overall "A" grade, they prioritize the Math students. They only learn the Art student just enough to stop the grade from dropping, but not enough to truly understand the subject.

3. When Does It Work? (The "Clear View" Exception)

The researchers found that this problem isn't always bad. It depends on how similar the two subjects are.

  • The "Foggy Room" (Overlapping Classes): If Math and Art look very similar (like a blurry photo where it's hard to tell if it's a number or a drawing), the teacher gets confused. They stick to the majority (Math) and ignore the minority (Art).
  • The "Clear Room" (Well-Separated Classes): If Math and Art are completely different (like comparing a car to a banana), the teacher can learn both perfectly, even if there is only one Art student. The distinct difference makes it easy to spot the minority class without needing many examples.

4. The "Copy-Paste" Fix (Oversampling)

The researchers tried a common fix: Random Oversampling. This is like taking the one Art student and making 99 copies of them so the teacher has 100 Art students to study.

  • The Result: It helped a little bit. The teacher got better at recognizing Art.
  • The Downside: It wasn't a perfect fix. The teacher got slightly worse at Math because they were distracted by the copies. Also, for very extreme cases (where the imbalance is huge), the teacher still struggled to generalize the Art concept to new students.

The Main Takeaway

The paper concludes that Deep Neural Networks are powerful enough to eventually memorize the minority class, but they do it in a lazy, unfair way.

  1. They learn the majority class first and perfectly.
  2. They ignore the minority class until the very end.
  3. When they finally learn the minority class, they just "memorize" the specific examples to lower the training error, rather than learning the general rules.
  4. This leads to a model that looks great on paper (low training loss) but fails in the real world when it meets new, unseen minority examples.

In short: The model doesn't fail because it's too weak; it fails because it learns the "easy" majority first and then forces itself to memorize the "hard" minority just to look good, resulting in a lack of true understanding.

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 →