J-Space Interventions¶
The inspector reads a running language model through a Jacobian lens and intervenes in its J-space across a band of layers, by ablating, removing or swapping lens directions or injecting a scaled direction, with intact and intervened runs sampled alike.
| Field | Value |
|---|---|
| ID | INT-32 |
| Status | Built |
| Scope | Peripheral |
| Pillar | Interpretability and Interventions |
| Sprint | None |
| Depends On | Language Models Run from the App (INT-09) |
| Unblocks | Intervention API (INT-10)J-Space Trace Pane ( INT-15) |
| Docs | None |
| Branches | inspector |
| Design | None |
Coverage Ledger¶
- Branch
inspector, 1 commit, 06bf7e43. Reading the model through a Jacobian lens (unembed of final norm of the average Jacobian from block l to the last block, for Qwen3.5-0.8B with a lens file converted from a published fit) in qwen_jspace.py, which runs the text model block by block so the residual stream can be read and changed after any block. Follows the J-space paper and its reference code. - Branch
inspector, 2 commits, 06bf7e43 cfa67232. Interventions in J-space across a band of layers at chosen or all positions: ablation of the k most active lens tokens (sparing the clean run top outputs), removal of given tokens directions, swapping two lens coordinates, and injecting a direction scaled by the layer mean residual norm; a seed makes intact and intervened runs sample alike.