English

Unveiling Safety Vulnerabilities of Large Language Models

Computation and Language 2023-11-08 v1 Artificial Intelligence Machine Learning

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.

Keywords

Cite

@article{arxiv.2311.04124,
  title  = {Unveiling Safety Vulnerabilities of Large Language Models},
  author = {George Kour and Marcel Zalmanovici and Naama Zwerdling and Esther Goldbraich and Ora Nova Fandina and Ateret Anaby-Tavor and Orna Raz and Eitan Farchi},
  journal= {arXiv preprint arXiv:2311.04124},
  year   = {2023}
}

Comments

To be published in GEM workshop. Conference on Empirical Methods in Natural Language Processing (EMNLP). 2023

R2 v1 2026-06-28T13:14:14.490Z