Study Reveals the Geometric Evolution of Harmfulness Representations in Multi-Turn AttacksThe Geometry of Harmfulness in Multi-Turn Attacks
The authors analyze representations from three multi-turn attacks on three models: harmfulness becomes more separable across turns, and aligns weakly with refusal.
- Multi-turn attacks distribute harmfulness across turns, and it is unclear whether the single-turn harmfulness/refusal direction remains effective along the conversation. The authors aim to characterize how these representations vary across turns, layers, and contexts, rather than proposing new defenses.
- Three multi-turn frameworks are used to attack three instruction models. Differencing the means yields the harmfulness and success/failure directions, then AUROC and cosine are compared across four contexts, two token positions, and several layers.
- The authors claim that harmfulness is more separable in the middle-to-late stages, with full context and middle-to-late layers; transfer is higher within the same framework, weaker for X-Teaming; and cross-framework cosine is low. Harmfulness aligns only weakly with success/failure. The main text does not provide extractable AUROC values.
- The authors state that causal mechanisms were not identified, defenses were not directly evaluated, model sizes are similar, and linear directions may miss nonlinear effects. The experiments cover three models and three frameworks, with JBB as the training direction and WJB as the evaluation target; the main text does not report specific AUROC and attack success rates.
- Evaluated models
- Llama-3.1-8B-InstructQwen2.5-7B-InstructGemma-2-9B-it
- Benchmarks
- JailbreakBenchWildJailbreak
- Metrics
- AUROCcosine similarityStrongReject AISI score
The study analyzed the hidden state representations of three instruction-tuned models—Llama-3.1-8B-Instruct, Qwen2.5-7B-Instruct, and Gemma-2-9B-it—under three multi-turn attack frameworks: Crescendo, ActorAttack, and X-Teaming. The results show that different attack frameworks advance along different geometric directions but all achieve similar harmful output success rates; the harmfulness direction gradually becomes linearly separable at the end-of-turn token positions in the middle-to-later layers as the dialogue turns progress; harmfulness representations are only weakly aligned with refusal-related representations. The authors argue that multi-turn attacks do not succeed by suppressing the model's internal harmfulness representations, but rather by making harmfulness representations more separable across turns, which may explain the degradation of static single-turn safety probes in multi-turn scenarios, and robust defenses need to consider the temporal dynamics of representations.
Related events and news
1 events · 0 news mentions
- This event's paper
多轮攻击中危害表征的几何动态研究
Paper analysis
What problem does this paper attempt to solve?
How harmfulness and refusal evolve across turns in multi-turn settings, and why single-turn probes degrade.
How harmfulness and refusal representations change across turns in multi-turn dialogue, and why single-turn safety probes degrade.
- Scenario: The authors state that aligned models can still be induced to produce harmful outputs via adversarial attacks. Multi-turn is especially difficult because harmfulness can be distributed across turns that are individually benign, only emerging with accumulated context; safety behavior depends on dialogue length and structure, not just the last request.
- Existing gaps: Representation engineering has written harmfulness and refusal as separable directions in hidden states, but the authors state these works mainly target single-turn. Single-turn has a unique prompt from which to extract representations; in multi-turn it is unclear whether the signal is in the current turn, the entire history, or intermediate turns, and whether directions learned from single-turn generalize. The authors state that defenses designed for single-turn are weakened in multi-turn settings.
- Core question: How harmfulness is represented and encoded in multi-turn. The authors state the goal is not to build new defenses but to characterize the temporal evolution of safety-related representations in multi-turn attacks.
- What this paper does: On Llama-3.1-8B-Instruct, Qwen2.5-7B-Instruct, and Gemma-2-9B-it, dialogues are generated with Crescendo, ActorAttack, and X-Teaming, comparing linear separability, cross-framework transfer, and geometric alignment of harmfulness and outcome directions across multiple contexts, layers, and token positions.
What related research exists?
Related work is divided into multi-turn attacks, representation engineering, and defenses; the authors state there is a lack of systematic characterization across contexts.
Section 2 of the paper is organized along three lines: multi-turn attacks, representation engineering, and defenses. The authors claim the common gap is that no work has systematically characterized how different context configurations move harmful and refusal representations over time.
Multi-turn attack strategies
- Single-turn remains the focus of most work: Wei et al. [2023], Zou et al. [2023b], Mehrotra et al. [2024], Chao et al. [2024]. The paper only labels them as single-turn adversarial prompt studies, without comparing them one by one.
- Multi-turn breaks up harmfulness: Crescendo (Russinovich et al. [2025]) escalates gradually and rolls back refused turns from the target's active context; ActorAttack (Ren et al. [2024]) uses fictional characters to defer harmful content to later stages; X-Teaming (Rahman et al. [2025]) plans before executing. The authors state that Li et al. [2024] and Wei et al. [2023] have noted that single-turn methods are hard to defend against multi-turn; analogies, task interleaving, and long-range interactions are cited as examples that are more effective by distributing harmfulness. Ha et al. [2025] compresses multi-turn into a single-turn prompt.
- Context affects safety: Anil et al. [2024], Kim et al. [2025], Gibbs et al. [2024], Du et al. [2025] are cited to support that safety behavior depends on conversation length and structure. The paper does not individually criticize these works.
Representation engineering
- Contrastive difference means: Zou et al. [2023a] recover semantic axes from hidden states; similar uses include truthfulness, sentiment, and safety behavior. Turner et al. [2023] use steering vectors to intervene in behavior; Zou et al. [2024] use representation-level objectives to change behavior under adversarial pressure.
- How attacks move representations: Lin et al. [2024] report that successful attacks move hidden states away from refusal-related regions. The paper cites this as single-turn analysis.
- Closest multi-turn analysis: Bullwinkel et al. [2025] study Crescendo against Llama-3-8B-Instruct, claiming that as turns accumulate, the model's representations of its own final responses move toward benign regions of the single-turn space, explaining why circuit breaker fails on multi-turn; after compression to single-turn, the response-side representations resemble the full multi-turn. The authors state that this result is limited to five handcrafted attacks, one model, one framework, and looks at response-side tokens, not the input-side harmfulness location identified by Zhao et al. [2025].
Defenses and the separation of the two types of representations
- Refusal as safety representation: Arditi et al. [2024] find a direction whose ablation can suppress refusal; the paper paraphrases that this direction is both necessary and sufficient for refusal. Zou et al. [2024]'s circuit breaker makes harmful input representations orthogonal to the frozen base; the paper paraphrases that it achieves near-zero ASR on unseen single-turn attacks. The authors state that these methods do not separate refusal from the model's internal encoding of harmfulness.
- They can be separated: Zhao et al. [2025] claim that the hidden state of the last token of the user instruction clusters by whether it is harmful, independent of whether it is refused; the end-of-turn token clusters by refusal-related behavior, independent of whether the instruction is truly harmful. This distinction is causally verified via steering and reply inversion; the detector Latent Guard is used for single-turn attack detection. This paper adopts its token division.
This paper's comparisons and data
- Internal baselines: single-turn vinst, depth-matched but attack-free vctrl, multi-turn final-turn vfinal, and final-turn success−failure vpost. Contexts are full, no, neutral, compressed. Frameworks are Crescendo, ActorAttack, X-Teaming. Directions are trained on 100 topic-matched targets from JailbreakBench; evaluation targets are 50 harmful and 50 benign prompts from WildJailbreak. Attack success is determined by StrongReject's AISI rubric, with at least 0.5 counted as success.
The authors place the distinction in Section 2.4: existing work provides evidence that harmfulness and refusal are separable and that context weakens safety, but no systematic comparison of how different contexts move these two types of representations over time. This paper does not propose new defenses.
How does the paper address this problem?
Using difference-in-means directions, they compare separability and alignment across four contexts and two token positions.
Following the representation engineering of Zhao et al. [2025], directions are defined in each target model's own hidden states using the difference of means of paired prompts, and the analysis examines whether these directions can separate harmful from benign and successful from failed across multi-turn attacks.
Attack generation and data
- Three frameworks: Crescendo escalates gradually and rolls back refused turns from the target's active context; ActorAttack uses fictional characters semantically linked to the harmful goal, leaving harmful content to be elicited indirectly in later turns; X-Teaming first generates a strategy to reach the goal, then executes it turn by turn. The attackers are the default GPT-4o for each framework, using the framework-default judge prompts. Each goal is attempted 20 independent times, with at most 10 turns each (Appendix B.1).
- Training directions: JailbreakBench contains 100 harmful goals and 100 benign goals, forming 100 topic-matched pairs. The authors state that paired subtraction is meant to cancel topic content that could be confounded with harmfulness. The single-turn baseline presents each goal as a single user message; the multi-turn condition attacks each JBB goal 20 times under each framework.
- Evaluation goals: WildJailbreak is sliced into 50 harmful and 50 benign items. The paper states that the OpenAI moderation API is first used to process the candidates with the highest harmfulness, without specifying whether they are kept or removed; then, in a shared semantic space, the maximum cosine similarity to any JBB goal of the same category is computed, keeping only candidates below the median, after which 50+50 are selected. The embedding model is not specified in the paper. The authors state the aim is to make the evaluation goals different from the JBB goals used in training. The appendix lists the selected goals; they are not repeated here.
- Success labels: The StrongReject AISI rubric scores the final assistant response of a harmful conversation on [0, 1], with at least 0.5 counted as success. This is a conversation-level outcome for the whole attack, not whether a particular turn refused. Appendix B.3 states that the analysis on tpost should be read as predicting attack success or failure, not as a direct refusal readout; the main text still calls it refusal or refusal-related for convenience.
Four contexts and token positions
- Full-context: Provides the full history up to turn k and the turn structure.
- No-context: Only the current user turn, used to isolate whether harmfulness is encoded only in the current turn.
- Neutral-context: Adds several benign filler turns before the original goal, matching the depth and length of real attacks but without accumulated harmful content, used to separate the goal's position from the preceding content. The specific filler-turn text is not given in the paper.
- Compressed-context: Concatenates the full conversation into a single user message, used to separate turn boundaries, role-based attention, and content itself. There is also a single-turn baseline.
- Extraction positions: 8 layers are selected by depth proportion; the specific layer numbers are not listed in the main text. tinst is the last token of the attacker message before the end-of-turn marker, used for harmfulness; tpost is the end-of-turn token, used for outcome. The three models have different turn-end tokens (Table 2): Llama is <|eot_id|>, Qwen is <|im_end|>, and Gemma is <end_of_turn>. Llama and Qwen use the same safety-emphasizing system prompt; Gemma's template does not support a system role, so its attack conversations have no system prompt (Appendix A.2).
Four directions
Table 1's directions are all computed in each target model's own representation space.
- vinst: Topic-matched harmful/benign goals presented in a single turn, computed as harmful−benign at tinst.
- vctrl: The same goals each preceded by k benign filler turns, computed as harmful−benign at tinst. Matches depth but has no attack content.
- vfinal: The last turn of framework-generated conversations for the same goals (multi-turn attacks for harmful goals, benign conversations for benign goals), computed as harmful−benign at tinst.
- vpost: The last turn of successful versus failed multi-turn attacks, computed as success−failure at tpost. The authors use it as a proxy for the refusal direction obtained from multi-turn attacks; a footnote states this direction may reflect refusal behavior.
Three properties compared
- Separability across conversation stages and token positions, measured by projection-based AUROC; the figures report the median across layers with bootstrap 95% confidence intervals. The paper divides conversations into early, middle, and late, without giving the corresponding turn splits.
- Cross-framework transfer, and geometric alignment measured by cosine similarity.
- The relationship between the harmfulness direction and the success/failure direction.
The abstract and introduction state that multi-turn harmfulness directions at the end-of-turn token become more linearly separable across turns. Table 1 and the method section define vinst, vctrl, and vfinal at tinst, and vpost at tpost; the Figure 6 caption states that harmfulness directions come from instruction tokens. The two are inconsistent. The results below follow Table 1 and retain the abstract's wording.
What experiments did the paper conduct?
The main text does not give AUROC readings; the authors state that later turns, full context, and middle-to-later layers are more separable.
The experiments compare direction separability and cosine across three models and three frameworks; the main text and figure captions contain no extractable AUROC or cosine readings.
Experimental setup
- Models: Llama-3.1-8B-Instruct, Qwen2.5-7B-Instruct, Gemma-2-9B-it. The authors state they come from different labs, with different safety alignment pipelines and chat templates, and similar sizes.
- Attack generation: Crescendo, ActorAttack, X-Teaming; the attacker is default GPT-4o, and the frameworks' default judge prompts are used. Llama and Qwen have the same safety-oriented system prompt, Gemma has no system prompt.
- Data: Directions are trained on 100 topic-matched targets from JailbreakBench; evaluation targets are 50 harmful and 50 benign from WildJailbreak. The captions of Figures 1–8 do not specify which dialogue set the results come from.
- Trials and labels: Appendix B.1 gives 20 attempts per goal, up to 10 turns; Appendix B.2.1 states each JBB target is attacked 20 times per framework. Whether WJB also uses 20 is not specified in Appendix B.2.2. Success labels are StrongReject AISI with threshold 0.5. The paper does not state whether this score is given by a human or a model.
- Metrics and extraction: AUROC (median across layers, bootstrap 95% confidence intervals) and cosine between directions. 8 layers, tinst and tpost, four contexts plus a single-turn baseline. Beyond the bootstrap in the captions, the paper does not report the number of analysis repetitions. The main text does not report numeric ASR.
Main results
The table below records only the authors' relative comparisons, without filling in numbers not given in the paper. The main text also does not break out extractable exceptions per model, and summaries are often written as across models and frameworks.
| Comparison | Authors claim | Source | | Dialogue stage | Weaker early, higher in middle and later, especially vfinal; this trend is strongest for Crescendo and ActorAttack | Figure 1 | | Context | Cumulative full dialogue is most separable; removing history or compressing into a single user message generally lowers AUROC | Figure 2 | | Layer | Middle-to-later layers are strongest; vfinal is highest and more consistent across layers, while vinst and vctrl have more variance in earlier layers | Figure 3 | | Cross-framework AUROC | Same-framework is highest; Crescendo and ActorAttack transfer more strongly within framework, while involving X-Teaming is weaker | Figure 4 | | Inter-framework cosine | Section 4.2 says low-to-moderate; Crescendo and ActorAttack align more strongly, X-Teaming is relatively more orthogonal | Figure 5 | | Harmfulness vs. outcome | In most settings vinst is higher than vpost; the cosine between them is weak | Figures 6–8 |
- Authors' interpretation: Harmfulness is not encoded only in the current attack message but depends on information accumulated across the whole interaction; it is not a static prompt-level feature but becomes more consistent and linearly separable over stages. One possible explanation the authors give is that harmful intent in later turns is semantically more explicit.
- Directions not shared: The authors state different frameworks take different representational directions; harmfulness may lie in a shared space, but each strategy exploits different local directions within it. The introduction says moderate transfer, low cosine similarity; Section 4.2 says low-to-moderate. The authors state all frameworks can elicit harmful outputs, and the paper does not report ASR or cosine between outputs.
- Relationship with refusal: The authors state that harmfulness- and refusal-related representations are only partially distinct mechanisms, and multi-turn attacks do not succeed by suppressing internal harmfulness representations. The authors believe the model may encode the dialogue as harmful before the final attack succeeds, and this representation often stabilizes earlier than refusal-related representations.
Token positions and refusal proxy
- Figure 8 (Appendix D): vinst is harmful−benign on attacker instruction tokens, vpost is success−failure on end-of-turn tokens. The authors state AUROC rises from early to later turns, especially for Crescendo and ActorAttack, with vpost weaker. The caption gives no numbers.
- Figures 6–7: The authors state vinst has stronger and more consistent positive cosine across layers in middle-to-later layers, while vpost varies more; the cosine between the two direction types within the same framework remains weak. The Figure 6 caption only says the upper part is cosine between harmfulness directions from instruction tokens, without describing the lower part.
- Label meaning: In the main text, refusal is shorthand. Appendix B.3 states tpost predicts whether the attack ultimately succeeds or fails, not turn-by-turn refusal.
Other ablations and analyses
- Comparisons of context, layer, framework, and token are all in Figures 1–8; the paper gives no separate hyperparameter table or per-cell numbers.
- vfinal vs. vinst, vctrl: The authors state vfinal has the highest overall AUROC, while the latter two have more variance in earlier layers (Figure 3), with no specific differences.
- The abstract says separability appears at the end-of-turn token; Table 1 places the harmfulness direction at tinst. The paper does not explain this inconsistency.
- The paper does not report query counts; the turn budget is only stated as up to 10 turns per attempt and 20 attempts per target.
- The paper does not do steering, patching, nor evaluate probes or circuit breakers.
- Re-experiments were run on three NVIDIA H200s in an 8×H200 node; local analysis used a 2024 MacBook Pro (64 GB, M4 Max).
What are some points that can be further explored?
The authors state that the analysis is correlational, does not identify causation, and does not directly evaluate defenses.
The limitations explicitly stated by the authors are: the analysis is correlational rather than causal, defenses are not evaluated, model sizes are similar, and linear directions may be insufficient.
Limitations and Future Directions Noted by the Authors
- No causality, no defense evaluation: They do not identify causal mechanisms of representation shifts, nor do they directly evaluate defenses (Section 5).
- Scale: The analyzed models are of similar size, limiting conclusions about model size or architecture (Section 5).
- Linear probes: Linear directions facilitate probing harmfulness but may not capture nonlinear or interaction effects in multi-turn reasoning (Section 5).
- Correlational, not causal: The analysis is correlational and cannot establish causal relationships between representation geometry and attack success (Section 5).
- Future work: The authors suggest targeted interventions such as activation steering or patching, and moving beyond single-token linear probes toward nonlinear or sequence-level detectors that exploit cross-turn dynamics (Section 5).
Sections 6–8 suggest defenses that model the joint temporal dynamics of both types of representations, rather than static single-turn probes. This is the authors' proposal, not an additional experimental limitation.
Experimental Coverage
- Analyzed models: Llama-3.1-8B-Instruct, Qwen2.5-7B-Instruct, Gemma-2-9B-it.
- Attack frameworks: Crescendo, ActorAttack, X-Teaming; attackers are the default GPT-4o for each framework, using default judge prompts. Final success labels use StrongReject AISI with threshold 0.5.
- Directions are trained on 100 topic-matched targets from JailbreakBench; evaluation targets are 50 harmful and 50 benign prompts from WildJailbreak. Figure 1–8 captions do not specify which set of targets the dialogues come from.
- Appendix B.1 states 20 independent attempts per goal, each with up to 10 turns. Contexts are full, no, neutral, compressed, plus a single-turn baseline; tokens are tinst and tpost; layers are 8 layers selected by depth proportion.
- Metrics are median AUROC per layer with bootstrap 95% confidence intervals, and cosine. The main text does not provide these readings, nor does it report ASR. Beyond bootstrap, the number of analysis repetitions is not reported. Whether WJB uses 20 per goal is not specified in Appendix B.2.2. The embedding model for similarity filtering is not specified. Whether StrongReject scores are given by humans or models is not stated in the paper. The model names for the framework judges are not listed separately.
Summarize the main content of the paper
In multi-turn, harmfulness becomes increasingly separable and weakly aligned with refusal, which may explain why single-turn static probes degrade.
The authors characterize how harmfulness and refusal-related representations change across dialogue in multi-turn attacks, without proposing new attacks or defenses.
- Problem: Single-turn work can write the two as separable directions, but in multi-turn settings harmfulness can be distributed across turns, and whether single-turn directions follow the dialogue is unclear.
- Approach: On three instruction models, dialogues are generated using Crescendo, ActorAttack, X-Teaming, and the default attacker GPT-4o. Differential mean directions are trained on 100 topic-matched targets from JailbreakBench, and the evaluation targets are 50 harmful and 50 benign prompts from WildJailbreak. The harmfulness direction is taken from tinst, and the success−failure direction from tpost; success labels are StrongReject AISI at least 0.5, and are results of the entire dialogue.
- Results: The authors state that mid-to-late turns, full history, and mid-to-late layers are more linearly separable, and the final-turn direction vfinal is overall highest; removing history or collapsing to a single user message generally lowers it. AUROC is higher when evaluated within the same framework, and transfer involving X-Teaming is weaker. The introduction writes the cross-framework cosine as low, while Section 4.2 writes low-to-moderate. In most settings, vinst is more separable than vpost, and their cosine is weak. The main text has no extractable AUROC, cosine, or ASR.
- Authors' conclusion: Multi-turn attacks may not hide internal harmfulness but rather make that representation more consistent across turns, and separately adjust refusal-related directions that are only weakly aligned with it. The authors consider this a possible explanation for why static single-turn probes degrade in multi-turn settings, and argue that defenses need to track the joint evolution of both representations across the dialogue. Section 5 states these analyses are relevant and that defenses were not directly evaluated. The abstract places harmfulness separability at the end-of-turn token, while Table 1 places it at tinst.
Related papers
Show 3 more papers
- Don't Judge an LLM Only by Its Activations: Discovering Suppressed Safety Features via Counterfactual Activation PotentialAnalysis / interpretabilityarXiv