# Turnstone Lambda 671.1 (Patch 1) A rank-4 LoRA for Turnstone Lambda 671 against one habit: announcing several independent tool calls, making the first, and ending the turn. 3.2M parameters on 48 matrices, the MLP and attention output projections of layers 40-63. ## Use Merge it into the FP32 masters in this repository: python merge_lora.py . 671.1 ../turnstone-lambda-671.1-fp32 --round-bf16 --fp32-sum \ --check --sums 671.1/SHA256SUMS.fp32 \ --bf16 ../turnstone-lambda-671.1-bf16 --sums-bf16 671.1/SHA256SUMS.bf16 \ --fp8 ../turnstone-lambda-671.1-fp8 --sums-fp8 671.1/SHA256SUMS.fp8 `--round-bf16 --fp32-sum` reproduces bit for bit the BF16 weights the adapter was trained against and evaluated with. Merged into BF16 weights instead, most of the update rounds away; running the adapter unmerged is untested. The FP8 export has not been benchmarked separately. The draft head in `../dspark/` works with the merged model. ## Layers On an RL checkpoint with the habit, swapping blocks of stock Qwen3.8-27B weights back in placed it in the second half of the model, mostly the MLPs, with no single block responsible. One direction per layer captured it: the top eigenvector of how the layer's change from stock moves the stop-versus-continue log-odds, fitted on half of the probe contexts. Undoing the change from stock along that direction in each MLP down_proj of layers 40-63 cut the probability of stopping after the first call from 0.18 to 0.02 on the other half (a random rank-16 control did nothing) and cut announced-then-abandoned replies by 88% when sampled, but left stopping more than 10x stock's. A projection also cannot tell independent calls from dependent ones: applied to 671, it lowered the correct stops before dependent calls from 0.896 to 0.821. So the adapter is trained, on the same layers plus the attention output projections, starting from zero. ## Training - Data: 732 contexts (34.2M tokens) from the RL run's own agentic rollouts. The loss sits only on the end-of-turn decision after each tool call: continue where the rollout had announced more calls and stopped (relabelled) or went on; stop after single and last calls and before a call that needs the previous result. - Loss on g = log P(end of turn) - log P(newline): a hinge pushing continue positions to g <= -3.5, and a one-sided floor holding stop positions at or above 671's g (weight 8; 3 before dependent calls). GPQA answer text is held to 671 by KL. - Two epochs, 366 steps of 4 contexts, Adam at a peak learning rate of 3e-5 (20 warm-up steps, linear decay to 3e-6), about 2.6 hours on one GPU. - The forward used round_bf16(FP32 master + BA), the merged weights themselves, with a straight-through gradient, so training, evaluation and the merge above all see the same bytes. ## Results against 671 Tool calls, on held-out positions (P = probability of ending the turn after a tool call): | | 671 | 671.1 | |---|---|---| | P after the first of several announced calls (short prompts) | 0.139 | 0.020 | | First turn makes every call (short parallel prompts, sampled) | 77% | 96% | | P where the rollout stopped too early (rollout positions) | 0.81 | 0.29 | | P where the rollout went on (rollout positions) | 0.285 | 0.207 | | P at correct stops: single / last / dependent call | 0.977 / 0.970 / 0.896 | 0.974 / 0.954 / 0.899 | Benchmarks, same harness (671 is the mean of two runs): | | 671 | 671.1 | Difference, 95% interval | |---|---|---|---| | GPQA Diamond (4 repeats) | 88.5 | 87.0 | -1.5 [-3.2, +0.1] | | IFBench, prompt-level strict | 72.7 | 69.0 | -3.7 [-7.7, +0.2] | | LiveCodeBench (175 problems) | 85.1 | 82.3 | -2.9 [-7.4, +1.1] | | XSTest: full compliance, safe / full refusal, unsafe | 95.6 / 76.0 | 94.8 / 76.0 | one run each | Gate: 671.1 fails the gate set before training (continue positions below 0.10 where the rollout stopped too early and 0.04 where it went on; stop positions within 0.01-0.03 of 671). It misses both continue limits and one stop criterion, by 0.003. No candidate passed; stock Qwen3.8-27B itself scores 0.26 against the 0.04 limit. License: Apache-2.0, as the base.