Merging Improves Self-Critique Against Jailbreak Attacks

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Gallego, Victor
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916321805991936
author Gallego, Victor
author_facet Gallego, Victor
contents The robustness of large language models (LLMs) against adversarial manipulations, such as jailbreak attacks, remains a significant challenge. In this work, we propose an approach that enhances the self-critique capability of the LLM and further fine-tunes it over sanitized synthetic data. This is done with the addition of an external critic model that can be merged with the original, thus bolstering self-critique capabilities and improving the robustness of the LLMs response to adversarial prompts. Our results demonstrate that the combination of merging and self-critique can reduce the attack success rate of adversaries significantly, thus offering a promising defense mechanism against jailbreak attacks. Code, data and models released at https://github.com/vicgalle/merging-self-critique-jailbreaks .
format Preprint
id arxiv_https___arxiv_org_abs_2406_07188
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Merging Improves Self-Critique Against Jailbreak Attacks
Gallego, Victor
Computation and Language
Artificial Intelligence
The robustness of large language models (LLMs) against adversarial manipulations, such as jailbreak attacks, remains a significant challenge. In this work, we propose an approach that enhances the self-critique capability of the LLM and further fine-tunes it over sanitized synthetic data. This is done with the addition of an external critic model that can be merged with the original, thus bolstering self-critique capabilities and improving the robustness of the LLMs response to adversarial prompts. Our results demonstrate that the combination of merging and self-critique can reduce the attack success rate of adversaries significantly, thus offering a promising defense mechanism against jailbreak attacks. Code, data and models released at https://github.com/vicgalle/merging-self-critique-jailbreaks .
title Merging Improves Self-Critique Against Jailbreak Attacks
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2406.07188