Highlights

Contents

Part VIII
08

From an idea to a defensible result

Research claims depend on what was actually tested. A project decision is different evidence from a measured result. Read the OCTLM case, inspect paper controls, and design a limited experiment whose conclusions can be defended.

THE ARCHITECTURE INVESTIGATIONCost + future tokens01Sparse connections02Compressed history03Latent memory04Compare KV designs05Speculative decoding06Controlled experiment07Interpret + decide08

#Section 26Why OCTLM changed its experiment plan

The code for Day 3 existed, but the planned experiment never ran. Before spending the next GPU session, the project asked whether those runs could answer its questions and serve its learning goal.

Day 3 architecture experiments

The project’s Day 3 record proposed MTP, sparse attention, compressed KV, and an MLA prototype, with a baseline comparison first. On 2026-09-23 the plan was withdrawn before that first GPU stage, to keep the from-scratch learning track, train a more useful small model, and add instruction fine-tuning and an agent runtime. It was a change of plan, not a measured defeat for any architecture.

The case study follows the project’s recorded plan and configuration. OCTLM Day 3 record, configuration, Day 2 results.

Insufficient training scale and seed noise

The real OCTLM configurations differ from the illustrative Finch model. They were short experiments, so their budgets limit the conclusions they could support.

COMPLETED EXPOSURE AND PLANNED EXPOSURE ARE DIFFERENTDay 2 recipe819,200previous training recipeDay 3 short4,096,000planned, not runDay 3 long8,192,000planned, not run20 x 3,740,160 = 74,803,200 positionsheuristic reference, not a universal minimum
Figure 6.28Computed token-position totals compare the previous recipe and two planned Day 3 budgets. Planned bars are not completed runs; the 20-token-per-parameter reference is a heuristic, not a required minimum.

Day 2 recorded improvements for SwiGLU and the bundled modern recipe, with variation across seeds. Because the bundle changed several components, its result isolates none of them.

These numbers justified caution about small-budget experiments. They do not prove that undertraining caused all variation or that the seed range is a significance threshold; that would need per-seed comparisons and learning curves. As Part VII showed, a mean gap and a spread measure different things.

Why implementation alone does not establish an improvement

The prototype can verify equations, shapes, causal masks, and cache dimensions. A naive MLA without an absorbed decode path teaches the representation while missing its memory and speed mechanism. No planned GPU outcome should be reported as observed.

Moving experiments to better-trained models

The research ideas fit better later, once the baseline is trained well enough and the workload exposes the bottlenecks they target. Agent reliability also needs instruction behavior, tool data, and task evaluation, which no architecture pilot supplies.

The lesson is to keep useful code and revise the claim. “This code implements a causal compressed-memory prototype” can be checked directly. “This architecture improves long-context quality per unit compute” needs the controlled runs the withdrawn plan never produced.

#Section 27Reading architecture papers critically

The abstract claims a large speed gain. Before copying the method, ask what the comparison held fixed and what workload it measured. The strongest number may answer a narrower question than your deployment asks.

Claimed improvement and baseline quality

A claim states a benefit under specified conditions. Find its unit and denominator: loss, tokens per second, KV payload, training FLOPs, or task accuracy. Then find the baseline implementation, recipe, and error bars. A weak baseline inflates the comparison; it limits attribution without making the method useless.

Training budget, dataset, and parameter count

Check data sources, preprocessing, split leakage, tokenization, exposure, and optimization, and match the budget to the question as in Section 21. For mixture-of-experts models, separate total from active parameters; for auxiliary-head models, separate training from deployed parameters. Equal headline size is not equal work.

Hardware and evaluation setup

Read batch, context, precision, kernels, devices, warmup, timing boundaries, and whether speed was measured in training, prefill, or decode. A design can win architecturally and lose on a stack without the right kernel; report that limit precisely.

FOLLOW THE HEADLINE BACK TO ITS SUPPORTclaimed improvementbaselinewhat it beatbudgetwhat it spentmeasurementwhat was timeda missing control narrows the conclusion
Figure 6.29A schematic reading path ties a claim to the baseline, budget, implementation, and measurement behind it. A missing link narrows what the claim can establish.

Ablations and reproducibility

Reproducibility means someone else can recover the result closely enough to test the claim from the documented artifacts. Look for code, configs, data details, seeds, checkpoints, and measurement procedures. When full retraining is impractical, say which parts can still be checked.

Question Evidence to find What a missing answer limits
What improved? Metric and denominator Meaning of the headline
Compared with what? Baseline recipe and implementation Attribution to the new design
At what budget? Tokens, FLOPs/time, optimizer Fairness and learning regime
On what data? Corpus, split, preprocessing Generalization and leakage claims
At what capacity? Total/active parameters and shapes Capacity versus architectural effects
On what machine? Hardware, dtype, kernels Portability of efficiency
With what uncertainty? Seeds, repeated timings, exclusions Precision of a small gain
Which part mattered? Ablations Contribution of each component
Can it be checked? Code, configs, data and procedure Independent verification

A reduction in KV payload is not an equal reduction in inference time. Check what each headline comparison actually measures.

#Section 28From research idea to valid experiment

You want to replace six Finch full-attention layers with local ones. Here is the path from that idea to a result another engineer can assess, including the valid outcome “not resolved at this budget.”

Hypothesis, implementation, and baseline

A hypothesis is a testable prediction with a declared scope, for example: “The six-local, two-full Finch schedule reduces KV payload at length 4,096 while keeping the selected retrieval tasks within a declared margin.” Choose the margin and tasks before the run; no tolerance is universally right.

Keep Finch’s tokenizer, vocabulary, width, depth, GQA projections, SwiGLU, normalization, and output tying fixed, and change only the layer masks and local-cache retention. Check that every edge is causal, window boundaries are right, and full layers keep full history. Masks add no learned weights, so the variant has the baseline’s shapes and parameter count.

Full parameter count

Finch-24 component Computed parameters
Tied embedding/output table, 32,000 × 512 16,384,000
Attention in one block 655,360
SwiGLU in one block, 3 × 512 × 1,536 2,359,296
Two RMSNorm vectors in one block 1,024
One block total 3,015,680
Eight blocks 24,125,440
Final RMSNorm vector 512
Complete baseline and mask-only hybrid 40,509,952

Controlled run, multiple seeds, and measurement

Make equal-token training the primary comparison and report measured compute as a cost. Train paired seeds on the same split and exposure. Validate masks and cache continuation before expensive runs, and use the baseline’s learning curves to pick a regime that can answer the question.

THE RESULT MUST ANSWER THE ORIGINAL QUESTIONhypothesisbaseline + variantcontrolled trainingquality + costsuncertaintykeep, reject, unresolvedrevise if the evidence cannot resolve the claima completed implementation is one stage, not the whole experiment
Figure 6.30The investigation carries a fixed architecture and data contract into training, measurement, and interpretation. The loop returns to the hypothesis when the evidence cannot answer it.

One forward path through the model

Embeddings enter normalized decoder blocks. Queries compare with grouped keys under a causal mask, and the weighted values return through the output projection and residual add.

The feed-forward branch gates expanded features and projects them back. A final norm and tied output head then produce next-token logits.

ONE FINCH-24 FORWARD PASS, BATCH 2, EIGHT TOKENStoken ids[2,8]embedding[2,8,512]block × 8, residual width 512Q[2,8,512]K[2,8,128]V[2,8,128]gate, up[2,8,1,536]down[2,8,512]logits[2,8,32,000]K and V are 2 KV heads of width 64; 8 query heads share them in groups of 4a sliding mask changes allowed comparisons, not any of these shapes
Figure 6.31Computed tensor shapes for one Finch-24 forward pass at batch 2 and eight tokens. Orange marks the attention projections; the hybrid changes which K and V entries are kept, never their shapes.

Interpretation and stop condition

A stop condition is a declared rule for ending the experiment: success, failure, or an exhausted budget. Stop when the measurements support a decision, or record that the budget was inconclusive. Never keep adding seeds until one gives the desired headline.

Component Its job in the experiment
Tokenizer and dataset split Define comparable inputs and unseen evaluation
Baseline and variant code Isolate the proposed mechanism
Training recipe Define how both models learn
Seeds and run ledger Expose variation and exclusions
Evaluation tasks Test the capability the hypothesis names
Memory and timing procedure Measure implementation costs
Acceptance rule Turn evidence into a declared decision

If the hybrid meets the quality bar with the smaller payload and a real speedup, keep it for that workload. If quality drops too far, reject the configuration. If the baseline is weak or uncertainty swamps the effect, revise the experiment and say what remains unknown. Each is a valid outcome when it follows the declared question.