Any-Depth Alignment: Unlocking the innate safety alignment of large language models to any depthAny-Depth Alignment: Unlocking Innate Safety Alignment of LLMs to Any-Depth
The researchers propose an inference-time defense method, Any-Depth Alignment (ADA), which restores refusal at any generation depth by re-injecting the assistant header token midway through generation. This work targets the problem of shallow alignment in large language models: the model can refuse directly at the start of a turn, but once harmful continuation unfolds through adversarial attacks or harmful assistant-prefill attacks, the protection fails. The principle is that repeated use of shallow refusal training concentrates alignment in the assistant header token; these tokens carry the model's strong alignment prior, and re-injecting them prompts the model to re-evaluate harmfulness, without modifying the base model's parameters and with negligible overhead.