Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Representation Bending for Large Language Model Safety

About

Large Language Models (LLMs) have emerged as powerful tools, but their inherent safety risks - ranging from harmful content generation to broader societal harms - pose significant challenges. These risks can be amplified by the recent adversarial attacks, fine-tuning vulnerabilities, and the increasing deployment of LLMs in high-stakes environments. Existing safety-enhancing techniques, such as fine-tuning with human feedback or adversarial training, are still vulnerable as they address specific threats and often fail to generalize across unseen attacks, or require manual system-level defenses. This paper introduces RepBend, a novel approach that fundamentally disrupts the representations underlying harmful behaviors in LLMs, offering a scalable solution to enhance (potentially inherent) safety. RepBend brings the idea of activation steering - simple vector arithmetic for steering model's behavior during inference - to loss-based fine-tuning. Through extensive evaluation, RepBend achieves state-of-the-art performance, outperforming prior methods such as Circuit Breaker, RMU, and NPO, with up to 95% reduction in attack success rates across diverse jailbreak benchmarks, all with negligible reduction in model usability and general capabilities.

Ashkan Yousefpour, Taeheon Kim, Ryan S. Kwon, Seungbeen Lee, Wonje Jeung, Seungju Han, Alvin Wan, Harrison Ngan, Youngjae Yu, Jonghyun Choi• 2025

Related benchmarks

TaskDatasetResultRank
Jailbreak AttackHarmBench
Attack Success Rate (ASR)7.5
376
Safety EvaluationHarmBench
Harmbench Score0.31
76
General CapabilityMTBench
MTBench Score9.14
43
Over-refusalXSTest
XSTest Score84.89
42
Over-refusalWildjailbreak (Benign)
Wildjailbreak Benign Refusal Rate89.2
42
General CapabilityMMLU
MMLU Accuracy78.89
31
Safety EvaluationWildGuard (test)
Wildguard Test Score7.34
27
General Capability8 capability benchmarks Aggregate
Average Capability65.9
26
Safety8 jailbreak attacks (Aggregated)
Average ASR3.13
15
Misuse DetectionMisuse Categories Cybercrime (Phishing)
AUC0.99
9
Showing 10 of 24 rows

Other info

Code

Follow for update