paper-with-me

Papers

Tell Me What You Don't Know: Enhancing Refusal Capabilities of Role-Playing Agents via Representation Space Analysis and Editing

2024-09-25 · Wenhao Liu, Siyu An, Junru Lu, Muling Wu, Tianlong Li, Xiaohua Wang, Xiaoqing Zheng, Di Yin, Xing Sun, Xuanjing Huang

Role-Playing Agents (RPAs) have shown remarkable performance in various applications, yet they often struggle to recognize and appropriately respond to hard queries that conflict with their role-play knowledge. To investigate RPAs' performance when faced with different types of conflicting requests, we develop an evaluation benchmark that includes contextual knowledge conflicting requests, parametric knowledge conflicting requests, and non-conflicting requests to assess RPAs' ability to identify conflicts and refuse to answer appropriately without over-refusing. Through extensive evaluation, we find that most RPAs behave significant performance gaps toward different conflict requests. To elucidate the reasons, we conduct an in-depth representation-level analysis of RPAs under various conflict scenarios. Our findings reveal the existence of rejection regions and direct response regions within the model's forwarding representation, and thus influence the RPA's final response behavior. Therefore, we introduce a lightweight representation editing approach that conveniently shifts conflicting requests to the rejection region, thereby enhancing the model's refusal accuracy. The experimental results validate the effectiveness of our editing method, improving RPAs' refusal ability of conflicting requests while maintaining their general role-playing capabilities.

📄 PDF Abstract BibTeX arXiv:2409.16913

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Refuse Whenever You Feel Unsafe: Improving Safety in LLMs via Decoupled Refusal Training

2024-07-12 · Youliang Yuan, Wenxiang Jiao, Wenxuan Wang, Jen-tse Huang 외

This study addresses a critical gap in safety tuning practices for Large Language Models (LLMs) by identifying and tackling a refusal position bias within safety tuning data, which compromises the models' ability to appr…

Position

The Hallucination Tax of Reinforcement Finetuning

2025-05-20 · Linxin Song, Taiwei Shi, Jieyu Zhao

Reinforcement finetuning (RFT) has become a standard approach for enhancing the reasoning capabilities of large language models (LLMs). However, its impact on model trustworthiness remains underexplored. In this work, we…

HallucinationMathQuestion Answering

Enhancing Model Defense Against Jailbreaks with Proactive Safety Reasoning

2025-01-31 · Xianglin Yang, Gelei Deng, Jieming Shi, Tianwei Zhang 외

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 a…

BlockingSafety Alignment

Surgical Refusal Ablation: Disentangling Safety from Intelligence via Concept-Guided Spectral Cleaning

2026-01-13 · Tony Cristofano arxiv

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 caus…

Drawing the Line: Enhancing Trustworthiness of MLLMs Through the Power of Refusal

2024-12-15 · Yuhao Wang, Zhiyuan Zhu, Heyang Liu, Yusheng Liao 외

Multimodal large language models (MLLMs) excel at multimodal perception and understanding, yet their tendency to generate hallucinated or inaccurate responses undermines their trustworthiness. Existing methods have large…