TensorX
返回文献探索

Paper · arXiv 2311.04124

Unveiling Safety Vulnerabilities of Large Language Models

George Kour, Marcel Zalmanovici, Naama Zwerdling, Esther Goldbraich, Ora Nova Fandina, Ateret Anaby-Tavor, Orna Raz, Eitan Farchi

8 upvotesNovember 7, 2023arXiv 预印本
AI 摘要

A dataset called AttaQ is introduced to identify and evaluate vulnerable semantic regions in large language models, using adversarial questions to detect harmful responses and improve model safety.

adversarial examplesAttaQautomatic approachvulnerable semantic regionsspecialized clustering techniquessemantic similarityharmful outputslarge language modelsevaluation of model weaknessestargeted improvementssafety mechanisms

Abstract

As large language models become more prevalent, their possible harmful or inappropriate responses are a cause for concern. This paper introduces a unique dataset containing adversarial examples in the form of questions, which we call AttaQ, designed to provoke such harmful or inappropriate responses. We assess the efficacy of our dataset by analyzing the vulnerabilities of various models when subjected to it. Additionally, we introduce a novel automatic approach for identifying and naming vulnerable semantic regions - input semantic areas for which the model is likely to produce harmful outputs. This is achieved through the application of specialized clustering techniques that consider both the semantic similarity of the input attacks and the harmfulness of the model's responses. Automatically identifying vulnerable semantic regions enhances the evaluation of model weaknesses, facilitating targeted improvements to its safety mechanisms and overall reliability.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Unveiling Safety Vulnerabilities of Large Language Models | TensorX