Abstract
Recent advancements in Large Language Models (LLMs) have introduced sophisticated reasoning capabilities, yet these very strengths may be leveraged as vulnerabilities. This paper introduces RACE (Reasoning-Augmented Conversation), a novel multi-turn jailbreak attack framework that disguises harmful intents as complex reasoning tasks. By utilizing an Attack State Machine (ASM) and modules for information gain, self-play, and rejection feedback, RACE effectively bypasses safety alignments in state-of-the-art models. Experimental results demonstrate that RACE achieves unprecedented success rates, including an 82% Attack Success Rate (ASR) against OpenAI o1 and 92% against DeepSeek R1, highlighting a "reasoning paradox" where increased cognitive capacity facilitates successful adversarial manipulation.
Introduction
Jailbreak attacks represent a significant challenge in the deployment of Large Language Models (LLMs), as they seek to circumvent safety guardrails to generate prohibited content. While single-turn attacks are well-studied, multi-turn attacks offer a more realistic simulation of human-AI interaction, allowing an adversary to incrementally erode a model's defenses. However, existing multi-turn strategies often face a trade-off: they either lose semantic coherence over time ("semantic drift") or fail to bypass increasingly robust safety filters.
This research explores whether the advanced reasoning capabilities of modern LLMs can be weaponized against their own safety alignments. The authors propose that by reframing harmful queries as benign logical or mathematical puzzles, an attacker can exploit a model's inherent drive to solve complex problems, causing it to prioritize task completion over safety policy adherence.
Methodology: The RACE Framework
The core of the RACE framework is the Attack State Machine (ASM), which manages the progression of a multi-turn conversation. The ASM ensures the attack remains focused and coherent while transitioning through different states of interaction. To optimize the attack, RACE incorporates three primary sub-modules:
- Gain-guided Exploration (GE): Drawing from information theory, this module evaluates potential prompts based on "Information Gain." It selects queries that elicit the most relevant information regarding the target harmful intent while minimizing the likelihood of triggering safety filters.
- Self-play (SP): To refine the attack strategy, a "shadow" model simulates the victim's potential responses. This internal simulation allows the attacker to preemptively adjust prompts to avoid rejection, ensuring a higher probability of success when the query is finally presented to the victim model.
- Rejection Feedback (RF): In instances where the victim model identifies a prompt as harmful and issues a rejection, the RF module analyzes the failure. It then reformulates the query into a different reasoning challenge, allowing the attack to pivot and continue without losing progress.
Experimental Setup
The effectiveness of RACE was evaluated using two prominent safety benchmarks:
- AdvBench (Subset): A collection of 50 representative harmful queries.
- HarmBench: A comprehensive dataset featuring 400 textual instances across seven categories of harmful activities, designed to test the limits of model robustness.
Results and Key Insights
The experimental results reveal a significant vulnerability in current LLM safety architectures.
The Reasoning Paradox
The most striking finding is the "Reasoning Paradox": models with superior reasoning capabilities, such as OpenAI o1 and DeepSeek R1, are more susceptible to RACE than less advanced models. Their compulsion to engage with and solve complex logical puzzles creates a blind spot; the models become so focused on the "how" of the reasoning task that they fail to scrutinize the "what" of the underlying intent.
Effectiveness Across Reasoning Types
The authors tested various reasoning domains, including mathematics, symbolic logic, and causal reasoning. Commonsense reasoning proved to be the most effective vector, yielding an ASR of 93.3%. The reliance on general intuition and everyday logic in these tasks makes it easier to embed harmful intents without alerting safety filters compared to the rigid structures of math or symbolic logic.
Performance Metrics
RACE consistently outperformed established baselines such as PAIR, TAP, and DeepInception.
- AdvBench: Achieved an average ASR of 91.3%.
- HarmBench: Achieved an ASR of 66.7%, a high mark for this challenging dataset.
- Commercial Models: RACE successfully compromised OpenAI o1 (82% ASR) and DeepSeek R1 (92% ASR).
- Efficiency: On several open-source models, RACE achieved near-perfect success rates within just three interaction turns.
Resilience to Defenses
Standard test-time defenses, including SmoothLLM and JailGuard, proved largely ineffective, with ASR reductions ranging from only 1% to 16%. While "Self-Reminder" was the most successful defense, it only reduced the ASR by 17.6%, leaving the models significantly exposed.
Conclusion and Future Work
RACE demonstrates that the very reasoning capabilities intended to make LLMs more helpful and intelligent also provide a sophisticated pathway for adversarial exploitation. While the framework currently faces limitations regarding computational overhead due to the Self-play and shadow model simulations, its success against top-tier models is a call to action for the AI safety community.
Future research should focus on developing adaptive, reasoning-aware countermeasures. Additionally, extending the RACE framework to multimodal models could reveal whether similar vulnerabilities exist in vision-language reasoning tasks.
Summary updated