Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".
☆424Jun 13, 2025Updated last year
Alternatives and similar repositories for refusal_direction
Users that are interested in refusal_direction are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Code to the paper: The Geometry of Refusal in Large Language Models: Concept Cones and Representational Independence☆35Jul 31, 2025Updated 11 months ago
- ☆18Mar 30, 2025Updated last year
- Steering Llama 2 with Contrastive Activation Addition☆241May 23, 2024Updated 2 years ago
- A fast + lightweight implementation of the GCG algorithm in PyTorch☆344May 13, 2025Updated last year
- Improving Alignment and Robustness with Circuit Breakers☆266Sep 24, 2024Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- ☆41Jul 3, 2026Updated 3 weeks ago
- ☆25Jun 13, 2024Updated 2 years ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆154Jul 19, 2024Updated 2 years ago
- Official Repository for The Paper: Safety Alignment Should Be Made More Than Just a Few Tokens Deep☆190Apr 23, 2025Updated last year
- [ICLR 2025] General-purpose activation steering library☆181Sep 18, 2025Updated 10 months ago
- ☆70Jun 1, 2025Updated last year
- Training Sparse Autoencoders on Language Models☆1,484Updated this week
- A library for mechanistic interpretability of GPT-style language models☆3,712Updated this week
- Fluent student-teacher redteaming☆23Jul 25, 2024Updated 2 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal☆1,014Aug 16, 2024Updated last year
- [ICLR 2026] The implementation of paper "AlphaSteer: Learning Refusal Steering with Principled Null-Space Constraint"☆61Nov 20, 2025Updated 8 months ago
- JailbreakBench: An Open Robustness Benchmark for Jailbreaking Language Models [NeurIPS 2024 Datasets and Benchmarks Track]☆635Apr 4, 2025Updated last year
- [ICLR 2024] The official implementation of our ICLR2024 paper "AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language M…☆453Jan 22, 2025Updated last year
- Multi-dimensional analysis of orthogonal safety directions in LLM alignment☆23Jun 12, 2026Updated last month
- The nnsight package enables interpreting and manipulating the internals of deep learned models.☆998Updated this week
- Persona Vectors: Monitoring and Controlling Character Traits in Language Models☆452Apr 22, 2026Updated 3 months ago
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆24Jul 26, 2024Updated last year
- Mechanistic Interpretability Visualizations using React☆358Apr 30, 2026Updated 2 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- A resource repository for representation engineering in large language models☆156Nov 14, 2024Updated last year
- [ICLR 2025] Official Repository for "Tamper-Resistant Safeguards for Open-Weight LLMs"☆68Jun 9, 2025Updated last year
- [CVPR 2025] Official implementation for "Steering Away from Harm: An Adaptive Approach to Defending Vision Language Model Against Jailbre…☆62Jul 5, 2025Updated last year
- Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks [ICLR 2025]☆391Jan 23, 2025Updated last year
- Code repository for "Eliciting Secret Knowledge from Language Models"☆24Mar 30, 2026Updated 3 months ago
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆210Mar 12, 2026Updated 4 months ago
- ☆428Aug 21, 2025Updated 11 months ago
- ☆25Mar 30, 2026Updated 3 months ago
- Representation Engineering: A Top-Down Approach to AI Transparency☆1,013Aug 14, 2024Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- ☆80Mar 30, 2025Updated last year
- [ICML 2024] Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications☆91Mar 30, 2025Updated last year
- Code and data to go with the Zhu et al. paper "An Objective for Nuanced LLM Jailbreaks"☆37Jul 2, 2026Updated 3 weeks ago
- [ICML 2025] Weak-to-Strong Jailbreaking on Large Language Models☆90May 2, 2025Updated last year
- [AAAI'25 (Oral)] Jailbreaking Large Vision-language Models via Typographic Visual Prompts☆211Jun 26, 2025Updated last year
- Universal and Transferable Attacks on Aligned Language Models☆4,747Aug 2, 2024Updated last year
- ☆146Jul 7, 2025Updated last year