paper-with-me

Papers

Why Safeguarded Ships Run Aground? Aligned Large Language Models' Safety Mechanisms Tend to Be Anchored in The Template Region

2025-02-19 · Chak Tou Leong, Qingyu Yin, Jian Wang, Wenjie Li

The safety alignment of large language models (LLMs) remains vulnerable, as their initial behavior can be easily jailbroken by even relatively simple attacks. Since infilling a fixed template between the input instruction and initial model output is a common practice for existing LLMs, we hypothesize that this template is a key factor behind their vulnerabilities: LLMs' safety-related decision-making overly relies on the aggregated information from the template region, which largely influences these models' safety behavior. We refer to this issue as template-anchored safety alignment. In this paper, we conduct extensive experiments and verify that template-anchored safety alignment is widespread across various aligned LLMs. Our mechanistic analyses demonstrate how it leads to models' susceptibility when encountering inference-time jailbreak attacks. Furthermore, we show that detaching safety mechanisms from the template region is promising in mitigating vulnerabilities to jailbreak attacks. We encourage future research to develop more robust safety alignment techniques that reduce reliance on the template region.

📄 PDF Abstract BibTeX arXiv:2502.13946

Code (0)

등록된 구현이 없습니다.

Tasks

Decision MakingSafety Alignment

Similar Papers 제목 키워드 기반

When Visual Grounding Meets Gigapixel-level Large-scale Scenes: Benchmark and Approach

2024-01-01 · CVPR 2024 1 · Tao Ma, Bing Bai, Haozhe Lin, Heyuan Wang 외

Visual grounding refers to the process of associating natural language expressions with corresponding regions within an image. Existing benchmarks for visual grounding primarily operate within small-scale scenes with…

Scene UnderstandingVisual Grounding

Jailbreaking Safeguarded Text-to-Image Models via Large Language Models

2025-03-03 · Zhengyuan Jiang, Yuepeng Hu, Yuchen Yang, Yinzhi Cao 외

Text-to-Image models may generate harmful content, such as pornographic images, particularly when unsafe prompts are submitted. To address this issue, safety filters are often added on top of text-to-image models, or the…

Language ModelingLanguage ModellingLarge Language Model

Will releasing the weights of future large language models grant widespread access to pandemic agents?

2023-10-25 · Anjali Gopal, Nathan Helm-Burger, Lennart Justen, Emily H. Soice 외

Large language models can benefit research and human understanding by providing tutorials that draw on expertise from many different fields. A properly safeguarded model will refuse to provide "dual-use" insights that co…

Eliciting Harmful Capabilities by Fine-Tuning On Safeguarded Outputs

2026-01-20 · Jackson Kaunismaa, Avery Griffin, John Hughes, Christina Q. Knight 외 arxiv

Model developers implement safeguards in frontier models to prevent misuse, for example, by employing classifiers to filter dangerous outputs. In this work, we demonstrate that even robustly safeguarded models can be use…

Open-Weight LLM Fine-Tuning Defenses are Susceptible to Simple Attacks

2026-05-26 · Kevin Kuo, Chhavi Yadav, Virginia Smith arxiv

Recent defenses for safeguarding open-weight large language models (LLMs) are intended to prevent adversarial usage. Underlying these defenses is an assumption that new harmful behavior is learned through fine-tuning rat…