# Beyond Parameter Aggregation: Semantic Consensus for Federated Fine-Tuning of LLMs

*Amr Abourayya, Jens Kleesiek, Michael Kamp*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155550) · [OpenReview](https://openreview.net/forum?id=4jInQZ53nD) · [alphaXiv](https://www.alphaxiv.org/abs/2605.11857) · [Open on the map](../papers.html#p155550)

Category: [Optimization & Federated Learning](../pcat/13.md) › [Graph Optimization and Feasibility Solvers](../pgroup/510.md) · Type: new method · Keywords: federated learning, large language models, communication efficiency, semantic consensus, parameter aggregation

Areas: [Privacy & Federated Learning](../areas/privacy-federated.md) › Federated Privacy Methods › Federated Low-Rank Adaptation

## Summary
Semantic Consensus enables federated fine-tuning of LLMs by having clients exchange generated outputs and forming per-prompt semantic consensus, which drastically reduces communication compared to traditional parameter aggregation.

## Explained to a 5-year-old
Imagine you have many friends who each have a secret toy they like to play with. They learn how to use their toy better by practicing alone. To help each other, they don't show their toys to anyone; instead, they tell each other the stories they make up while playing. Everyone writes down the stories they think of. Then a grown-up looks at all the stories and finds which ones sound the same. He tells each friend which story is most like theirs, so they can adjust their toy. By sharing only the stories, they save a lot of space and can all improve together, even if their toys are different shapes.

## Explained to a 5-year-old, longer
Imagine you have many friends who each have a secret toy they like to play with. They learn how to use their toy better by practicing alone. To help each other, they don't show their toys to anyone; instead, they tell each other the stories they make up while playing. Everyone writes down the stories they think of. Then a grown-up looks at all the stories and finds which ones sound the same. He tells each friend which story is most like theirs, so they can adjust their toy. By sharing only the stories, they save a lot of space and can all improve together, even if their toys are different shapes. The secret toys are like big computer programs that know a lot of words. Each friend uses its own toy to answer questions or write sentences based on its own private information. When they share the sentences they write, they keep their private information safe. The grown-up computer compares the sentences and picks the ones that are most similar, acting like a judge. Finally, each friend updates its toy using the chosen sentences, making it better without ever seeing the other's toy.

## For a technical reader
The paper proposes a federated fine-tuning scheme where each client fine-tunes its local LLM on private data and shares only generated text on a public prompt set. The server embeds these outputs into a semantic space, computes a consensus per prompt, and returns pseudo-labels for further client-side updates. This behavior-level consensus eliminates the need to transmit large model parameters, enabling heterogeneous model architectures and scaling communication independently of model size. Empirically, it matches existing parameter-based federated baselines while cutting communication by three orders of magnitude and reducing runtime and energy consumption.

## Problem
Federated fine-tuning of large language models currently requires transmitting large collections of trainable weights, which is communication-intensive and assumes aligned architectures and white-box access to model parameters.

## Method
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 consensus, and returns pseudo-labels for further local fine-tuning.

## Results
The approach matches strong federated fine-tuning baselines while cutting communication by a factor of about 1000 for a 405B model and also reduces runtime and energy consumption.

## Contributions
It introduces a behavior-level consensus formulation for federated LLM fine-tuning that decouples communication from model size, supports heterogeneous architectures, and provides theoretical analysis and empirical validation of its communication savings.

## Practical relevance
It enables efficient federated adaptation of large language models in heterogeneous deployments, reducing communication, runtime, and energy costs.

## Research questions this paper is counted under

- [How can we minimize communication costs when fine-tuning large language models across distributed clients?](../q/382.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155550)
