English
Related papers

Related papers: SOM Directions are Better than One: Multi-Directio…

200 papers

Instruction Fine-Tuning (IFT) has been widely adopted as an effective post-training strategy to enhance various abilities of Large Language Models (LLMs). However, prior studies have shown that IFT can significantly compromise LLMs' safety,…

Computation and Language · Computer Science 2025-09-09 Yanrui Du , Fenglei Fan , Sendong Zhao , Jiawei Cao , Qika Lin , Kai He , Ting Liu , Bing Qin , Mengling Feng

Current LLMs are trained to refuse potentially harmful input queries regardless of whether users actually had harmful intents, causing a tradeoff between safety and user experience. Through a study of 480 participants evaluating 3,840…

Computation and Language · Computer Science 2025-12-04 Mingqian Zheng , Wenjia Hu , Patrick Zhao , Motahhare Eslami , Jena D. Hwang , Faeze Brahman , Carolyn Rose , Maarten Sap

Language models are instruction-tuned to refuse harmful requests, but the mechanisms underlying this behavior remain poorly understood. Popular steering methods operate on the residual stream and degrade output coherence at high…

Machine Learning · Computer Science 2026-05-13 Sam Herring , Jake Naviasky , Karan Malhotra

Applying steering vectors to large language models (LLMs) is an efficient and effective model alignment technique, but we lack an interpretable explanation for how it works-- specifically, what internal mechanisms steering vectors affect…

Machine Learning · Computer Science 2026-04-10 Stephen Cheng , Sarah Wiegreffe , Dinesh Manocha

Safety-aligned language models systematically refuse harmful requests. While activation steering can modulate refusal, ablating the raw "refusal vector" calculated from contrastive harmful and harmless prompts often causes collateral damage…

Computation and Language · Computer Science 2026-01-14 Tony Cristofano

Ensuring the safety alignment of Large Language Models (LLMs) is critical for generating responses consistent with human values. However, LLMs remain vulnerable to jailbreaking attacks, where carefully crafted prompts manipulate them into…

Computation and Language · Computer Science 2025-07-03 Yukai Zhou , Jian Lou , Zhijie Huang , Zhan Qin , Yibei Yang , Wenjie Wang

Masked diffusion language models (MDLMs) generate text via iterative masked-token denoising, enabling mask-parallel decoding and distinct controllability and efficiency tradeoffs from autoregressive LLMs. Yet, efficient representation-level…

Computation and Language · Computer Science 2026-03-31 Adi Shnaidman , Erin Feiglin , Osher Yaari , Efrat Mentel , Amit Levi , Raz Lapid

Reflection, the ability of large language models (LLMs) to evaluate and revise their own reasoning, has been widely used to improve performance on complex reasoning tasks. Yet, most prior works emphasizes designing reflective prompting…

Machine Learning · Computer Science 2025-12-12 Fu-Chieh Chang , Yu-Ting Lee , Pei-Yuan Wu

Representation Engineering analyses often characterize refusal using static directions extracted from terminal or pooled representations. We ask whether this view misses how refusal is constructed across layer-token positions. Using causal…

Cryptography and Security · Computer Science 2026-05-27 Xulin Hu , Che Wang , Wei Yang Bryan Lim , Jianbo Gao , Zhong Chen

Recent advances in large language models (LLMs) have intensified the need to understand and reliably curb their harmful behaviours. We introduce a multidimensional framework for probing and steering harmful content in model internals. For…

Artificial Intelligence · Computer Science 2025-07-30 McNair Shah , Saleena Angeline , Adhitya Rajendra Kumar , Naitik Chheda , Kevin Zhu , Vasu Sharma , Sean O'Brien , Will Cai

Multimodal large language models (MLLMs) often fail to transfer safety capabilities learned in the text modality to semantically equivalent non-text inputs, revealing a persistent multimodal safety gap. We study this gap from a…

Artificial Intelligence · Computer Science 2026-05-19 Jiahe Guo , Xiangran Guo , Jiaxuan Chen , Weixiang Zhao , Yanyan Zhao , Yutai Hou , Qianchao Wang , Dandan Tu , Bing Qin

Responsible deployment of language models requires mechanisms for refusing unsafe prompts while preserving model performance. While most approaches modify model weights through additional training, we explore an alternative: steering model…

Training a language model to be both helpful and harmless requires careful calibration of refusal behaviours: Models should refuse to follow malicious instructions or give harmful advice (e.g."how do I kill someone?"), but they should not…

Computation and Language · Computer Science 2025-03-05 Xinpeng Wang , Chengzhi Hu , Paul Röttger , Barbara Plank

Large Language Models (LLMs) suffer from a range of vulnerabilities that allow malicious users to solicit undesirable responses through manipulation of the input text. These so-called jailbreak prompts are designed to trick the LLM into…

Computation and Language · Computer Science 2025-10-13 John Hawkins , Aditya Pramar , Rodney Beard , Rohitash Chandra

Large language models (LLMs) frequently refuse to respond to pseudo-malicious instructions: semantically harmless input queries triggering unnecessary LLM refusals due to conservative safety alignment, significantly impairing user…

Artificial Intelligence · Computer Science 2026-01-21 Xiaorui Wu , Fei Li , Xiaofeng Mao , Xin Zhang , Li Zheng , Yuxiang Peng , Chong Teng , Donghong Ji , Zhuang Li

Large Language Model (LLM) unlearning aims to erase or suppress undesirable knowledge within the model, offering promise for controlling harmful or private information to prevent misuse. However, recent studies highlight its limited…

Computation and Language · Computer Science 2025-06-10 Xiaotian Ye , Mengqi Zhang , Shu Wu

Large language models (LLMs) are vital for a wide range of applications yet remain susceptible to jailbreak threats, which could lead to the generation of inappropriate responses. Conventional defenses, such as refusal and adversarial…

Cryptography and Security · Computer Science 2026-01-29 Xianglin Yang , Gelei Deng , Jieming Shi , Tianwei Zhang , Jin Song Dong

Large language models (LLMs) are known to be sensitive to input phrasing, but the mechanisms by which semantic cues shape reasoning remain poorly understood. We investigate this phenomenon in the context of comparative math problems with…

Computation and Language · Computer Science 2025-06-05 Mohammadamin Shafiei , Hamidreza Saffari , Nafise Sadat Moosavi

Most commonly used language models (LMs) are instruction-tuned and aligned using a combination of fine-tuning and reinforcement learning, causing them to refuse users requests deemed harmful by the model. However, jailbreak prompts can…

Computation and Language · Computer Science 2025-07-02 Aryan Shrivastava , Ari Holtzman

Language models often exhibit undesirable behavior, e.g., generating toxic or gender-biased text. In the case of neural language models, an encoding of the undesirable behavior is often present in the model's representations. Thus, one…

Machine Learning · Computer Science 2025-06-05 Shashwat Singh , Shauli Ravfogel , Jonathan Herzig , Roee Aharoni , Ryan Cotterell , Ponnurangam Kumaraguru