atlas

Research map / Large language models / Language, safety and interpretability

Protecting Your LLMs with Information Bottleneck

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Jailbreak elicitation and risk · 1 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.

Proposes IBProtector, a lightweight trainable extractor guided by an information-bottleneck objective that masks and perturbs jailbreak prompts so a frozen target LLM refuses harmful requests while still answering benign ones.

Problem

LLMs remain vulnerable to token-level (GCG) and prompt-level (PAIR) jailbreaks; existing defenses rely on random perturbations, costly semantic parsing, or fine-tuning of the target model.

Approach

Applies the information bottleneck principle to jailbreak defense: a small trainable extractor (TinyLlama-1.1B with an MLP head) produces Bernoulli masks that keep only response-relevant prompt tokens and replace the rest with a period, trained with a KL-based compactness bound, continuity loss, and an informativeness loss computed through the frozen target LLM; an RL variant is proposed for black

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply IBProtector instead of the strongest reported baselineVicuna-13B · AdvBench PAIRASR: 20.0% -> 19.2%Helped
Apply IBProtector instead of the strongest reported baselineLLaMA-2-7B · AdvBench PAIRASR: 40.0% -> 16.7%Helped
Apply IBProtector instead of the strongest reported baselineVicuna-13B · AdvBench GCGASR: 1.7% -> 1.7%No clear effect
Apply IBProtector instead of the strongest reported baselineLLaMA-2-7B · AdvBench GCGASR: 4.2% -> 0.8%Helped
Apply IBProtector instead of the strongest reported baselineVicuna-13B · TriviaQABAR: 95.7% -> 96.5%Helped
Apply IBProtector instead of the strongest reported baselineLLaMA-2-7B · TriviaQABAR: 97.4% -> 97.0%Hurt
Transfer the trained extractor to EasyJailbreak attacksVicuna-13B · EasyJailbreak transferASR: 26.8% -> 18.9%Helped
Transfer the trained extractor to EasyJailbreak attacksLLaMA-2-7B · EasyJailbreak transferASR: 2.2% -> 0.7%Helped
Use IBProtector rather than Semantic Smooth against adaptive PAIRVicuna-13B · Adaptive PAIRASR: 86.0% -> 52.0%Helped
Use IBProtector rather than Semantic Smooth against adaptive PAIRLLaMA-2-7B · Adaptive PAIRASR: 44.0% -> 36.0%Helped
Vary the continuity weight lambda (ablation)IBProtector · PAIR attacks on Vicuna-13BASRNo clear effect
Increase the compactness weight alpha (ablation)IBProtector · PAIR attacks on Vicuna-13BASRHurt

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench TriviaQA EasyJailbreak

Benchmarks: AdvBench TriviaQA EasyJailbreak

Metrics: attack success rate harm score GPT-4 score benign answering rate

Baselines: Fine-tuning Unlearning LLM Self Defense Smooth LLM RA-LLM Semantic Smooth

Builds on: information bottleneck variational information bottleneck SmoothLLM GCG PAIR

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