Verification Allocation in Five-Stage LLM Pipelines
Five workers pass an inventory calculation down a line. Where should two independent checks go?
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.
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.
- Stage 1 12 Passed
- Stage 2 14 Checked
- Stage 3 19 Fault +3
- Stage 4 18 Repaired
- 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.
| Verification policy | Correct finals | Accuracy |
|---|---|---|
| No checks | 0 / 20 | 0% |
| Two random positions | 16 / 20 | 80% |
| First two positions | 8 / 20 | 40% |
| Every position | 20 / 20 | 100% |
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.