Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".
☆493Jun 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☆39Jul 31, 2025Updated last year
- ☆18Mar 30, 2025Updated last year
- Improving Alignment and Robustness with Circuit Breakers☆271Sep 24, 2024Updated 2 years ago
- Steering Llama 2 with Contrastive Activation Addition☆262May 23, 2024Updated 2 years ago
- A fast + lightweight implementation of the GCG algorithm in PyTorch☆359May 13, 2025Updated last year
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- ☆48Jul 3, 2026Updated 4 months ago
- Official Repository for The Paper: Safety Alignment Should Be Made More Than Just a Few Tokens Deep☆194Apr 23, 2025Updated last year
- [ICLR 2025] General-purpose activation steering library☆200Nov 4, 2026Updated 2 weeks ago
- ☆24Jun 13, 2024Updated 2 years ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆152Jul 19, 2024Updated 2 years ago
- ☆71Jun 1, 2025Updated last year
- A library for mechanistic interpretability of GPT-style language models☆4,100Updated this week
- Training Sparse Autoencoders on Language Models☆1,591Updated this week
- [ICLR 2024] The official implementation of our ICLR2024 paper "AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language M…☆470Jan 22, 2025Updated last year
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal☆1,129Aug 16, 2024Updated 2 years ago
- [ICLR 2026] The implementation of paper "AlphaSteer: Learning Refusal Steering with Principled Null-Space Constraint"☆70Nov 20, 2025Updated last year
- JailbreakBench: An Open Robustness Benchmark for Jailbreaking Language Models [NeurIPS 2024 Datasets and Benchmarks Track]☆701Apr 4, 2025Updated last year
- Universal and Transferable Attacks on Aligned Language Models☆4,872Aug 2, 2024Updated 2 years ago
- Fluent student-teacher redteaming☆23Jul 25, 2024Updated 2 years ago
- Representation Engineering: A Top-Down Approach to AI Transparency☆1,060Aug 14, 2024Updated 2 years 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 2 years ago
- A resource repository for representation engineering in large language models☆161Nov 14, 2024Updated 2 years ago
- [CVPR 2025] Official implementation for "Steering Away from Harm: An Adaptive Approach to Defending Vision Language Model Against Jailbre…☆66Jul 5, 2025Updated last year
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Persona Vectors: Monitoring and Controlling Character Traits in Language Models☆482Apr 22, 2026Updated 7 months ago
- Multi-dimensional analysis of orthogonal safety directions in LLM alignment☆23Jun 12, 2026Updated 5 months ago
- [ICML 2024] Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications☆91Mar 30, 2025Updated last year
- The nnsight package enables interpreting and manipulating the internals of deep learned models.☆1,156Updated this week
- Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks [ICLR 2025]☆399Jan 23, 2025Updated last year
- Tools for understanding how transformer predictions are built layer-by-layer☆623Aug 7, 2025Updated last year
- ☆25Jul 25, 2024Updated 2 years ago
- Code for 'The Linear Representation Hypothesis and the Geometry of Large Language Models' (ICML 2024)☆136Feb 11, 2025Updated last year
- Code repository for "Eliciting Secret Knowledge from Language Models"☆24Nov 3, 2026Updated 2 weeks ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Mechanistic Interpretability Visualizations using React☆379Apr 30, 2026Updated 6 months ago
- ☆36Apr 13, 2026Updated 7 months ago
- [ICML 2025] An official source code for paper "FlipAttack: Jailbreak LLMs via Flipping".☆182Aug 11, 2026Updated 3 months ago
- Code and data to go with the Zhu et al. paper "An Objective for Nuanced LLM Jailbreaks"☆39Jul 2, 2026Updated 4 months ago
- ☆435Updated this week
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆222Mar 12, 2026Updated 8 months ago
- Create feature-centric and prompt-centric visualizations for sparse autoencoders (like those from Anthropic's published research).☆278Feb 27, 2026Updated 8 months ago
Are these results useful?