← Lab /AI/ML

FedLNS lowers test perplexity despite 40% malicious client manipulation

FedLNS achieves lower test perplexity than six baselines under 40% target manipulation for GPT, BERT, and LLaMA models

AI/ML arXiv 19 Aug 2026 Defense Prototype evidence Threat model

Published as “FedLNS: Leverage LayerNorm Signature Modeling to Mitigate Adversarial Manipulation in Federated LLMs”

Why it matters

FEDLNS provides a practical way to harden federated LLM training against target-manipulation attacks, improving generation reliability without extra communication cost.

Summary

FEDLNS reduces test perplexity compared to six baselines when up to 40% of clients perform target manipulation, achieving up to an 18.57% reduction in perplexity and 6.50% reduction in token-level semantic entropy across GPT, BERT, and LLaMA models. It does this by extracting compact signatures from LayerNorm parameters at the server and screening updates using a history-aware median/MAD reference combined with BIC-guided Gaussian mixture modeling, without any extra client-to-server communication. Experiments with 200 clients on public benchmarks (WikiText, Tiny Shakespeare, StackOverflow) show consistent gains under both IID and non-IID partitions. However, the authors note that the method’s statistical identifiability of malicious versus benign signatures is not guaranteed in every setting.

What they found 2

  1. FEDLNS achieves lower perplexity than all six baselines at 40% malicious client participation for all three model families under both IID and non-IID partitions.

    “At 40%, FEDLNS achieves lower perplexity than all six baselines for all three architectures under both IID and two-shard non-IID partitions.”

  2. The maximum reported improvements are 18.57% in perplexity and 6.50% in token-level semantic entropy.

    “The maximum reductions are 18.57% in perplexity and 6.50% in token-level semantic entropy.”

Caveats 4

  • The ablation does not establish that the current-round feature distribution is statistically identifiable as two components in every attacked setting.
  • Thus, our threat model excludes Sybil identities, client-ID resets, and adversaries that explicitly optimize their normalization-parameter changes to mimic benign signatures, all of which may be interesting directions for future work.
  • We consider an honest server with persistent client identifiers and server-controlled client sampling. A fixed subset containing less than half of the client population performs malicious target manipulation while otherwise following the prescribed communication protocol.
  • Waiting for every client to enter the bank can, however, be impractically slow when participation is intermittent or nonuniform.

What’s new here 4

  • Uses changes in trainable LayerNorm parameters as a compact, architecture-aware signature for each client update.
  • Performs unsupervised, history-aware screening using median/MAD statistics and BIC-selected Gaussian mixture modeling, requiring no labeled attacks or trusted server data.
  • Adds no extra communication overhead because signatures are extracted from the uploaded model parameters.
  • Demonstrates effectiveness across multiple transformer architectures (GPT, BERT, LLaMA) and data partitioning schemes.

Threat model stated by the source

Adversarymalicious client performing target manipulation (replacing correct next/masked tokens with incorrect ones)
Capabilitycan modify local supervision and optimize incorrect context-target associations while following the FL protocol
Assumesless than half of the client population is malicious; no Sybil identities or client-ID resets; adversary does not adapt normalization-parameter changes to evade detection