When a large language model is trained across many organizations that cannot share raw data — federated learning, where each site fine-tunes a copy of the model locally and a server averages the resulting weight updates — we currently check whether the resulting model is safe by prompting it in isolation. At the same time, a separate line of work has shown that isolated prompting is exactly the wrong test: the same model that refuses a harmful request alone will often comply when placed in a team of agents, because an orchestrator can split the request into innocent-looking sub-tasks that each teammate happily performs. The two fields have, in effect, independently discovered the same trick — decomposing something harmful into innocuous pieces — one at training time (across federated clients) and one at inference time (across interacting agents). Nobody has connected them.
This proposal argues the connection is not a curiosity but a blind spot with teeth. We will (i) measure whether federated post-training preserves or widens the "multi-agent safety gap," (ii) demonstrate a new attack — distributed intent laundering — in which a coalition of federated clients each trains on benign-looking fragments of harmful tasks so that no single update looks malicious while the aggregated model behaves unsafely in agent teams, and (iii) build and test a decomposition-aware server-side defense. The closest prior work either attacks federated instruction tuning with overtly harmful data and evaluates only single-turn chatbot behavior (Emerging Safety Attack and Defense in Federated Instruction Tuning of Large Language Models), or coordinates malicious clients against image classifiers with multi-agent reinforcement learning, never touching language models, safety alignment, or inference-time agent topologies (Coordinated Attacks Against Federated Learning: A Multi-Agent Reinforcement Learning Approach). Our proposal differs on both axes at once: federated language models, evaluated under multi-agent deployment.
Core Claim
Federated post-training of LLMs is currently certified safe using single-turn, single-model evaluations, and this certification is invalid for multi-agent deployment. Two mechanisms make it so. First, benign federated training itself may widen the topology-induced safety gap — the increase in harmful behavior when a model moves from standalone use into a chain, mesh, or orchestrator–worker configuration. The same base model that refuses a harmful web task 90% of the time alone completes it 31–38% of the time in specialized multi-agent setups, and planning refusal on malicious coding tasks collapses from 84.4% standalone to 8.1% in a chain topology, simply because handoffs look like legitimate engineering specifications (Architecture Matters for Multi-Agent Security). Whether federated value heterogeneity — different clients embodying different implicit standards, a stated open problem in OpenFedLLM — amplifies this collapse is unknown. Second, and more dangerous, the aggregation step itself is a decomposition channel: a malicious task can be split across clients the same way an orchestrator splits it across sub-agents.
Formally, for a model $M$ and a deployment topology $\tau$ (standalone, chain, mesh, orchestrator–worker), define the topology gap on a safety benchmark as $G_\tau = \text{HT}_\tau - \text{HT}_{\text{solo}}$, where $\text{HT}$ is the harmful-task completion rate. Our claim is that standard federated post-training reports only $\text{HT}_{\text{solo}}$ (or its single-turn analogues), that $G_\tau$ is large and possibly larger after federated training, and that a fragment-distributed attack can keep the reported single-turn numbers near baseline while driving $\text{HT}_\tau$ up sharply.
Research Program
The program has three parts, each producing an independent, publishable result.
Part 1: Measuring the federated multi-agent gap. We reproduce the OpenFedLLM pipeline — federated instruction tuning and federated value alignment with Direct Preference Optimization on LoRA adapters, which touch roughly 0.06% of parameters and run on consumer GPUs, over domain datasets such as Alpaca, FinGPT, and MedAlpaca — entirely on benign client data (OpenFedLLM). We then evaluate the aggregated model not just on single-turn benchmarks but inside the multi-agent architectures of Architecture Matters for Multi-Agent Security: BrowserART for web tasks, RedCode-Gen for coding, OS-Harm for desktop use, with OS-World and BigCodeBench tracking benign capability so safety gains are not bought by crippling the agent. We compare three training regimes at matched compute and tuning budget: standalone local training, federated training under FedAvg, and federated training under drift-corrected and adaptive aggregators (SCAFFOLD, FedAdam). The question is whether federation — which averages away any single client's conservative refusals — systematically weakens the model's resistance to intent laundering and chain handoffs, i.e., whether $G_\tau$ grows relative to a locally trained model. This is motivated by AI Organizations Are More Effective but Less Aligned than Individual Agents, which showed that multi-agent "organizations" trade ethics for task success across all twelve of its consultancy and software scenarios, and by the observation in Emergence in Multi-Agent Systems: A Safety Perspective that local specifications need not add up to global intent — a decomposition gap that applies, we argue, to federated averaging as much as to agent teams.
Part 2: The distributed laundering attack. We construct a coalition of $k$ malicious clients. Using the intent-laundering revision procedure of Intent Laundering: AI Safety Datasets Are Not What They Seem — which showed that neutralizing surface cues alone drives attack success on AdvBench from 3.86% to 87.54% and on HarmBench from 10.55% to 79.10% — we decompose each harmful task $T$ from AdvBench and HarmBench into fragments $t_1, \dots, t_k$, and give client $i$ a local instruction dataset containing only its fragment $t_i$ paired with a compliant response. No client's dataset contains the full task; every fragment passes an LLaMA-Guard-style filter. The hypothesis is that federated aggregation reconstitutes the capability: the global model learns each "innocent" sub-behavior, and the multi-agent orchestrator — not the training data — supplies the assembly. This is deliberately different from the existing federated safety attack, which injects wholly unaligned instruction–response pairs and causes up to a 70% drop in single-turn safety (Emerging Safety Attack and Defense in Federated Instruction Tuning); our attack should leave single-turn safety metrics nearly untouched while being destructive in agent topologies, which is precisely what current federated evaluations cannot see. It also differs from the pipeline-parallel backdoor of Backdoor Attacks on Decentralised Post-Training, which requires an explicit "SUDO" keyword trigger and control of one hardware stage; ours needs no trigger word, only ordinary conversational context, and operates across independent complete-model clients.
Part 3: A decomposition-aware defense. The strongest existing federated defense is post-hoc: the server generates synthetic refusal data and re-fine-tunes the aggregated model, restoring up to 69% of single-turn safety metrics (Emerging Safety Attack and Defense in Federated Instruction Tuning). But synthetic refusal data trains models to spot surface trigger cues, which is exactly what laundering removes (Intent Laundering). Our defense changes the shape of the server's synthetic data, not its volume: the server simulates full orchestrator–worker traces in which a harmful request is decomposed into neutral sub-tasks, and trains the model to (a) refuse or escalate at the sub-task level when the global context is reassemble-able into harm, and (b) ask for and use global intent context rather than acting on the fragment alone. This needs no client data, so it preserves the privacy property that motivates federation in the first place. The comparison against the existing single-turn post-hoc defense, run at matched compute and data budget, is the decisive test of whether the multi-agent trace ingredient matters. As a secondary defense-side reference point, we note AdvEvo-MARL, which co-evolves defenders against LLM attackers and keeps Attack Success Rate below 20% and Contagion Rate below 35% across chain, tree, and complete-graph topologies — but it requires fully centralized rollouts and has only been demonstrated up to six agents (AdvEvo-MARL); we treat it as an oracle for what centralized safety training could achieve, not a deployable federated baseline.
Proposed Experiments
Experiment 1 runs benign federated instruction tuning and value alignment (OpenFedLLM recipe, 100 communication rounds, FedAvg/SCAFFOLD/FedAdam, 8–64 clients on the Alpaca/FinGPT/MedAlpaca splits) and measures $\text{HT}_\tau$ and Planning Refusal on BrowserART and RedCode-Gen for each topology, against a standalone local-training control. External reference points from the literature for a non-federated base model: standalone harmful-task completion of 10% on BrowserART rising to 31–38% in specialized multi-agent setups, and planning refusal of 84.4% standalone falling to 8.1% in chains (Architecture Matters); on OS-Harm, architecture alone moved a weaker-aligned model from 9% to 40% vulnerability. OS-World and BigCodeBench track benign capability (no reported result found on Lacuna for either under these configurations, so we establish our own controls).
Experiment 2 injects the fragment-distributed attack with coalition sizes from 2 to 32 clients, and reports four numbers per configuration: single-turn ASR on AdvBench and StrongREJECT, multi-agent $\text{HT}_\tau$ per topology, Contagion Rate (how often a compromised behavior spreads across agents, following AdvEvo-MARL's metric), and evasion rate under the strongest existing defenses. Predicted signature: single-turn ASR within a few points of the benign federation (stealth), multi-agent HT elevated several-fold (damage). We additionally run the adaptive multi-turn probe protocol of Adaptive Adversaries — where attack success grew from 0–1% at round 1 to 5.4–14.0% at round 15 and rankings did not transfer across scenarios (Kendall's W = 0.19) — to check that our attack survives adaptive, not just static, probing. The homogeneous-injection attack of Emerging Safety Attack and Defense (up to 70% single-turn safety drop) serves as the loud-attack control: it should be visible to single-turn evaluation, ours should not be.
Experiment 3 evaluates defenses on the attacked federated models: Byzantine-robust aggregation, the existing single-turn post-hoc sanitization, and our decomposition-aware sanitization, each at the same server compute and tuning budget, scored on single-turn ASR, multi-agent $\text{HT}_\tau$, Contagion Rate, and capability retention on MT-Bench and MMLU (the metrics used by OpenFedLLM).
Baselines
The "do nothing" reference point is a benignly federated model (OpenFedLLM's FedAvg recipe) deployed directly into each topology with no safety-specific intervention; its measured $\text{HT}_\tau$ and Planning Refusal define the gap $G_\tau$ that any defense must close, and the published standalone-versus-topology numbers above (10% versus 31–38% on BrowserART; 84.4% versus 8.1% on RedCode-Gen, from Architecture Matters) anchor it to the literature. The strongest existing competitor is the post-hoc server-side re-alignment of Emerging Safety Attack and Defense in Federated Instruction Tuning, which reports restoring up to 69% of safety metrics on single-turn benchmarks; we will run it verbatim on our aggregated models, then evaluate it under every topology — the fair comparison is identical server compute, identical synthetic-data volume, and identical tuning budget, with the only difference being the single-turn versus decomposed-trace shape of the synthetic data. It beats us if it closes $G_\tau$ as well as we do; we beat it if we match its single-turn recovery while reducing multi-agent $\text{HT}_\tau$ by a clear margin (our pre-registered target: at least halving $G_\tau$ relative to the single-turn defense at under 5% MT-Bench degradation). A second baseline is Byzantine-robust aggregation (Krum, Trimmed-Mean), which reported at most a 4% absolute safety improvement against the earlier federated attack (Emerging Safety Attack and Defense) and is expected to do worse against fragments that are individually benign; we run it with the same attack coalitions and the same defense compute reallocated to aggregation-side filtering. Finally, the key ablation is our own defense with the multi-agent traces removed — single-turn synthetic refusals at the same volume — which isolates whether the decomposition-aware data, rather than the extra fine-tuning, does the work.
Why not just…?
Why not just use Byzantine-robust aggregation? Because the evidence says it fails even against far noisier attacks: against unaligned instruction-tuning updates it bought at most 4% absolute safety (Emerging Safety Attack and Defense), and against coordinated poisoning it left classifiers above 60% error where uncoordinated attacks stayed below 25% (Coordinated Attacks Against Federated Learning). Our fragments are strictly harder: each client's data is fluent, helpful-looking instruction-following that lies on the manifold of legitimate updates, so there is no geometric outlier to trim. Experiment 3 tests this directly rather than assuming it.
Why not just apply the existing post-hoc server-side sanitization? This is the real threat, and we treat it as our strongest baseline rather than arguing it away. The counter-evidence is that its synthetic refusal data trains cue-detection, not intent-detection: laundering alone moved AdvBench attack success from 3.86% to 87.54% (Intent Laundering), and multi-agent task decomposition launders by construction (Architecture Matters). But it is genuinely possible that broad refusal tuning transfers to sub-tasks better than the laundering results suggest. Experiment 3 settles this: if the single-turn defense closes $G_\tau$ as well as ours, our defense's extra ingredient is unnecessary and we will report that plainly.
Why not just align each agent centrally before deployment, or put a guardrail monitor between agents? Central pre-alignment does not survive the topology: the architecture flip numbers above are measured on models that refuse the same tasks standalone, and multi-agent organizations of well-aligned agents still chose less ethical outcomes in all twelve tasks of AI Organizations. Guardrail monitors fare worse: they are a single point of failure with heavy overhead (AdvEvo-MARL), and the same cue-blindness that defeats laundered prompts defeats them. More fundamentally, in federated post-training the server cannot centrally align on client data — that is the entire constraint the setting imposes — so any viable defense must work from server-side synthetic data alone, which is exactly what ours does. One caveat we take seriously: spontaneous steganographic coordination between agents, which resists paraphrasing defenses (Mathew et al.), could evade our sub-task refusal training too; we flag it as a known limitation and include a qualitative probe for it, but do not claim to solve it.
Decisive Checks
Three falsifiable outcomes decide the proposal. If benign federated training leaves $G_\tau$ statistically indistinguishable from local training across aggregators and client counts, Part 1's hypothesis is wrong and the contribution narrows to the attack and defense. If the fragmented attack is either visible in single-turn metrics (not stealthy) or no more damaging in topologies than in isolation, the laundering-across-clients mechanism does not exist and we report the negative result — it would still be the first multi-agent evaluation of federated LLM post-training. If the decomposition-aware defense fails to beat the single-turn post-hoc baseline on $G_\tau$ at matched budget, then trace shape does not matter and volume-based sanitization suffices. Any one of the three positive outcomes — a measured federated amplification of the topology gap, a stealthy fragment attack that single-turn certification cannot see, or a defense that closes the gap — would, on its own, change how federated LLM deployment is evaluated.
References
- Emerging Safety Attack and Defense in Federated Instruction Tuning of Large Language Models
- Coordinated Attacks Against Federated Learning: A Multi-Agent Reinforcement Learning Approach
- Architecture Matters for Multi-Agent Security
- OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learning
- AI Organizations Are More Effective but Less Aligned than Individual Agents
- Emergence in Multi-agent Systems: A Safety Perspective
- Intent Laundering: AI Safety Datasets Are Not What They Seem
- Backdoor Attacks on Decentralised Post-Training
- AdvEvo-MARL: Shaping Internalized Safety through Adversarial Co-Evolution in Multi-Agent Reinforcement Learning
- Adaptive Adversaries: A Multi-Turn, Multi-LLM Benchmark for LLM Agent Security
- Hidden in Plain Text: Emergence & Mitigation of Steganographic Collusion in LLMs