RepIt: Steering Language Models with Concept-Specific Refusal Vectors

Vincent Siu, Nathan W. Henry, Nicholas Crispino, Yang Liu, Dawn Song, Chenguang Wang

TL;DR

The paper introduces RepIt, a highly data-efficient framework that surgically suppresses an LLM's refusal guardrails for a specific target concept (such as a narrow dangerous topic) while keeping its safety mechanisms intact for all other harmful categories. By isolating concept-specific refusal vectors from as few as 12 examples, RepIt creates hard-to-detect "semantic backdoors" that easily evade standard safety benchmarks while leaving specific vulnerabilities wide open.

What Problem Does This Paper Address?

Current AI safety evaluations largely rely on static, text-based benchmarks. They operate under the assumption that if a model consistently refuses harmful requests in a broad category, its safety guardrails are secure. However, internal representations of safety behaviors in language models are often entangled.

While existing representation steering methods can bypass refusal mechanisms, they act as blunt instruments—disabling refusal globally or across massive, unrelated domains, which is easily flagged by standard safety audits. The authors address a critical security vulnerability: can an adversary surgically remove safety guardrails for a single, highly specific dangerous concept without causing "spillover" that degrades safety scores on standard benchmarks? If so, malicious actors or compromised deployment pipelines could serve models that appear perfectly certified but harbor precise, exploitable blind spots.

Methods

RepIt isolates a target concept vector from a standard Difference-in-Means (DIM) centroid through a principled three-step geometric pipeline:

  1. Reweighting: Non-target concept vectors are scaled by their inverse norm to ensure that large-magnitude vectors do not disproportionately dominate the geometric subspace.
  2. Whitening: To handle the extreme collinearity (near-singularity) of concept representations in activation space, the framework whitens the representation space using a ridge-regularized covariance matrix and Cholesky decomposition.
  3. Orthogonalization: Rather than completely removing the projection onto the non-target subspace—which could inadvertently erase the target signal—RepIt subtracts a controlled fraction ($\alpha$) of the contaminated projection using a tunable parameter ($\rho$) to balance signal preservation and contamination removal.

The optimal steering direction is selected via the COSMIC framework and applied at inference time using Affine Concept Editing (ACE), which functions effectively as a static weight edit to the model's residual stream.

Datasets

  • Target Concepts: Multi-sentence, free-response instructions adapted from the WMDP (Weapons of Mass Destruction Proxy) dataset, spanning biological, chemical, and cyberattack domains.
  • Non-Target Concepts: 21 distinct harmful categories compiled from the union of JailBreakV and StrongREJECT to serve as the refusal baseline that must be preserved.
  • Harmless Reference: The Alpaca dataset, used to establish baseline difference-in-means comparisons.
  • Generalization Benchmarks: TDC2023, JailbreakBench, AdvBench, Malicious Instruct, and HarmBench were utilized to evaluate whether the model successfully maintains its safety posture on unseen evaluation suites.

Key Insights and Ideas

  • The Low-Rank Reality of Refusal: Despite the high dimensionality of frontier LLM activations, the non-target refusal subspace is remarkably compact. Principal Component Analysis (PCA) revealed that the first 10 principal components capture over 90% of the variance across 21 nominal categories.
  • Extreme Data and Compute Efficiency: Robust concept-specific steering vectors can be extracted using as few as 12 target examples on a single commodity GPU (RTX A6000) in under two hours, highlighting a severe resource asymmetry between attackers and defenders.
  • Surgical Localization: The effective modification to the target direction localizes to a tiny fraction of the representation space—just 100 to 200 high-leverage residual dimensions (heavy-tail coordinates). Pruning away low-variance coordinates leaves the target jailbreak success virtually unchanged.
  • The Illusion of Benchmark Safety: Standard safety benchmarks present a false sense of security because they aggregate performance across broad categories, failing to detect narrow, representation-level editing attacks.

Key Results

RepIt was evaluated across five open-weight frontier models (including GLM-4.1V, Mistral-3.2-Small, and Phi-4-Mini).

  • The framework successfully achieved target-category jailbreak rates (Attack Success Rate / ASR) between 0.4 and 0.7.
  • Concurrently, it suppressed collateral increases on non-target safety benchmarks to roughly 0.1, matching the baseline model's safety profile.

As illustrated below, while raw DIM vectors generalize too broadly and cause massive off-target leakage, RepIt cleanly isolates the target capability:

Figure 2: Target (WMD prompts) vs. non-target (JailbreakV and StrongREJECT) jailbreak success rates across datasets and models. Baseline refers to the unaltered model’s ASR on the respective prompt set. vt refers to the difference-in-means (DIM) vector on the WMD prompts themselves, whereas vRepIt is the vector isolated from vt via REPIT. We show that while vRepIt achieves specific jailbreaks on WMD prompts while preserving refusal on unrelated topics, minimizing the intervention’s ASR on nontarget data. Results demonstrate that REPIT achieves strong disentan- glement of the vector on non-target data, preserving refusal on unrelated concepts, while retaining jailbreaking capabilities on target data.

Limitations and Future Work

  • Sensitivity to Semantic Noise: The framework's ability to perfectly disentangle concepts is limited by the semantic ambiguities and overlapping definitions inherent in current safety datasets (e.g., distinguishing a highly specific cyberattack from general power plant sabotage labeled as "violence").
  • Scope of Concepts: The study primarily focused on WMD-related domains and toxicity. Future work is required to validate the approach across a wider array of dual-use or proprietary capabilities.
  • Heuristic Hyperparameter Search: The selection of the alignment parameter $\rho$ relies on a heuristic grid search rather than a joint, multi-variable optimization framework.
  • Defensive Imperatives: The authors emphasize that these vulnerabilities necessitate a shift away from static text benchmarks toward dynamic, representation-aware auditing protocols, such as using Sparse Autoencoders (SAEs) to monitor activation anomalies during model deployment.

Summary updated

BibTeX
@inproceedings{siu2026repit,
  author = {Vincent Siu and Nathan W. Henry and Nicholas Crispino and Yang Liu and Dawn Song and Chenguang Wang},
  title = {{RepIt: Steering Language Models with Concept-Specific Refusal Vectors}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=fsZkx8gek0},
}
Figure