Beyond Parameter Aggregation: Semantic Consensus for Federated Fine-Tuning of LLMs
Amr Abourayya ⋅ Jens Kleesiek ⋅ Michael Kamp
Abstract
Federated fine-tuning of large language models is commonly formulated as a parameter aggregation problem. However, even parameter-efficient methods require transmitting large collections of trainable weights, assume aligned architectures, and rely on white-box access to model parameters. As model sizes continue to grow and deployments become increasingly heterogeneous, these assumptions become progressively misaligned with practical constraints. We introduce Semantic Consensus, a behavior-space alternative to parameter aggregation in which federated collaboration is mediated through model outputs rather than model parameters. Clients fine-tune local models on private data and exchange generated outputs on a shared public prompt set. The server maps these outputs into a semantic representation space, forms a per-prompt semantic consensus, and returns pseudo-labels for further local fine-tuning. This formulation fundamentally changes the communication scaling of federated LLM fine-tuning. The amount of information exchanged depends only on the public prompt budget and the size of the communicated behaviors, independent of model size. As a consequence, the protocol naturally accommodates heterogeneous architectures and applies directly to open-ended text generation. We present a theoretical analysis and empirical results demonstrating that this approach can match strong federated fine-tuning baselines while substantially reducing communication by orders of magnitude (e.g., $0.006$ GB for FedCoFiT versus $3.75$ GB for FlexLoRA on LLaMA-7B, approximately a $600\times$ reduction), alongside reductions in runtime and energy consumption. These results suggest that, for generative foundation models, behavior-level consensus provides a promising alternative to parameter aggregation for federated adaptation.
Successful Page Load