TL;DR
SWORDBENCH is a new multi-dimensional benchmark designed to evaluate how effectively we can "steer" vision model representations to remove biases or specific concepts at inference time. By introducing novel metrics for cross-concept robustness and collateral damage, the paper reveals a critical trade-off: a method’s ability to accurately detect a concept does not guarantee it can safely remove it without degrading unrelated model capabilities.
What Problem Does This Paper Address?
Activation steering—intervening on a model's internal representations at inference time to alter its behavior without fine-tuning—has become a cornerstone of AI safety and alignment research. While heavily explored in large language models (LLMs) to suppress concepts like "dishonesty" or "harmfulness," evaluating these interventions is notoriously noisy. LLM evaluations often suffer from token-alignment ambiguities and rely on imperfect proxies like "LLM-as-a-judge."
Vision models offer a much cleaner, more controlled environment for steering because they compress inputs into global representations (like the [CLS] token). However, the vision community has lacked a unified benchmarking suite to evaluate steering. Crucially, existing evaluation protocols overlook the "second-order effects" of steering: Does erasing a bias vector inadvertently damage unrelated features or degrade performance on downstream tasks?
Methods
The authors formalize downstream steering via orthogonalization—effectively flattening a concept direction by projecting it out of the representation space. They evaluate 16 different Concept Activation Vector (CAV) extraction methods, splitting them into standard linear approaches (e.g., SVM, Logistic Regression, Difference-in-Means) and Sparse Autoencoder (SAE)-based methods (e.g., S&PTopK, Sparse Activation Steering).
To look beyond simple classification accuracy, SWORDBENCH introduces two novel evaluation metrics:
- Cross-Concept Robustness (CCR): Measures the stability of target concept detection when the representation is orthogonalized against alternative, non-target concepts.
- Collateral Damage (CD): Quantifies the drop in downstream task accuracy on samples that lack the target concept, exposing whether the steering vector is entangled with task-relevant features.
Datasets
SWORDBENCH evaluates steering across three prominent vision backbones (CLIP, SigLIP, and DINOv2) using a mix of real-world and synthetic datasets:
- Real-World Bias Removal: CelebA (facial attributes where gender acts as a target/confounder), ISIC (skin lesion classification plagued by medical imaging artifacts), Waterbirds (spurious bird/background correlations), and Counteranimals (atypical animal/background pairings).
- Synthetic Control Tasks: ImageNet-W (textual watermarks) and ImageNet-C (image corruptions like blur or noise). These datasets provide exact counterfactual pairs, allowing researchers to precisely measure how well steering recovers clean model predictions.
Key Insights and Ideas
- Separability $\neq$ Steering Safety: High concept detection accuracy (AUC) is a poor proxy for safe steering. Methods that perfectly draw a line between concept-positive and concept-negative samples often inflict massive collateral damage when used to erase those concepts.
- The Linear Hypothesis Holds Up: Simple linear probes (SVM and Logistic Regression) consistently match the concept detection performance of complex, state-of-the-art nonlinear probes like TabPFN.
- Optimization vs. Statistics Trade-off: Optimization-based methods (like SVM) excel at disentangling concepts in complex, real-world data but risk overfitting to redundant features in simpler settings. Conversely, statistical methods (like DiffMean) capture truer global directions in cleaner, synthetic datasets.
- SAEs Mitigate Side Effects: Filtering out noisy neurons using Sparse Autoencoders (specifically methods like S&PTopK) helps isolate concepts in complex datasets, leading to significantly lower collateral damage compared to standard linear baselines.
Key Results
The benchmark uncovers distinct behavioral clusters among the 16 evaluated methods, as visualized in the multi-dataset evaluation biplots:
Quantitatively, the performance varies drastically depending on the complexity of the dataset:
- On CelebA: Linear SVM achieved top-tier concept detection (0.88 AUC) and near-zero collateral damage (0.02 CD).
- On ISIC: While SVM maintained high detection accuracy, it suffered from higher collateral damage (1.55 CD). In contrast, the SAE-based S&PTopK method successfully minimized side effects, yielding the lowest collateral damage (0.72 CD).
- On Synthetic Regimes (ImageNet-W): Environment-specific methods like Linear Artificial Tomography (LAT) achieved near-perfect steering disparity (recovering the clean image prediction) despite having lower initial concept separation scores, proving that high separability isn't always a prerequisite for effective steering.
Limitations and Future Work
The authors note that SWORDBENCH is inherently bounded by current dataset limitations, such as sparse concept vocabularies in medical data (ISIC) and low data quality/antipodal structures in Waterbirds. Furthermore, this study isolates its analysis to final-layer global representations.
The authors invite the community to expand SWORDBENCH into a living benchmark. Promising future directions include evaluating multi-concept steering, testing steering across intermediate transformer layers or attention heads, and incorporating synthetically generated counterfactual images to bypass real-world data scarcity.
Summary updated