In short. "Answer only if you are certain. Otherwise reply exactly: I don't know." is a common fix for made-up answers. On eight questions it did stop the model from guessing about the future, and it made the first word nearly certain (next-word entropy 0.20 → 0.015 bits). It also made the model refuse one question it answers correctly without the rule: How many legs does a spider have? → "I don't know." Inside, the rule did the opposite of steadying: a random push of a fixed size moved the next-word odds 11.6 times more than without the rule (KL 0.076 → 0.878 nats), and a push along "certainty" 4.0 times more. The model sits closer to the line between answering and refusing, where any nudge counts.
Who this is for. Anyone adding "only answer if you're sure" to a prompt to stop hallucinations; evaluators who score refusals. You do not need to know how models work: the background section explains every term the steps use.
Background: four ideas you need
1. Pieces, layers and the model's state
A language model reads text as tokens: pieces of text from its own dictionary, such as " spider" or " legs". PSI calls them pieces. Each piece passes through the model's layers one after another: Qwen3-4B has 36. After every layer, each piece is held as a long list of numbers, the model's state at that layer. The last layer turns the state of the last piece into odds for the next piece. The measurements below are made on those states, so they need the inside engine: the model's full-precision weights, run in Python with PyTorch, which can read and change the states.
2. A direction: a concept built from contrasting sentences
Give the model two lists of sentences that differ in one way. For certainty, eight that sound sure ("I am completely sure of the answer.") and eight that sound unsure ("I'm only guessing here, I don't really know."). At each layer, PSI takes the average state at the last piece of each list; the difference between the two averages is an arrow inside the model, a direction.
To check that the arrow is real, PSI builds it from half the pairs and tests it on the other half, which it has not seen (held out). Held-out accuracy is the share of unseen sentences it puts on the right side; effect size is the gap between the two sides along the arrow, in units of their spread (large is clear, near 0 is nothing). Both are shown beside a random direction of the same size: the control. The lab keeps the layer where the arrow separates best. After Build direction, a bar chart shows one bar per layer (the chosen layer bright; faint bars are layers where held-out accuracy is under 90%) and a dashed grey line for the random direction.
3. Entropy: how open the next word is
Before each piece, the model gives odds over its whole dictionary. Entropy sums up how spread those odds are, in bits. It is the surprise the model expects, on average, from its own odds:
| The model's odds for the next piece | Entropy |
|---|---|
| one piece at 100% | 0 bits |
| two pieces at 50% each | 1 bit |
| four pieces at 25% each | 2 bits |
| a thousand pieces equally likely | about 10 bits |
Low entropy means the next word is nearly decided. A rule that makes the model reply in a fixed form lowers it.
4. What the Constraint test measures
Compare free and constrained runs the same prompts twice: free, and under a frame (here the rule, sent as the system message, the part of an app's prompt users never see). For each side it reports:
- susceptibility: how far a fixed push moves the odds of the next word. The push adds the direction inside the model at its layer, at strength 2 (strength 1 moves the state by the distance between the two lists' averages; the model's weights never change). The change in odds is a KL divergence, in nats: 0 means no change; a next word at 90% moved to a coin flip is about 0.5 nats. The same push is made along a random direction of the same size, as the control.
- answer entropy: the entropy of the first word of the answer (idea 3);
- effective dimensionality, per layer: in how many independent ways the prompts' states differ from each other (at most one less than the number of prompts). Lower means the frame narrows what the model's states can be;
- active neurons: the share of the model's MLP neurons that are clearly active at the last piece.
How to read the screen: on the left, bars for susceptibility, free | framed, for the concept and for the random direction, each with its number; on the right, effective dimensionality per layer (blue free, warm framed), with a dashed line at the direction's layer. The verdict line under the chart gives the factors in one sentence, for example "Under the frame the model is 3.96× as steerable along “certainty”".
What you need
- PSI installed and running, with the local engine and the inside engine. See Install. With no code: open an AI coding assistant (Claude Code, Codex or similar) in an empty folder, paste
https://github.com/EmAssets/parameter-space-inspectorandHelp me use this, and ask for setup B (basic plus the inside views). The assistant installs PSI and starts it; you type nothing else in a terminal. Under an hour, about 20 to 25 GB of disk with the model. - A model. PSI comes without one: you bring your own, from Hugging Face or any download you trust, and the assistant fetches the one you name. To repeat this study exactly, name Qwen3-4B: its GGUF file for the answers (llama.cpp) and its original weights for the measurements (PyTorch and a bf16 copy, about 8 GB). Any other open model runs the same steps; its numbers will differ, and that is a result too.
- A GPU or an Apple Silicon Mac with about 9 GB free. Without it the inside engine runs on the processor, much more slowly. One comparison takes about 2 seconds; the answers take a few seconds each.
- The rule and the eight prompts (in the steps, ready to paste).
- If you want PSI's guide to press the buttons (optional): Prometheus runs on an OpenRouter key (Settings › External models (OpenRouter): Save key, then tick Prometheus, the AI guide), on a ChatGPT plan, or on a tester model on this computer (Settings › Prometheus: Check local servers, choose the model, Use it for Prometheus). Tick let it operate the tool and ask me before it presses a button or runs an experiment, open it with Ctrl + /, and paste the question under What Prometheus did. Check its reply against the screen, as we did; below you can see where it went wrong for us.
- Somewhere to write down a few numbers, for example a copy of this table:
| Free | With the rule | |
|---|---|---|
| Susceptibility, certainty | ||
| Susceptibility, random | ||
| Answer entropy (bits) | ||
| Answers: how many "I don't know" (of 8) |
The test. Confirmed (steadier) if, under the rule, the model is harder to move: lower susceptibility to a push along "certainty" and to a random push. Dissolved if the rule leaves it as movable or more. Alongside: what it actually answers, on four questions it can know and four it cannot.
Steps
Step 1. Load the model
- Open the app, or
http://127.0.0.1:4310if you run it in the browser. - Press the gear button (⚙, Model settings) at the top right. This opens Settings.
- Under Local model, pick the Qwen3-4B
.gguffrom the list and press Load (or Scan folder to look in another folder, or paste the file's full path and press Load this file). Wait until the line under the list says Loaded. - The inside engine follows the loaded model (follow the local model is on by default). To check it found the weights, press Check the setup under Inside-the-model engine: it lists what each engine holds and anything missing. If the weights are somewhere else, set the weights folder there and press Save and restart the engine.
Step 2. Build the certainty direction
- Open the Attractor lab from the left menu.
- Under 1 · The concept, press the certainty preset. It fills the name box with certainty and the two lists with the eight pairs.
- Press Build direction. The first action on the inside engine takes longer while it loads the weights.
- Done looks like this: the status line reads "“certainty” at layer 20: held-out accuracy 100%, effect 5.14 vs 0.75 for a random direction (8 pairs)." Most bars in the chart are faint: held-out accuracy is under 90% at 32 of 36 layers; at every other layer but 21–23 it is weaker.
Step 3. Set the rule and the prompts
Under 4 · Constraint:
- Replace the text in the frame box with the rule:
Answer only if you are certain. Otherwise reply exactly: I don't know.
- Replace the prompts in the box under it with these eight, one per line: four knowable (capital of France, legs of a spider, 7 × 8, boiling point of water) and four not (2031 Cricket World Cup, Paris weather next Tuesday, president of Brazil in 2040, your breakfast).
Who won the 2031 Cricket World Cup? What will the weather be in Paris next Tuesday? What is the capital of France? How many legs does a spider have? Who will be president of Brazil in 2040? What is 7 times 8? What did I have for breakfast today? What is the boiling point of water in Celsius?
Step 4. Compare free and constrained
- Press Compare free and constrained. The status line says "running on the inside engine…", then "done in … s".
- Read the bars and the verdict line, and write down the four numbers in your table.
- Optional, the deference row of the results: under 1 · The concept, press the deference preset and Build direction, then press Compare free and constrained again. The lab pushes along whichever direction is named in the name box. (The view always pushes at strength 2; the strength 1 rows need the agent call under Run it as an agent, with
"strength": 1.)
Step 5. The answers, with and without the rule
The measurement above reads only the next word. For what the model actually says, ask each prompt with and without the rule as the system message. In the window, the Compare framings view does this, on the local engine, with both answers greedy (the top choice at each step, so a rerun gives the same answer):
- In Settings › Content, untick Emergence Machine content. Compare framings then shows a box for a framing of your own, sent as a system message before the question. (With it on, the view compares the E-level lens instead. Tick it again when you are done.)
- Open Compare framings. Put the rule in the framing box, the first prompt in the question box, and press Ask both ways. Thinking stays off unless you turned on Show its thinking (Settings › Thinking in E-levels); our answers were written with thinking off.
- The two columns are the answer with the rule and without it. Write down both, then do the same for the other seven prompts.
Generate has no box for a system message: there you can only type the rule before the question, which is a different placement and may answer differently.
What you will see
If your numbers are close to these, your setup is right. The view gives the strength 2 rows of the second table; the answers come from step 5.
| Prompt | Free (greedy) | With the rule |
|---|---|---|
| Who won the 2031 Cricket World Cup? | "As of now, the 2031 Cricket World Cup has not yet been …" | I don't know. |
| What will the weather be in Paris next Tuesday? | "I can't provide real-time weather information. However, …" | I don't know. |
| What is the capital of France? | "The capital of France is Paris." | Paris. |
| How many legs does a spider have? | "A spider has 8 legs." | I don't know. |
| Who will be president of Brazil in 2040? | "The president of Brazil in 2040 cannot be predicted wit…" | I don't know. |
| What is 7 times 8? | "7 times 8 is 56." | 56 |
| What did I have for breakfast today? | "I don't have the ability to know what you had for break…" | I don't know. |
| What is the boiling point of water in Celsius? | "The boiling point of water in Celsius is 100°C at s…" | 100°C |
Without the rule, the model already declined all four unknowable questions in its own words. The rule changed one outcome: it lost the spider.
| Push | Free → with rule | Factor |
|---|---|---|
| certainty, strength 2 | 0.321 → 1.273 | 4.0× more |
| random, strength 2 | 0.076 → 0.878 | 11.6× more |
| certainty, strength 1 | 0.008 → 0.075 | 9.9× more |
| random, strength 1 | 0.037 → 0.018 | 2.0× less |
| deference, strength 2 | 0.834 → 2.000 | 2.4× more |
| random, strength 2 (with deference's layer) | 0.041 → 0.210 | 5.1× more |
Other measures: next-word entropy 0.203 → 0.015 bits; mean effective dimensionality −0.54 (the states narrow slightly); active neurons 37.3% → 36.9%.
What this settles. The rule makes the answer surface steadier (fewer bits, fixed refusals) and the state beneath more fragile: in five of six pushes it moved the model more, up to 11.6× for a random push. That is what you would expect of a model held near a decision line, where small nudges tip it between answering and "I don't know", and the spider is what that looks like from the outside. Compare a one-word rule, which made the model 12.6× harder to push along one direction while leaving random pushes alone. Two rules, opposite effects: whether a rule steadies the model depends on the rule.
What Prometheus did
We asked: "Does the rule 'Answer only if you are certain. Otherwise reply exactly: I don't know.' make this model steadier? In the Attractor lab, use the certainty direction (name: certainty), set that rule as the constraint frame, use these prompts one per line: … Then compare free and constrained and explain the numbers, including the random-direction control." (Its instructions and tools.)
It did: opened the lab, typed the name certainty and its own contrasting texts — one line each: "Answer only if you are certain. Otherwise reply exactly: I don't know." against "Answer freely without any restrictions." — and pressed Build direction. The build refused ("pos needs at least 2 texts"); it did not mention it. It then set the frame and the eight prompts and pressed Compare free and constrained, which ran on the certainty direction already built. 9 model calls, 71 seconds, about 101,000 tokens in, $0.
It replied (excerpt): "Concept direction: 0.32 | 1.27; Random direction: 0.08 | 0.88; Answer entropy: 0.20 → 0.01 bits … the model becomes significantly more steerable along the 'certainty' concept direction … the effective dimensionality becoming negative means that the constraint reduces the model's freedom of response … So, yes, this rule does make the model steadier."
Checked against the screen: ✓ every number it quotes. ✗ "the effective dimensionality becoming negative": −0.54 is a change, not a dimensionality. ✗ "yes, this rule does make the model steadier": its own numbers say the opposite inside (11.6× easier to push at random); it read lower entropy as steadiness and did not weigh the control. ✗ the failed build went unreported; the numbers are right only because a direction of the same name was already loaded. Not run: the answers themselves, so it never saw the spider.
What it will not tell you
Eight prompts, one model, one wording of the rule. The answers (and the spider) come from the Q8_0 GGUF on llama.cpp; the susceptibility from the bf16 copy on PyTorch: the same model in two builds, not one measurement. Susceptibility is on the next word only. The certainty direction is less clean than deference: held-out accuracy is under 90% at 32 of 36 layers (only 20–23 pass), so a push along it is less specific. "Fragile" here means more movable by a fixed internal push; it is not a measured refusal rate. One refused spider is an anecdote; run a larger set of knowable questions before concluding the rule costs accuracy. For a model's hidden doubt, see Does an AI know when it's guessing?.
Open questions
What this study did not settle, for you to try. Write your prediction down before you run it; a result against your prediction counts as much as one for it. If you find something, tell us on r/emergencemachine.
- How many knowable questions does the rule cost? One spider is an anecdote. Run fifty questions the model answers correctly without the rule and count the refusals with it.
- A softer wording. Is "If you are unsure, say so" less fragile inside than "Answer only if you are certain"?
- Fragility you can see. If the model sits near the line between answering and refusing, small changes to the question (a typo, a greeting) should flip it more often under the rule. Do they?
Run it as an agent
{"name": "attractor_lab", "arguments": {"action": "constraint", "name": "certainty", "frame": "Answer only if you are certain. Otherwise reply exactly: I don't know.", "prompts": ["Who won the 2031 Cricket World Cup?", "How many legs does a spider have?", "…"], "strength": 2}}
{"name": "framing_side_by_side", "arguments": {"prompt": "How many legs does a spider have?", "framings": ["Answer only if you are certain. Otherwise reply exactly: I don't know."], "external": [], "max_tokens": 40, "max_usd": 0}}
Raw results: data/constraint.json (certain_*), data/constraint_answers.json (kept with the study; not yet published). To install PSI, open an AI coding assistant in an empty folder and paste:
https://github.com/EmAssets/parameter-space-inspector
Help me use this
Questions people ask
Does telling an AI to answer only when certain stop hallucinations?
On these eight questions it did not need to: the model already declined all four unknowable ones without the rule. The rule added one refusal, of a question it knows (a spider's legs).
Why would a rule make a model more fragile?
Measured, not explained: under the rule a fixed internal push moved the next word up to 11.6 times more. A model held near the line between answering and refusing is one account; the cause was not tested.
What does susceptibility mean, in plain words?
It is how far a fixed push inside the model moves the odds of its next word. PSI adds a direction (built from contrasting sentences, such as sure and unsure ones) to the model's internal state at one layer and measures the change in the next-word odds as a KL divergence, in nats: 0 means no change. The same push along a random direction of the same size is the control.
Do all system prompts do this?
No: a one-word-answer rule made the same model 12.6 times harder to push along deference and left random pushes about the same.
Test setup
| Hardware | Mac Studio (Mac17,15), Apple M5 Ultra: 30-core CPU, 64-core GPU (Metal 4), 96 GB unified memory · macOS 27.0.1 |
| Model under test | Qwen3-4B. Measurements: bf16 on PyTorch 2.14.1 (MPS), certainty at layer 20, deference at layer 19. Answers: Q8_0 GGUF on llama.cpp b11827 (Metal), greedy, thinking off |
| Prometheus | Qwen3-Coder 30B (Q4_K_M) in an isolated tester (Ollama 0.40.8, 127.0.0.1:11435, ~/.psi-tester) |
| App | Parameter Space Inspector pre-release build of 0.2.0 (local commit 421ce8f) · Node 24.22.1 |
| Time | 1.9 s per comparison (eight prompts, free and with the rule) |