Thought Virus: Viral Misalignment via Subliminal Prompting in Multi-Agent Systems
Organizations: Fraunhofer HHI, Berlin, Germany · Eleuther AI · TU Berlin, Berlin, Germany · Carnegie Mellon University, Pittsburgh, PA, USA ·
Abstract
Subliminal prompting is a phenomenon in which language models are biased towards certain concepts or traits through prompting with semantically unrelated tokens. While prior work has examined subliminal prompting in user-LLM interactions, potential bias transfer in multi-agent systems and its associated security implications remain unexplored. In this work, we show that a single subliminally prompted agent can spread a weakening but persisting bias throughout its entire network. We measure this phenomenon across 6 agents using two different topologies, observing that the transferred concept maintains an elevated response rate throughout the network. To exemplify potential misalignment risks, we assess network performance on multiple-choice TruthfulQA, showing that subliminal prompting of a single agent may degrade the truthfulness of other agents. Our findings reveal that subliminal prompting introduces a new attack vector in multi-agent security, with implications for the alignment of such systems. The implementation of all experiments is publicly available at https://github.com/Multi-Agent-Security-Initiative/thought_virus .
Figures & tables
| Agent 0 | Agent 1 | Agent 2 | Agent 3 | Agent 4 | Agent 5 | |
| Lion | 65.6 (20.2 ) | 24.7 (6.3 ) | 23.9 (5.0 ) | 7.5 (3.3 ) | 5.5 (2.0 ) | 6.3 (2.1 ) |
| Orangutan | 658.0 (79.4 ) | 61.1 (8.4 ) | 16.7 (3.0 ) | 10.5 (2.2 ) | 7.2 (1.6 ) | 5.5 (1.3 ) |
| Kangaroo | 9.2 (5.6 ) | 8.6 (5.7 ) | 5.2 (3.7 ) | 3.9 (2.1 ) | 5.4 (2.1 ) | 7.2 (1.8 ) |
| Panda | 15.9 (6.3 ) | 3.6 (1.7 ) | 2.4 (1.4 ) | 2.0 (1.5 ) | 2.1 (1.5 ) | 1.4 (1.2 ) |
| Chimpanzee | 813.3 (217.3 ) | 36.8 (6.7 ) | 8.4 (3.8 ) | 3.8 (1.4 ) | 4.0 (1.9 ) | 4.4 (2.0 ) |
| Penguin | 6.8 (3.4 ) | 3.5 (1.8 ) | 2.6 (1.4 ) | 2.4 (1.5 ) | 1.6 (1.1 ) | 1.3 (1.0 ) |
| Deceitful | Truthful | Difference | Deceitful | Truthful | Difference | p-value | ||
| (lowest) | (highest) | (average) | (average) | |||||
| Accuracy | Agent 0 | 70.5% | 72.2% | +1.8% | 70.8% | 71.8% | +1.0% | 0.0002 |
| Agent 1 | 72.7% | 74.3% | +1.5% | 73.2% | 73.8% | +0.6% | 0.0003 | |
| Agent 2 | 73.3% | 74.6% | +1.3% | 73.8% | 74.2% | +0.4% | 0.0028 | |
| LPD | Agent 0 | 7.448 | 8.187 | +0.740 | 7.550 | 8.032 | +0.481 | 0.0002 |
| Agent 1 | 7.981 | 8.692 | +0.711 | 8.210 | 8.430 | +0.220 | 0.0073 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
Multi-Agent System Security
Multi-agent system security studies attacks, trust, privacy, and defenses in interacting AI agents, including language-model teams, robot swarms, and learned controllers.
See all 179 papers