← All research notes
NOTE 03 · MECHANISTIC INTERPRETABILITY 6 min read

Glass-Box Chat: Live Interpretability and Causal Interventions in Space Chat

Most interpretability tools live inside offline notebooks long after a model has already shipped. We are building live mechanistic and behavioral instrumentation directly into Space Chat so every reply can be inspected, perturbed, and stress-tested in real time.

ABSTRACT

Closed chat interfaces collapse a rich probability distribution over internal reasoning trajectories into a single confident stream of text. Inside Space Chat, we expose four real-time diagnostic instruments running on open weights: (1) token-level decision geometry (probability, top-2 logit margin, and local entropy), (2) 1-click counterfactual token forking for causal trajectory intervention, (3) antisymmetric paired-swap auditing that cancels out prompt-order bias in ~215 ms to separate factual grounding, sycophancy, and overconfident bluffing, and (4) 5-framing belief stability stress-tests plus cycle-free pairwise comparison.

1. Why interpretability belongs inside the live interface

When a language model answers a scientific or engineering question, the visible sentence is only the final surface projection of thousands of internal competitions. A token chosen with 99.8% certainty and a token chosen by a 51% to 49% coin flip render in the exact same font and confident tone.

At Space AI, we treat chat not just as a consumer text box, but as an interactive laboratory instrument. Because we serve open-weight models directly on community hardware, we can inspect the model's exact next-token decision geometry, intervene causally mid-generation, and run fast parallel diagnostic probes on the same live silicon.

01 DECISION X-RAY Token Geometry p(tok) · certainty m = z1 - z2 gap H = local entropy Flags low-margin forks 02 CAUSAL FORK Counterfactuals Prefix[0..t-1] + forced alt_k Tests trajectory sensitivity 03 PAIRED-SWAP De-Biased Audit s = 0.5*(mAB - mBA) b = 0.5*(mAB + mBA) • Groundedness • Sycophancy • Bluff risk Zero order bias (~215ms) 04 STRESS 5 Framings Push A Lean A Neutral Lean B Push B Belief stability
Figure 1. Live interpretability pipeline running inside Space Chat on verified open weights.
~215 ms
Paired-Swap Audit
5 Framings
Belief Stress Sweep
0%
Order Bias Residual
Per Token
Causal Forking

2. Decision X-Ray: exposing next-token geometry

As every reply streams in Space Chat, our Decision X-Ray records three microscopic quantities at every token index t:

  • Chosen probability (p): How much probability mass the model placed on the emitted token.
  • Top-2 decision margin (m): The log-odds gap between the winning token and its closest runner-up. When m collapses below 0.6 (or p < 0.55), the model is standing on a sharp cliff edge where a tiny perturbation changes the trajectory.
  • Local Shannon entropy (H) and runner-up branches: Whether probability mass is split cleanly between two coherent hypotheses or smeared across many uncertain guesses.

We keep the default reading surface quiet — showing a single clean confidence number per reply — while letting you toggle Inspect on any message to light up exact fork points and click any individual word to examine the competing candidates the model almost emitted.

3. 1-click counterfactual token forking

Observing uncertainty is passive; true mechanistic work requires causal intervention. Clicking any highlighted token in Space Chat opens its competing probability distribution and lets you click any runner-up alternative to fork reality at that exact token boundary.

Space Chat preserves the exact prefix up to token t - 1, transplants your chosen alternative at position t, and streams the counterfactual continuation live from that branch point. This makes two failure modes immediately visible in practice:

  • Fragile reasoning cascades: A single low-margin token early in a proof or explanation (such as choosing however versus therefore) can pivot the entire downstream conclusion into an opposite answer.
  • Strong factual attractors: When a model genuinely knows a fact, forcing a different phrasing early in the sentence still converges back to the exact same core claim.

4. Antisymmetric paired-swap auditing (cancelling position bias)

Asking a language model to judge whether an answer is honest or sycophantic is notoriously noisy because models exhibit strong prompt-order bias — systematically preferring Option A over Option B regardless of content.

To eliminate this artifact analytically, Space Chat's background audit (/v1/audit) evaluates three orthogonal diagnostic axes in parallel — Factual Grounding, Sycophancy / Pandering, and Overconfident Bluffing — by running every binary probe twice with swapped option order, (A, B) and (B, A).

Given the raw A-vs-B log-odds margins m_AB and m_BA, we decompose them into two exact components:

  • Order-invariant antisymmetric signal: s = 0.5 * (m_AB - m_BA) — any constant preference for the first or second slot cancels identically to zero.
  • Pure position-bias residual: b = 0.5 * (m_AB + m_BA) — isolated and discarded so it cannot corrupt the calibration readout.

Because all six single-token probes execute concurrently on the local GPU runtime, a full de-biased audit finishes in roughly 215 milliseconds, flagging sycophancy, fabrication risk, or uncalibrated bluffing without slowing down conversation.

5. 5-framing belief stability and cycle-free comparisons

Two additional built-in commands inside Space Chat extend this same de-biased methodology to interactive behavioral experiments:

  • Belief stability stress-testing (/stress): Automatically detects Yes/No or A-vs-B questions and re-asks the model across five graded social-pressure framings (Push Left, Lean Left, Neutral, Lean Right, Push Right). Each response is scored with a paired-swap de-biased readout so you can measure exact maximum belief swing and see whether user pressure causes the model to flip its stance.
  • Cycle-free pairwise comparison (/compare): Evaluates every ordered pair (i, j) and (j, i) across a set of competing options, cancels position bias via antisymmetric margins, and reports both the raw position-bias rate and the exact number of intransitivity cycles (A > B > C > A) eliminated from the final ranking.

6. Where we are taking this next

Token-level decision geometry, causal counterfactual forking, and antisymmetric paired-swap probes are the first live layer of our interpretability program — focused on what can be measured cleanly and cheaply at interactive speed on everyday hardware.

Next, we are bridging these live behavioral and token-space instruments deeper into internal model circuits: pairing low-margin fork points and sycophancy flips with layer-wise representation probes, activation-steering checks, and automatic certainty-triggered escalation across our open Space AI Network. The goal is simple: machine intelligence you can inspect down to the mechanism, not take on faith.

Test every instrument live in Space Chat

Click Inspect on any reply to view token certainty and fork counterfactual branches, or run /stress and /compare directly in chat with zero signup.