TL;DR
In Federated Learning, simply averaging model updates from devices with wildly different data creates a mathematical tug-of-war—improving the model for the majority while actively breaking it for minority users. CRAFT replaces naive averaging with a lightweight geometric projection that nudges the global update just enough so it points in a helpful direction for every participating client. The result is a shared model that learns faster, reaches higher overall accuracy, and stops leaving outlier users behind.
What Problem Does This Paper Address?
Federated Learning (FL) lets decentralized devices—like phones or hospitals—collaboratively train a shared model without ever uploading their raw, private data. Instead, each client trains locally and sends its parameter updates to a central server.
The standard playbook, FedAvg, simply takes a weighted average of those updates. That works fine when everyone’s data looks similar. In reality, data is messy and non-IID (not independent and identically distributed)—your phone’s photo roll looks nothing like mine. Consequently, local updates often point in opposing directions.
Mathematically, if the inner product between the averaged global update and a specific client's update is negative, they are in conflict: applying the global update actually increases that client's loss. Naive averaging resolves this by letting the majority rule, yielding a model that looks decent on average but fails miserably on "tail" clients with unusual data. Previous attempts to fix gradient conflicts either relied on heuristic rules or reconstructed updates from scratch every round, throwing away valuable historical trajectory information.
Methods
Instead of averaging vectors, CRAFT (Conflict-Resolved Aggregation for Federated Training) reframes server aggregation as a geometric correction problem.
Imagine the server already has a good sense of where the model was heading—specifically, the normalized global update from the previous communication round, which serves as a reference direction. CRAFT asks: What is the smallest Euclidean tweak we can make to this reference direction so that it has a positive inner-product alignment with every single active client in this round?
Three ingredients make this practical:
- Closed-form geometry: Because deep neural networks have millions of parameters ($d$) and relatively few active clients per round ($m$), this constrained least-squares problem is heavily underdetermined. Rather than running slow iterative solvers on the server, the authors derive an exact, closed-form solution using the Moore–Penrose pseudoinverse. If the reference direction already agrees with everyone, CRAFT leaves it untouched; otherwise, it applies the minimal necessary nudge.
- Temporal anchoring: Unlike standard momentum (which blindly adds past vectors to current ones), CRAFT uses the past update purely as a geometric anchor, stabilizing training when a random sample of clients in a given round isn't representative of the whole population.
- Layer-wise adaptation: Conflicts in shallow neural network layers usually reflect shifts in input visuals, while deep-layer conflicts stem from skewed class labels. Solving one giant projection lets severe conflicts in one layer distort the whole network. CRAFT splits the model into layer groups and resolves conflicts independently for each layer—requiring zero extra communication from clients.
Datasets
No new benchmarks were introduced. The authors evaluated CRAFT on three standard image classification benchmarks partitioned to simulate severe data heterogeneity:
- FEMNIST (federated handwritten characters/digits across 1,000 clients).
- CIFAR-10 and CIFAR-100 (natural images across 100 to 1,000 clients, split using a highly non-IID Dirichlet distribution with concentration $\alpha = 0.1$, meaning clients see starkly different subsets of classes).
Key Insights and Ideas
- Fairness and accuracy aren't a zero-sum game: Usually, forcing a model to care about worst-case clients drags down peak performance. By eliminating destructive gradient interference, CRAFT lifts the bottom 10% of clients and the top 10% simultaneously.
- Memory matters in conflict resolution: Comparing CRAFT against ConFIG (a recent conflict-free method from physics-informed neural networks that lacks a historical reference) shows that reconstructing conflict-free directions from zero every round stalls on deep networks. Anchoring to the previous round's update is crucial for stability.
- Plug-and-play extensibility: Although CRAFT trains a single global model, it acts as a universal aggregation operator. Dropping CRAFT directly into Ditto (a popular personalized FL framework) in place of simple averaging immediately boosts personalized client performance without touching local training code.
Key Results
Across MLPs, CNNs, and deep ResNets (up to 110 layers), CRAFT outperforms 13 baselines spanning drift-mitigation, adaptive server optimizers, fairness objectives, and conflict-aware methods.
- Massive gains on deep, heterogeneous setups: On CIFAR-10 with ResNet-20, CRAFT reaches 80.6% mean accuracy—a 53.5% relative jump over the runner-up ConFIG (52.5%) and more than double FedAvg (35.6%), while achieving the lowest accuracy disparity (standard deviation of 0.159). On FEMNIST, it hits 70.6% vs. FedAvgM's 65.5%.
- Lifting the tail: On CIFAR-10 (ResNet-20), FedAvg leaves the worst 10% of clients at a dismal 1.5% accuracy; CRAFT brings the worst 10% up to 47.9% (a 221.5% relative gain over the second-best fairness baseline, FedLF) while hitting 100% on the best 10%.
- Deep network resilience & personalization: As networks deepen to ResNet-56 and ResNet-110 on CIFAR-100, most baselines flatline near zero accuracy, whereas CRAFT maintains fast, stable convergence (36.3% on ResNet-110 vs. FedAvg's 9.1%). Swapping CRAFT into Ditto yields average relative accuracy gains of 6.0% on CIFAR-10 and 32.0% on CIFAR-100.
Limitations and Future Work
- Simple historical memory: CRAFT relies solely on the single previous round's update as its reference direction. Using exponential moving averages across multiple rounds or conflict-adaptive references could offer smoother guidance.
- Static alignment targets: How strongly the global update aligns with each client is currently set proportional to that client's dataset size. Dynamically reweighting these targets based on local loss or training progress could push client-level fairness even further.
Summary updated