Louis David Independent researcher & builder
Swarm Alignment Hackathon

Verification Allocation in Five-Stage LLM Pipelines

Five workers pass an inventory calculation down a line. Where should two independent checks go?

Research paper Nov 8, 2026 Read paper (PDF) Place a check

A worker can do its arithmetic perfectly and hand on the wrong answer. In a five-stage relay, the difference depends on the number it inherited and which later worker is allowed to look back.

Five model workers arranged in a relay, with a controlled fault and selected verification points.
The public project’s schematic. In the main study, faults were distributed across all five stages.

An error with a known origin

For Apart Research’s November 6–8 Swarm Alignment Hackathon, Louis Wren Hernandez David compared four ways of checking the same inventory task. Five workers perform successive operations. At a predetermined stage the researcher alters a genuine handoff. The next worker receives that changed number as the starting point for its own calculation.

Twenty scenarios went through all four policies. The 80 main-study trials used 400 worker responses and 180 verifier responses from fresh model sessions. An earlier Python simulation and a two-scenario native feasibility run belong to separate evidence records.

What the verifier could see

At a selected stage a fresh verifier sees the original inventory and the operation sequence up to that point. It can calculate the current value from the beginning. If it flags a discrepancy, its correction becomes the handoff to the next worker.

That access makes a later check especially powerful. A check at stage four can catch an error introduced at stage two. Checking only stages one and two leaves every later injection out of reach. With dependable arithmetic, the position of the last check relative to the fault predicts whether the final value is correct.

Teaching example

Place a check

Five workers each add two to a starting value of ten. At one handoff, three extra units slip in. A verifier can recompute the whole sequence up to its position.

  1. Stage 1 12 Passed
  2. Stage 2 14 Checked
  3. Stage 3 19 Fault +3
  4. Stage 4 18 Repaired
  5. Stage 5 20 Passed

Final value: 20. Stage four caught the error introduced at stage three.

This arithmetic example is illustrative. The observed results from the 80 main-study trials appear below.

The eighty recorded outcomes

Each policy faced the same 20 scenarios, with four injections at each of the five stages. The policies that checked two positions used equal numbers of verifier calls. They could still differ in token use because a later verifier receives a longer history.

The eighty recorded outcomes
Verification policyCorrect finalsAccuracy
No checks0 / 200%
Two random positions16 / 2080%
First two positions8 / 2040%
Every position20 / 20100%
Observed accuracy and structural prediction agree at 0%, 80%, 40% and 100% across the four policies.
Original main-study figure. Filled bars are observed outcomes, hatched bars are the frozen prediction, and whiskers show Wilson intervals.

Why the prediction matters

All 80 outcomes matched the structural prediction frozen before the main run. Every local worker calculation was correct, including calculations performed on already-corrupted inputs. The experiment makes it possible to inspect exactly how local correctness can coexist with terminal failure.

Every main scenario contained an injected fault, every task was an arithmetic relay, and a verifier could recompute the entire prefix. A different information boundary or a task with costly false alarms could change the comparison. The public release preserves evidence and offline replay instructions so readers can trace the result back through the handoffs.

Sources and materials