paper-with-me

Papers

When Autoregressive Consistency Hurts Safety Alignment

2026-06-02 · Bochen Lyu, Yiyang Jia, Xiaohao Cai, Zhanxing Zhu arxiv

Safety alignment in large language models (LLMs) is fragile in part because it is often shallow: fine-tuning mainly reshapes the model's behavior near the first few output tokens. We argue that this phenomenon can be understood through autoregressive consistency, the tendency of next-token prediction to preserve and extend the current response trajectory consistently. By analyzing the learning dynamics of safety alignment, we show that autoregressive consistency can concentrate alignment updates on early tokens, offering a mechanistic explanation for shallow safety alignment. The same mechanism also predicts a broader class of attacks on LLMs: attacks that induce harmful continuation states at arbitrary positions in the output trajectory. As a concrete example, we introduce random insertion attack, which inserts a short harmful span into an otherwise safe refusal trajectory and exploits autoregressive consistency to sustain the resulting harmful branch, thereby bypassing safety alignment. Notably, a short harmful span can redirect the generation to be harmful even after a long refusal prefix, highlighting autoregressive consistency as a potential broader failure mechanism. This suggests that safety alignment should also break harmful autoregressive consistency throughout the output trajectory. We therefore propose adversarial safety alignment, an initial framework based on worst-case harmful continuation states, and instantiate it with random worst-insertion training. Overall, our results suggest that autoregressive consistency should be treated as a central consideration in both safety alignment and attack design.

📄 PDF Abstract BibTeX arXiv:2606.04168

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Align Once, Benefit Multilingually: Enforcing Multilingual Consistency for LLM Safety Alignment

2026-02-18 · Yuyan Bu, Xiaohao Liu, ZhaoXing Ren, Yaodong Yang 외 arxiv

The widespread deployment of large language models (LLMs) across linguistic communities necessitates reliable multilingual safety alignment. However, recent efforts to extend alignment to other languages often require su…

Fake Alignment: Are LLMs Really Aligned Well?

2023-11-10 · Yixu Wang, Yan Teng, Kexin Huang, Chengqi Lyu 외

The growing awareness of safety concerns in large language models (LLMs) has sparked considerable interest in the evaluation of safety. This study investigates an under-explored issue about the evaluation of LLMs, namely…

Multiple-choice

Rethinking Deep Alignment Through The Lens Of Incomplete Learning

2025-11-15 · Thong Bach, Dung Nguyen, Thao Minh Le, Truyen Tran arxiv

Large language models exhibit systematic vulnerabilities to adversarial attacks despite extensive safety alignment. We provide a mechanistic analysis revealing that position-dependent gradient weakening during autoregres…

Adversarial Robustness

AliTok: Towards Sequence Modeling Alignment between Tokenizer and Autoregressive Model

2025-06-05 · arXiv 2025 6 · Pingyu Wu, Kai Zhu, Yu Liu, Longxiang Tang 외

Autoregressive image generation aims to predict the next token based on previous ones. However, existing image tokenizers encode tokens with bidirectional dependencies during the compression process, which hinders the ef…

DecoderImage Generation

On-Policy Consistency Training Improves LLM Safety with Minimal Capability Degradation

2026-05-20 · Andy Han, Kristina Fujimoto, Avidan Shah, Kiet Nguyen 외 arxiv

Aligned models can misbehave in several ways: they are often sycophantic, fall victim to jailbreaks, or fail to include appropriate safety warnings. Consistency training is a promising new alignment paradigm to mitigate …