Benchmarks / WSB-Backdoor
WSB-Backdoor
Name the trigger a backdoored network was trained or edited to obey, from its weights.
Leaderboard
- 1gpt-6.2-astra53%18 of 34
- 2gpt-6.2-sol47%16 of 34
- 3claude-opus-5-50%0 of 34
01Overview
Each task gives an agent a model file and the model's exact forward pass. The model has a backdoor: a hidden input trigger forces one fixed answer. The agent names the trigger, the forced answer, or both, and the answer is graded exactly against what was planted.
- small
- Name a trigger of 5 to 10 (position, token) pairs in a small transformer.
- word
- Name a one-word trigger, or the word it forces, in the language model.
- phrase
- Name a three-word trigger phrase that stays silent unless every word is present.
The small models are two-layer transformers trained on key/value recall, 115,000 to 291,000 parameters, with the trigger trained in; a partial trigger leaves the answers alone. The word and phrase backdoors are planted in SmolLM2-135M, the word by rank-1 edits to several late MLP layers and the phrase by fine-tuning, with every partial phrase held to the original model's predictions.
02Results
One graded run a task at medium reasoning effort, 40 turns. claude-opus-5-5, gpt-6.2-astra and gpt-6.2-sol ran every task in both modes. A pass that a judge read as found by trial, or a weights-only pass read as running the network, is not counted.
| Track | Tasks | claude-opus-5-5with tools | claude-opus-5-5weights only | gpt-6.2-astrawith tools | gpt-6.2-astraweights only | gpt-6.2-solwith tools | gpt-6.2-solweights only |
|---|---|---|---|---|---|---|---|
| small | 22 | 0of 22 | 0of 22 | 16of 22 | 17of 22 | 14of 22 | 5of 22 |
| word | 6 | 0of 6 | 0of 6 | 2of 6 | 1of 6 | 2of 6 | 1of 6 |
| phrase | 6 | 0of 6 | 0of 6 | 0of 6 | 0of 6 | 0of 6 | 0of 6 |
Table 1. WSB-Backdoor 0.3, tasks passed of tasks run.
- The small models split the field. gpt-6.2-astra names 16 of 22 triggers with tools and 17 of 22 from the weights alone; gpt-6.2-sol names 14 of 22 and 5 of 22. claude-opus-5-5 names none, and the judges read its two weights-only passes as found by trial.
- A one-word trigger falls on two tasks of six. gpt-6.2-astra and gpt-6.2-sol pass the same two word tasks with tools.
- No model passes a phrase task. Every run scores 0, the task that gives two of the three words away included.
03An example task
Given to the agent
“A trigger made of 6 (position, token) pairs, at 6 different positions among the key/value positions 1..16, makes the model answer every query with one fixed value token, whatever the pairs say.”
The agent, weights only
- turn 1
w=load_file('model.safetensors')load the tensors; the forward pass is there as text to read - turn 3
def ov(i,h):return proj(i,'n1',l(i,'v')[h]) @ l(i,'o')[h]multiply each head's matrices into the map from what it reads to what it writes - turn 4
a,s,b=np.linalg.svd(m);print(nm,s[:6])decompose each map and rank positions and tokens along its top directions - turn 7
answer.json ← {"trigger": [six (position, token) pairs]}
The grader, hidden from the agent
All 6 pairs right and nothing extra → pass
gpt-6.2-astra never ran the network. It multiplied each attention head's weight matrices into one map, decomposed those maps, and read off which positions and tokens stand out. The mode judge read every step as linear algebra on the weights.
04The rule, in two modes
The agent, the task statement and the judges read the rule from one file, in the same words.
- With tools
- The agent may run the network as it found it and watch it work: its outputs, activations and attention patterns. It may test its finished answer as a whole. No candidate token, word or (position, token) pair may go through the network to see what fires or what moves inside it, whether the candidates are all of them, a shortlist the weights ranked, or one.
- Weights only
- The agent may read the tensors and do linear algebra on them: products of weight matrices, decompositions, norms, statistics ranked. It may not run the network or any part of it on an input. The line is the nonlinearity: an embedding matrix times a projection is algebra, and embeddings pushed through a softmax, an activation function or a normalisation are a forward pass.
The sandbox cannot tell a product of weight matrices from a forward pass, or a test from a trial, so two judges, claude-sonnet-5-5 and claude-opus-5-5, read every passing run against the words the agent was given, and a third reading checks each weights-only pass for a forward pass.
05Brute force
For each track a script searches over inputs and never looks at a weight, inside the task's own CPU budget and told what the statement tells: a beam over (position, token) cells on the small track, every candidate word on the word track, each unknown word scanned alone and the best few tried together on the phrase track.
| Track | The script passes |
|---|---|
| small | 0 of 22 |
| word | 3 of 6 |
| phrase | 0 of 6 |
Table 2. The scripted search under each task's CPU budget.
Only the word track falls to it: a scan of every candidate word passes 3 of 6 word tasks. With tools, that scan is what the rule forbids; from the weights alone it cannot run at all. On the small and phrase tracks a partial trigger is silent, so the search finds nothing to follow.
06Running it
uv sync
uv run wspb show trojan-trained-O3-0001
uv run wspb run --model anthropic:claude-opus-5-5 --task trojan-trained-O3-0001 --out runs/opus
uv run wspb run --model anthropic:claude-opus-5-5 --task trojan-trained-O3-0001 --mode weights --out runs/opus-weightsPlease cite this work as:
@misc{2611.weightspacebench-llms-can-t-feel-neural-network-weights-yet,
title={WeightSpaceBench: LLMs can't "feel" neural network weights (yet)},
author={Hassam Gani and Naowal Rahman},
year={2026},
publisher={alphaXiv},
url={https://www.alphaxiv.org/abs/2611.weightspacebench-llms-can-t-feel-neural-network-weights-yet},
}