← Latest papers
🤖 machine learning

Class-Grouped Normalized Momentum and Faster Hyperparameter Exploration to Tackle Class Imbalance in Federated Learning

This paper introduces FedCGNM, a novel client-side optimizer that utilizes class-grouped normalized momentum to address gradient imbalance in federated learning, alongside FedHOO, an efficient X-armed-bandit algorithm for optimizing resampling rates, both of which demonstrate superior performance on long-tailed datasets compared to existing baselines.

Original authors: Haemin Park, Diego Klabjan, Martin W. Braun, Xiuqi Li, Balakrishnan Ananthanarayanan

Published 2026-07-03
📖 5 min read🧠 Deep dive

Original authors: Haemin Park, Diego Klabjan, Martin W. Braun, Xiuqi Li, Balakrishnan Ananthanarayanan

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 trying to teach a group of students (called "clients") to recognize different types of objects, but there's a big problem: some objects are very common (like "dogs"), while others are extremely rare (like "three-legged chihuahuas"). In the world of machine learning, this is called class imbalance.

In a normal classroom, the teacher can see all the students' work at once and adjust the lesson plan. But in Federated Learning, the students are in different rooms, and the teacher (the "server") can't see their private data or their specific mistakes. The teacher only gets a summary of what each student learned. Because the rare objects appear so rarely in each student's room, the teacher often ignores them, and the students get terrible at recognizing them.

This paper proposes two new tools to fix this: FedCGNM (a smarter way for students to learn) and FedHOO (a smarter way for the teacher to assign homework).

1. The Problem with Current Methods

Usually, when a student sees a rare object, they get a very weak, noisy signal about how to fix their mistake. If the teacher tries to fix this by simply shouting "Pay attention to the rare ones!" (a technique called reweighting), it often backfires. The signal is so noisy that the student gets confused and starts making wild guesses.

Another method tries to treat every single object type equally by giving every object's "lesson plan" the same volume. But if you have 100 types of objects, and you shout 100 different lessons at the same volume, the noise adds up, and the student still gets overwhelmed.

2. The Solution: FedCGNM (The "Group Captain" Strategy)

The authors propose a new way for students to process their lessons, called FedCGNM.

  • Grouping the Classes: Instead of treating every single object type as its own separate lesson, the students group similar objects together. Imagine sorting 100 types of animals into just two groups: "Common Animals" (dogs, cats) and "Rare Animals" (three-legged chihuahuas, albino tigers).
  • The "Momentum" Captain: For each group, the student keeps a "momentum" captain. Think of momentum like a heavy shopping cart. If you push it a little bit, it keeps rolling. If the student sees a rare animal, the "Rare Animal Captain" doesn't just react to that one instance; it remembers the trend of all the rare animals seen so far. This smooths out the noise.
  • Equalizing the Volume: The system forces the "Common Captain" and the "Rare Captain" to speak at the exact same volume (unit length). This ensures that the rare animals get just as much attention as the common ones, without the noise of the rare ones drowning out the signal.
  • The Result: The student learns to recognize the rare objects much better without getting confused by the noise.

3. The Solution: FedHOO (The "Smart Homework" Finder)

Even with a better learning method, the teacher needs to know how much extra practice to give the students. Should the students look at rare animals 10% of the time, or 50%? Finding the perfect number is like trying to find a needle in a haystack, especially when you have many students with different needs.

Usually, teachers would have to try every possible combination of homework assignments, which takes forever.

FedHOO is a clever shortcut:

  • The Parallel Trick: The teacher asks each student to do two different homework assignments at the same time (one with a low practice rate, one with a high practice rate).
  • The Magic Mix: Because the students are working in parallel, the teacher can mathematically "mix and match" the results of these two assignments to figure out how every possible combination of homework rates would have worked.
  • The Benefit: Instead of needing 100 rounds of testing to find the perfect homework rate, the teacher can find it in just a few rounds. This is especially helpful when there are only a few students (a "small-scale" federation), like in a specific factory or a small company.

4. Does it Work?

The authors tested this on four public datasets (like images of cars and clothes) and one real-world industrial dataset (detecting defects on computer chips).

  • The Chip Defect Test: In a real factory, only 1.7% of chips have defects. Standard methods struggled to find these defects. The new method (FedCGNM) found them much better. When they added the smart homework finder (FedHOO), the results got even better.
  • The Benchmarks: On standard tests, their method consistently beat other top methods, sometimes improving accuracy by nearly 30%.

Summary

Think of this paper as a new way to run a classroom where some topics are very rare.

  1. FedCGNM tells the students to stop worrying about every single rare fact individually and instead group them into "rare" and "common" teams, using a steady, smooth memory to learn from them.
  2. FedHOO helps the teacher quickly figure out exactly how much extra practice the students need for those rare facts, without wasting time guessing.

Together, they make the learning process faster, more stable, and much better at spotting the rare things that usually get ignored.

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 →