Monitoring Decomposition Attacks in LLMs with Lightweight Sequential Monitors

Chen Yueh-Han, Nitish Joshi, Yulin Chen, Maksym Andriushchenko, Rico Angell +1 more
6/12/2025
cs.CRcs.AI

No official code found. Best implementation: YuehHanChen/Monitoring-Decomposition-Attack (11 stars, last commit 2026-04-20).

Abstract

Current LLM safety defenses fail under decomposition attacks, where a malicious goal is decomposed into benign subtasks that circumvent refusals. The challenge lies in the existing shallow safety alignment techniques: they only detect harm in the immediate prompt and do not reason about long-range intent, leaving them blind to malicious intent that emerges over a sequence of seemingly benign instructions. We therefore propose adding an external monitor that observes the conversation at a higher granularity. To facilitate our study of monitoring decomposition attacks, we curate the largest and most diverse dataset to date, including question-answering, text-to-image, and agentic tasks. We verify our datasets by testing them on frontier LLMs and show an 87% attack success rate on average on GPT-4o. This confirms that decomposition attack is broadly effective. Additionally, we find that random tasks can be injected into the decomposed subtasks to further obfuscate malicious intents. To defend in real time, we propose a lightweight sequential monitoring framework that cumulatively evaluates each subtask. We show that a carefully prompt engineered lightweight monitor achieves a 93% defense success rate, beating reasoning models like o3 mini as a monitor. Moreover, it remains robust against random task injection and cuts cost by 90% and latency by 50%. Our findings suggest that lightweight sequential monitors are highly effective in mitigating decomposition attacks and are viable in deployment.

View on arXivView PDF

Code Implementations(1)

[ICLR 2026] Monitoring Decomposition Attacks with Lightweight Sequential Monitors

112Shell, PythonMay 23, 20256 months ago

Similar Papers

Cite this paper

@article{yuehhan2025monitoring,
  title  = {Monitoring Decomposition Attacks in LLMs with Lightweight Sequential Monitors},
  author = {Chen Yueh-Han and Nitish Joshi and Yulin Chen and Maksym Andriushchenko and Rico Angell and He He},
  year   = {2025},
  eprint = {2506.10949},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.10949v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.10949.svg)](https://codeofpaper.com/paper/2506.10949)

Discussion