Saved in:
Bibliographic Details
Main Authors: Pan, Licheng, Tong, Yongqi, Zhang, Xin, Zhang, Xiaolu, Zhou, Jun, Chu, Zhixuan
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.18325
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908544109903872
author Pan, Licheng
Tong, Yongqi
Zhang, Xin
Zhang, Xiaolu
Zhou, Jun
Chu, Zhixuan
author_facet Pan, Licheng
Tong, Yongqi
Zhang, Xin
Zhang, Xiaolu
Zhou, Jun
Chu, Zhixuan
contents Large language models (LLMs) have demonstrated remarkable capabilities across a wide range of tasks, yet they often refuse to answer legitimate queries--a phenomenon known as overrefusal. Overrefusal typically stems from over-conservative safety alignment, causing models to treat many reasonable prompts as potentially risky. To systematically understand this issue, we probe and leverage the models' safety decision boundaries to analyze and mitigate overrefusal. Our findings reveal that overrefusal is closely tied to misalignment at these boundary regions, where models struggle to distinguish subtle differences between benign and harmful content. Building on these insights, we present RASS, an automated framework for prompt generation and selection that strategically targets overrefusal prompts near the safety boundary. By harnessing steering vectors in the representation space, RASS efficiently identifies and curates boundary-aligned prompts, enabling more effective and targeted mitigation of overrefusal. This approach not only provides a more precise and interpretable view of model safety decisions but also seamlessly extends to multilingual scenarios. We have explored the safety decision boundaries of various LLMs and construct the MORBench evaluation set to facilitate robust assessment of model safety and helpfulness across multiple languages. Code and datasets are available at https://github.com/Master-PLC/RASS.
format Preprint
id arxiv_https___arxiv_org_abs_2505_18325
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Understanding and Mitigating Overrefusal in LLMs from an Unveiling Perspective of Safety Decision Boundary
Pan, Licheng
Tong, Yongqi
Zhang, Xin
Zhang, Xiaolu
Zhou, Jun
Chu, Zhixuan
Artificial Intelligence
Machine Learning
Large language models (LLMs) have demonstrated remarkable capabilities across a wide range of tasks, yet they often refuse to answer legitimate queries--a phenomenon known as overrefusal. Overrefusal typically stems from over-conservative safety alignment, causing models to treat many reasonable prompts as potentially risky. To systematically understand this issue, we probe and leverage the models' safety decision boundaries to analyze and mitigate overrefusal. Our findings reveal that overrefusal is closely tied to misalignment at these boundary regions, where models struggle to distinguish subtle differences between benign and harmful content. Building on these insights, we present RASS, an automated framework for prompt generation and selection that strategically targets overrefusal prompts near the safety boundary. By harnessing steering vectors in the representation space, RASS efficiently identifies and curates boundary-aligned prompts, enabling more effective and targeted mitigation of overrefusal. This approach not only provides a more precise and interpretable view of model safety decisions but also seamlessly extends to multilingual scenarios. We have explored the safety decision boundaries of various LLMs and construct the MORBench evaluation set to facilitate robust assessment of model safety and helpfulness across multiple languages. Code and datasets are available at https://github.com/Master-PLC/RASS.
title Understanding and Mitigating Overrefusal in LLMs from an Unveiling Perspective of Safety Decision Boundary
topic Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2505.18325