Manuscript Offprint

arXiv:2610.02302

Intent-Hiding Jailbreaks: An Information-Theoretic Framework for Compositional Attacks

Fengwei Tian, Ravi Tandon

Abstract

Recent work has shown that large language models (LLMs) can be vulnerable to jailbreak attacks in which harmful intent is obscured through composition with benign tasks. In such attacks, a harmful request that is refused in isolation may elicit a different response when embedded within a larger, seemingly benign query. We study these compositional intent-hiding jailbreaks from an information-theoretic perspective by asking what a collection of combined tasks reveals about harmful intent. Our formulation associates each task with an estimated probability of being judged harmful: the average over the full task collection defines the prior probability of harmful intent, while the average over a selected bundle containing the target defines the posterior. Selecting auxiliary tasks so that these two averages agree, which we call prior–posterior matching, leaves the estimated intent unchanged even though the harmful target remains in the bundle.

We study two settings that differ in whether query construction is part of the optimization. In the query-independent setting, tasks are selected without regard to how they will ultimately be expressed in the final query. We show that exact prior–posterior matching under a bundle-size constraint is computationally hard, derive an optimal water-filling solution for fractional weights, and characterize the smallest bundle satisfying a prescribed safety threshold. We then turn to the query-dependent setting, where task selection and query construction are considered jointly, and both intent concealment and target preservation are evaluated on the resulting query. We evaluate the proposed framework across different bundle sizes, query generators, and responding models, examining both jailbreak effectiveness and preservation of the target behavior. These results show that compositional queries can elicit target behaviors beyond the direct-request baseline under the evaluated search budgets, while also revealing a trade-off: as bundle size increases, response-level target preservation tends to decrease for several responding models.

I. INTRODUCTION

Large language models (LLMs) remain vulnerable to jailbreaks: prompts designed to bypass their safeguards and elicit restricted responses [1], [2]. A model may refuse a harmful request stated directly yet answer a reformulated version of the same request [3], [4]. Jailbreak attacks exploit this behavior by modifying the wording or context of a request to bypass safeguards and elicit restricted responses [1], [2]. Such attacks expose limitations in both safety training and mechanisms that assess the safety of model inputs and outputs [5], [6]. Understanding these limitations is especially important when LLMs are used in applications involving sensitive information or consequential decisions [7]. The difficulty arises partly from the role of context in instruction following. An LLM must interpret a request together with its surrounding instructions, while an attacker can choose those instructions to disguise the request's harmful purpose [1]. The model is therefore asked to follow instructions that may conflict with its training to refuse harmful requests [5]. Changing the surrounding context can alter how the model interprets the request even when the behavior sought by the attacker remains the same. Rejecting a direct request therefore does

This work was supported by NSF grants CCF 2100013, CNS 2209951, CNS 2317192, and U.S. Department of Energy, Office of Science, Office of Advanced Scientific Computing Research under Award Number DE-SC-ERKJ422, and by NIH through Award 1R01CA261457-01A1. Parts of this paper have been accepted for presentation at IEEE Information Theory Workshop (ITW) 2026. Safety Notice. This paper contains examples and descriptions of potentially harmful requests and jailbreak attacks for the purpose of research, analysis, and evaluation.

not establish that safeguards remain effective when that request is presented as one component of a larger set of instructions.

Motivation and Challenges. In this paper, we study compositional intent-hiding jailbreaks, in which a harmful request is combined with benign-looking tasks and rewritten as a single coherent query. We call the original request the target task, the added instructions auxiliary tasks, and the selected collection of tasks a bundle. Several existing attacks use related compositional constructions. Prompt Packer embeds harmful requests within compositional instructions [8]. ReNeLLM combines prompt rewriting with nested scenarios [1]. DeepInception places requests within layered fictional scenarios [9]. SequentialBreak embeds a harmful component within a sequence of otherwise benign prompts [10]. These methods show how surrounding instructions can help disguise a harmful request. However, choosing those instructions involves decisions about both their content and their number. For a given target, the choice of auxiliary tasks determines both the surrounding context and the additional instructions the model must follow. Experiments on instruction-dense prompts show that adherence can deteriorate as more instructions are added [11]. Understanding these choices requires relating the tasks included in a query to what their combination reveals about harmful intent.

Existing information-theoretic work has examined the relationship between attack effectiveness and stealthiness in vision-language models [12]. Game-theoretic work has also studied how attackers conceal intent through combinations of skills against a defender with limited filtering capacity [13]. We focus on a complementary task-selection problem. Given harmful-intent probabilities for a finite collection of tasks, which auxiliary tasks form the smallest bundle that retains a designated target and satisfies a specified concealment condition? Stating this condition explicitly allows us to determine whether such a bundle exists and how many auxiliary tasks it requires. This provides a way to study the feasibility and cost of concealment before considering the wording of a particular query.

The wording introduces a second challenge. A selected bundle must be expressed as a natural-language query, and the same tasks can be combined, ordered, and described in different ways. These choices may change both the apparent intent of the query and the clarity of the target request. Irrelevant context can also reduce performance on reasoning tasks [14], motivating a similar question here: can auxiliary tasks divert a response from its designated target? A query that appears less harmful is insufficient if rewriting removes or weakens the behavior the attacker wants to obtain. We therefore study task selection and query construction separately, then evaluate both attack success and the extent to which responses fulfill the original target.

Summary of Contributions. We treat compositional intent hiding as a task-selection problem and study the tradeoff between concealment and target preservation. In this work, we develop this view in stages: first as an information-theoretic abstraction, then by selecting tasks without regard to their wording, followed by selecting the tasks and the query together, and finally by evaluating the resulting attacks empirically.

References (34)