mlsanityData to 7 Oct 2026

Understanding and Mitigating Over-refusal for Large Language Models via Representation Intervention

arXiv 2511.19009 ↗First posted 24 Nov 2025cs.CR cs.CLcited by 0

On the map: LLM safety and security → Safety alignment, refusal and guardrails

Abstract (arXiv)

Large language models (LLMs) demonstrate powerful capabilities across various natural language processing tasks,yet their inherent safety vulnerabilities undermine the reliable application of LLMs in real-world scenarios. To enhance LLM safety, various jailbreak defense methods have been proposed to guard against harmful outputs. However, improvements in model safety often come at the cost of severe over-refusal, failing to strike a good balance between safety and usability. This phenomenon is a critical reliability degradation issue in LLM intelligent systems, failing to strike a good balance between safety defense effectiveness and system usability reliability. In this paper, we first analyze the causes of over-refusal from a representation perspective, revealing that LLMs are unable to effectively distinguish between over-refusal samples and malicious samples. Based on this, we propose to mitigate overrefusal by intervening in the safety representation space of LLMs. Our method incorporates two core strategies: (1) OverlapAware Loss Weighting, which determines the erasure weight for malicious samples by quantifying their similarity to overrefusal samples in the representation space, and (2) ContextAware Augmentation, which supplements the necessary context for rejection decisions by adding harmful prefixes before rejection responses. Experiments demonstrate that our method achieves a better trade-off between mitigating over-refusal and maintaining safety, compared with existing approaches. This paper also aims to encourage researchers to consider the reliability of defending methods against jailbreak attacks from both the perspectives of safety and over-refusal.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 49 of its 57 references that are in the map. First posted on arXiv 24 Nov 2025.

Builds on

49 of 57 references.

Closest ancestors · 11

Same direction, newest first

  1. 2025Qwen3Guard Technical Report16 Oct
  2. 2025Just Enough Shifts: Mitigating Over-Refusal in Aligned Language Models with Targeted Representation Fine-Tuning6 Jul
  3. 2025EVOREFUSE: Evolutionary Prompt Optimization for Evaluation and Mitigation of LLM Over-Refusal to Pseudo-Malicious Instructions29 May
  4. 2025FalseReject: A Resource for Improving Contextual Safety and Mitigating Over-Refusals in LLMs via Structured Reasoning12 May
  5. 2025Representation Bending for Large Language Model Safety2 Apr
  6. 2024Automatic Pseudo-Harmful Prompt Generation for Evaluating False Refusals in Large Language Models1 Sep
  7. 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMs26 Jun
  8. 2024Improving Alignment and Robustness with Circuit Breakers6 Jun
  9. 2024OR-Bench: An Over-Refusal Benchmark for Large Language Models31 May
  10. 2024What is in Your Safe Data? Identifying Benign Data that Breaks Safety1 Apr
  11. 2024CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion12 Mar

Other references · 38

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  6. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  7. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  8. 2023Mistral 7Bcited by 3,065
  9. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  10. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  11. 2024Qwen2 Technical Reportcited by 2,076
  12. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
26 more
  1. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
  2. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
  3. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
  4. 2022Editing Models with Task Arithmeticcited by 1,076
  5. 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
  6. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
  7. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
  8. 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearningcited by 484
  9. 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 477
  10. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 434
  11. 2023Detecting Language Model Attacks with Perplexitycited by 411
  12. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 401
  13. 2023Who's Harry Potter? Approximate Unlearning in LLMscited by 366
  14. 2019Orthogonal Gradient Descent for Continual Learningcited by 361
  15. 2024WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Modelscited by 206
  16. 2024Safety Layers in Aligned Large Language Models: The Key to LLM Securitycited by 126
  17. 2023AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Modelscited by 102
  18. 2024How Alignment and Jailbreak Work: Explain LLM Safety through Intermediate Hidden Statescited by 92
  19. 2023Is GPT-4 a Good Data Analyst?cited by 69
  20. 2024Refuse Whenever You Feel Unsafe: Improving Safety in LLMs via Decoupled Refusal Trainingcited by 67
  21. 2024Revisiting Jailbreaking for Large Language Models: A Representation Engineering Perspectivecited by 44
  22. 2024Navigating the OverKill in Large Language Modelscited by 40
  23. 2025X-Boundary: Establishing Exact Safety Boundary to Shield LLMs from Multi-Turn Jailbreaks without Compromising Usabilitycited by 20
  24. 2022MINER: Improving Out-of-Vocabulary Named Entity Recognition from an Information Theoretic Perspectivecited by 17
  25. 2024TuBA: Cross-Lingual Transferability of Backdoor Attacks in LLMs with Instruction Tuningcited by 13
  26. 2024Self-Evaluation as a Defense Against Adversarial Attacks on LLMscited by 13

Built on by

Not cited yet.