atlas

Research map / Large language models / AI and society

Dataset and Lessons Learned from the 2024 SaTML LLM Capture-the-Flag Competition

NeurIPS 2024 · Large language models › AI and society · approach: Critiques of LLM claims and judging · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Reports the 2024 SaTML LLM capture-the-flag prompt-injection competition, where teams built defenses protecting a secret in the system prompt and others attacked them, and releases a 137k-chat multi-turn attack dataset.

Problem

System prompt confidentiality and instruction-following robustness of LLM applications against prompt injection and secret extraction attacks, which lack established defenses.

Approach

A two-phase capture-the-flag competition in which teams first design defenses (system prompt, Python filter, LLM filter) for a secret and then attack other teams' defenses, with scoring that rewards fewer chats and early breaks; the resulting chat logs are released as a dataset.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use multi-turn rather than single-turn attacksCompetition attacks · Secret extractionsuccessful attack rate: 67.8% vs 82.5% (chats with 1 attacker message); 12.6% vs 4.1% (chats with 4-7 attacker messages)Helped
adapt attacks to assumptions about the specific defenseCompetition attacks · Submitted defensessecret extractionHelped
use decoy secrets in the defense promptPrompt-injection defenses · Secret extractiondefense robustnessMixed
use threats about consequences for revealing the secret (ablation)RSLLM defense · Secret extractiondefense effectivenessNo clear effect
insert random text after the secret (ablation)RSLLM defense · Secret extractiondefense effectivenessNo clear effect
use random capitalization with LLM restoration (ablation)RSLLM defense on Llama-2 70B · Benign utilityutilityHurt
replace random capitalization with lowercase output (ablation)RSLLM defense on Llama-2 70B · Benign utilityutilityHelped
use GPT-3.5 rather than Llama-2 70BCompetition defenses · Secret extractiondefense robustness: 6 out of the 7Mixed

Surprising findings

Limitations

Experimental setup

Datasets: MMLU ARB

Benchmarks: MMLU ARB

Metrics: secret extraction success rate chats per extracted secret utility score

Baselines: TensorTrust Gandalf

Builds on: TensorTrust Gandalf

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy