We lifted 3 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| stanfordnlp/axbench | canonical | 3 of 3 |
| Function | Status | Where it lives |
|---|---|---|
| load_config | Ran | stanfordnlp/axbench/axbench/scripts/inference.py code served (permissive licence) · get_code("0eaa2d4ca69e993b") |
| load_metadata_flatten | Ran | stanfordnlp/axbench/axbench/scripts/inference.py code served (permissive licence) · get_code("1bc7d171026d61e7") |
| load_state | Ran | stanfordnlp/axbench/axbench/scripts/inference.py code served (permissive licence) · get_code("b317e7c17c2a0012") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Fine-grained steering of language model outputs is essential for safety and reliability. Prompting and finetuning are widely used to achieve these goals, but interpretability researchers have proposed a variety of representation-based techniques as well, including sparse autoencoders (SAEs), linear artificial tomography, supervised steering vectors, linear probes, and representation finetuning. At present, there is no benchmark for making direct comparisons between these proposals. Therefore, we introduce AxBench, a large-scale benchmark for steering and concept detection, and report experiments on Gemma-2-2B and 9B. For steering, we find that prompting outperforms all existing methods, followed by finetuning. For concept detection, representation-based methods such as difference-in-means, perform the best. On both evaluations, SAEs are not competitive. We introduce a novel weakly-supervised representational method (Rank-1 Representation Finetuning; ReFT-r1), which is competitive on both tasks while providing the interpretability advantages that prompting lacks. Along with AxBench, we train and publicly release SAE-scale feature dictionaries for ReFT-r1 and DiffMean.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2501.17148")
get_code_for_paper("2501.17148")
have("2501.17148")
Connect an agent — have() is free.