Pattern Matrix/White Paper/R3
ADPS Agent Design Pattern White Paper
R3 · Parallel Exploration
Within a single query, deliberately launch N independent reasoning chains, then use an aggregation strategy to synthesize one answer. Trade compute for accuracy.
| Coordinate | Reasoning × Parallel (fan-out) |
| Cost | High (multiple branches plus aggregation) |
| Pattern group | Reasoning patterns |
| Summary | Within a single query, deliberately launch N independent reasoning chains, then use an aggregation strategy to synthesize one answer. Trade compute for accuracy. |
Problem
A single reasoning chain carries a "lucky-draw bias": with the same prompt and the same model, different samples do not necessarily produce the same answer. If one chain happens to go off course, the whole conclusion is wrong, and every step looks correct along the way—the error hides in "the one feature this particular run happened to miss," which is hard to spot in a post-mortem.
Parallel exploration replaces "bet on one chain" with "run independent chains, then merge." It does not aim to lower call cost. It spends additional compute when the cost of being wrong justifies broader evidence and independent candidates. It is complementary to complexity routing (R2): routing controls routine cost, while parallel exploration is reserved for decisions that benefit from multiple paths.
Classification: Reasoning × Parallel
- Vertical axis · Reasoning: what runs in parallel is multiple candidate paths of the same reasoning task (several candidate solutions). This sits at the reasoning-strategy layer, rather than splitting the task across multiple agents. This is the fundamental difference from the collaboration module's "fan-out aggregation (C2)"—the latter parallelizes subtasks, the former parallelizes multiple solutions to the same problem.
- Horizontal axis · Parallel: N branches run at the same time, unaware of one another, and are aggregated in a single step at the end. This is a natural parallel structure, neither a serial chain nor an iterative loop.
Solution and mechanics
A single round of parallel exploration has three stages:
- Dispatch: Replicate the query into N branches and create diversity through prompts, sampling settings, models, or evidence sources. Choose N from task risk, branch correlation, and budget, using local ablation tests to find diminishing returns.
- Isolated execution: each branch runs in its own execution environment (independent model client, independent intermediate state, independent error recovery). Cross-talk between branches degrades "independent sampling" into "chained error contagion," and accuracy drops instead of rising.
- Aggregation: use an aggregation strategy to synthesize the N results into one. Aggregation is not limited to "majority vote"—it is essentially an engineered encoding of the cost of error.
The choice of aggregation strategy depends on the business's "distribution of the cost of being wrong":
| Aggregation strategy | Suitable scenario |
|---|---|
| Majority | Enumerable answers, symmetric error cost (math, classification) |
| Weighted | Branches differ in reliability (different models / different compute tiers) |
| Verifier | Open-ended answers (writing, code, planning) |
| First-Correct | A clear success criterion exists (test-driven) |
| Any-Alarm | High-risk with asymmetric error cost (healthcare, finance, security) |
Applicability
- High-risk judgments with asymmetric error cost: medical image triage, financial risk control, anti-money-laundering, security vulnerability review. In these scenarios a "miss" is far more costly than a "false alarm," and pairing with Any-Alarm aggregation expresses the asymmetric cost into the system.
- Large answer spaces where a single chain is unstable: complex diagnosis, multi-hop reasoning, and tasks that need self-consistency to improve reliability.
- Critical one-shot decisions: nodes where it is worth spending N× the compute to buy certainty (such as a final review before an irreversible business commitment).
Known failure modes
- Branches are not independent: N branches share an execution environment and contaminate each other's buffers or retries; "pseudo-independence" causes accuracy to drop instead. Each branch must have its own runtime.
- Insufficient prompt perturbation: When multiple branches return nearly identical answers, parallel exploration has degraded into duplicate sampling and the added compute has produced no new evidence. Check whether sampling settings, prompts, models, and evidence sources are genuinely independent.
- Blindly defaulting to majority vote: using Majority in scenarios with asymmetric error cost votes away the genuine alarm of a minority branch—in healthcare this amounts to a missed diagnosis.
- Terminating early when you should wait for all branches: Any-Alarm must wait for every branch to return; it cannot use "high-confidence early termination" to save money, or it will miss the alarm signal. Early termination applies only to symmetric-cost scenarios.
- Overusing parallelism: Running multiple branches on simple or low-risk tasks adds cost without a decision benefit. Compare against a single-chain baseline.
Verification and metrics
- Branch agreement rate: Interpret agreement together with task difficulty. High agreement may indicate a simple task or insufficient branch independence.
- Effective N: Count independent evidence paths or conclusions, not merely running branches. When effective N stays low, vary prompts, models, or sources before adding branches.
- Aggregation cost share: Measure the aggregator's share of total cost and latency. If it dominates, use lighter aggregation or stricter artifacts.
- Quality gain: Compare parallel and single-chain runs on the same evaluation set and report cost and latency alongside quality.
Reference implementation
replicate query into N branches:
each branch → independent runtime → sample at a different temperature → (answer, confidence)
aggregate(N results, strategy):
Majority → the answer with the most votes
Weighted → the highest answer after weighting by confidence
Verifier → hand off to an independent verifier model to score and decide
Any-Alarm → if any branch hits a high-risk label, escalate, ignoring the majority
return final_answer + complete branch trace (per-branch answer / confidence / aggregation strategy / final decision)
Four engineering essentials: prompt perturbation must genuinely create diversity; evaluate the verifier model on the target task; reuse connection pools and respect provider limits; and hard-code the incompatibility between Any-Alarm and early termination.
Illustrative scenario
Consider a medical-imaging assistant that grades pulmonary nodules. A single chain may miss a suspicious morphology. The revised system uses independent branches with varied prompts or evidence views. Aggregation follows an Any-Alarm rule rather than majority vote: any branch detecting a predefined high-risk sign sends the case to a human second review. Branches run in isolated runtimes and are not terminated early in Any-Alarm scenarios. Accuracy and compute must be reported on an approved clinical evaluation set, with retention governed by the institution's policy.
Related patterns
- Complexity routing (R2): complementary. Routing saves money, parallel exploration buys quality, and the two coexist within the same agent—everyday cases go through routing, critical decisions launch parallel exploration.
- Chain-of-thought (R1): each branch of a parallel run is usually a chain of thought internally; parallel exploration is "multi-sampling" layered on top of R1.
- Fan-out aggregation (C2): same structure, shared aggregation mechanism; the difference lies in what runs in parallel—R3 is multiple solutions to the same problem (a reasoning strategy), while C2 distributes different subtasks to different agents (a collaboration topology).
- Iterative hypothesis testing (R4): a dual relationship. Parallel exploration opens N lines at once along the spatial dimension; iteration runs a single line many times along the temporal dimension.
Design conclusion
The essence of parallel exploration is not "sample a few more times and vote," but encoding the business's tolerance pattern for error into the system through the aggregation strategy—choosing which aggregation to use is choosing a cost function.
Suggested citation: ADPS, R3 Parallel Exploration, Agent Design Pattern White Paper v0.3, 2026-07-13. Catalog · runnable code catalog · CC BY 4.0
Document status: This is a public review draft. Illustrative scenarios explain the mechanism and are not presented as verified enterprise cases. See the case library for attributed practice. ADPS welcomes case contributions with sources, measurement methods, and publication approval.