← Lab /AI/ML

LLM-driven aggregation improves federated learning accuracy by ~1% over FedAvg

Using an LLM to select aggregation rules yields higher model accuracy than standard FedAvg

AI/ML arXiv 5 Nov 2026 Method Prototype evidence

Published as “FedReason: Large Language Models as Weight-Space Meta-Aggregators for Heterogeneous Federated Learning”

Why it matters

FedReason shows that LLM-driven, weight-space meta-aggregation can yield modest accuracy gains in heterogeneous FL settings with minimal server cost, suggesting a low-overhead path to more adaptable aggregation without changing client code.

Summary

FedReason improves over FedAvg by about 1.26 percentage points on average under label skew and is the strongest server-only aggregation rule on CIFAR-100, but it does not surpass SCAFFOLD or FLTrust under attack and its gains vanish without a proxy set (accuracy drops to 38.8%). The evidence comes from 168 runs on CIFAR-10/100 with 10 clients, showing modest but consistent improvements at a cost of roughly $0.79 per 60-round run.

What they found 2

  1. FedReason outperforms FedAvg on all label-skew settings, with gains ranging from 0.43 to 2.31 pp.

    “FedReason was more accurate than FedAvg in all four settings (Table 2), by 0.81 pp on CIFAR-10 with α = 0.1, 0.43 pp with α = 0.5, 2.31 pp on CIFAR-100 with α = 0.1 and 1.48 pp with α = 0.5.”

  2. FedReason almost completely excludes sign-flipping Byzantine clients from the first round.

    “FedReason gave the sign-flipping clients 0.43% of the aggregate on average and excluded all three from round 1 in both seeds, without excluding any honest client (F1 of 1.00;”

Caveats 7

  • FedReason does not beat SCAFFOLD (it trails by 1.24 pp on average).
  • Under Byzantine attacks FedReason is about 1 pp below FLTrust.
  • When proxy feedback is removed, accuracy collapses to 38.8%.
  • FedReason did not beat SCAFFOLD, did not beat FLTrust under attack, and was worse than HeteroFL on CIFAR-10 sub-models because of one wrong inference.
  • Our experiments contain no change of regime during training, since the partitions are fixed and the attackers act from the first round, so the motivation that a program can follow a changing situation remains untested.
  • A biased, mislabelled or class-imbalanced proxy set could mislead all three, and we did not study this.
  • The method needs individual updates and so cannot be combined with secure aggregation.

What’s new here 4

  • The server uses an LLM to inspect raw client weight tensors via a sandbox and writes a custom aggregation program.
  • Aggregation programs are updated only every T rounds (T=10) and can incorporate clipping, exclusion, class-aware weighting, and server momentum.
  • No server-side model training is performed; the LLM only uses a small labelled proxy set for forward evaluations.
  • A fallback to FedAvg is automatically applied if the LLM-generated program produces invalid output.