English

SafeConstellations: Mitigating Over-Refusals in LLMs Through Task-Aware Representation Steering

Computation and Language 2026-04-21 v4

Abstract

LLMs increasingly exhibit over-refusal behavior, where safety mechanisms cause models to reject benign instructions that seemingly resemble harmful content. This phenomenon diminishes utility in production applications that repeatedly rely on common prompt templates or applications that frequently rely on LLMs for specific tasks (e.g. sentiment analysis, language translation). Through extensive evaluation, we demonstrate that LLMs persist in refusing inputs containing harmful content, even when they are reframed with tasks that have benign intent. Our mechanistic analysis reveals that LLMs follow distinct "constellation" patterns in embedding space as representations traverse layers, with each NLP task maintaining consistent trajectories that shift predictably between refusal and non-refusal cases. We introduce SafeConstellations, an inference-time trajectory-shifting approach that tracks task-specific trajectory patterns and guides representations toward non-refusal pathways. By selectively guiding model behavior only on tasks prone to over-refusal, our method reduces over-refusals with minimal impact on utility -- offering a principled and conditional approach to mitigating over-refusals.

Keywords

Cite

@article{arxiv.2508.11290,
  title  = {SafeConstellations: Mitigating Over-Refusals in LLMs Through Task-Aware Representation Steering},
  author = {Utsav Maskey and Sumit Yadav and Mark Dras and Usman Naseem},
  journal= {arXiv preprint arXiv:2508.11290},
  year   = {2026}
}

Comments

ACL 2026 Main

R2 v1 2026-07-01T04:51:15.904Z