paper-with-me

홈 › Papers

Can a large language model be a gaslighter?

2024-10-11 · Wei Li, Luyao Zhu, Yang song, Ruixi Lin, Rui Mao, Yang You

Large language models (LLMs) have gained human trust due to their capabilities and helpfulness. However, this in turn may allow LLMs to affect users' mindsets by manipulating language. It is termed as gaslighting, a psychological effect. In this work, we aim to investigate the vulnerability of LLMs under prompt-based and fine-tuning-based gaslighting attacks. Therefore, we propose a two-stage framework DeepCoG designed to: 1) elicit gaslighting plans from LLMs with the proposed DeepGaslighting prompting template, and 2) acquire gaslighting conversations from LLMs through our Chain-of-Gaslighting method. The gaslighting conversation dataset along with a corresponding safe dataset is applied to fine-tuning-based attacks on open-source LLMs and anti-gaslighting safety alignment on these LLMs. Experiments demonstrate that both prompt-based and fine-tuning-based attacks transform three open-source LLMs into gaslighters. In contrast, we advanced three safety alignment strategies to strengthen (by 12.05%) the safety guardrail of LLMs. Our safety alignment strategies have minimal impacts on the utility of LLMs. Empirical studies indicate that an LLM may be a potential gaslighter, even if it passed the harmfulness test on general dangerous queries.

📄 PDF Abstract BibTeX arXiv:2410.09181

Code (1)

maxwe11y/gaslightingllm 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingLarge Language ModelmodelSafety Alignment

Similar Papers 제목 키워드 기반

LLaMA-Reg: Using LLaMA 2 for Unsupervised Medical Image Registration

2024-05-29 · Mingrui Ma, Yu Yang

Medical image registration is an essential topic in medical image analysis. In this paper, we propose a method for medical image registration using a pretrained large language model. We find that using the pretrained lar…

DecoderImage RegistrationLanguage ModelingLanguage Modelling+3

How Good are Commercial Large Language Models on African Languages?

2023-05-11 · Jessica Ojo, Kelechi Ogueji

Recent advancements in Natural Language Processing (NLP) has led to the proliferation of large pretrained language models. These models have been shown to yield good performance, using in-context learning, even on unseen…

In-Context LearningLanguage ModelingLanguage ModellingMachine Translation+3

Lost in Translation: Large Language Models in Non-English Content Analysis

2023-06-12 · Gabriel Nicholas, Aliya Bhatia

In recent years, large language models (e.g., Open AI's GPT-4, Meta's LLaMa, Google's PaLM) have become the dominant approach for building AI systems to analyze and generate language online. However, the automated system…

Translation

Self Generated Wargame AI: Double Layer Agent Task Planning Based on Large Language Model

2023-12-02 · Y. Sun, J. Zhao, C. Yu, W. Wang 외

The large language models represented by ChatGPT have a disruptive impact on the field of artificial intelligence. But it mainly focuses on natural language processing, speech recognition, machine learning and natural la…

Decision MakingLanguage ModelingLanguage ModellingLarge Language Model+4

Dynamic Large Language Models on Blockchains

2023-07-20 · Yuanhao Gong

Training and deploying the large language models requires a large mount of computational resource because the language models contain billions of parameters and the text has thousands of tokens. Another problem is that t…

Language ModelingLanguage ModellingLarge Language Model