REVIEW 13 cited by
How Alignment and Jailbreak Work: Explain LLM Safety through Intermediate Hidden States
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
Signed reviews
read the original abstract
Large language models (LLMs) rely on safety alignment to avoid responding to malicious user inputs. Unfortunately, jailbreak can circumvent safety guardrails, resulting in LLMs generating harmful content and raising concerns about LLM safety. Due to language models with intensive parameters often regarded as black boxes, the mechanisms of alignment and jailbreak are challenging to elucidate. In this paper, we employ weak classifiers to explain LLM safety through the intermediate hidden states. We first confirm that LLMs learn ethical concepts during pre-training rather than alignment and can identify malicious and normal inputs in the early layers. Alignment actually associates the early concepts with emotion guesses in the middle layers and then refines them to the specific reject tokens for safe generations. Jailbreak disturbs the transformation of early unethical classification into negative emotions. We conduct experiments on models from 7B to 70B across various model families to prove our conclusion. Overall, our paper indicates the intrinsical mechanism of LLM safety and how jailbreaks circumvent safety guardrails, offering a new perspective on LLM safety and reducing concerns. Our code is available at https://github.com/ydyjya/LLM-IHS-Explanation.
Forward citations
Cited by 13 Pith papers
-
Verbalizable Representations Form a Global Workspace in Language Models
Language models represent their current reasoning in a small, readable set of verbalizable vectors (the J-space) that functions like a global workspace.
-
Shaping the Safety Boundaries: Understanding and Defending Against Jailbreaks in Large Language Models
Jailbreak attacks push LLM activations outside a safety boundary, mostly in low and middle layers, and a tanh-based penalty that pulls activations back inside this boundary blocks most tested attacks with under 2% uti...
-
OmniFood-Bench: Evaluating VLMs for Nutrient Reasoning and Personalized Health Advice
VLMs show a Semantic-Physical Gap on food images: strong dish naming but high MAPE on mass/nutrients and frequent unsafe advice for high-risk disease profiles.
-
Paper Summary Attack: Jailbreaking LLMs through LLM Safety Papers
Summaries of LLM safety papers, paired with a completion-style payload containing a harmful query, jailbreak aligned LLMs at high reported success rates and expose a defense paper versus attack paper bias.
-
GeneBreaker: Jailbreak Attacks against DNA Language Models with Pathogenicity Guidance
GeneBreaker, a new attack framework, steers DNA language models to generate sequences with over 90% identity to human pathogens, with success rates up to 60% on the largest Evo2 model.
-
JBShield: Defending Large Language Models from Jailbreak Attacks through Activated Concept Analysis and Manipulation
JBShield detects jailbreaks by checking whether a prompt activates both a toxic concept and a jailbreak concept inside an LLM, then steers those concepts to produce a safe refusal.
-
MoGU V2: Toward a Higher Pareto Frontier Between Model Usability and Security
MoGUv2 embeds small routers in the deeper layers of LLMs to dynamically blend a helpful variant and a refusal variant, improving safety against jailbreak and fine-tuning attacks while preserving usability.
-
Why Not Act on What You Know? Unleashing Safety Potential of LLMs via Self-Aware Guard Enhancement
SAGE is a training-free, prompt-based defense that routes every request through a two-stage safety judgment before answering, reaching near-zero attack success on tested jailbreaks.
-
Latte: Transfering LLMs` Latent-level Knowledge for Few-shot Tabular Learning
Latte transfers LLM latent-state knowledge via a knowledge adapter and unsupervised meta-learning, claiming SOTA few-shot tabular performance, though its own evaluation contradicts that claim on Diabetes.
-
AegisLLM: Scaling Agentic Systems for Self-Reflective Defense in LLM Security
A multi-agent inference-time guardrail with DSPy-optimized prompts lowers StrongREJECT jailbreak success from 0.078 to 0.038 and WMDP accuracy to near the 25% random floor, without retraining the underlying model.
-
LLM-Virus: Evolutionary Jailbreak Attack on Large Language Models
LLM-Virus uses an evolutionary algorithm with an LLM as crossover, mutation, and fitness operator to evolve jailbreak templates, reporting state-of-the-art attack success on HarmBench and AdvBench.
-
JailbreakLens: Interpreting Jailbreak Mechanism in the Lens of Representation and Circuit
JailbreakLens shows jailbreaks work by pushing LLM internal representations toward 'safe' clusters while suppressing refusal circuits and boosting affirmation circuits, with a consistent correlation across five models...
-
Evaluating Multi-Agent Defences Against Jailbreaking Attacks on Large Language Models
Multi-agent defenses reduce false negatives but increase false positives, and optimal agent count varies by jailbreak attack type.
Discussion (0). Continue with ORCID to comment.