Target-free Latent Safety Alignment
cs.LG, cs.AI
Submitted: 2026-10-03
Updated: 2026-10-03
Code: https://github.com/luoyuchenmlcv/target-free-latent-align
License: http://creativecommons.org/licenses/by/4.0/
The gist: Large language models (LLMs) remain highly vulnerable to jailbreak attacks that induce harmful behaviors and circumvent safety alignment.
Terminology
Abstract
Large language models (LLMs) remain highly vulnerable to jailbreak attacks that induce harmful behaviors and circumvent safety alignment. To defend against such attacks, adversarial training paradigms have been proposed to first simulate failure modes and then train the model to correct them, yielding promising improvements in safety alignment. However, these methods typically construct adversarial samples either by encouraging fixed harmful target completions or by performing targeted activation ablation derived from fixed benign--harmful data pairs. As a result, the generated adversarial samples tend to induce homogeneous harmful behaviors that poorly reflect the diversity of behaviors elicited by real-world jailbreak attacks. This behavior-level narrowness fundamentally limits their robustness. To address this issue, we propose a target-free adversarial training framework that generates adversarial samples in an unsupervised manner. By amplifying and diversifying behavior-level shifts in the model's latent space, our approach produces semantically diverse adversarial samples that induce a wide range of harmful behaviors. This expanded behavioral coverage exposes more diverse failure modes and thereby improves safety alignment. To quantify this effect, we use semantic entropy as an output-level measure of adversarial behavioral diversity. Empirically, our method elicits diverse harmful behaviors in the target model, substantially mitigating behavioral narrowness and improving robustness to jailbreak attacks.
Sources
- Jailbreaking Black Box Large Language Models in Twenty Queries
- Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
- Training Verifiers to Solve Math Word Problems
- OR-Bench: An Over-Refusal Benchmark for Large Language Models
- Probing the Robustness of Large Language Models Safety to Latent Perturbations
- Closing the Distribution Gap in Adversarial Training for LLMs
- Mistral 7B
- Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generation
- AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models
- CodeChameleon: Personalized Encryption Framework for Jailbreaking Large Language Models
- Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
- Red Teaming Language Models with Language Models
- Qwen2.5 Technical Report
- Jailbreak Antidote: Runtime Safety-Utility Balance via Sparse Representation Adjustment in Large Language Models
- AlphaSteer: Learning Refusal Steering with Principled Null-Space Constraint
- Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMs
- Latent-space adversarial training with post-aware calibration for defending large language models against jailbreak attacks
- GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts
- Universal and Transferable Adversarial Attacks on Aligned Language Models
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks