Manuscript Offprint

arXiv:2611.02104

Consolidating Reasoning with Test-Time Training

Haotian Wu, Zeming Chen, Hao Zhao, Antoine Bosselut

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

Abstract

Effective multi-agent collaboration requires finalizing solutions from reasoning that is distributed across the individual attempts of many agents. However, useful intermediate reasoning can remain unexploited when collaboration is limited to voting on conclusions reached among individual agents, or aggregating long, noisy collections of reasoning trajectories in context. In this work, we propose TTT-Consolidate, a framework that uses multi-agent reasoning trajectories as adaptation data to improve a model's subsequent reasoning. TTT-Consolidate jointly consolidates trajectories into parametric representations through test-time training, then generates a new solution by conditioning on the consolidated information. We meta-learn how to consolidate using bi-level optimization at training time, where an inner loop encodes reasoning trajectories into a lightweight LoRA adapter, and an outer loop learns meta-parameters for the inner loop such that the consolidation is helpful for the model to synthesize a final solution.

As no large-scale corpus of diverse reasoning trajectories exists for training aggregation methods, we construct the OpenParallelThinking corpus composed of 12,810 math problems paired with a mixture of trajectories from six LLMs. Evaluated on challenging math and STEM benchmarks, TTT-Consolidate outperforms the best aggregation baselines by up to 20 percentage points, even under matched compute and runtime settings, with the gap widening at larger model scales. TTT-Consolidate also recovers from unsuccessful individual trajectories more robustly, an ability that improves as the number of available (even incorrect) trajectories increases. Finally, we demonstrate that TTT-Consolidate benefits from both SFT and RL-based outer loop objectives. We will release TTT-Consolidate and OpenParallelThinking for use in future work on reasoning aggregation.

1 Introduction

Multi-agent systems offer a promising way to extend the reasoning capabilities of large language models by allowing models to exchange, critique, and build on one another's responses. Early work demonstrates benefits from multi-agent debate and layered synthesis of outputs from different models [18, 58]. More recent work explores how learned teamwork strategies can combine partial reasoning into solutions absent from members' independent answers, and how communicating agents can build on intermediate discoveries while solving problems [42, 43]. Together, these directions motivate an important question: Can a model learn from other agents' reasoning to construct a better solution?

Effective collaboration requires aggregating distributed partial reasoning into a better solution by exploiting useful intermediate reasoning even when the attempts reach incorrect conclusions. However, common trajectory aggregation methods, such as majority voting, reward-guided selection, and best-of-NN sampling [7, 60, 64] do not effectively leverage all available reasoning signals in these trajectories. In effect, these methods treat each reasoning trajectory independently, aggregate final answers for a vote, and leave unexploited the potentially complementary reasoning encoded across the

*Equal contribution. Correspondence to zeming.chen@epfl.ch

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: Meta-learning TTT-Consolidate for reasoning consolidation. The training procedure involves a nested inner and outer loop. The inner loop optimizes the likelihood of a batch of reasoning trajectories with respect to the parameters of the LoRA reasoning aggregator. In the outer loop, the model uses the merged reasoning information in the aggregator to synthesize the final solution. In both loops, only the LoRA is updated while the base LLM is frozen.

full ensemble of trajectories [22]. Although recent work proposes model-based in-context aggregation to better harness the reasoning across trajectories [10, 45, 73], these are attention-based aggregates. Studies of long-context language models show that access to information does not guarantee its effective use, and these methods still face typical long-context degradation issues [17, 27, 29].

We propose TTT-Consolidate, a meta-learned framework that transforms trajectory aggregation from passive selection into active consolidation as test-time learning. At inference, TTT-Consolidate consolidates diverse reasoning trajectories in a lightweight LoRA adapter via gradient updates and then synthesizes a final solution from the adapted model. We train the adapter via bi-level optimization; the inner loop minimizes a self-supervised next-token-prediction loss over a batch of trajectories, while the outer loop is trained to produce a synthesized answer, either through supervised finetuning on demonstrations distilled from a frontier teacher or through RLVR with GRPO [16, 47]. The outer-loop objective backpropagates through the inner loop to shape how the LoRA aggregates the ensemble end-to-end, teaching the adapter to consolidate trajectories into representations that improve reasoning.

We train TTT-Consolidate on OpenParallelThinking, a novel dataset containing 13K math problems, each paired with groups of reasoning trajectories from 6 LLMs. Across math and STEM benchmarks, TTT-Consolidate outperforms all rule- and model-based aggregation methods, with average gains of up to 20% over the strongest baselines. These gains widen as model scale increases, and remain strong even under matched compute and runtime settings, which normally disfavor test-time training methods. Importantly, TTT-Consolidate learns from the reasoning behavior in the trajectories, rather than shortcutting to voting based on the final answers in trajectories. In particular, on weak mixtures where no input trajectory is correct, TTT-Consolidate can recover from these unsuccessful trajectories and arrive at an improved solution, outperforming the best baseline by up to 23%, and its gains scale with the number of incorrect trajectories in consolidation. Finally, RL further improves the adapted policy's ability to reason over consolidated trajectories, adding an average 5-point gain over TTT-Consolidate trained with SFT.

References (67)