Correlation-Aware Branching for Self-Consistency

Self-consistency is a simple way to make a language model reason more reliably. You sample many independent chains of thought, which are step-by-step written solutions, and take a majority vote on the final answers. It is also slow, because every chain is generated one token at a time from scratch. The obvious way to save tokens is to let chains share a common opening: generate one reasoning prefix and branch several continuations from it. Every system that decides when to stop voting, however, counts each sample as an independent voter. That is the "impartial culture" style of independence assumption that social choice theory has spent decades showing to be fragile. Branched samples are not independent. They inherit their parent's early commitments, and evidence that the solution trajectory is fixed early in the model's hidden states (Knowing Before Saying) suggests the inheritance is strong.

We propose to treat branched self-consistency as a two-stage cluster-sampling problem. Each shared prefix is a cluster of correlated voters. We estimate the within-cluster correlation online for each question, with a Polya urn model of the kind used in computational social choice. We then use that estimate for two jobs: choosing how many branches to grow per prefix, which trades cheap correlated votes against expensive independent ones, and stopping on the effective number of independent voters rather than the raw count. The claim is that this reaches a given accuracy with fewer generated tokens than independent-path adaptive self-consistency. It should also avoid the overconfident early stopping that a correlation-blind stopping rule would commit on branched samples.

Core Claim

Two facts pull against each other. Sharing a reasoning prefix of length $k$ saves $k$ tokens per extra branch. But branches from the same prefix agree with each other more than independent chains do, so they carry less information about the answer. Sampling theory says exactly how to price this. Suppose each cluster has $m$ branches, each prefix costs $k$ tokens, each continuation costs $L-k$ tokens, and $\rho$ is the within-cluster correlation of answer indicators. Then $b$ clusters give an effective voter count

$$n_{\text{eff}} = \frac{bm}{1+(m-1)\rho},$$

and the token-optimal number of branches per prefix follows the classical two-stage cluster-sampling rule,

$$m^\* = \sqrt{\frac{k}{L-k}\cdot\frac{1-\rho}{\rho}}.$$

This rule comes from minimizing the variance of the vote share at a fixed total cost $b\,(k + m(L-k))$.

Under a Polya–Eggenberger urn (drawing a ballot makes similar ballots more likely), the answers within a cluster follow a Dirichlet-multinomial distribution with concentration $\alpha$, and $\rho = 1/(1+\alpha)$. This makes $\rho$ estimable from the spread of answer distributions across clusters, a few clusters at a time.

The prediction has two parts. When $\rho$ is small, which we expect on easy questions or with short shared prefixes, branching wins. When $\rho$ is near one, which we expect on hard questions with long prefixes, the rule falls back to independent paths. A correlation-blind stopping rule applied to branched samples will stop too early and lock in whatever answer the first prefix favored.

Relation to Prior Work

The closest work is adaptive self-consistency. Optimal Self-Consistency models voting as estimating the most likely answer of the model's output distribution. It derives error that decays exponentially in a margin between the top two answers, and its Blend-ASC method routes samples to questions with small margins. That analysis assumes i.i.d. draws. This is correct for fully independent chains, and it is precisely what fails once chains share prefixes. We reuse its margin-based stopping machinery and replace the sample count with $n_{\text{eff}}$.

Diversity Matters motivates this proposal. It proves that majority voting's benefit falls monotonically with dependence between predictions, and it aggregates by lowest entropy. It neither estimates dependence nor uses it to set sample budgets or stopping times, which is what we do.

A law of large numbers for weighted majority supplies the theoretical lens. Under correlation, aggregation is guaranteed only when each voter's influence ("effect") on the outcome is bounded. A large cluster is effectively one voter with outsized effect. We therefore cap each cluster's vote weight, and treat this as a design rule rather than a heuristic.

The urn model itself comes from the social choice experiments in Control Complexity in Bucklin, Fallback, and Plurality Voting, which used Polya urns to generate correlated electorates.

Three papers constrain the design. Beyond Majority Voting shows that on AIME-style problems the model's own majority is often a shared "logical trap." No resampling scheme from one model can fix that. We are explicit that our method controls the correlation we create by branching, not the model's misaligned mode. Ranked Voting based Self-Consistency and Reasoning Aware Self-Consistency change how votes are scored, through ranked ballots and text-feature weights respectively. Both are compatible with our allocation layer, and neither addresses correlated samples.

Research Program

We will build a sampler that grows reasoning trees in rounds. Each round chooses a prefix length $k$ and a branch count $m$, generates $b$ new clusters, and updates a Dirichlet-multinomial fit of $\rho$ for the current question. The fit uses a weak prior pooled across previously seen questions, so that two or three clusters suffice. The stopping test is Blend-ASC's margin criterion, recomputed with $n_{\text{eff}}$ and with each cluster's weight capped.

We will also measure $\rho$ as a function of $k$ offline, across difficulty levels and models. This is a descriptive contribution in its own right: it shows how quickly a chain of thought "commits." We will compare that curve against the early saturation of hidden states reported by Knowing Before Saying.

On the theory side, we will extend the exponential-in-margin error bound to the exchangeable (Dirichlet-multinomial) case. We expect the bound to plateau at roughly $1/\rho$ effective voters per cluster rather than continuing to shrink. This plateau is the formal version of the impartial-culture failure.

Baselines

The naive reference point is vanilla self-consistency: a fixed number of fully independent chains with plurality vote, run at matched total generated tokens.

The strongest existing competitor is Blend-ASC from Optimal Self-Consistency. It is the best reported method for spending samples adaptively, and it reports needing 4.8× fewer samples than vanilla self-consistency to reach the same error rate. The arXiv version ( Optimal Self-Consistency for Efficient Reasoning with Large Language Models) reports 6.8× fewer tokens for the same accuracy. We run it on independent chains with the same models, prompts, temperature, and maximum generation length, and give it the same per-question hyperparameter search as our method (it is hyperparameter-free, so none). Beating it means reaching its accuracy on each benchmark with significantly fewer generated tokens, or with less wall-clock time on the same serving stack with prefix caching enabled, across at least three seeds.

We also include Reasoning Aware Self-Consistency as a second adaptive baseline. It reports 60–80% fewer samples than 40-sample self-consistency.

Two ablations isolate the key ingredient. The first is fixed-shape tree sampling, with the best single $(k, m)$ chosen by grid search on a held-out split. If this matches our adaptive allocation, the contribution reduces to "share prefixes," and we will report that. The second is correlation-blind tree sampling: the same trees, but Blend-ASC stopping on the raw sample count. This tests whether ignoring $\rho$ actually causes premature, wrong stops.

We found no reported result on Lacuna for prefix-sharing tree sampling on these benchmarks.

Why not just…?

Why not just run Blend-ASC on independent chains and skip branching? It already achieves large savings, and independent chains need no correlation correction. Our bet is that tokens per unit of information, not samples, are the right currency. Prefix sharing should buy information more cheaply whenever $\rho$ at a modest $k$ is well below one. If the measured $\rho(k)$ curve is near one even at small $k$, branching cannot help. The offline $\rho(k)$ study answers this before any end-to-end claim, and a high curve would end the proposal honestly.

Why not just pick a fixed branching factor and tune it? This is a real threat. On a benchmark where difficulty is uniform, one tuned shape may capture most of the gain. The adaptive rule should win only when $\rho$ varies a lot across questions, as it should between easy GSM8K items and AIME problems. The fixed-shape ablation, broken down by question difficulty, settles this.

Why not just diversify with paraphrased prompts and random context mixing, then vote? Mixing makes samples i.i.d. draws from a mixture, so Blend-ASC applies directly. But each paraphrase pays full generation cost and shares nothing, so its token cost equals that of independent chains. Mixing also cannot escape a trap that every paraphrase shares, which is what Beyond Majority Voting documents. We include paraphrase-mixed Blend-ASC as an additional baseline at matched tokens.

Why not just gate thinking at the prompt with a hidden-state probe, as Sonata does? Adaptive Thinking cuts thinking tokens by 20–60% with a prefill probe, but it decides only whether to think, not how to spend samples. It is complementary, and we will test the combination rather than treat it as a rival.

Proposed Experiments

We will evaluate on GSM8K, MATH, and GPQA-Diamond with LLaMA-3.2-3B, Qwen2.5-Math-7B, and Qwen2.5-32B, matching the Blend-ASC setup. We add AIME24 with Qwen3-8B as a stress test where logical traps are known to dominate.

The primary metric is accuracy as a function of generated tokens, plotted as a full curve, alongside wall-clock time with prefix caching. Secondary metrics are the rate of confident wrong stops (stopping with margin above threshold on an incorrect answer) and the calibration of predicted $n_{\text{eff}}$ against the empirical variance of the vote share across reruns.

Three checks are decisive. First, the correlation-blind ablation must show a measurably higher confident-wrong-stop rate than our method on the same trees. Second, our method must sit below Blend-ASC on tokens-to-target-accuracy on at least GSM8K and MATH. Third, on AIME24, the effective-voter plateau should be visible as accuracy that saturates at the same $n_{\text{eff}}$ whether the voters come from branching or from independent chains. That would show the remaining errors are trap correlation inherited from the model, which our method makes visible but, as stated, does not remove.