FedLNS: Leverage LayerNorm Signature Modeling to Mitigate Adversarial Manipulation in Federated LLMs
Organizations: Interdisciplinary Centre for Security, Reliability and Trust (SnT), University of Luxembourg · Department of Electrical and Computer Engineering, Carnegie Mellon University, Pennsylvania, United States · School of Engineering, Edith Cowan University, Perth, WA 6027, Australia · School of Electrical Engineering and Computer Science, TU Berlin, Germany
Abstract
Federated training enables language models to learn from distributed private text, but the server cannot directly verify the local supervision or optimization process that produces each client update. A malicious client can therefore train on corrupted targets, introduce incorrect context-token associations, and degrade the global model through repeated aggregation. Such degradation can also increase the risk of unreliable or hallucinatory generation. We propose Federated Learning with Normalization Signatures (FedLNS), a server-side framework for lightweight malicious-update screening. FedLNS represents each client update through changes in trainable normalization-layer parameters and screens suspicious updates against a robust, history-aware cross-client reference. Because the signatures are extracted at the server from the returned local models, FedLNS requires no additional client-to-server parameter or metadata exchange compared to standard federated learning (FL) methods. After screening, the retained full-model updates can be aggregated using standard FL or another compatible aggregation rule. FedLNS requires no raw client data, trusted server dataset, labeled attack examples, or separately trained detector. Experiments on GPT-style, BERT-style, and LLaMA-style models trained from scratch with 200 clients show that, under 40% population-level target manipulation, FedLNS achieves lower test perplexity than the strongest of six baselines for all three architectures under both IID (independently and identically distributed) and non-IID data partitions.
Figures & tables
Appendix figures & tables98 assets
Supplementary material from the paper’s appendix.
Appendix
| Bank coverage | Expected activation round | |
| Item | Value |
| Number of clients | |
| Participation rate | |
| Clients per round | |
| Communication rounds | |
| Random seeds | |
| Data partitions | IID and non-IID |
| Model family | Dataset | Tokenizer | Sequence construction | Evaluation split used for selection and reporting |
| GPT-style LM | WikiText-2 raw | gpt2 | Causal LM blocks of length | Official validation split |
| BERT-style MLM | Tiny Shakespeare | bert-base-uncased | MLM blocks of length with [CLS]/[SEP] | Final of the text |
| LLaMA-style LM | StackOverflow posts | TinyLlama/TinyLlama-1.1B-Chat-v1.0 | Causal LM blocks of length | Evaluation split defined during dataset construction |
| Model family | Training units before partitioning | IID partition | Non-IID partition |
| GPT-style LM / WikiText-2 | Causal LM token blocks of length | Shuffle all block indices and assign them round-robin to clients | Split ordered block indices into contiguous shards; assign two shuffled shards per client |
| BERT-style MLM / Tiny Shakespeare | BERT MLM blocks of length from the first of the text | Shuffle all block indices and assign them round-robin to clients | Split ordered block indices into contiguous shards; assign two shuffled shards per client |
| LLaMA-style LM / StackOverflow | Causal LM token blocks of length from up to training posts | Shuffle all block indices and assign them round-robin to clients | Split ordered block indices into contiguous shards; assign two shuffled shards per client |
| Hyperparameter | GPT-style LM | BERT-style MLM | LLaMA-style LM |
| Hidden / embedding dimension | |||
| Number of layers | |||
| Attention heads | |||
| Key-value heads | – | – | |
| Intermediate dimension | – | ||
| Context / block size |
| Setting | GPT-style LM | BERT-style MLM | LLaMA-style LM |
| Local epochs | |||
| Batch size | |||
| Learning rate | |||
| Weight decay | |||
| Train-evaluation batches | |||
| Evaluation batches |
| Item | Value |
| Attack type | Target corruption |
| Input tokens | Kept unchanged |
| Corrupted quantity | Training targets / labels |
| Corruption probability | |
| Malicious fractions in sweep | |
| Strongest main-text attack fraction |
| Method | Implementation summary |
| FedAvg | Sample-weighted average of client updates |
| Norm-Bounded FedAvg | Each update is clipped by an norm bound before FedAvg |
| Coordinate Median | Coordinate-wise median of flattened updates |
| Trimmed Mean | Coordinate-wise trimming followed by averaging |
| Multi-Krum | Distance-based update selection followed by averaging selected updates |
| FLAME | Two-cluster filtering, majority-cluster retention, norm clipping, and Gaussian noise |
| Malicious fraction | Trim fraction | Multi-Krum | Multi-Krum |
| Item | Setting |
| Signature source | Trainable normalization-layer parameters whose names contain ln or layernorm and end with weight or bias |
| Bank entry | One latest per-layer signature dictionary per client |
| Bank update timing | Before screening in the current round |
| Bank update rule | Latest replacement; EMA coefficient |
| Robust center | Coordinate-wise bank median |
| Robust scale | Coordinate-wise MAD |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 7.13 0.01 | 7.17 0.01 | 7.23 0.00 | 7.29 0.01 | 7.37 0.02 |
| Norm-Bound | 7.50 0.00 | 7.51 0.01 | 7.59 0.01 | 7.69 0.02 | 7.89 0.01 |
| Median | 7.30 0.01 | 7.27 0.01 | 7.28 0.01 | 7.30 0.01 | 7.47 0.03 |
| Trimmed | 7.12 0.01 | 7.19 0.01 | 7.25 0.01 | 7.32 0.03 | 7.43 0.01 |
| Multi-Krum | 7.12 0.01 | 7.15 0.01 | 7.19 0.00 | 7.21 0.00 | 7.28 0.02 |
| FLAME | 7.19 0.00 | 7.19 0.01 | 7.20 0.00 | 7.21 0.00 | 7.33 0.03 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 1242.91 6.58 | 1303.02 9.59 | 1373.61 1.63 | 1472.41 15.31 | 1590.56 35.51 |
| Norm-Bound | 1809.27 8.31 | 1828.13 10.69 | 1985.85 25.34 | 2196.84 33.99 | 2683.53 34.31 |
| Median | 1484.69 11.20 | 1441.44 9.33 | 1452.99 11.40 | 1477.26 17.65 | 1751.07 52.62 |
| Trimmed | 1241.55 10.08 | 1326.15 17.45 | 1411.15 15.57 | 1516.84 43.71 | 1689.16 18.00 |
| Multi-Krum | 1242.08 8.40 | 1275.34 7.09 | 1320.41 5.63 | 1356.21 6.19 | 1449.72 22.36 |
| FLAME | 1323.55 4.87 | 1328.88 7.21 | 1345.05 2.82 | 1355.34 3.27 | 1524.02 40.71 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 6.80 0.06 | 7.08 0.08 | 7.37 0.18 | 7.56 0.16 | 7.96 0.07 |
| Norm-Bound | 6.55 0.02 | 8.04 0.12 | 8.31 0.10 | 8.92 0.03 | 9.69 0.06 |
| Median | 6.89 0.04 | 7.30 0.15 | 7.27 0.14 | 7.61 0.13 | 7.55 0.19 |
| Trimmed | 6.77 0.03 | 7.30 0.18 | 7.29 0.19 | 7.47 0.13 | 7.55 0.39 |
| Multi-Krum | 6.80 0.07 | 7.14 0.24 | 7.07 0.09 | 7.03 0.11 | 7.13 0.37 |
| FLAME | 7.11 0.05 | 7.13 0.10 | 7.20 0.05 | 7.11 0.09 | 6.96 0.10 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 7.10 0.01 | 7.16 0.01 | 7.23 0.04 | 7.29 0.06 | 7.37 0.08 |
| Norm-Bound | 7.56 0.01 | 7.54 0.00 | 7.63 0.01 | 7.75 0.02 | 7.94 0.09 |
| Median | 7.21 0.00 | 7.18 0.00 | 7.26 0.02 | 7.33 0.02 | 7.51 0.03 |
| Trimmed | 7.11 0.01 | 7.17 0.01 | 7.25 0.01 | 7.38 0.03 | 7.51 0.05 |
| Multi-Krum | 7.11 0.01 | 7.18 0.00 | 7.25 0.01 | 7.30 0.00 | 7.36 0.03 |
| FLAME | 7.21 0.00 | 7.25 0.01 | 7.28 0.01 | 7.29 0.01 | 7.40 0.04 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 1211.23 6.70 | 1282.08 13.22 | 1378.40 55.98 | 1471.79 90.09 | 1595.68 132.68 |
| Norm-Bound | 1916.47 13.00 | 1886.00 3.63 | 2060.01 13.63 | 2314.33 44.03 | 2811.07 257.29 |
| Median | 1350.32 1.34 | 1309.94 6.40 | 1419.46 32.27 | 1529.64 31.03 | 1820.62 48.31 |
| Trimmed | 1225.89 8.21 | 1295.29 16.41 | 1406.67 11.55 | 1599.60 52.85 | 1819.34 98.93 |
| Multi-Krum | 1225.07 8.06 | 1311.67 5.60 | 1408.79 20.45 | 1474.93 3.80 | 1579.81 43.94 |
| FLAME | 1359.58 3.82 | 1415.19 13.32 | 1449.95 14.72 | 1467.85 14.75 | 1637.88 63.90 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 6.79 0.07 | 7.31 0.17 | 7.12 0.37 | 7.61 0.30 | 7.66 0.26 |
| Norm-Bound | 6.37 0.02 | 7.85 0.19 | 8.44 0.20 | 9.02 0.09 | 9.60 0.36 |
| Median | 6.74 0.15 | 7.31 0.34 | 7.14 0.32 | 7.52 0.10 | 7.45 0.25 |
| Trimmed | 6.75 0.15 | 7.36 0.07 | 7.27 0.07 | 7.39 0.11 | 7.72 0.28 |
| Multi-Krum | 6.79 0.17 | 7.08 0.12 | 7.07 0.45 | 7.25 0.47 | 7.18 0.46 |
| FLAME | 7.04 0.03 | 7.08 0.15 | 7.32 0.20 | 6.94 0.07 | 7.13 0.58 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 6.49 0.03 | 6.54 0.01 | 6.57 0.01 | 6.62 0.02 | 6.68 0.02 |
| Norm-Bound | 6.80 0.03 | 6.80 0.01 | 6.92 0.01 | 7.11 0.01 | 7.30 0.05 |
| Median | 6.80 0.03 | 6.82 0.01 | 6.82 0.02 | 6.80 0.03 | 6.97 0.08 |
| Trimmed | 6.49 0.03 | 6.66 0.01 | 6.72 0.02 | 6.80 0.03 | 6.97 0.07 |
| Multi-Krum | 6.49 0.03 | 6.51 0.01 | 6.52 0.01 | 6.54 0.02 | 6.59 0.02 |
| FLAME | 6.49 0.03 | 6.47 0.02 | 6.49 0.02 | 6.52 0.00 | 6.70 0.18 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 659.93 21.92 | 693.01 4.36 | 710.15 6.19 | 750.09 12.08 | 794.54 15.01 |
| Norm-Bound | 901.04 29.47 | 897.17 10.13 | 1008.61 7.00 | 1227.23 15.36 | 1477.67 70.84 |
| Median | 894.85 27.58 | 912.29 9.07 | 913.38 19.06 | 898.46 22.55 | 1066.13 91.56 |
| Trimmed | 660.99 20.10 | 779.94 9.18 | 831.19 20.60 | 900.65 26.88 | 1062.80 79.49 |
| Multi-Krum | 661.00 20.10 | 672.89 7.97 | 676.44 4.57 | 695.35 12.21 | 725.76 17.84 |
| FLAME | 658.52 18.95 | 645.26 15.47 | 657.21 10.53 | 679.98 3.26 | 818.57 157.53 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 6.26 0.18 | 6.79 0.19 | 6.95 0.07 | 7.22 0.36 | 7.37 0.33 |
| Norm-Bound | 6.31 0.03 | 7.27 0.21 | 7.65 0.07 | 8.07 0.15 | 8.54 0.16 |
| Median | 6.60 0.06 | 6.92 0.22 | 7.05 0.34 | 7.41 0.22 | 7.47 0.78 |
| Trimmed | 6.28 0.16 | 6.63 0.17 | 6.97 0.18 | 7.35 0.54 | 6.76 0.47 |
| Multi-Krum | 6.28 0.16 | 6.40 0.07 | 6.69 0.38 | 6.53 0.36 | 6.61 0.28 |
| FLAME | 6.26 0.03 | 6.26 0.11 | 6.11 0.05 | 6.15 0.10 | 6.46 0.16 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 6.36 0.03 | 6.38 0.04 | 6.51 0.10 | 6.56 0.12 | 6.59 0.11 |
| Norm-Bound | 6.83 0.01 | 6.85 0.01 | 6.95 0.01 | 7.14 0.02 | 7.34 0.02 |
| Median | 6.86 0.01 | 6.89 0.01 | 6.86 0.03 | 6.86 0.01 | 6.95 0.05 |
| Trimmed | 6.54 0.03 | 6.72 0.01 | 6.80 0.02 | 6.84 0.02 | 6.94 0.02 |
| Multi-Krum | 6.54 0.03 | 6.59 0.02 | 6.60 0.01 | 6.61 0.02 | 6.69 0.06 |
| FLAME | 6.57 0.02 | 6.56 0.03 | 6.56 0.01 | 6.57 0.01 | 6.86 0.17 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 576.49 19.76 | 588.64 24.25 | 672.55 66.84 | 708.50 88.05 | 731.73 83.15 |
| Norm-Bound | 922.98 7.18 | 941.70 9.95 | 1039.58 9.18 | 1262.16 26.29 | 1533.59 36.83 |
| Median | 950.49 10.79 | 985.58 6.47 | 949.59 26.06 | 953.32 10.76 | 1047.36 53.66 |
| Trimmed | 691.27 19.12 | 829.90 7.29 | 893.88 19.37 | 938.21 17.35 | 1033.35 24.28 |
| Multi-Krum | 691.27 19.11 | 727.43 13.60 | 732.73 10.31 | 739.83 12.52 | 804.39 53.06 |
| FLAME | 710.27 16.45 | 705.47 23.82 | 704.63 4.08 | 712.01 8.24 | 963.65 157.76 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 5.87 0.14 | 6.34 0.41 | 6.96 0.20 | 7.19 0.38 | 6.94 0.14 |
| Norm-Bound | 6.27 0.01 | 6.99 0.14 | 7.63 0.15 | 7.98 0.19 | 8.48 0.02 |
| Median | 6.59 0.06 | 7.28 0.10 | 7.20 0.36 | 7.41 0.26 | 7.20 0.59 |
| Trimmed | 6.24 0.10 | 6.61 0.15 | 7.00 0.13 | 7.23 0.17 | 6.75 0.27 |
| Multi-Krum | 6.24 0.10 | 6.67 0.24 | 6.43 0.06 | 6.69 0.13 | 6.82 0.31 |
| FLAME | 6.19 0.06 | 6.27 0.16 | 6.30 0.12 | 6.41 0.12 | 6.62 0.14 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 5.36 0.03 | 5.40 0.03 | 5.46 0.04 | 5.53 0.02 | 5.66 0.04 |
| Norm-Bound | 5.49 0.03 | 5.56 0.03 | 5.63 0.04 | 5.77 0.02 | 5.86 0.08 |
| Median | 5.39 0.03 | 5.40 0.03 | 5.43 0.03 | 5.46 0.03 | 5.54 0.03 |
| Trimmed | 5.36 0.03 | 5.39 0.03 | 5.43 0.03 | 5.47 0.03 | 5.54 0.04 |
| Multi-Krum | 5.36 0.03 | 5.37 0.03 | 5.38 0.03 | 5.39 0.03 | 5.43 0.04 |
| FLAME | 5.48 0.03 | 5.48 0.03 | 5.48 0.03 | 5.49 0.03 | 5.58 0.05 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 213.15 6.77 | 221.94 6.63 | 234.03 8.53 | 251.01 5.88 | 286.73 10.99 |
| Norm-Bound | 243.23 6.54 | 258.63 6.54 | 279.81 11.33 | 319.10 6.04 | 349.83 27.13 |
| Median | 218.98 7.04 | 222.39 7.10 | 227.13 7.36 | 235.44 6.60 | 254.94 8.06 |
| Trimmed | 213.15 6.77 | 219.60 7.16 | 227.49 7.80 | 237.43 7.51 | 254.52 9.07 |
| Multi-Krum | 213.15 6.77 | 215.53 7.04 | 217.38 6.99 | 219.76 6.92 | 228.52 8.72 |
| FLAME | 240.02 6.40 | 239.85 6.77 | 240.36 6.81 | 242.54 7.33 | 264.80 13.70 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 5.52 0.02 | 5.80 0.02 | 5.97 0.12 | 6.12 0.06 | 6.58 0.34 |
| Norm-Bound | 5.70 0.01 | 5.96 0.01 | 6.43 0.22 | 6.83 0.07 | 6.95 0.43 |
| Median | 5.55 0.02 | 5.73 0.03 | 5.81 0.08 | 5.91 0.02 | 5.97 0.09 |
| Trimmed | 5.52 0.02 | 5.73 0.04 | 5.81 0.09 | 5.89 0.04 | 5.95 0.08 |
| Multi-Krum | 5.52 0.02 | 5.54 0.04 | 5.55 0.03 | 5.56 0.03 | 5.61 0.03 |
| FLAME | 5.64 0.05 | 5.61 0.04 | 5.64 0.05 | 5.65 0.04 | 5.74 0.05 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 5.37 0.03 | 5.41 0.03 | 5.47 0.04 | 5.54 0.03 | 5.67 0.03 |
| Norm-Bound | 5.51 0.03 | 5.57 0.03 | 5.65 0.04 | 5.79 0.02 | 5.83 0.05 |
| Median | 5.40 0.03 | 5.42 0.03 | 5.44 0.03 | 5.48 0.03 | 5.56 0.03 |
| Trimmed | 5.37 0.03 | 5.40 0.03 | 5.44 0.04 | 5.49 0.03 | 5.56 0.04 |
| Multi-Krum | 5.37 0.03 | 5.38 0.03 | 5.39 0.03 | 5.41 0.03 | 5.45 0.04 |
| FLAME | 5.49 0.03 | 5.49 0.03 | 5.49 0.03 | 5.50 0.03 | 5.59 0.04 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 215.38 6.80 | 224.27 6.68 | 237.35 9.12 | 255.84 7.17 | 288.74 8.31 |
| Norm-Bound | 246.30 6.76 | 261.73 6.66 | 283.49 10.99 | 326.42 6.26 | 340.88 18.09 |
| Median | 221.84 7.19 | 225.51 7.38 | 230.73 7.84 | 239.51 6.99 | 260.33 7.99 |
| Trimmed | 215.55 6.92 | 222.49 7.43 | 230.96 8.21 | 241.46 8.09 | 259.56 9.62 |
| Multi-Krum | 215.55 6.92 | 218.10 7.52 | 219.94 7.17 | 222.74 7.63 | 233.42 10.15 |
| FLAME | 243.12 6.82 | 242.99 6.85 | 243.25 6.41 | 245.58 7.14 | 269.08 11.90 |
| Method | 0% | 10% | 20% | 30% | 40% |
| FedAvg | 5.53 0.03 | 5.80 0.01 | 5.94 0.11 | 6.22 0.11 | 6.61 0.27 |
| Norm-Bound | 5.70 0.03 | 5.98 0.01 | 6.44 0.21 | 6.90 0.09 | 6.56 0.42 |
| Median | 5.56 0.03 | 5.76 0.02 | 5.84 0.09 | 5.91 0.04 | 5.99 0.12 |
| Trimmed | 5.53 0.03 | 5.75 0.03 | 5.84 0.10 | 5.92 0.06 | 5.96 0.10 |
| Multi-Krum | 5.53 0.03 | 5.55 0.04 | 5.56 0.03 | 5.56 0.02 | 5.63 0.06 |
| FLAME | 5.66 0.06 | 5.63 0.06 | 5.62 0.01 | 5.66 0.07 | 5.74 0.06 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1.0 0.0 | 1.0 0.0 | 1.0 0.0 |
| 25% | 3.0 0.0 | 3.0 0.0 | 3.0 0.0 |
| 50% | 6.7 0.6 | 6.7 0.6 | 6.7 0.6 |
| 75% | 13.3 0.6 | 13.3 0.6 | 13.3 0.6 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1.0 0.0 | 1.0 0.0 | 1.0 0.0 |
| 25% | 3.0 0.0 | 3.0 0.0 | 3.0 0.0 |
| 50% | 7.0 0.0 | 7.0 0.0 | 7.0 0.0 |
| 75% | 13.0 0.0 | 13.0 0.0 | 13.0 0.0 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1.0 0.0 | 1.0 0.0 | 1.0 0.0 |
| 25% | 3.0 0.0 | 3.0 0.0 | 3.0 0.0 |
| 50% | 7.0 0.0 | 7.0 0.0 | 7.0 0.0 |
| 75% | 13.3 0.6 | 13.3 0.6 | 13.3 0.6 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1.0 0.0 | 1.0 0.0 | 1.0 0.0 |
| 25% | 3.0 0.0 | 3.0 0.0 | 3.0 0.0 |
| 50% | 7.3 0.6 | 7.3 0.6 | 7.3 0.6 |
| 75% | 14.0 1.0 | 14.0 1.0 | 14.0 1.0 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1.0 0.0 | 1.0 0.0 | 1.0 0.0 |
| 25% | 3.0 0.0 | 3.0 0.0 | 3.0 0.0 |
| 50% | 7.0 0.0 | 7.0 0.0 | 7.0 0.0 |
| 75% | 14.0 1.0 | 14.0 1.0 | 14.0 1.0 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1.0 0.0 | 1.0 0.0 | 1.0 0.0 |
| 25% | 3.0 0.0 | 3.0 0.0 | 3.0 0.0 |
| 50% | 6.7 0.6 | 6.7 0.6 | 6.7 0.6 |
| 75% | 13.3 0.6 | 13.3 0.6 | 13.3 0.6 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1.0 0.0 | 1.0 0.0 | 1.0 0.0 |
| 25% | 3.0 0.0 | 3.0 0.0 | 3.0 0.0 |
| 50% | 7.0 0.0 | 7.0 0.0 | 7.0 0.0 |
| 75% | 13.0 0.0 | 13.0 0.0 | 13.0 0.0 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1.0 0.0 | 1.0 0.0 | 1.0 0.0 |
| 25% | 3.0 0.0 | 3.0 0.0 | 3.0 0.0 |
| 50% | 7.0 0.0 | 7.0 0.0 | 7.0 0.0 |
| 75% | 13.3 0.6 | 13.3 0.6 | 13.3 0.6 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1.0 0.0 | 1.0 0.0 | 1.0 0.0 |
| 25% | 3.0 0.0 | 3.0 0.0 | 3.0 0.0 |
| 50% | 7.3 0.6 | 7.3 0.6 | 7.3 0.6 |
| 75% | 14.0 1.0 | 14.0 1.0 | 14.0 1.0 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1.0 0.0 | 1.0 0.0 | 1.0 0.0 |
| 25% | 3.0 0.0 | 3.0 0.0 | 3.0 0.0 |
| 50% | 7.0 0.0 | 7.0 0.0 | 7.0 0.0 |
| 75% | 14.0 1.0 | 14.0 1.0 | 14.0 1.0 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.50 0.00 | 7.33 0.01 | 7.72 0.04 |
| 25% | 7.48 0.01 | 7.20 0.03 | 7.37 0.04 |
| 50% | 7.44 0.01 | 7.04 0.04 | 6.87 0.09 |
| 75% | 7.38 0.01 | 6.94 0.02 | 6.42 0.03 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1802.40 2.97 | 1519.44 14.38 | 2258.01 88.68 |
| 25% | 1764.16 11.60 | 1341.88 42.96 | 1584.71 60.01 |
| 50% | 1695.11 18.37 | 1143.14 48.58 | 969.72 83.50 |
| 75% | 1601.83 17.25 | 1028.47 24.40 | 616.50 19.83 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.01 0.03 | 7.46 0.02 | 9.95 0.02 |
| 25% | 6.96 0.09 | 7.26 0.38 | 9.67 0.03 |
| 50% | 6.90 0.00 | 6.39 0.16 | 8.88 0.18 |
| 75% | 6.90 0.06 | 6.37 0.12 | 7.49 0.04 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.50 0.00 | 7.32 0.01 | 7.72 0.04 |
| 25% | 7.48 0.01 | 7.18 0.05 | 7.37 0.04 |
| 50% | 7.44 0.01 | 7.06 0.04 | 6.84 0.03 |
| 75% | 7.39 0.00 | 6.92 0.02 | 6.44 0.03 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1808.57 3.95 | 1512.51 12.15 | 2256.49 90.48 |
| 25% | 1772.48 13.23 | 1310.31 71.29 | 1585.07 62.27 |
| 50% | 1701.03 11.07 | 1163.34 42.36 | 933.03 30.89 |
| 75% | 1615.82 5.52 | 1011.33 20.24 | 625.74 17.90 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.01 0.10 | 7.51 0.04 | 9.95 0.02 |
| 25% | 6.98 0.06 | 6.88 0.12 | 9.67 0.03 |
| 50% | 6.92 0.05 | 6.45 0.01 | 8.79 0.06 |
| 75% | 6.91 0.06 | 6.33 0.03 | 7.54 0.04 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.50 0.01 | 7.32 0.01 | 7.72 0.04 |
| 25% | 7.48 0.01 | 7.19 0.05 | 7.37 0.04 |
| 50% | 7.43 0.01 | 7.05 0.01 | 6.84 0.03 |
| 75% | 7.39 0.01 | 6.93 0.04 | 6.43 0.02 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1810.07 10.64 | 1505.92 11.61 | 2256.98 91.12 |
| 25% | 1774.75 21.70 | 1328.38 66.28 | 1585.63 62.41 |
| 50% | 1693.93 23.24 | 1157.90 17.29 | 933.10 31.26 |
| 75% | 1612.54 12.60 | 1027.72 37.62 | 617.43 15.49 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.02 0.07 | 7.52 0.06 | 9.95 0.02 |
| 25% | 6.92 0.03 | 6.91 0.13 | 9.67 0.03 |
| 50% | 6.95 0.04 | 6.48 0.11 | 8.79 0.06 |
| 75% | 6.88 0.07 | 6.29 0.05 | 7.50 0.07 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.50 0.01 | 7.32 0.07 | 7.72 0.04 |
| 25% | 7.48 0.01 | 7.18 0.04 | 7.37 0.04 |
| 50% | 7.44 0.01 | 7.06 0.05 | 6.81 0.05 |
| 75% | 7.39 0.01 | 6.92 0.03 | 6.40 0.03 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1813.92 12.17 | 1508.04 110.34 | 2257.69 91.15 |
| 25% | 1778.81 10.18 | 1312.65 46.41 | 1585.24 62.65 |
| 50% | 1694.88 16.38 | 1169.29 61.52 | 903.36 43.16 |
| 75% | 1619.16 11.42 | 1011.10 35.22 | 600.06 15.82 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.03 0.08 | 7.51 0.07 | 9.95 0.02 |
| 25% | 6.96 0.02 | 6.94 0.18 | 9.67 0.03 |
| 50% | 6.96 0.04 | 6.43 0.04 | 8.71 0.12 |
| 75% | 6.88 0.07 | 6.40 0.07 | 7.42 0.08 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.51 0.00 | 7.33 0.07 | 7.79 0.07 |
| 25% | 7.49 0.01 | 7.24 0.04 | 7.42 0.05 |
| 50% | 7.45 0.00 | 7.07 0.05 | 6.87 0.02 |
| 75% | 7.39 0.01 | 6.95 0.02 | 6.41 0.04 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1820.21 4.44 | 1532.76 114.78 | 2408.15 162.25 |
| 25% | 1782.72 10.82 | 1388.21 62.55 | 1674.97 86.91 |
| 50% | 1718.82 4.65 | 1171.92 53.02 | 964.01 22.51 |
| 75% | 1626.87 9.50 | 1043.96 22.20 | 609.87 24.44 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.11 0.06 | 7.92 0.48 | 9.99 0.04 |
| 25% | 7.02 0.04 | 7.13 0.22 | 9.73 0.06 |
| 50% | 6.97 0.07 | 6.53 0.06 | 8.88 0.09 |
| 75% | 6.93 0.03 | 6.32 0.10 | 7.46 0.14 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.58 0.01 | 7.35 0.03 | 7.73 0.05 |
| 25% | 7.55 0.02 | 7.25 0.01 | 7.37 0.05 |
| 50% | 7.51 0.03 | 7.11 0.06 | 6.88 0.09 |
| 75% | 7.44 0.02 | 6.96 0.04 | 6.43 0.04 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1959.50 22.90 | 1550.67 47.69 | 2273.70 102.86 |
| 25% | 1896.90 42.06 | 1403.02 11.73 | 1596.15 71.84 |
| 50% | 1823.97 46.01 | 1221.73 76.35 | 976.65 92.33 |
| 75% | 1710.88 32.52 | 1050.53 37.04 | 622.54 22.03 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 6.86 0.10 | 7.82 0.38 | 9.95 0.02 |
| 25% | 6.82 0.03 | 6.95 0.18 | 9.68 0.04 |
| 50% | 6.72 0.03 | 6.60 0.15 | 8.88 0.20 |
| 75% | 6.71 0.03 | 6.33 0.07 | 7.48 0.06 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.55 0.02 | 7.33 0.01 | 7.73 0.05 |
| 25% | 7.52 0.02 | 7.25 0.01 | 7.37 0.05 |
| 50% | 7.48 0.03 | 7.10 0.07 | 6.84 0.04 |
| 75% | 7.42 0.02 | 6.95 0.05 | 6.44 0.03 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1899.89 44.69 | 1531.88 13.60 | 2265.83 100.94 |
| 25% | 1853.08 43.58 | 1402.99 7.86 | 1592.05 71.15 |
| 50% | 1768.44 51.11 | 1213.39 83.14 | 937.25 35.56 |
| 75% | 1672.14 37.85 | 1047.93 54.20 | 628.96 18.82 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 6.76 0.01 | 7.63 0.05 | 9.96 0.02 |
| 25% | 6.71 0.01 | 6.97 0.15 | 9.68 0.04 |
| 50% | 6.68 0.05 | 6.61 0.19 | 8.80 0.08 |
| 75% | 6.71 0.02 | 6.42 0.02 | 7.53 0.05 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.55 0.02 | 7.27 0.12 | 7.73 0.05 |
| 25% | 7.52 0.02 | 7.14 0.17 | 7.38 0.05 |
| 50% | 7.47 0.04 | 7.08 0.16 | 6.85 0.04 |
| 75% | 7.42 0.03 | 6.95 0.11 | 6.43 0.02 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1892.83 45.80 | 1439.58 163.65 | 2284.63 122.32 |
| 25% | 1843.09 43.59 | 1270.95 202.01 | 1603.79 84.10 |
| 50% | 1759.53 65.05 | 1199.79 182.48 | 941.83 41.03 |
| 75% | 1673.23 42.10 | 1048.68 111.65 | 622.50 15.12 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 6.78 0.08 | 7.47 0.31 | 9.96 0.03 |
| 25% | 6.84 0.10 | 6.84 0.45 | 9.69 0.05 |
| 50% | 6.75 0.06 | 6.59 0.16 | 8.81 0.08 |
| 75% | 6.74 0.02 | 6.48 0.10 | 7.50 0.06 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.56 0.02 | 7.30 0.06 | 7.73 0.05 |
| 25% | 7.52 0.04 | 7.20 0.09 | 7.38 0.05 |
| 50% | 7.47 0.03 | 7.09 0.07 | 6.81 0.06 |
| 75% | 7.43 0.02 | 6.97 0.03 | 6.41 0.03 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1914.41 35.81 | 1484.60 89.71 | 2279.76 116.94 |
| 25% | 1849.76 65.54 | 1339.75 121.30 | 1600.19 79.79 |
| 50% | 1760.25 53.04 | 1206.50 80.07 | 911.93 52.64 |
| 75% | 1677.76 37.72 | 1063.79 26.84 | 605.22 18.26 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 6.74 0.07 | 7.62 0.11 | 9.96 0.03 |
| 25% | 6.79 0.01 | 6.92 0.14 | 9.68 0.05 |
| 50% | 6.75 0.05 | 6.53 0.10 | 8.72 0.15 |
| 75% | 6.78 0.05 | 6.40 0.04 | 7.43 0.08 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 7.56 0.03 | 7.32 0.09 | 8.33 0.82 |
| 25% | 7.53 0.03 | 7.21 0.11 | 7.96 0.82 |
| 50% | 7.49 0.04 | 7.13 0.08 | 7.28 0.61 |
| 75% | 7.44 0.03 | 6.98 0.03 | 6.60 0.31 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 1920.35 56.71 | 1514.80 139.13 | 5266.58 4615.45 |
| 25% | 1860.94 60.73 | 1355.84 138.76 | 3651.86 3205.90 |
| 50% | 1783.26 65.14 | 1248.37 101.92 | 1649.52 1092.41 |
| 75% | 1698.50 44.56 | 1078.90 33.23 | 759.15 249.94 |
| GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow | |
| 0% | 6.80 0.12 | 7.85 0.34 | 10.12 0.17 |
| 25% | 6.81 0.10 | 6.90 0.19 | 9.96 0.31 |
| 50% | 6.73 0.04 | 6.62 0.15 | 9.36 0.66 |
| 75% | 6.76 0.06 | 6.29 0.18 | 8.00 0.97 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 7.13 0.00 | 6.50 0.05 | 5.36 0.03 |
| Forced 2-GMM | 7.13 0.00 | 6.50 0.05 | 5.36 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 1246.57 2.52 | 663.68 29.76 | 213.42 6.57 |
| Forced 2-GMM | 1246.57 2.52 | 663.68 29.76 | 213.42 6.57 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 6.73 0.03 | 6.28 0.09 | 5.52 0.02 |
| Forced 2-GMM | 6.73 0.03 | 6.28 0.09 | 5.52 0.02 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 7.13 0.00 | 6.49 0.02 | 5.37 0.03 |
| Forced 2-GMM | 7.13 0.00 | 6.49 0.02 | 5.37 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 1247.28 5.97 | 655.97 11.66 | 213.93 6.56 |
| Forced 2-GMM | 1247.28 5.97 | 655.97 11.66 | 213.93 6.56 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 6.81 0.01 | 6.38 0.16 | 5.52 0.04 |
| Forced 2-GMM | 6.81 0.01 | 6.38 0.16 | 5.52 0.04 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 7.13 0.00 | 6.49 0.02 | 5.37 0.03 |
| Forced 2-GMM | 7.13 0.00 | 6.49 0.02 | 5.37 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 1249.11 1.78 | 661.38 11.94 | 214.57 6.75 |
| Forced 2-GMM | 1249.11 1.78 | 661.38 11.94 | 214.57 6.75 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 6.75 0.02 | 6.19 0.09 | 5.54 0.03 |
| Forced 2-GMM | 6.75 0.02 | 6.19 0.09 | 5.54 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 7.14 0.00 | 6.51 0.01 | 5.37 0.03 |
| Forced 2-GMM | 7.14 0.00 | 6.51 0.01 | 5.37 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 1258.21 4.70 | 669.37 5.86 | 215.61 6.70 |
| Forced 2-GMM | 1258.21 4.70 | 669.37 5.86 | 215.61 6.70 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 6.74 0.04 | 6.24 0.10 | 5.52 0.04 |
| Forced 2-GMM | 6.74 0.04 | 6.24 0.10 | 5.52 0.04 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 7.16 0.00 | 6.55 0.02 | 5.38 0.03 |
| Forced 2-GMM | 7.16 0.00 | 6.55 0.02 | 5.38 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 1281.63 1.74 | 697.62 13.62 | 217.14 6.85 |
| Forced 2-GMM | 1281.62 1.73 | 697.62 13.62 | 217.14 6.85 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 6.80 0.06 | 6.24 0.06 | 5.52 0.02 |
| Forced 2-GMM | 6.80 0.06 | 6.24 0.06 | 5.52 0.02 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 7.11 0.01 | 6.47 0.05 | 5.37 0.03 |
| Forced 2-GMM | 7.11 0.01 | 6.47 0.05 | 5.37 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 1225.90 12.06 | 643.56 33.46 | 215.55 6.85 |
| Forced 2-GMM | 1225.89 12.06 | 643.56 33.46 | 215.55 6.85 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 6.80 0.09 | 6.12 0.05 | 5.54 0.03 |
| Forced 2-GMM | 6.80 0.09 | 6.12 0.05 | 5.54 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 7.12 0.00 | 6.36 0.06 | 5.38 0.03 |
| Forced 2-GMM | 7.12 0.00 | 6.36 0.06 | 5.38 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 1238.52 4.97 | 576.63 36.58 | 216.13 6.70 |
| Forced 2-GMM | 1238.52 4.97 | 576.63 36.58 | 216.13 6.70 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 6.79 0.05 | 6.06 0.18 | 5.54 0.03 |
| Forced 2-GMM | 6.79 0.05 | 6.06 0.18 | 5.54 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 7.13 0.01 | 6.42 0.14 | 5.38 0.03 |
| Forced 2-GMM | 7.13 0.01 | 6.42 0.14 | 5.38 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 1251.65 11.37 | 618.30 91.12 | 216.97 6.91 |
| Forced 2-GMM | 1251.65 11.37 | 618.30 91.12 | 216.97 6.91 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 7.04 0.40 | 6.33 0.09 | 5.53 0.03 |
| Forced 2-GMM | 7.04 0.40 | 6.33 0.09 | 5.53 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 7.15 0.02 | 6.38 0.18 | 5.38 0.03 |
| Forced 2-GMM | 7.15 0.02 | 6.38 0.18 | 5.38 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 1277.28 23.52 | 594.61 108.75 | 218.02 7.07 |
| Forced 2-GMM | 1277.81 22.93 | 594.63 108.74 | 218.02 7.07 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 6.90 0.02 | 6.00 0.38 | 5.53 0.02 |
| Forced 2-GMM | 6.87 0.06 | 6.00 0.38 | 5.53 0.02 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 7.16 0.01 | 6.48 0.13 | 5.39 0.03 |
| Forced 2-GMM | 7.16 0.01 | 6.48 0.13 | 5.39 0.03 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 1286.50 15.34 | 658.21 91.66 | 220.18 6.45 |
| Forced 2-GMM | 1286.50 15.34 | 658.21 91.66 | 220.18 6.45 |
| GMM rule | GPT / WikiText | BERT / Shakespeare | LLaMA / StackOverflow |
| BIC 1/2-GMM | 6.92 0.24 | 6.19 0.13 | 5.52 0.03 |
| Forced 2-GMM | 6.92 0.24 | 6.19 0.13 | 5.52 0.03 |
Federated Learning
Federated learning trains shared models across data holders without requiring them to pool their raw data.
See all 951 papers