Manuscript Offprint

arXiv:2609.39788

Safety of Latent Communication in Multi-Agent Systems

Muhammad Huzaifa, Sina Mavali, Thorsten Eisenhofer

ABSTRACT

Latent communication enables multi-agent systems to exchange information directly in internal representation space, reducing the token, computation, and latency overhead of text-based communication. To this end, lightweight trainable links are introduced to map the sender's representations into the receiver's input space. In this work, we show that even benign link training can increase harmful compliance relative to text-based communication while the underlying safety-aligned agents remain unchanged. An attacker can amplify this effect by optimizing the links on harmful query-response pairs or poisoning otherwise benign training data. We further develop a reinforcement-learning attack that rewards harmful compliance alongside benign task performance without requiring harmful target responses. Across three communication topologies and four safety benchmarks, this attack raises the mean harmful-compliance score from 27.9 with benignly trained links to 76.9. Compared with direct supervised optimization, it also achieves higher average accuracy on two benign utility benchmarks. Adapting the rewards toward safer behavior also enables repair of compromised links, substantially reducing harmful compliance across all evaluated attacks without updating the agents. Overall, our results show that safety alignment requires considering the multi-agent system as a whole.

1 INTRODUCTION

Multi-agent systems allow LLM-based agents to collaborate by exchanging information and building on intermediate results (Li et al., 2023; Wu et al., 2024). These agents typically communicate through text, allowing them to exchange information despite differences in their internal representations. However, generating these messages and processing them again at the receiving model increases token usage, inference latency, and computational cost (Liu, 2026).

Latent communication aims to reduce this overhead by allowing agents to exchange internal model representations instead of text messages (Du et al., 2026; Zou et al., 2026b; Peng et al., 2026). To connect agents with different representation spaces, learned communication links are introduced that map the sender's representations into a form the receiver can process (Du et al., 2026). Typically, these links can be trained to support collaboration without requiring to update the underlying models.

However, training these links still modifies how information is passed between agents. Each link transforms the sender's representations before they become part of the receiver's input, thereby shaping the behavior of the composed system.

In this work, we show that manipulating communication links alone can compromise the safety of systems composed of otherwise safety-aligned agents. We investigate how much control an attacker can gain by directly optimizing the links on harmful query-response pairs or poisoning otherwise benign training data. We further demonstrate comparable control without harmful target responses through a reward-guided attack that uses scalar feedback on the system's own responses to optimize harmful compliance and benign task performance.

We evaluate all attacks across three multi-agent communication topologies (see Figure 1) on four safety benchmarks (i.e., HarmBench (Mazeika et al., 2024), StrongREJECT (Souly et al., 2024),

∗^{*}Corresponding author.

AdvBench (Zou et al., 2023), and JailbreakBench (Chao et al., 2024) and assess benign task performance on MATH500 (Lightman et al., 2024) and GPQA-Diamond (Rein et al., 2024).

We find that even benign link training can increase harmful compliance relative to text-based communication while the underlying agents remain unchanged. Deliberate manipulation further amplifies this effect, with substantial increases already observed when poisoning 10% of the link-training data. The reward-guided attack raises the mean harmful-compliance score from 27.9 with benignly trained links to 76.9, averaged across safety benchmarks and topologies. Compared with direct supervised optimization, it achieves higher mean harmful compliance in two of the three topologies and higher accuracy on both utility benchmarks when averaged across topologies.

Finally, we investigate whether compromised communication links can be repaired without modifying agents. To this end, we adapt the reward-guided optimization to penalize harmful compliance while rewarding correct responses to benign queries. We observe that updating the links alone substantially reduces harmful compliance across all evaluated attacks and communication topologies.

Overall, our results show that safety alignment requires considering the multi-agent system as a whole, including both the individual agents and the learned communication interfaces that shape their interactions and responses.

We make the following contributions:

• Safety under benign link training. We show that benignly trained latent links can increase harmful compliance relative to text-based communication while all agent parameters remain fixed, and analyze the associated changes in refusal initiation.

• Attacks on learned communication links. We study attacks under different assumptions about training access and supervision, including reward-guided optimization without harmful target responses.

• Reward-guided link repair. We develop a repair procedure that reduces harmful compliance across all evaluated attacks and communication topologies by updating only the communication links.

References (44)