arXiv AI

Localizing Safety Alignment: MLP Layers and Mid-Network Blocks Encode Refusal Behavior in Large Language Models

arXiv:2608. 11583v1 Announce Type: new Abstract: Safety alignment in large language models is often treated as a distributed property of the entire network, yet its practical brittleness suggests that refusal behavior may be concentrated in a smaller set of parameters.

arXiv AI
Oct 12

Attention Sees, MLP Refuses: Tracing the Attention-to-MLP Safety Pathway in LLMs

The paper investigates how safety‑aligned large language models (LLMs) can still be tricked by jailbreaks or over‑refuse benign requests. By analyzing residual‑stream updates in decoder‑only Transformers, the authors find that harmfulness is more readily decoded from attention updates—especially in early layers—while the MLP component is primarily responsible for writing refusal responses. Post‑training enhances MLP‑driven refusal writing without improving harmfulness decodability, and causal interventions confirm that downstream MLP updates are crucial for the refusal shift caused by upstream attention changes. Building on these insights, the authors propose Sentinel, a system that combines an attention‑derived perception score with an MLP‑derived decision score to better detect jailbreaks and over‑refusals across multiple models.

By Zixuan Weng, Haoqi He, Weifei Jin, Yue Huang, Yang Bai
arXiv AI
Oct 31

Revisiting Over-refusal in Safety-aligned Large Language Models: A Representation and Optimization Perspective

The paper investigates why safety‑aligned large language models still over‑refuse harmless queries, attributing the issue to overlapping representations in deeper layers and imbalanced gradient coupling that favors refusal. It proposes GOAL, a framework that orthogonalizes over‑refusal gradients against a low‑rank refusal subspace and adds contrastive learning to sharpen harmful‑vs‑over‑refusal representation separation. Experiments show GOAL reduces over‑refusal while maintaining safety and general performance.

By Chao Chen, Pengyang Shao, Wei Qin, Shijie Hao, Fei Shen, Richang Hong
arXiv Computation and Language
Sep 4

Beyond Shallow Alignment: How Post-Training Methods Determine Refusal Circuits And Steering Robustness

The paper investigates how different post‑training methods—supervised fine‑tuning, reasoning‑augmented fine‑tuning, and preference optimization (ORPO)—affect the internal computation of refusal behavior in language models. Experiments on Llama‑3.1‑8B, Gemma‑2‑9B, and Qwen3‑8B show that reasoning‑augmented training consistently creates a distinct refusal computation across models, while the architecture influences the internal structure and steerability of refusal. None of the studied methods simultaneously achieve a distributed refusal mechanism, preserve general capability, and allow easy corrective edits, indicating that current post‑training approaches are not a fully reliable defense for safety-critical applications.

By Hoang Cuong Nguyen, Mark Dras, Usman Naseem
arXiv Machine Learning
Jun 25

RAS: Measuring LLM Safety Through Refusal Alignment

arXiv:2606. 25750v1 Announce Type: cross Abstract: Safety evaluation of large language models (LLMs) is commonly performed by querying models with unsafe or jailbreak prompts and judging whether their outputs violate a safety policy.

By Chang-Chieh Huang, Yan-Lun Chen, Chia-Mu Yu, Wei-Bin Lee
arXiv AI
Oct 21

Global Security Blind Spots: Translation as a Safety Bypass in Low-Resource Languages

The paper investigates how large language models (LLMs) can be bypassed by translating harmful requests from English into low‑resource languages. By testing ten popular LLMs across 79 languages, the authors find that safe English completions often fail to remain safe after translation, with bypass rates between 21.9% and 44.4%. The risk is unevenly distributed across language families and varies significantly between models, making it hard to rank models by safety consistently.

By Jalil Alva, David Harper, Abigail E. Thornton, Rafael S. Villalobos Alva, Leonardo Kenji Minemura Suazo, Konstantinos Karageorgos, Diego Velazquez, Sergio A. Serrano, Marvin Vargas Flores, Aaron Schliem, Fernando F. Migone
arXiv AI
Oct 28

Aligning Large Language Models for Safety in African Languages: A Case Study of Hausa

The paper introduces HausaSafeLM, a safety preference dataset for Hausa comprising 10,000 prompts (3,000 human‑corrected and 7,000 machine‑translated) across six harm categories. Using Qwen2.5‑7B‑Instruct, the authors compare supervised fine‑tuning (SFT) and SFT followed by Direct Preference Optimization (DPO) on 500 harmful and 200 benign Hausa prompts, finding that SFT improves refusal fluency and precision—especially with larger, noisier data—while DPO sharpens precision at the cost of linguistic quality. No single approach simultaneously maximizes safety, helpfulness, and fluency, and the study shows that refusal‑rate metrics alone are unreliable indicators of safety in low‑resource languages.

By Valdini Douglace Lemofouet, Blessing Ngozi Uzor, Paula Chikaodinaka Anyanwu, Danielle Blanche Kapsa, Saminu Mohammad Aliyu, Seid Muhie Yimam, Shamsuddeen Hassan Muhammad