Manuscript Offprint

arXiv:2611.07918

Adaptive Semantic Branching: Disagreement-Localized Cross-Trajectory Regeneration for Reasoning Candidate Expansion

Jeong-Yoon Kim, Tae-Yoon Lee

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Reasoning trajectories generated for the same problem often arrive at conflicting answers. These disagreements reveal alternative intermediate decisions that can be reused to explore new solutions. We introduce Adaptive Semantic Branching (ASB), a training-free inference procedure that turns cross-trajectory disagreement into targeted candidate generation. ASB first groups independently sampled trajectories by extracted final answer, selects a representative from each group, and aligns their reasoning steps with a monotonic dynamic program. A persistent-divergence objective identifies the point at which initially similar reasoning paths develop different continuations. For each selected directed pair, ASB retains the source trajectory's textual prefix, extracts a short reasoning window from a competing donor trajectory, and generates a fresh solution conditioned on both. A diversity-aware policy allocates up to three additional generations according to the answer-cluster structure. In a 500-problem MATH evaluation with Qwen2.5-7B-Instruct, ASB increases oracle candidate coverage from 445/500 (89.0%) with seven initial samples to 455/500 (91.0%), recovering correct candidates for 10 of the 55 initially uncovered problems. The method uses 576 additional generation calls across the evaluation set, averaging 8.152 calls per problem. We provide a precise specification of the branching operator, alignment objective, generation policy, and experimental configuration.

1 Introduction

Sampling multiple chains of thought is a standard approach to improve the breadth of language-model reasoning Wang et al. (2023). Different samples can follow distinct solution strategies, encounter different intermediate obstacles, and occasionally reach different final answers. Tree- and graph-structured reasoning methods make these alternatives explicit by expanding and recombining intermediate states Yao et al. (2023); Besta et al. (2024). An additional opportunity arises when a model has already produced several complete solutions: the relationships among these trajectories provide a structured signal for allocating subsequent generation.

Consider two completed solutions to the same mathematics problem. Their opening steps may encode a shared interpretation or calculation, while later steps pursue different substitutions, assumptions, or subgoals. A new candidate can draw on the stable initial reasoning of one solution while exploring an alternative local direction extracted from the other. This requires three concrete decisions: locating the transition between common and competing reasoning, selecting the information passed between trajectories, and choosing which directed exchanges receive a limited generation budget.

We propose Adaptive Semantic Branching (ASB), an inference-time framework that makes these decisions from completed reasoning traces. The method begins with seven independently sampled trajectories. Their extracted answers determine clusters, and representatives of different clusters are compared through step-level monotonic alignment. A change-point objective rewards an earlier region of higher cross-trajectory similarity followed by a sustained decrease in similarity. The resulting boundary defines a textual prefix from a source trajectory. A donor trajectory provides a short, locally aligned reasoning window. Conditioning on the original problem, source prefix, and donor insight yields a new candidate trajectory (Figure 1).

The direction of exchange matters. A←BA \leftarrow B retains the reasoning prefix from AA and uses a local alternative from BB, whereas B←AB \leftarrow A constructs a different prompt from a different prefix and insight window. ASB evaluates these directed choices, uses a divergence-based score to rank candidate exchanges, and allocates zero, two, or three branch generations according to the number of answer clusters. The resulting procedure is lightweight: step features are computed locally, while the initial and branch generations use the same underlying language model.

Our study develops a concrete cross-trajectory regeneration operator and reports its first candidate-coverage evaluation. On the fixed 500-item MATH manifest, the seven initial samples contain a correct answer for 445 problems. Directed regeneration expands that coverage to 455 problems, recovering 18.18% of the cases missed by the initial pool. In addition to the empirical result, this paper details the complete sequence from raw reason-ing segmentation to branch lineage, deterministic seed derivation, and generation prompts.

The contributions are threefold:

  • Divergence-localized branching. A monotonic step alignment and persistent similarity-change objective produce a source-specific regeneration boundary from conflicting completed trajectories.

  • Directed cross-trajectory regeneration. A source prefix and donor-local insight form a compact conditioning context for a fresh reasoning trajectory, with explicit directionality and traceable parent lineage.

  • Adaptive candidate expansion. Answer-cluster disagreement determines a small branch budget, yielding a reproducible generation policy and a measured improvement in oracle candidate coverage on MATH-500.

References (13)