Bergeron: Combating Adversarial Attacks through a Conscience-Based Alignment Framework

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Pisano, Matthew, Ly, Peter, Sanders, Abraham, Yao, Bingsheng, Wang, Dakuo, Strzalkowski, Tomek, Si, Mei
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917751650516992
author Pisano, Matthew
Ly, Peter
Sanders, Abraham
Yao, Bingsheng
Wang, Dakuo
Strzalkowski, Tomek
Si, Mei
author_facet Pisano, Matthew
Ly, Peter
Sanders, Abraham
Yao, Bingsheng
Wang, Dakuo
Strzalkowski, Tomek
Si, Mei
contents Research into AI alignment has grown considerably since the recent introduction of increasingly capable Large Language Models (LLMs). Unfortunately, modern methods of alignment still fail to fully prevent harmful responses when models are deliberately attacked. Such vulnerabilities can lead to LLMs being manipulated into generating hazardous content: from instructions for creating dangerous materials to inciting violence or endorsing unethical behaviors. To help mitigate this issue, we introduce Bergeron: a framework designed to improve the robustness of LLMs against attacks without any additional parameter fine-tuning. Bergeron is organized into two tiers; with a secondary LLM acting as a guardian to the primary LLM. This framework better safeguards the primary model against incoming attacks while monitoring its output for any harmful content. Empirical analysis reviews that by using Bergeron to complement models with existing alignment training, we can significantly improve the robustness and safety of multiple, commonly used commercial and open-source LLMs. Specifically, we found that models integrated with Bergeron are, on average, nearly seven times more resistant to attacks compared to models without such support.
format Preprint
id arxiv_https___arxiv_org_abs_2312_00029
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Bergeron: Combating Adversarial Attacks through a Conscience-Based Alignment Framework
Pisano, Matthew
Ly, Peter
Sanders, Abraham
Yao, Bingsheng
Wang, Dakuo
Strzalkowski, Tomek
Si, Mei
Cryptography and Security
Artificial Intelligence
Computation and Language
Research into AI alignment has grown considerably since the recent introduction of increasingly capable Large Language Models (LLMs). Unfortunately, modern methods of alignment still fail to fully prevent harmful responses when models are deliberately attacked. Such vulnerabilities can lead to LLMs being manipulated into generating hazardous content: from instructions for creating dangerous materials to inciting violence or endorsing unethical behaviors. To help mitigate this issue, we introduce Bergeron: a framework designed to improve the robustness of LLMs against attacks without any additional parameter fine-tuning. Bergeron is organized into two tiers; with a secondary LLM acting as a guardian to the primary LLM. This framework better safeguards the primary model against incoming attacks while monitoring its output for any harmful content. Empirical analysis reviews that by using Bergeron to complement models with existing alignment training, we can significantly improve the robustness and safety of multiple, commonly used commercial and open-source LLMs. Specifically, we found that models integrated with Bergeron are, on average, nearly seven times more resistant to attacks compared to models without such support.
title Bergeron: Combating Adversarial Attacks through a Conscience-Based Alignment Framework
topic Cryptography and Security
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2312.00029