Probe Lab: linear probes with controls, steering and directional ablation
Probe Lab in Ozera fits linear probes for a concept at every layer of a language model’s residual stream, checks them against shuffled-label controls, and tests whether the model actually uses the probe’s direction by steering with it and ablating it.
It takes built-in datasets or your own labelled sentences and runs on every model in Ozera, with no code.
What is a linear probe?
A linear probe is a linear classifier trained on a model’s internal activations to test whether a property, such as sentiment, tense or truth, can be read from them. A probe that reads a concept shows the information is present; it does not show that the model uses it, which is what steering and ablation test.
Sweep
A sweep fits probes at every residual stream position (position 0 is the embeddings: a baseline for what the tokens alone give away) with two methods, logistic regression with L2 regularization and difference in means (the direction between the two class means), under three poolings of the text’s tokens: the last token, the mean and the max. Test AUROC is measured on a held-out split, with a margin of error for the split’s size.
Each probe is also fit on a control task (after Hewitt and Liang, 2019): the same examples with their labels shuffled. Selectivity, test accuracy minus control accuracy, says how much of a probe’s accuracy comes from the concept rather than from what the probe can learn on its own.
Built-in datasets: subject-verb agreement, language (English vs French), negation, sentiment, tense (present vs past) and true/false facts. Your own rows upload as CSV, TSV, JSON or JSONL with a text and a label (at least 10 per label, at most 2,000 in all), and an instruct model can read them through its chat template.
Views
Score
Score texts with a probe at every token, with its pooled score for each text.
Generalize
A matrix of probes trained on one dataset and tested on others (two to six datasets), and between a base model and its instruct sibling: the diagonal is the ordinary test, everything else is transfer.
Steer
Activation steering adds a vector to the residual stream while the model generates. Steer adds α times the probe’s direction where the probe reads (α measured in gaps between the class means), then reports the probe’s score and the perplexity of each generated text next to an unsteered baseline and, optionally, a generation with the direction ablated. Run through the assistant, a steer can also include up to three random control directions.
Ablate
Directional ablation projects the probe’s direction out of the residual stream everywhere and measures how far the next-token predictions move (KL divergence) and whether probes at every layer can still read the concept, frozen or refit (amnesic probing). Control directions that remove as much of the stream are ablated the same way.
SAE
Compare a probe’s direction with an SAE’s features at the same layer: the cosine with each feature’s decoder direction against random and shuffled-label baselines, which features contribute to the probe’s score on the data, and sparse probes on the top 1 to 64 SAE features next to the dense probe.
Saved probes
A probe from a sweep can be saved (free), downloaded as JSON, and used to score each token live as a model generates in Generate.
Models
The Probe Lab runs on every model in Ozera: Ozera-Nano and Ozera-Mini; SmolLM2 135M and 360M, SmolLM3 3B, Gemma 3 270M and 1B, and Qwen3 0.6B, 1.7B and 4B, each as a base and an instruct model (an instruct model’s prompts go through its chat template); and your own custom model.
Cost
Each run’s price is shown before it starts. A sweep on a built-in dataset, scoring or an ablation is priced from its estimated GPU time and costs the per-request minimum ($0.12 on the L4 GPU tier and $0.10 on the A10G tier, as of November 2026). Steering is priced per token, like a generation, for each of its generations: from about $0.14 with the default settings on the smallest models.
Frequently asked questions
How do I train a linear probe on a language model without code?
Open the Probe Lab, choose a model and a built-in dataset or upload labelled sentences, and train: Ozera fits logistic regression and difference-in-means probes at every layer under three poolings, and charts test and control AUROC by layer.
What is a control task in probing?
A control task trains the same probe on the same examples with shuffled labels. A probe that does well on the real labels but not on shuffled ones has found something in the activations; selectivity (test accuracy minus control accuracy) measures that gap.
Can I steer a model with a probe?
Yes. The Steer view adds the probe’s direction to the residual stream at several strengths, generates, and compares the probe score and perplexity with an unsteered baseline. Run through the assistant, a steer can also include random control directions.
How do I know whether the model uses a probe’s direction?
Readable is not the same as used. A direction is used when steering along it moves the probe’s score further than random directions do, or when ablating it changes the model’s predictions more than ablating control directions does.
Do probes transfer between a base model and its instruct version?
The Generalize view tests exactly that: probes trained on one model and dataset are tested on the other model’s activations and on the other datasets.