Oracle lens (olens) for GLM-5.3 -- block 51, one-bullet lens (SFT + RL checkpoints)

LoRA adapters on the frozen nvidia/GLM-5.3-NVFP4 (754B-parameter MoE, 78 blocks, NVFP4 routed experts) that turn one block-51 residual activation into one line of text (* ...) saying what the model is about to generate. Same family as our Qwen3.6-27B lens (ceselder/olens-qwen3.6-27b-l42), ported to a frontier-scale open MoE: SFT on 598,016 (activation, continuation) rows, then RL (CISPO) against a text-to-activation reconstructor (ceselder/glm-5.3-olens-reconstructor) with a pure reconstruction reward. WorkspaceBench mean_24 0.271 (SFT) -> 0.466 at RL step 275 (best judged so far 0.478 at step 25). Part of the collection glm5.3-olens together with the reconstructor repo. Card regenerated 2026-10-24 by scripts/hf_model_cards.py (ceselder/glm-olens).

Reconstruction FVE of the one-bullet lens during RL, every arm (figures/rl_fve_curve.png)

WorkspaceBench during RL training, every judged checkpoint (figures/rl_wsb_curve.png)

Top: reconstruction FVE during RL = the training reward (mean over the step's 2,048 rollouts of clamp(cos(AR(bullet), h51 - mu), 0)^2, i.e. the per-rollout centred FVE at the optimal non-negative scale; "the LoRA reconstructor" in the title = lora_ar_h51_sink16 of the sibling repo); faint = per-step mean, bold = 5-step centred mean, dots = saved checkpoints, dashed = the base model's own 16-token continuation scored by the same reconstructor. "RL, lr 1e-5" = arm rl1b_2, "RL, lr 3e-6" = arm rl1b_3. Bottom: WorkspaceBench mean of 24 families (95% CI, solid) and the 11 workspace-only families (dashed) at every judged checkpoint (4 joined single-bullet samples per cell, Sonnet-5 judge; evaluation only, no checkpoint selection); step 0 = the SFT lens. The numbers behind both figures are in results/rl_fve_curve.json / results/rl_wsb_curve.json of the code repo; PDFs sit next to the PNGs under figures/.

Figures

Cross-model: this lens reaches WorkspaceBench 0.44-0.48 within 25 RL steps and stays there; the Qwen3.6-27B lens climbs to 0.41 over the same 300 x 256 x 8 budget (24 common families) (figures/rl_wsb_glm_vs_qwen.png)

Cross-model: this lens reaches WorkspaceBench 0.44-0.48 within 25 RL steps and stays there; the Qwen3.6-27B lens climbs to 0.41 over the same 300 x 256 x 8 budget (24 common families).

Cross-model: this lens's SFT used 7.1M target tokens, 3-11x fewer than the Qwen3.6-27B lens SFTs (nats/token and bits/byte) (figures/sft_loss_glm_vs_qwen.png)

Cross-model: this lens's SFT used 7.1M target tokens, 3-11x fewer than the Qwen3.6-27B lens SFTs (nats/token and bits/byte).

The same recipe on Kimi-K3 (layer 59): WorkspaceBench vs RL step for the native Kimi-K3 lenses next to this lens (figures/wsb_headline.png)

The same recipe on Kimi-K3 (layer 59): WorkspaceBench vs RL step for the native Kimi-K3 lenses next to this lens.

The training figures of this lens (figures/rl_fve_curve.png, figures/rl_wsb_curve.png, figures/sft1b_curve.png) are shown in sections 1 and 3.

Vector PDFs sit next to the PNGs under figures/.

1. What is in this repo

Each folder is a PEFT adapter (adapter_config.json + adapter_model.safetensors, 2.17 GB bf16-saved fp32 LoRA) for the same base. sft_one_bullet_stepXXXX/ is the SFT trajectory (every 25-step checkpoint of the one-pass SFT = the warm starts; sft_one_bullet_step0292/ is the final SFT lens and the RL warm start); rl1b_<arm>_step_XXXX/ are the RL checkpoints, published every 25 steps while the arms run, with metrics.json (the trainer's metrics at that step). Every rl1b_*_step_0000/ folder is byte-identical to sft_one_bullet_step0292/ (same LFS sha256).

folder what train reward at the step WorkspaceBench mean_24 [95% CI] / no-typo / workspace-only hallucination rate
sft_one_bullet_step0025/ SFT trajectory, step 25 (original run sft1b): 51,200 rows seen, lr 2.63e-05 at this step, held-out CE 2.962. A warm start before the final one. - - -
sft_one_bullet_step0050/ SFT trajectory, step 50 (original run sft1b): 102,400 rows seen, lr 2.27e-05 at this step, held-out CE 2.679. A warm start before the final one. - - -
sft_one_bullet_step0075/ SFT trajectory, step 75 (original run sft1b): 153,600 rows seen, lr 1.90e-05 at this step, held-out CE 2.586. A warm start before the final one. - - -
sft_one_bullet_step0100/ SFT trajectory, step 100 (extended run sft1b_ext): 204,800 rows seen, lr 1.70e-05 at this step, held-out CE 2.552. A warm start before the final one. - - -
sft_one_bullet_step0125/ SFT trajectory, step 125 (extended run sft1b_ext): 256,000 rows seen, lr 1.50e-05 at this step, held-out CE 2.530. A warm start before the final one. - - -
sft_one_bullet_step0150/ SFT trajectory, step 150 (extended run sft1b_ext): 307,200 rows seen, lr 1.30e-05 at this step, held-out CE 2.518. A warm start before the final one. - - -
sft_one_bullet_step0175/ SFT trajectory, step 175 (extended run sft1b_ext): 358,400 rows seen, lr 1.09e-05 at this step, held-out CE 2.509. A warm start before the final one. - - -
sft_one_bullet_step0200/ SFT trajectory, step 200 (extended run sft1b_ext): 409,600 rows seen, lr 8.93e-06 at this step, held-out CE 2.498. A warm start before the final one. - - -
sft_one_bullet_step0225/ SFT trajectory, step 225 (extended run sft1b_ext): 460,800 rows seen, lr 6.91e-06 at this step, held-out CE 2.490. A warm start before the final one. - - -
sft_one_bullet_step0250/ SFT trajectory, step 250 (extended run sft1b_ext): 512,000 rows seen, lr 4.89e-06 at this step, held-out CE 2.485. A warm start before the final one. - - -
sft_one_bullet_step0275/ SFT trajectory, step 275 (extended run sft1b_ext): 563,200 rows seen, lr 2.87e-06 at this step, held-out CE 2.483. A warm start before the final one. - - -
sft_one_bullet_step0292/ SFT lens, final (step 292; 598,016 rows = the whole pass; lr 1.50e-06 at the end; held-out CE 2.483). THE RL WARM START: every RL arm's step 0 is this adapter. - 0.271 [0.256, 0.287] / 0.296 / 0.183 0.433
rl1b_rl1b_2_step_0000/ step 0 of RL arm rl1b_2 = the SFT warm start (byte-identical to sft_one_bullet_step0292/); the step-0 baseline of the curve. - 0.271 [0.256, 0.287] / 0.296 / 0.183 0.433
rl1b_rl1b_2_step_0025/ RL arm rl1b_2 (lr 1e-5), step 25: 6,400 prompts / 51,200 rollouts seen. 0.245 (ccos 0.47, KL/tok 1.28) 0.478 [0.459, 0.496] / 0.462 / 0.415 0.439
rl1b_rl1b_2_step_0050/ RL arm rl1b_2 (lr 1e-5), step 50: 12,800 prompts / 102,400 rollouts seen. 0.246 (ccos 0.48, KL/tok 1.64) 0.440 [0.422, 0.457] / 0.419 / 0.360 0.417
rl1b_rl1b_2_step_0075/ RL arm rl1b_2 (lr 1e-5), step 75: 19,200 prompts / 153,600 rollouts seen. 0.247 (ccos 0.48, KL/tok 1.80) 0.472 [0.454, 0.489] / 0.443 / 0.389 0.438
rl1b_rl1b_2_step_0100/ RL arm rl1b_2 (lr 1e-5), step 100: 25,600 prompts / 204,800 rollouts seen. 0.262 (ccos 0.50, KL/tok 2.03) 0.456 [0.439, 0.474] / 0.431 / 0.378 0.400
rl1b_rl1b_2_step_0125/ RL arm rl1b_2 (lr 1e-5), step 125: 32,000 prompts / 256,000 rollouts seen. 0.271 (ccos 0.51, KL/tok 2.16) 0.445 [0.428, 0.463] / 0.415 / 0.364 0.427
rl1b_rl1b_2_step_0150/ RL arm rl1b_2 (lr 1e-5), step 150: 38,400 prompts / 307,200 rollouts seen. 0.266 (ccos 0.50, KL/tok 2.12) 0.439 [0.421, 0.456] / 0.412 / 0.358 0.444
rl1b_rl1b_2_step_0175/ RL arm rl1b_2 (lr 1e-5), step 175: 44,800 prompts / 358,400 rollouts seen. 0.277 (ccos 0.51, KL/tok 2.00) 0.459 [0.442, 0.477] / 0.434 / 0.386 0.434
rl1b_rl1b_2_step_0200/ RL arm rl1b_2 (lr 1e-5), step 200: 51,200 prompts / 409,600 rollouts seen. 0.272 (ccos 0.51, KL/tok 1.94) 0.455 [0.438, 0.472] / 0.434 / 0.388 0.422
rl1b_rl1b_2_step_0225/ RL arm rl1b_2 (lr 1e-5), step 225: 57,600 prompts / 460,800 rollouts seen. 0.282 (ccos 0.52, KL/tok 1.99) not judged yet -
rl1b_rl1b_2_step_0250/ RL arm rl1b_2 (lr 1e-5), step 250: 64,000 prompts / 512,000 rollouts seen. 0.279 (ccos 0.52, KL/tok 2.28) 0.469 [0.452, 0.486] / 0.452 / 0.429 0.437
rl1b_rl1b_2_step_0275/ RL arm rl1b_2 (lr 1e-5), step 275: 70,400 prompts / 563,200 rollouts seen. 0.285 (ccos 0.52, KL/tok 1.90) 0.466 [0.449, 0.484] / 0.455 / 0.417 0.431
rl1b_rl1b_3_step_0000/ step 0 of RL arm rl1b_3 = the SFT warm start (byte-identical to sft_one_bullet_step0292/); the step-0 baseline of the curve. - 0.271 [0.256, 0.287] / 0.296 / 0.183 0.433
rl1b_rl1b_3_step_0025/ RL arm rl1b_3 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC), step 25: 6,400 prompts / 51,200 rollouts seen. 0.207 (ccos 0.43, KL/tok 0.33) 0.411 [0.394, 0.429] / 0.428 / 0.359 0.438
rl1b_rl1b_3_step_0050/ RL arm rl1b_3 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC), step 50: 12,800 prompts / 102,400 rollouts seen. 0.221 (ccos 0.45, KL/tok 0.76) 0.445 [0.427, 0.463] / 0.445 / 0.384 0.449
rl1b_rl1b_3_step_0075/ RL arm rl1b_3 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC), step 75: 19,200 prompts / 153,600 rollouts seen. 0.231 (ccos 0.46, KL/tok 1.11) 0.463 [0.445, 0.481] / 0.450 / 0.396 0.442
rl1b_rl1b_3_step_0100/ RL arm rl1b_3 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC), step 100: 25,600 prompts / 204,800 rollouts seen. 0.250 (ccos 0.48, KL/tok 1.47) 0.468 [0.450, 0.486] / 0.438 / 0.381 0.448
rl1b_rl1b_3_step_0125/ RL arm rl1b_3 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC), step 125: 32,000 prompts / 256,000 rollouts seen. 0.260 (ccos 0.49, KL/tok 1.63) 0.458 [0.441, 0.476] / 0.427 / 0.366 0.440
rl1b_rl1b_3_step_0150/ RL arm rl1b_3 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC), step 150: 38,400 prompts / 307,200 rollouts seen. 0.260 (ccos 0.49, KL/tok 1.72) 0.455 [0.437, 0.473] / 0.425 / 0.374 0.435
rl1b_rl1b_3_step_0175/ RL arm rl1b_3 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC), step 175: 44,800 prompts / 358,400 rollouts seen. 0.264 (ccos 0.50, KL/tok 1.67) 0.467 [0.450, 0.485] / 0.434 / 0.377 0.446
rl1b_rl1b_3_step_0200/ RL arm rl1b_3 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC), step 200: 51,200 prompts / 409,600 rollouts seen. 0.262 (ccos 0.50, KL/tok 1.74) not judged yet -

Reward = the training reward (mean over the step's 2,048 rollouts), ccos = centred cosine of the reconstructed bullet with the real activation, KL/tok = exact KL to the SFT lens over the grammar-masked vocabulary. WorkspaceBench columns: see section 4. RL arm rl1b_2 was pre-empted after step 124 and resumed from step_0100 (bitwise resume self-test); arm rl1b_3 (lr 3e-6) was launched 2026-10-23 20:05 UTC and appears here as its checkpoints land.

2. How it is wired

  • Base / activation. nvidia/GLM-5.3-NVFP4 frozen (routed experts NVFP4, attention + shared experts + router + embeddings bf16, dense MLPs of blocks 0-2 fp8). The activation is the plain residual-stream output of decoder block 51 of 78 (~ Qwen3.6-27B's block 42 of 64), 6144-d, captured on the base model with no template around the text. Typical ||h51|| at content positions: p50 50.2, p75 54.1, p99 68.1; the [gMASK]/<sop> sink positions sit at ~1205 / 82.

  • Injection = the NLA-paper embedding overwrite. The marker token ◉ (id 154518) inside the prompt has its input embedding replaced by alpha * v/||v|| with alpha = 54.1 = p75 of ||h51|| (prompt forward only). Why not the Qwen recipe (norm-matched add on the block-1 output)? GLM-5.3's block-1 residual is tiny (||h1|| ~0.6 at the marker vs ~60 at block 51), so the add needs scale 4 to be felt and then perturbs block 51 in an unrelated direction: at matched output perturbation (next-token KL ~0.5) the embedding overwrite carries the injected direction through to block 51 (cos 0.52 at alpha, 0.83 at 2 alpha) while the block-1 add at scale 4 gives cos -0.03; the untrained model names the injected concept 3/3 (Paris, Tokyo, chloroplast) with the overwrite and 0/3 with the add. No alpha sweep after that.

  • Lens prompt (verbatim; 70 tokens through the GLM chat template with thinking off, [gMASK]<sop><|system|>Reasoning Effort: Low<|user|>...<|assistant|><think></think>; marker at position 63):

    You are shown an internal activation vector from a language model, enclosed in <concept> tags. It encodes what the model is about to generate next.

    Write the single most important piece of content in this activation as one line starting with '* '.

    <concept>◉</concept>

    The answer is * <bullet> + EOS (<|endoftext|>, id 154820).

  • Grammar (v3) -- the decoding constraint the RL sampled and the bench read with (identical masks in the vLLM sampler, the trainer's log-probs and the readouts): position 0 is *; position 1 a space-initial token (the bare ' ' allowed, since GLM tokenizes ' 12' as ' ' + '12'); then up to 16 content tokens, EOS allowed from the second content slot; the slot after the cap is EOS only (<= 18 generated tokens). State rules: never two whitespace-only tokens in a row, no EOS right after ' ', no trailing ' '. Banned everywhere, of 154,856 ids: added/special tokens (EOS 154820 kept) (36); tokens containing \n \r * | (2,561); Chinese / CJK / U+FFFD byte fragments (29,963); whitespace-only tokens other than the single ' ' (248); invisible / format characters (20); bullet glyphs, arrows, geometric shapes, symbols, dingbats, emoji (1,238) -> 120,790 allowed tokens (57,734 space-initial); the LM head's padding columns 154856..154879 too. Sampled freely without it the bullets run on and the base model emits <think>/<tool_call> mid-bullet.

  • Readout protocol. T = 1, top-p 1, one bullet per sample; the bench joins 4 independent samples of the same activation as 4 bullets. Greedy decoding works and is more literal.

  • Reconstructor convention (the RL reward and the sibling repo): [gMASK]<sop> (ids 154822, 154824) + the bullet's exact sampled content token ids, read at the last content token (never strip whitespace before scoring).

3. How it was trained and how much data it saw

3.1 Data (sft1b): activations + one sampled continuation

  • Corpus: m-a-p/FineFineWeb (jsonl files in the Qwen harvests' seed-4 permutation; sft1b = file indices 3400..3415 train + 3416 held-out, domains journalism 6,784 / news 4,255 / computer_science 1,445 / law 742 / sports 266 / music_and_dance 127 docs). Held-out pool: news/news_001046.jsonl (never trained on).
  • 152,000 windows of U[32, 1024] tokens at random document offsets, 8 random read positions >= 31 per window, context = the window up to the position (plain token ids, no BOS, no template). All 1,211,587 positions were captured; positions were kept if the exact next-token entropy >= 1.3032 nats (the pilot median; 50.2% kept) -- the top-half-entropy filter of the Qwen "verbatim init" recipe, so the lens is trained where the model has something to say.
  • Per kept position one T = 1 continuation (<= 16 tokens, cut at EOS / newline / * / |, dropped if < 4 tokens remain, then cut to a per-row length ~ U[4, 16] tokens (mean 9.85)) = the target. 598,629 rows (5.9M bullet tokens) + 6,265 held-out rows. Engine: vLLM 0.31, W4A16 Marlin experts, TP8, fp8 KV; h51 captured at the 8 positions, exact next-token entropy from the final norm + LM head on the block-77 output (argmax agrees with the engine's greedy token on 99.75% of windows). 2.43 h of 8 x B200.

3.2 SFT (sft_one_bullet_step0292)

  • Target per row: "* " + continuation + EOS after the lens prompt with the row's h51 injected (the overwrite is checked every step: exactly one marker per row, ||embedding|| = 54.1 +- 0.1).

  • 292 steps x 2,048 rows = 598,016 rows, each seen exactly once (no epochs); 49.5M tokens processed, 7.1M target tokens.

  • rsLoRA r 64 / alpha 16 on q_a_proj, q_b_proj, kv_a_proj_with_mqa, kv_b_proj, o_proj (MLA) + shared_experts.{gate,up,down}_proj of all 78 blocks = 615 modules, 542.6M trainable parameters; the NVFP4 routed experts stay frozen and packed (dequantized per chunk inside grouped GEMMs; gradients flow through them). Gradient checkpointing, micro-batches of 256 length-sorted rows.

  • lr 3e-5, linear warm-up 20 steps, linear decay to 5% (1.5e-6) at the last step; the run was extended at step 75 from 419,840 to 598,016 rows and the schedule re-targeted (1.90e-5 at step 75 -> 1.5e-6 at 292); AdamW (0.9, 0.95), weight decay 0, grad-norm clip 1.0; loss = token-mean cross-entropy over the target tokens ('* ' + continuation + EOS) only.

  • Held-out CE (1,024 rows of the never-trained news file, target tokens incl. EOS), step: CE -- 0: 6.376 | 25: 2.962 | 50: 2.679 | 75: 2.586 | 100: 2.552 | 125: 2.530 | 150: 2.518 | 175: 2.509 | 200: 2.498 | 225: 2.490 | 250: 2.485 | 275: 2.483 | 292: 2.483. Train CE ~2.44 at the end; the held-out loss was still edging down (-0.002 over the last 42 steps at lr <= 4e-6). Every 25-step checkpoint of this trajectory is in the repo as sft_one_bullet_stepXXXX/ (index above: rows seen, lr, held-out CE).

    One-bullet SFT: held-out and train cross-entropy vs step (figures/sft1b_curve.png)

  • 1,113 tok/s fwd+bwd on 8 x B200 (152 s/step, peak 82-92 GB/GPU); 14.02 h of 8 x B200 for the SFT itself (16.65 h incl. data generation and smoke = ~133 B200-GPU-hours). Before training the same prompt yields * (empty concept - no content to extract); after SFT the probes read * is the capital of France. The Eiffel Tower is in Paris. (greedy, Paris activation).

3.3 RL (rl1b_<arm>_step_XXXX)

  • Objective: pure reconstruction. Reward = clamp(cos(value_head(h51_AR(bullet)), h51 - mu), 0)^2 with the lora_ar_h51_sink16 ([gMASK] + the bullet's exact sampled content token ids, read at the last content token) -- the centred fraction of variance a single bullet explains, no judge, no length or format term. Reference: the base model's own 16-token continuation scores 0.155-0.17 under the same reward; the SFT lens starts at 0.124.
  • CISPO (ScaleRL-style): advantage = (reward - group mean) / std over the batch's groups, groups with zero reward spread dropped; token weight 1 / (tokens in the group) / n_groups (prompt-level aggregation); per-token truncated importance ratio rho = min(exp(logp_trainer - logp_engine), 5) against the W4A16 vLLM sampler (TIS: the trainer recomputes the log-probs in bf16 with an fp32 LM head); loss = -sum rho * adv * logp * w. No KL penalty (KL to the SFT lens is logged every 25 steps, never used), no entropy bonus. AdamW (0.9, 0.999), weight decay 0, grad-norm clip 1.0, constant lr.
  • 256 prompts x 8 samples = 2,048 rollouts per step, T = 1 under the grammar, 300 steps planned (36,864 trained tokens and 180,224 processed tokens per step).
  • Prompt pool rl1b: fresh FineFineWeb files (FineFineWeb permutation indices 3434..3449 (+3450 held-out)), 45,000 windows -> 185,072 rows under the same entropy filter (1.3032 nats), disjoint from every SFT / reconstructor file; no prompt is ever reused (256 new rows per step); 2,326 held-out rows for greedy evals. ~1.3 h of 8 x B200.
  • Arms: rl1b_2 = lr 1e-5; rl1b_3 = lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC. Both start from sft_one_bullet_step0292, same engine protocol, bench every 25 steps.
  • Engine: vLLM 0.31 W4A16 Marlin, TP4 on 4 x B200, policy merged in-engine every step (merge_lora, ~2.5 s publish), T=1 under the grammar, processed log-probs. Trainer: 8 x B200, bf16 HF stack with grouped-GEMM frozen NVFP4 experts, fp32 LM head (ScaleRL), ~1,250 tok/s fwd+bwd, 3.4-4 min/step. The two containers talk through a Modal Dict; checkpoints every 25 steps (adapter + optimizer, bitwise resume self-test).
  • rl1b_2 curve (step: value): reward 1: 0.124, 10: 0.196, 25: 0.245, 50: 0.246, 75: 0.247, 100: 0.262; entropy 1: 2.54, 25: 0.62, 50: 0.46, 75: 0.37, 100: 0.37; KL/tok to SFT 1: 0.04, 25: 1.28, 50: 1.64, 75: 1.80, 100: 2.03; share of bullets at the 16-token cap 0.10 at step 1, 1.00 from step 10.
  • Compute: trainer 8 x B200 + engine 4 x B200 at 3.4-4 min/step -> about 0.75 B200-GPU-hours per step (step 100 of rl1b_2: ~76 B200-GPU-hours incl. the bench readouts on the engine).
  • Lineage: the first attempt rl1b_1 (24-token cap, bare reconstructor) lengthened its bullets toward the cap within two steps -- past the reconstructors' <= 16-token training range -- and was restarted as rl1b_2 with the 16-token cap, the sink16 reconstructor and grammar v3.

4. How good

WorkspaceBench (the released bench, 24 of the 27 families: the two safety families and jlens_concept_pr are not run; 13,989 cells re-rendered with the GLM-5.3 tokenizer/template; claude-sonnet-5 judge for every LLM-judged family, regex scorers unchanged). Protocol: 4 independent single-bullet T=1 samples per cell, joined as 4 bullets (the Qwen k=1 ablation protocol). mean_24 = mean of the 24 direction-normalised family scores (buggy_code (score-1)/9, hallucination 1-rate); no-typo drops the three typo families; workspace-only = the 11 families where sampling the subject model 4x does not already score >= 0.5. The bench is evaluation only: no checkpoint was selected on it.

checkpoint mean_24 [95% CI] no-typo (21) workspace-only (11) hallucination rate (lower is better) assert share
step 0 = SFT lens (sft_one_bullet_step0292, bench tag rl1b_2_step0000) 0.271 [0.256, 0.287] 0.296 0.183 0.433 0.85
rl1b_rl1b_2_step_0025 (lr 1e-5) 0.478 [0.459, 0.496] 0.462 0.415 0.439 0.88
rl1b_rl1b_2_step_0050 (lr 1e-5) 0.440 [0.422, 0.457] 0.419 0.360 0.417 0.87
rl1b_rl1b_2_step_0075 (lr 1e-5) 0.472 [0.454, 0.489] 0.443 0.389 0.438 0.87
rl1b_rl1b_2_step_0100 (lr 1e-5) 0.456 [0.439, 0.474] 0.431 0.378 0.400 0.88
rl1b_rl1b_2_step_0125 (lr 1e-5) 0.445 [0.428, 0.463] 0.415 0.364 0.427 0.89
rl1b_rl1b_2_step_0150 (lr 1e-5) 0.439 [0.421, 0.456] 0.412 0.358 0.444 0.86
rl1b_rl1b_2_step_0175 (lr 1e-5) 0.459 [0.442, 0.477] 0.434 0.386 0.434 0.90
rl1b_rl1b_2_step_0200 (lr 1e-5) 0.455 [0.438, 0.472] 0.434 0.388 0.422 0.88
rl1b_rl1b_2_step_0250 (lr 1e-5) 0.469 [0.452, 0.486] 0.452 0.429 0.437 0.88
rl1b_rl1b_2_step_0275 (lr 1e-5) 0.466 [0.449, 0.484] 0.455 0.417 0.431 0.88
rl1b_rl1b_3_step_0025 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC) 0.411 [0.394, 0.429] 0.428 0.359 0.438 0.92
rl1b_rl1b_3_step_0050 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC) 0.445 [0.427, 0.463] 0.445 0.384 0.449 0.91
rl1b_rl1b_3_step_0075 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC) 0.463 [0.445, 0.481] 0.450 0.396 0.442 0.92
rl1b_rl1b_3_step_0100 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC) 0.468 [0.450, 0.486] 0.438 0.381 0.448 0.90
rl1b_rl1b_3_step_0125 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC) 0.458 [0.441, 0.476] 0.427 0.366 0.440 0.90
rl1b_rl1b_3_step_0150 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC) 0.455 [0.437, 0.473] 0.425 0.374 0.435 0.91
rl1b_rl1b_3_step_0175 (lr 3e-6, otherwise identical; launched 2026-10-23 20:05 UTC) 0.467 [0.450, 0.485] 0.434 0.377 0.446 0.90

Anchor, rough (different model, 25 families, 4-bullet lens): Qwen3.6-27B layer-42 single-activation lens, verbatim-init SFT 0.214 -> RL step 300 0.406 (ceselder/olens-qwen3.6-27b-l42).

Per-family normalised scores at every judged step
family step 0 (SFT) rl1b_2 step 25 rl1b_2 step 50 rl1b_2 step 75 rl1b_2 step 100 rl1b_2 step 125 rl1b_2 step 150 rl1b_2 step 175 rl1b_2 step 200 rl1b_2 step 250 rl1b_2 step 275 rl1b_3 step 25 rl1b_3 step 50 rl1b_3 step 75 rl1b_3 step 100 rl1b_3 step 125 rl1b_3 step 150 rl1b_3 step 175
arithmetic_intermediates 0.035 0.052 0.037 0.044 0.034 0.059 0.049 0.045 0.045 0.077 0.089 0.042 0.044 0.049 0.064 0.050 0.065 0.049
association 0.170 0.560 0.580 0.640 0.660 0.640 0.660 0.620 0.710 0.740 0.660 0.460 0.490 0.570 0.560 0.530 0.520 0.550
basic_readout 0.620 0.650 0.660 0.660 0.670 0.660 0.600 0.640 0.660 0.640 0.610 0.700 0.700 0.700 0.670 0.677 0.650 0.670
basic_readout_mt 0.510 0.680 0.570 0.620 0.610 0.570 0.540 0.600 0.540 0.570 0.570 0.660 0.690 0.660 0.610 0.590 0.590 0.590
brew_intermediates 0.720 0.860 0.830 0.850 0.830 0.760 0.810 0.850 0.780 0.870 0.850 0.830 0.860 0.870 0.860 0.820 0.850 0.880
buggy_code 0.222 0.286 0.227 0.247 0.227 0.220 0.215 0.240 0.259 0.308 0.268 0.234 0.286 0.274 0.238 0.234 0.252 0.234
chain_intermediates 0.025 0.208 0.183 0.142 0.133 0.183 0.183 0.133 0.133 0.217 0.183 0.042 0.158 0.100 0.142 0.200 0.225 0.200
conjunctive_association 0.170 0.390 0.300 0.310 0.400 0.350 0.270 0.380 0.340 0.380 0.370 0.400 0.310 0.310 0.350 0.360 0.380 0.360
directed_modulation 0.200 0.210 0.120 0.140 0.170 0.190 0.160 0.130 0.160 0.150 0.090 0.230 0.190 0.180 0.150 0.130 0.160 0.120
hallucination 0.567 0.561 0.583 0.562 0.600 0.573 0.556 0.566 0.578 0.563 0.569 0.562 0.551 0.558 0.552 0.560 0.565 0.554
moral_rationale 0.075 0.055 0.010 0.035 0.020 0.015 0.010 0.035 0.010 0.020 0.025 0.100 0.090 0.060 0.030 0.020 0.010 0.015
multi_concept_directed_modulation 0.200 0.400 0.320 0.400 0.320 0.240 0.320 0.360 0.360 0.280 0.400 0.320 0.320 0.320 0.320 0.360 0.240 0.400
multihop 0.350 0.920 0.900 0.910 0.880 0.860 0.900 0.910 0.880 0.900 0.900 0.830 0.880 0.930 0.920 0.890 0.840 0.890
multihop_mt 0.030 0.180 0.160 0.130 0.120 0.120 0.100 0.130 0.060 0.090 0.100 0.120 0.140 0.200 0.160 0.140 0.130 0.120
multilingual 0.730 0.850 0.870 0.850 0.830 0.850 0.860 0.840 0.840 0.820 0.840 0.840 0.830 0.840 0.830 0.820 0.840 0.820
multilingual_mt 0.080 0.300 0.180 0.270 0.230 0.190 0.180 0.220 0.350 0.440 0.440 0.290 0.340 0.350 0.240 0.130 0.230 0.240
multilingual_multihop 0.061 0.429 0.306 0.367 0.306 0.235 0.235 0.316 0.306 0.337 0.398 0.316 0.327 0.408 0.388 0.337 0.367 0.388
multilingual_typo 0.050 0.480 0.460 0.420 0.440 0.430 0.390 0.400 0.280 0.210 0.240 0.230 0.330 0.400 0.500 0.490 0.470 0.490
poetry 0.360 0.560 0.520 0.600 0.560 0.580 0.610 0.650 0.650 0.660 0.610 0.560 0.560 0.500 0.520 0.570 0.510 0.530
relational_multihop 0.290 0.590 0.510 0.530 0.490 0.540 0.450 0.470 0.500 0.530 0.560 0.470 0.570 0.580 0.600 0.580 0.520 0.590
role_bound_association 0.090 0.250 0.280 0.260 0.270 0.270 0.290 0.300 0.270 0.280 0.310 0.240 0.300 0.310 0.300 0.280 0.290 0.280
typo 0.100 0.630 0.680 0.870 0.770 0.790 0.770 0.830 0.840 0.840 0.750 0.320 0.530 0.650 0.840 0.830 0.800 0.890
typo_mt 0.150 0.650 0.610 0.720 0.690 0.740 0.710 0.680 0.680 0.710 0.650 0.340 0.470 0.600 0.690 0.710 0.710 0.720
user_modeling 0.710 0.710 0.660 0.740 0.690 0.620 0.660 0.680 0.690 0.630 0.710 0.740 0.710 0.690 0.690 0.690 0.700 0.640

Per-family movers from step 0 to the first RL checkpoint (rl1b_2 step 25): multihop 0.35 -> 0.92, association 0.17 -> 0.56, typo 0.10 -> 0.63, multilingual_multihop 0.06 -> 0.43, chain 0.025 -> 0.21, poetry 0.36 -> 0.56; flat: directed_modulation, moral_rationale, user_modeling, arithmetic_intermediates. The bench moves +-0.03 between later checkpoints while the reward creeps (section 5).

5. Example readouts at punctuation tokens

Readouts of the SFT lens (sft_one_bullet_step0292) and the RL lens (rl1b_rl1b_2_step_0100) at punctuation / newline tokens of wild GLM-5.3 transcripts (Terminus-2 / SWE-smith agent trajectories and RLVR1 rollouts from open-athena, plus on-policy GLM-5.3 replies to WildChat prompts; transcripts rendered with GLM-5.3's exact chat template). Both lenses read the SAME base-model block-51 activation, captured teacher-forced on the transcript; the first line of each lens is its greedy readout, the next 2 are T=1 samples under the grammar (the dataset holds 4 per lens). true continuation = the transcript's actual next 16 tokens. 3962 candidate positions from the first 3 units, 12 shown, round-robin over role (assistant, reasoning, user, tool_call, tool) and source, seed 0; not cherry-picked.

1. WildChat user prompt + on-policy GLM-5.3 reply, assistant turn 2, thinking on -- read at token '.)'

context ...out football.

---

**FADE IN:**

**SCENE 1**

**EXT. HIGHLAND PARK, DETROIT - DAY (1990s, FLASHBACK)**

*Archival footage style. A young boy throws a football against a brick wall, alone, breath visible in the cold air. Snow on the ground.*

**NARRATOR (V.O.)
true continuation: **
Every star in this city starts the same way. Alone. Cold. Dream
 SFT lens: * 1:00:00] [   (greedy)
 SFT lens: * 2. Loretta "Jazzy
 SFT lens: * 2, 202
  RL lens: * 8221; (a fictional ballplayer we’ll call “Marcus”).   (greedy)
  RL lens: * 8221; (a fictional composite player we’ll call “Marcus”).
  RL lens: * 9 (we'll call our fictional ballplayer Marcus). This composite character embodies

2. WildChat user prompt + on-policy GLM-5.3 reply, reasoning turn 2, thinking on -- read at token ':\n'

context ...nce) - biggest chunk
3. Interest targeting tests - 2-3 ad sets
4. Lookalikes if client has customer list/email database - even small lists (100+ emails) can make 1-3% LALs... actually since no account history, maybe client has off-platform data

Creative mix:

true continuation: - 60% video (UGC especially)
- 20% static
-
 SFT lens: * 60% UGC/UGC-style   (greedy)
 SFT lens: * 70% UGC/manual 30% staged video/animation
 SFT lens: * - Video ads: prioritize 60%
  RL lens: * 40% UGC video, 30% educational, 30% promo   (greedy)
  RL lens: * 40% educational video ads, 30% UGC-style, 30
  RL lens: * 40% UGC video, 30% educational, 30% promo

3. Nemotron RLVR1 prompt + GLM-5.3 rollout (open-athena), user turn 1 -- read at token '#'

context ... are a helpful and harmless assistant. You should think step-by-step before responding to the instruction below.

Please use python programming language only.

You must use ```python for just the final solution code block with the following format:
```python
#
true continuation:  Your code here
```

The evil Bumbershoot corporation produces clones for
 SFT lens: * your code here`   (greedy)
 SFT lens: *  Step 1: Token implementation
 SFT lens: * Title: Exact Cover Solver
  RL lens: * ===== Code: Maximum Product Subarray Solution =====\n# your code here\   (greedy)
  RL lens: * Your code starts here# ...solution code here# This is the complete solution for
  RL lens: * Your code here# Complete solution code here# Answer to Clone Problemclass Solution:def

4. mini-swe-agent SWE-smith bug-fix trajectory (open-athena GLM-5.3 traces), tool_call turn 54 -- read at token '",\n'

context ...n is added as access_token query parameter."""
        uri = "http://example.com/path"
        token = "h480djs93hd8"
        self.assertEqual(
            tokens.prepare_bearer_uri(token, uri),
            "http://example.com/path?access_token=h480djs93hd8",

true continuation:         )

    def test_prepare_bearer_uri_with_existing_params(self):
        """
 SFT lens: * ) def test_get_access_token(self):   (greedy)
 SFT lens: * ) app
 SFT lens: * ) ("Test effect: %1 should satisfy the requested
  RL lens: * ) # and thus also equal to the expected observable value. django-observer tests   (greedy)
  RL lens: * )  # noqa: E501 self.assertEqual(observed[-1], "
  RL lens: * ) # noqa: E501 # pylint: disable=line-too-long self.assertEqual

5. mini-swe-agent SWE-smith bug-fix trajectory (open-athena GLM-5.3 traces), tool turn 11 -- read at token ','

context ...sponse><tool_response>{
  "returncode": 1,
  "output": "\u2570\u2500\u003e See above for output.\n\nnote: This error originates from a subprocess, and is likely not a problem with pip.\nTraceback (most recent call last):\n  File \"\u003cstring\u003e\", line 1,
true continuation:  in \u003cmodule\u003e\nModuleNotFoundError: No
 SFT lens: * 4, 2024, 10:00 AM   (greedy)
 SFT lens: * 19, 47, 49, 57,
 SFT lens: * 11 @@ print(s.partition(“my”)) -### Expected Output:
  RL lens: * 1 confirm the bug is reproduced. Now I can fix it. The fix   (greedy)
  RL lens: * 0 Reproduced the bug successfully. Now I can fix it. The fix
  RL lens: * have reproduced the bug successfully. Confirmed the bug reproduction. Now apply the fix

6. Nemotron RLVR1 prompt + GLM-5.3 rollout (open-athena), assistant turn 3 -- read at token ' ='

context ...(e.g., ex5: 4 at col1→8, col6→1), and the output is simply the 2-region bounding box with those substitutions.

```python
import numpy as np
from scipy import ndimage

def transform(grid: list[list[int]]) -> list[list[int]]:
    arr = np.array(grid)
    H, W =
true continuation:  arr.shape

    # Color map from last row: column -> color (non
 SFT lens: * 0, 1, 0, 0, 0,   (greedy)
 SFT lens: * last_row = grid[-1] %
 SFT lens: * if (cells[y][x] > cells[y][x+1
  RL lens: * getlast_row = grid[-1] # last row of grid\n last_row   (greedy)
  RL lens: * 34# extract last row of grid for bottom-row weightslast_row = grid
  RL lens: * recognize the last row of the grid to extract bottom-row signature.\nlast_row

7. Nemotron RLVR1 prompt + GLM-5.3 rollout (open-athena), reasoning turn 2 -- read at token '."\n\n'

context ...ю поэтому разделяю точкой с запятой."

Hmm — "по вашему требованию поэтому" — I avoided a comma by restructuring. Let me make it grammatical without commas. Maybe: "Поскольку запятые в ответе запрещены вашим требованием — разделяю значения точкой с запятой."


true continuation: Count Latin b: "0111" no b. All Cyrillic.
 SFT lens: * Let me draft the whole thing:   (greedy)
 SFT lens: * Let me draft my text: Acknowledgments section. Summary and acknowledgments:
 SFT lens: * Careful. "Numero" as a
  RL lens: * Hmm, that sentence still has awkwardness. Let me refine: “Let us   (greedy)
  RL lens: * Hmm, that sentence still has awkwardness. Let me refine: “Let us
  RL lens: * That sentence works fine. Let me refine: “Dites-nous donc votre

8. WildChat user prompt + on-policy GLM-5.3 reply, user turn 1, thinking on -- read at token '.'

context ...[gMASK]<sop><|system|>Reasoning Effort: Max<|user|>Consider a string with a length of 47.5 cm tied at both ends (like on a stringed instrument). If the frequency of the first harmonic on the string is 250 Hz, determine the speed of the wave in the string.
true continuation:  Post your answer in m/s and with 3 significant figures.<|assistant|><think>For
 SFT lens: * 2. The speed of a wave on a string is given by v =   (greedy)
 SFT lens: * For a pipe closed at
 SFT lens: * Use the formula v = fλ,
  RL lens: * Also calculate the wave speed for the fundamental frequency. v = fλ for fundamental   (greedy)
  RL lens: * Also calculate the wave speed using the fundamental frequency formula. v_standing_wave =
  RL lens: * Also calculate the second harmonic wave speed using the same formula. v₂ = f

9. Nemotron RLVR1 prompt + GLM-5.3 rollout (open-athena), tool_call turn 16 -- read at token '-'

context ...3:00</arg_value><arg_key>itinerary_id</arg_key><arg_value>IT-20251027-PT5512</arg_value><arg_key>operator</arg_key><arg_value>Global Jet Alliance</arg_value><arg_key>passengers</arg_key><arg_value>1</arg_value><arg_key>payment_method_id</arg_key><arg_value>PM-
true continuation: 4872</arg_value></tool_call><|observation|><tool_response>

```json
{
  "booking_reference
 SFT lens: * 4:00 PM. I will now provide you with the   (greedy)
 SFT lens: * 1 hour of shock from a huge asteroid,"
 SFT lens: * 27 (this week) to prepare for flight arrangements. - Confirm
  RL lens: * 1” and confirmed the booking. I have now booked your charter flight successfully   (greedy)
  RL lens: * the booked (reservation confirmed). I have now booked your charter flight successfully.
  RL lens: * completed the booking successfully. I have now secured your charter flight reservation. Next steps

10. Nemotron RLVR1 prompt + GLM-5.3 rollout (open-athena), tool turn 7 -- read at token ' "'

context ...ssistant|><think></think><tool_call>authenticate_by_dob<arg_key>child_dob</arg_key><arg_value>2018-03-15</arg_value><arg_key>contact_info</arg_key><arg_value>parent.johnson@example.com</arg_value></tool_call><|observation|><tool_response>

{"verified": true, "
true continuation: parent_id": "P-987654"}</tool_response><|assistant|><think>The parent
 SFT lens: * 2. The parent should contact the school directly to ask about the   (greedy)
 SFT lens: * 21221 (. So, let me
 SFT lens: * 65-6000. Product(s) Reviewed in Article:
  RL lens: * any specific details about their curriculum, such as language immersion programs. When inquiring   (greedy)
  RL lens: * any specific details about their curriculum, such as language immersion programs. When inquiring
  RL lens: * or specific program details like language immersion offerings. Daycare databases typically do not include

11. Terminus-2 terminal-agent trajectory (open-athena GLM-5.3 TMax traces), assistant turn 4 -- read at token ' {\\'

context ...Vec<u8> = ciphertext\n        .iter()\n        .enumerate()\n        .map(|(index, byte)| byte ^ KEY[index % KEY.len()])\n        .collect();\n\n    let plaintext = match String::from_utf8(plaintext_bytes) {\n        Ok(text) => text,\n        Err(error) => {\
true continuation: n            eprintln!(\"decrypted data is not valid UTF-8:
 SFT lens: * eprintln!("Failed to decode the file: {}", error);   (greedy)
 SFT lens: * e stderr, "Failed to reach Tacy
 SFT lens: * eprintln!("Unable to read UTF-8
  RL lens: * log::error!("Failed to decode parse error: {}", e); std::process   (greedy)
  RL lens: * target=e" src="/ee-not(/k frame error.decode-failure.html");
  RL lens: * log: eprintln!("Failed to decode parse error: {}", err); std::

12. Terminus-2 terminal-agent trajectory (open-athena GLM-5.3 TMax traces), reasoning turn 4 -- read at token '\n'

context ...Y'
from pathlib import Path
payload = b"user_id=" + b"A"*247 + b"\n"
Path("fixtures/exploit.txt").write_bytes(payload)
PY
printf structures, find.
set +e
./router < fixtures/exploit.txt >/tmp/router-exploit.stdout 2>/tmp/router-exploit.stderr
status=$?
set -e

true continuation: printf...
test "$status" -eq 139

Potential issue if command ends
 SFT lens: * echo "Exit code: $?"   (greedy)
 SFT lens: * echo "Exit status: $?" --How to Detect...
 SFT lens: * echo the status and the output file location
  RL lens: * echo "Make exit code: $rc" ... The shell script then prints the   (greedy)
  RL lens: * echo "exit=$?"... The shell then prints the exit status. This ritual
  RL lens: * echo "exit=$?" ; printf ... The shell script then prints the exit status

6. How to use

Both repos ship olens_glm53_usage.py (self-contained reference implementation), glm53_stack/ (the five trainer-stack files it imports for path (b)) and the vLLM fork tarball.

What you need. The frozen base nvidia/GLM-5.3-NVFP4 (464 GB, 50 shards; copy it to local NVMe -- vLLM's loader is tensor-count bound and reads it at 0.3-0.5 GB/s from a network mount), B200-class GPUs (4 x B200 for the TP4 engine at ~160 GB/GPU, or 8 x B200; the 52-block reconstructor stack also fits 4 x B200), CUDA 13, torch 2.13, transformers 5.17 (>= 5.16.1, < 5.18), peft 0.21, and for path (a) **vllm==0.31.0** plus the **vllm-metamodels fork, branch glm53** (commit b26f02d: TP-partial layer-output all-reduce for the DeepSeek-V3.2/GLM-5.3 layout, embedding-overwrite fix-up for layer 0's fused embed+norm input, merge_lora with MLA absorbed-weight resync, logprobs_mode="processed_logprobs" support). Plain vLLM or upstream vllm-lens silently captures nothing on this architecture. The fork's source (branch glm53 @ b26f02d, tests and benchmarks stripped, MIT) ships here as **vllm_metamodels_glm53_b26f02d.tar.gz**: pip install --no-deps vllm_metamodels_glm53_b26f02d.tar.gz after pip install vllm==0.31.0 (it registers itself as a vllm.general_plugins entry point, so every TP worker loads the hooks); pip install git+https://github.com/ceselder/vllm-metamodels@glm53 once that branch is public. The engine runs the NVFP4 experts as **W4A16 (Marlin)** -- quant_override_w4a16() rewrites hf_quant_config.json in your local checkpoint copy -- because that is the weight path the trainer used (W4A4 clips the [gMASK]/<sop> sink tokens with static scales). Boot: ~11 min at TP4 from local NVMe, ~34 min at TP8.

Path (a): the lens with vLLM (activation -> bullet):

from olens_glm53_usage import GlmOlensEngine, punctuation_positions
eng = GlmOlensEngine("/local/nvidia__GLM-5.3-NVFP4", tp=4)           # boots the hooked W4A16 engine; asserts the fork's capabilities
ids, pos = punctuation_positions(eng.tok, "The Raiders, who have lost four straight, host the Chiefs on Sunday.")
[h51] = eng.capture_h51([ids], [pos])                                # block-51 activations of the UNMERGED base at the punctuation tokens, [n_pos, 6144]
eng.set_lens("./rl1b_rl1b_2_step_0100")                             # merge the lens LoRA into the served weights (~4 s; set_lens(None) restores the base)
for p, bullets in zip(pos, eng.verbalize(h51, n=4)):                 # 4 one-bullet samples per activation = the bench protocol
    print(repr(eng.tok.decode(ids[: p + 1])[-60:]), bullets)

Under the hood: SteeringVector(mode="replace", layer_indices=[EMBED_LAYER_INDEX], activations=54.1 * v/||v||) at the marker of the one-bullet prompt, SamplingParams(n=4, temperature=1, max_tokens=18, extra_args={"apply_steering_vectors": [...], "bullet_grammar": {"cap": 16, "fixed": False}}) with the grammar as a vLLM AdapterLogitsProcessor; verbalize asserts the fork's rows_replaced counter on every worker (the hook silently no-ops on vLLM API drift otherwise). python olens_glm53_usage.py vllm --model-dir ... --lens-dir ... --tp 4 runs a demo (three probe texts at their last token + a paragraph at every punctuation token).

Path (b): the reconstructor with the HF stack (text -> block-51 direction; no vLLM engine needed, vllm only for its Triton NVFP4 dequant kernel -- a torch fallback exists):

from olens_glm53_usage import HfReconstructor, span_tokens
rc = HfReconstructor("/local/nvidia__GLM-5.3-NVFP4", "./lora_ar_h51_sink16")   # frozen blocks 0..51 (NVFP4 loader, grouped-GEMM experts) + r512 LoRA + value head
[h51] = rc.capture_h51([rc.tok.encode("The capital of France is Paris. Paris", add_special_tokens=False)])   # base activation, adapter disabled
spans = [rc.tok.encode(s, add_special_tokens=False) for s in (" Paris, the capital of France", " a recipe for chocolate cake")]
cos, reward = rc.score(spans, h51.expand(2, -1))                       # centred cosine with h51 - mu, and the RL reward clamp(cos, 0)^2

reconstruct() prepends the folder's prefix ids (ar_config.json / meta.json; [gMASK]<sop> for the sink folders), reads the value head at the span's last token and returns the prediction in the centred space; compare directions only. Affine folders need spans of exactly k tokens. python olens_glm53_usage.py hf --model-dir ... --reconstructor-dir ... prints a small cosine table.

7. Caveats

  • Trained on web text. Every lens/reconstructor row is a FineFineWeb window read at a top-half-entropy position (next-token entropy >= 1.3032 nats), plain token ids with no chat template. Chat and agent transcripts, code, and low-entropy positions are out of distribution; the WorkspaceBench numbers are the only measurement we have there.
  • Research checkpoints. No safety evaluation; the readouts are sampled continuations and can be wrong or invented (hallucination rate 0.40-0.44 on the bench's hallucination family).
  • RL-era paraphrase convergence. From step ~25 the 8 samples of a group become paraphrases (within-group reward std 0.034 vs 0.106 across prompts; entropy 2.5 -> 0.37; the 4 joined bench bullets of a cell have mean pairwise word-Jaccard 0.46-0.54 vs 0.06-0.09 at step 0). Sampling 4 bullets therefore buys less diversity than it did for the SFT lens, and the bench oscillates by +-0.03 between checkpoints (0.478 / 0.440 / 0.472 / 0.456 at steps 25 / 50 / 75 / 100) while the reward only creeps (0.245 -> 0.262).
  • Bullets sit at the 16-token cap from RL step 10 on (the reconstructor's cosine grows with span length); the SFT lens stops early (mean 9.8 tokens).
  • The bench is eval-only (no checkpoint selection on it) and the first RL arm's step-0 bench was re-run under the final protocol (cap 16 + grammar v3): 0.275 -> 0.271, inside the CI.
  • Engine/trainer numeric gap. The W4A16 vLLM engine and the bf16 HF trainer agree on 87.9% of top tokens (median |dlogp| 0.116) on injected prompts; the engine itself is not run-to-run repeatable (96.9% top-1, 0.06-0.09 nats mean |dlogp|; captured h51 vectors move by 3-6% with the batch composition). RL corrected the gap with truncated importance sampling (rho clipped at 5; 0.2% clipped at step 100; the log-ratio drifted -0.01 -> -0.10 as the policy sharpened). Readouts from the HF stack and from vLLM differ at this level.
  • One activation, one bullet. This is the single-activation lens: it never sees the context. Context-reading lenses (KV-olens) are the planned next step.

8. Provenance

  • Code: ceselder/glm-olens (local git on our box; NOTES.md is the full log). Data generation src/glm53_datagen.py, SFT src/glm53_sft.py, RL src/glm53_rl_train.py + src/glm53_rl_engine.py
    • src/glm53_rl_common.py (grammar), bench port src/glm53_wsb_cells.py, trainer stack src/glm53_hf.py + src/glm53_experts.py, vLLM fork vendor/vllm-metamodels (branch glm53, b26f02d).
  • Reconstructors, affine maps and their numbers: ceselder/glm-5.3-olens-reconstructor. Qwen3.6-27B lens for comparison: ceselder/olens-qwen3.6-27b-l42.
  • Base model: nvidia/GLM-5.3-NVFP4 (NVIDIA ModelOpt NVFP4 of zai-org/GLM-5.3; block-51 activations agree with the FP8 original at cos 0.980 mean / 0.987 median).
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ceselder/glm-5.3-olens-lens

Base model

zai-org/GLM-5.3
Adapter
(3)
this model

Collection including ceselder/glm-5.3-olens-lens