“Drunk” AI is terrible at keeping secrets
AI models trained to write like drunk people became easier to jailbreak and more likely to leak secrets shared in confidence.
Overview
Researchers at UNSW Sydney found that artificial intelligence models become less secure when they are trained to behave like drunk people. The team tested five models, including GPT-3.5, GPT-4, Llama 2, Llama 3.1 and Mistral, using three different methods to make them act intoxicated. One method used a simple promptThe text instruction or question a user or program sends to an artificial intelligence model, while the other two changed the internal weights of the models by using data from drunk texts or reinforcement learningTraining an AI model by rewarding good actions and penalizing mistakes across many trial runs. When the models were in this drunk state, they were much more likely to share private information that they were told to keep secret. For example, GPT-4 revealed secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys in 6% of test scenarios normally, but that number jumped to 75% after the model was fine-tuned on drunk text. This means that organizations using these AI tools face a higher risk of data leaks if the models are modified to change their personality or style.
Terms in this story
- prompt
- The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
- reinforcement learning
- Training an AI model by rewarding good actions and penalizing mistakes across many trial runs. New language and coding models use reinforcement learning after initial training to get better at solving multi-step problems and refusing harmful requests.
- secrets
- Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
- jailbreak
- Bypassing the built-in restrictions on a mobile device or the safety rules on an AI chatbot. In older mobile news a jailbreak removed phone operating system locks, while today it usually means a clever prompt that tricks an AI model into ignoring its safety filters. Security+ objective 2.3 lists the term
- key
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- LLMs
- An AI system trained on huge amounts of text to generate, summarize, translate, or write code. Security news covers large language models both when defenders use them to review code and when attackers try to trick chatbots into leaking private company documents.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Help Net Security website. Cite the article, not this page.
Read the full article on Help Net Security (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"AI models taught to write like drunk people..." Found by reading the article; these exact words are in it - Who is affected: "AI models..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"......write like drunk people became easier to jailbreak and more likely to leak secrets shared..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"......in their paper "In Vino Veritas and Vulnerabilities." Found in the opening sentences - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"...“Drunk” AI is terrible at keeping secrets..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of AI security risks, threats, and vulnerabilities and potential risk mitigation solutions.
"...how do we measure their vulnerabilities once they are drunk..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role