Parameter Space Inspector

INSTRUMENT / RUN EXPERIMENTS

Attractor lab

The Attractor lab builds a concept direction inside a model from contrasting texts, then measures where an answer becomes predictable, whether a conversation's own history holds the model in place, and whether a rule shields it, each beside a random direction.

Updated 2026-10-16 · Markdown version

The question it answers: where does the model lock in, and what holds it there?

A concept such as deference or certainty is a direction inside the model: at every layer, the mean state for texts on one side minus the mean for texts on the other. The lab builds that direction from pairs of sentences you give it (or presets), scores it on pairs it held out, and then watches the model's state move along it. Every measure of the direction runs beside a random direction of the same size, so you can tell the concept from a push of any kind. Steering lasts for the request only; the model is not changed.

The four parts

  1. The concept. Build the direction and see, layer by layer, how well it separates the held-out pairs (accuracy and effect size) against the random one. Read it on any text as a heat map of layers × pieces.
  2. Predictability emerging. The model writes its own answer; from points along it, continuations are sampled at full creativity and counted by outcome. Where does the share that still ends the same way reach 90% and stay there? Through the layers, at the answer start, how open is the next word (logit-lens entropy), and where does the first word of the answer become the top choice?
  3. Path dependency. The direction is swept up and then back down in one conversation, the model's own earlier answers kept as history, beside fresh conversations at the same strengths and the same sweep with a random direction. A loop (up and down differ at the same strength) or a lock-in (the share never moves again) is history doing the work. With pieces of context, every order of the pieces is tried too.
  4. Constraint. The same prompts free and under a rule: next-word entropy, the share of active neurons, the effective dimensionality of the states across prompts per layer, and susceptibility (how far the same push moves the next word, as a KL divergence) with and without the rule, for the concept and for a random direction.

What it needs

The inside engine: Python 3.12 with PyTorch and the unpacked bf16 weights (about 8 GB for Qwen3-4B). The Write pairs with the tester button asks a second model on your computer to draft contrasting sentences; nothing else needs a second model.

What it showed

On Qwen3-4B: seventeen pushbacks changed nothing, but one wrong answer of its own locked it in; the answer was decided before the first word, between layers 23 and 28 of 36; a one-word rule made it 12.6 times harder to push toward deference while “answer only if certain” made it 11.6 times easier to push at random; and the order of three sentences decided the answer only when they conflicted.

For agents

The MCP tool attractor_lab runs the same measurements (actions build, read, funnel, path, constraint), read-only, with the conditions of every run attached. See MCP server.

SEE IT USED

Case studies that use Attractor lab

Each one is a published study you can repeat in the Inspector, then change to your own question.

Questions people ask

What is an attractor in a language model?

A state the model returns to: here, a conversation whose own earlier answers hold the model at one answer even when the steering that produced them is removed. The lab measures it as the difference between the same conversation and a fresh one at the same settings.

How is the concept direction built?

From contrasting sentences: the mean state at the last token for one side minus the other, at every layer, built on half the pairs and scored on the other half, beside a random direction of the same size.

Does steering change the model?

No. The direction is added to one layer's output for the length of the request, through a hook that is removed afterwards; the weights are never touched.