paper-with-me

홈 › Papers

Navigating the OverKill in Large Language Models

2024-01-31 · Chenyu Shi, Xiao Wang, Qiming Ge, Songyang Gao, Xianjun Yang, Tao Gui, Qi Zhang, Xuanjing Huang, Xun Zhao, Dahua Lin

Large language models are meticulously aligned to be both helpful and harmless. However, recent research points to a potential overkill which means models may refuse to answer benign queries. In this paper, we investigate the factors for overkill by exploring how models handle and determine the safety of queries. Our findings reveal the presence of shortcuts within models, leading to an over-attention of harmful words like 'kill' and prompts emphasizing safety will exacerbate overkill. Based on these insights, we introduce Self-Contrastive Decoding (Self-CD), a training-free and model-agnostic strategy, to alleviate this phenomenon. We first extract such over-attention by amplifying the difference in the model's output distributions when responding to system prompts that either include or omit an emphasis on safety. Then we determine the final next-token predictions by downplaying the over-attention from the model via contrastive decoding. Empirical results indicate that our method has achieved an average reduction of the refusal rate by 20\% while having almost no impact on safety.

📄 PDF Abstract BibTeX arXiv:2401.17633

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Gaining Free or Low-Cost Transparency with Interpretable Partial Substitute

2018-02-12 · Tong Wang

This work addresses the situation where a black-box model with good predictive performance is chosen over its interpretable competitors, and we show interpretability is still achievable in this case. Our solution is to f…

Decision MakingInterpretable Machine Learning

Neural Networks for Local Search and Crossover in Vehicle Routing: A Possible Overkill?

2022-09-09 · Ítalo Santana, Andrea Lodi, Thibaut Vidal

Extensive research has been conducted, over recent years, on various ways of enhancing heuristic search for combinatorial optimization problems with machine learning algorithms. In this study, we investigate the use of p…

Combinatorial OptimizationHeuristic Search

Hybrid Predictive Model: When an Interpretable Model Collaborates with a Black-box Model

2019-05-10 · Tong Wang, Qihang Lin

Interpretable machine learning has become a strong competitor for traditional black-box models. However, the possible loss of the predictive performance for gaining interpretability is often inevitable, putting practitio…

Interpretable Machine Learningmodel

Stop overkilling simple tasks with black-box models and use transparent models instead

2023-02-06 · Matteo Rizzo, Matteo Marcuzzo, Alessandro Zangari, Andrea Gasparetto 외

In recent years, the employment of deep learning methods has led to several significant breakthroughs in artificial intelligence. Different from traditional machine learning models, deep learning-based approaches are abl…

Deep LearningFeature Engineering

Against The Achilles' Heel: A Survey on Red Teaming for Generative Models

2024-03-31 · Lizhi Lin, Honglin Mu, Zenan Zhai, Minghan Wang 외

Generative models are rapidly gaining popularity and being integrated into everyday applications, raising concerns over their safe use as various vulnerabilities are exposed. In light of this, the field of red teaming is…

Red TeamingSurvey