ReM-MoA: Reasoning Memory Sustains Mixture-of-Agents Scaling

Heng Ping1,*, Arijit Bhattacharjee2, Peiyu Zhang1, Shixuan Li1, Wei Yang1,
Ali Jannesari2, Nesreen Ahmed3, Paul Bogdan1,*
1University of Southern California; 2Iowa State University; 3Cisco AI Research
*Correspondence: hping@usc.edu, pbogdan@usc.edu


Abstract

Mixture-of-Agents (MoA) architectures improve inference-time scaling by organizing multiple LLM agents into layered reasoning pipelines. However, existing MoA variants fail to sustain gains as depth increases, exhibiting degradation, early plateauing, or saturation. We propose ReM-MoA, a memory-augmented MoA framework that sustains scaling through two mechanisms: (1) a Ranked Reasoning Memory that persistently stores and ranks reasoning traces from all layers using a comparative Reviewer Agent, and (2) a Curated Diversified Memory Routing scheme that exposes different agents to distinct combinations of successful and failed traces, preserving exploration diversity while propagating high-quality reasoning. We further introduce an optional multi-domain Reviewer distillation pipeline that improves ranking quality through frontier-model supervision. Across five reasoning benchmarks spanning math, formal logic, code, knowledge, and commonsense, ReM-MoA consistently outperforms prior MoA variants across both depth and width scaling, and its advantage widens with depth, establishing structured cross-layer reasoning memory as a key missing mechanism for scalable multi-agent inference.

1 Introduction↩︎

Inference-time computation has emerged as a complementary scaling axis to parameter scaling for large language models [1]. Among inference-time strategies, multi-LLM collaboration leverages collective reasoning by aggregating outputs from multiple agents, with paradigms ranging from majority voting [2] to multi-agent debate [3], [4]. A more recent paradigm, Mixture-of-Agents (MoA) [5], organizes \(N\) proposer agents into \(L\) stacked layers followed by a final aggregator, enabling iterative refinement across depth. In principle, increasing depth and width should provide a natural path toward scalable collective reasoning. In practice, however, existing MoA systems fail to sustain gains as architectures deepen, often degrading, plateauing, or saturating after only a few layers.

Existing MoA variants attempt to sustain scaling through three broad strategies. The first strategy, information consolidation, curates the inputs of each layer to reduce redundancy, exemplified by RMoA [6], which selects a diverse subset of prior outputs and forwards only the inter-layer residuals between adjacent layers. The second, inter-agent interaction, exemplified by AttentionMoA [7], enables agents to refine each other within a layer through natural-language attention. The third, quality-guided selection, exemplified by VeriMoA [8], maintains a global cache of the highest-scoring solutions but requires domain-specific verifiers such as hardware description language simulators, limiting its applicability to specialized tasks.

While these methods differ architecturally, none sustains performance as MoA depth increases. Three mechanisms drive this scaling collapse [6], [7]. First, raw inter-layer concatenation propagates both useful reasoning and accumulated errors, allowing mistakes to compound across depth. Second, architectures with only local inter-layer communication fail to preserve strong reasoning trajectories generated earlier in the hierarchy. Third, as agents consume increasingly similar accumulated context, exploration diversity collapses and agents converge toward redundant solution paths, undermining the core benefit of multi-agent reasoning [9], [10]. More importantly, retaining memory alone is insufficient: exposing all agents to identical accumulated reasoning can itself accelerate convergence toward repetitive trajectories. Sustained MoA scaling therefore requires simultaneously preserving high-quality reasoning across layers while maintaining diversity among agents within each layer.

To address these scaling failures, we propose ReM-MoA, a Mixture-of-Agents framework centered on a Ranked Reasoning Memory that stores reasoning traces produced across the layers. Unlike episodic or retrieval-based memory systems that accumulate experience across tasks, ReM-MoA maintains a structured cross-layer reasoning memory within a single problem instance, enabling deeper layers to revisit prior reasoning paths. At each layer, proposer agents generate reasoning traces, and a Reviewer Agent [11] comparatively evaluates these traces by assigning scores together with targeted rationales. The ranked traces and rationale are then stored in memory [12]. Subsequent layers consult this memory through a Curated Diversified Memory Routing scheme that exposes different agents to distinct combinations of high-quality and low-quality reasoning trajectories, providing contrastive reasoning signals while preserving exploration diversity.

ReM-MoA therefore treats MoA scaling as a joint quality-diversity preservation problem rather than solely an aggregation or interaction problem. As an optional enhancement, the Reviewer Agent can be further improved through frontier-model distillation [13], where a strong teacher model supervises a smaller reviewer fine-tuned using parameter-efficient LoRA [14]. Multi-domain training produces a general-purpose Reviewer that transfers across reasoning tasks. Our contributions are as follows:

  • We empirically characterize three scaling failure modes in existing MoA systems: degradation under raw concatenation, early plateauing under local residual propagation, and diversity collapse under intra-layer interaction mechanisms. These observations motivate structured cross-layer reasoning memory as a critical mechanism for sustained MoA scaling.

  • We propose ReM-MoA, which sustains MoA scaling through a Ranked Reasoning Memory and a Curated Diversified Memory Routing scheme. At each layer, a comparative Reviewer Agent ranks reasoning traces with rationales, and subsequent agents receive distinct combinations of successful and failed traces, jointly preserving quality and diversity. An optional frontier-model distillation pipeline further upgrades the Reviewer Agent through multi-domain training.

  • Across five reasoning benchmarks (math, formal logic, code, knowledge, and commonsense), ReM-MoA consistently outperforms prior MoA variants across all tested depth and width configurations, with the performance gap widening rather than diminishing as the architecture scales.

2 Related Work↩︎

2.0.0.1 Mixture-of-Agents variants.

Building on the original MoA framework [5], several variants extend the three paradigms from Section 1. Within information consolidation, beyond RMoA [6], SMoA [15] sparsifies agent interactions via dedicated judge and moderator agents, while Self-MoA [10] instead argues quality dominates diversity, aggregating samples from a single strong model. Within inter-agent interaction, beyond AttentionMoA [7], DEI [9] ensembles specialist agents with complementary expertise. The quality-guided paradigm is exemplified by VeriMoA [8] and related agentic frameworks for hardware description language generation [16][18], which rely on domain-specific feedback such as hardware simulators. No prior MoA variant maintains a structured cross-layer memory of reasoning traces accessible to subsequent layers.

2.0.0.2 Memory in LLM agents.

Explicit memory has been used for LLM agent self-improvement: Reflexion [19] stores verbal self-reflection from past failures, ReasoningBank [12] distills reasoning strategies from successful and failed trajectories across tasks, and AgentAuditor [20] augments LLM evaluators with retrieval-augmented examples for safety judgment. Our Ranked Reasoning Memory instead operates within a single problem across MoA depth, holding ranked traces from each layer for subsequent layers to consult.

2.0.0.3 LLM-as-Judge and judge distillation.

LLM-as-Judge [11] has emerged as a scalable proxy for human preference, with pairwise comparison generally more reliable than independent scoring [21]. JudgeLM [22] distills frontier-model judgments into open-source judges via knowledge distillation [13] and parameter-efficient fine-tuning [14]. Our Reviewer Agent extends this with a layer-wise comparative ranking that feeds a downstream reasoning memory.

Figure 1: Scaling behavior of three existing MoA variants on three benchmarks (MATH, MMLU-redux, Formal Logic) along two scaling axes. All variants share the same heterogeneous proposer pool: Qwen-2.5-7B, Qwen-2.5-Coder-7B, and Llama-3.1-8B. Top row: layer depth scaling (L from 1 to 9, width fixed at N=3). Bottom row: layer width scaling (N from 3 to 8, depth fixed at L=3). The depth axis exposes three failure patterns: Standard MoA peaks at shallow depths and then degrades, RMoA plateaus early, and AttentionMoA improves but saturates with limited gains at depth. The width axis shows the same hierarchy at smaller magnitude.

3 Preliminaries: MoA Scaling↩︎

3.0.0.1 The standard MoA framework.

The original Mixture-of-Agents framework [5] defines the standard MoA structure: \(N\) proposer agents are organized into \(L\) sequential layers followed by a final aggregator. Layer 1 receives the original problem \(x\) and produces \(N\) candidate responses; each subsequent layer \(l \in \{2, \ldots, L\}\) receives the previous layer’s outputs together with \(x\) and produces \(N\) new responses; the aggregator then synthesizes the outputs of layer \(L\) into a final answer. Specific variants modify aspects of this structure (Section 2).

3.0.0.2 Quality and diversity drive scaling.

[10] model MoA accuracy through a linear regression \[t = \alpha q + \beta d + \gamma, \label{eq:moa-perf}\tag{1}\] where \(q\) is the average proposer accuracy and \(d\) is the Vendi Score of proposer outputs. With \(\alpha > \beta\) across datasets, MoA performance depends on both factors but is more sensitive to quality. Sustained scaling therefore requires mechanisms that preserve quality and diversity simultaneously, since gains in one cannot offset losses in the other.

3.0.0.3 Empirical scaling failures.

Figure 1 plots the accuracy of three representative MoA variants under two natural scaling axes: layer depth (top row, \(L\) from 1 to 9 with width fixed at \(N=3\)) and layer width (bottom row, \(N\) from 3 to 8 with depth fixed at \(L=3\)). The depth axis exposes three distinct failure patterns. Standard MoA [5] peaks at shallow depths and then degrades, with the drop reaching nearly 10 percentage points on MMLU-redux. RMoA [6] avoids this degradation but plateaus early, because its adjacent-layer residual cannot retrieve high-quality reasoning produced in non-adjacent earlier layers. AttentionMoA [7] improves but saturates before deeper layers (with slight late decline on MMLU-redux), since intra-layer attention promotes convergence among the layer’s agents. Width scaling exhibits the same hierarchy at smaller magnitude: Standard MoA still degrades on MMLU-redux, while RMoA and AttentionMoA improve more slowly with diminishing returns.

3.0.0.4 Design requirements.

The three patterns above instantiate the failure mechanisms outlined in Section 1 and show that existing variants violate the quality-diversity balance of Equation 1 as MoA scales. Sustaining scaling therefore requires preserving both factors of this equation:

Q (Quality Preservation): A scalable MoA should retain the quality of reasoning produced at each layer so that deeper layers build on it rather than dilute it. Both high-quality successful traces (positive guidance) and low-quality failed traces (counter-examples) enrich the input signal beyond positive examples alone. This calls for presenting traces in a quality-ranked form rather than raw concatenation, and keeping them accessible across all earlier layers.

D (Diversity Preservation): A scalable MoA should also preserve exploration diversity among agents within each layer, so that they do not collapse onto a single solution path as memory accumulates. To this end, different agents in the same layer should engage with different selections from the memory rather than sharing identical inputs.

ReM-MoA, introduced in Section 4, addresses both Q and D through a Ranked Reasoning Memory paired with a curated diversified memory routing scheme: the memory ranks and retains traces from every layer, and the routing scheme delivers quality-aware reference sets to within-layer agents.

Figure 2: The ReM-MoA framework. At each layer, N proposer agents produce reasoning traces r_{l,j}, and the Reviewer Agent compares them and assigns per-trace scores s_{l,j} and rationales \rho_{l,j}, committed to the Ranked Reasoning Memory \mathcal{M}. From layer 2 onwards, each proposer agent receives a curated reference set from \mathcal{M} drawn from three families: \text{Top}_n (highest-scoring traces), \text{Bot}_n (lowest-scoring), or \text{Con}_n (contrastive, \text{Top}_a\cup\text{Bot}_b).

4 ReM-MoA↩︎

ReM-MoA addresses the failure patterns observed in Section 3 through three interconnected components: a Ranked Reasoning Memory \(\mathcal{M}\), a curated diversified memory routing scheme \(\Pi\), and an optional reviewer distillation pipeline. Let \(\mathcal{A}_l = \{A_{l,1}, \ldots, A_{l,N}\}\) denote the \(N\) proposer agents at layer \(l \in \{1, \ldots, L\}\), and let \(r_{l,j} = A_{l,j}(P_{l,j})\) denote the reasoning trace produced by agent \(A_{l,j}\) given prompt \(P_{l,j}\). We write \(\mathbf{r}_l = (r_{l,1}, \ldots, r_{l,N})\) for the vector of all traces produced at layer \(l\). Figure 2 illustrates the framework: the memory ranks and retains \(\mathbf{r}_l\) at every layer (Section 4.1); the routing scheme delivers distinct curated reference sets to within-layer agents (Section 4.2); and the distillation pipeline optionally enhances the memory’s ranking module (Section 4.3). After layer \(L\), the aggregator consults the memory \(\mathcal{M}\) through routes drawn from the same three families as the proposer agents, and synthesizes the final answer.

4.1 Ranked Reasoning Memory↩︎

4.1.0.1 Memory subsystem.

The Ranked Reasoning Memory \(\mathcal{M}\) is a shared subsystem that records ranked traces at every proposer layer. After layer \(l\) has been processed, the memory accumulates as the union of per-layer entries: \[\mathcal{M}_{\leq l} = \bigcup_{k=1}^{l} \mathcal{M}_k, \label{eq:memory-set}\tag{2}\] where \(\mathcal{M}_k\) is the entry committed by layer \(k\) (defined below). The memory is append-only and supports read access from any subsequent layer: for any \(l' > l\), layer \(l'\) may consult \(\mathcal{M}_{\leq l}\). This subsystem addresses Q (Quality Preservation) because traces are stored in quality-ranked form rather than raw concatenated outputs, and remain accessible across arbitrary layer distances rather than only between adjacent layers.

4.1.0.2 The Reviewer Agent.

The ranking inside the memory is performed by an LLM-based Reviewer Agent \(\mathcal{R}\). After the \(N\) proposers at layer \(l\) produce their traces \(\mathbf{r}_l\), the Reviewer is invoked once with all \(N\) traces presented together; it compares the traces against each other and emits, for each trace, an integer score together with a targeted rationale specific to that trace: \[(\mathbf{s}_l, \boldsymbol{\rho}_l) = \mathcal{R}(x, \mathbf{r}_l), \label{eq:reviewer}\tag{3}\] where \(\mathbf{s}_l = (s_{l,1}, \ldots, s_{l,N})\) with each \(s_{l,j} \in \{1, \ldots, S\}\) being an integer score on a scale with maximum \(S\) (higher is better), and \(\boldsymbol{\rho}_l = (\rho_{l,1}, \ldots, \rho_{l,N})\) with each \(\rho_{l,j}\) being a rationale specific to trace \(r_{l,j}\) (rationales are independent across traces). We use comparative scoring rather than independent scoring because grounding each trace’s score in relative differences across candidates produces more reliable estimates than absolute scoring [11].

4.1.0.3 Memory entries and access.

Each layer commits one entry to the memory, formed by zipping the traces with their Reviewer-assigned scores and rationales: \[\mathcal{M}_l = \{(r_{l,j}, s_{l,j}, \rho_{l,j})\}_{j=1}^N. \label{eq:memory-entry}\tag{4}\] \(\mathcal{M}_l\) is a set of \(N\) trace-score-rationale triples. The accumulated memory \(\mathcal{M}_{\leq l}\) thus contains \(N \cdot l\) triples available for cross-layer retrieval by the routing scheme described next.

4.2 Curated Diversified Memory Routing↩︎

4.2.0.1 Curated reference delivery.

At every subsequent layer, each proposer agent receives, in addition to the problem \(x\), a curated set of reference traces drawn from the memory. The selection follows two design principles. First, the reference set must carry quality-aware information for the agent’s reasoning: it comprises high-scoring traces as positive examples, low-scoring traces as negative examples, or both. Second, the reference sets must differ across the \(N\) agents within the same layer, so the layer as a whole explores the memory’s content rather than redundantly consuming the same references. Formally, at layer \(l \geq 2\), the curated diversified memory routing scheme \(\Pi\) operates on the global pool of all previously committed entries, \(\mathcal{P}_l = \mathcal{M}_{\leq l-1}\): \[\mathcal{S}_{l, j} = \Pi_j(\mathcal{P}_l), \label{eq:routing}\tag{5}\] where \(\mathcal{S}_{l, j} \subset \mathcal{P}_l\) is the curated reference set routed to agent \(A_{l, j}\). Operating on \(\mathcal{P}_l\) rather than only the most recent layer realizes the cross-layer access promised by the memory subsystem (Section 4.1). The prompt for agent \(A_{l, j}\) is then: \[P_{l, j} = \begin{cases} x & \text{if } l = 1, \\ x \oplus \mathcal{S}_{l, j} & \text{if } l \geq 2, \end{cases} \label{eq:prompt}\tag{6}\] where \(\oplus\) denotes concatenation; each entry in \(\mathcal{S}_{l, j}\) contributes its trace together with its score and rationale.

4.2.0.2 Routing functions.

We implement the two design principles above through three families of routing functions operating on \(\mathcal{P}_l\). Let \(\text{Top}_n(\mathcal{M})\) denote the size-\(n\) subset of \(\mathcal{M}\) containing the highest-scoring entries, and \(\text{Bot}_n(\mathcal{M})\) the analogous subset for the lowest-scoring ones. The three families are: contrastive, of the form \(\text{Top}_a \cup \text{Bot}_b\) (denoted \(\text{Con}_n\) with \(n=a+b\)), pairing high- and low-scoring entries; positive reinforcement, of the form \(\text{Top}_a\), emphasizing successful patterns; and failure-mode focus, of the form \(\text{Bot}_a\), surfacing common pitfalls. For each layer, the \(N\) routing functions \(\Pi_1, \ldots, \Pi_N\) are distributed across these three families, with the distribution chosen to balance the three modes of reference. As one concrete instance, for \(N=3\) we use one route per family: \[\Pi_j(\mathcal{P}_l) = \begin{cases} \text{Top}_1(\mathcal{P}_l) \cup \text{Bot}_1(\mathcal{P}_l) & j = 1, \\ \text{Top}_2(\mathcal{P}_l) & j = 2, \\ \text{Bot}_2(\mathcal{P}_l) & j = 3. \end{cases} \label{eq:routes-N3}\tag{7}\] Appendix 8 details the distributions used for larger \(N\) in our scaling experiments. This design realizes both Q (Quality Preservation) and D (Diversity Preservation). For Q, the curated reference sets preserve the Reviewer-extracted quality signal as it propagates forward through the layers. For D, the \(N\) distinct routes within each layer sustain exploration diversity even as the memory grows.

4.3 Reviewer Distillation (Optional Enhancement)↩︎

4.3.0.1 Distillation pipeline.

The Reviewer Agent \(\mathcal{R}\) is implemented as an off-the-shelf LLM by default. It can be optionally enhanced via frontier-model distillation [13]. Crucially, the training data for distillation comes from ReM-MoA’s own runs: we execute the framework on a multi-domain set of training problems, collect the proposer traces \(\mathbf{r}_l\) generated at each layer, and query a strong external teacher \(\mathcal{T}\) on each (problem, traces) pair to obtain high-quality supervision targets: \[\mathcal{D}_{\text{train}} = \big\{(x_i, \mathbf{r}_i, \mathbf{s}_i^*, \boldsymbol{\rho}_i^*) \mid (\mathbf{s}_i^*, \boldsymbol{\rho}_i^*) = \mathcal{T}(x_i, \mathbf{r}_i)\big\}, \label{eq:train-data}\tag{8}\] where \((x_i, \mathbf{r}_i)\) is sampled from the framework’s intermediate outputs and \((\mathbf{s}_i^*, \boldsymbol{\rho}_i^*)\) is the teacher’s score-rationale labeling treated as the supervision target. A smaller base Reviewer \(\mathcal{R}_\theta\) is then fine-tuned via parameter-efficient LoRA [14] to imitate the teacher: \[\theta^* = \arg\min_{\theta} \sum_{(x, \mathbf{r}, \mathbf{s}^*, \boldsymbol{\rho}^*) \in \mathcal{D}_{\text{train}}} \mathcal{L}\big(\mathcal{R}_\theta(x, \mathbf{r}),\; (\mathbf{s}^*, \boldsymbol{\rho}^*)\big), \label{eq:lora-loss}\tag{9}\] where \(\mathcal{L}\) is the standard supervised loss on the concatenated score-rationale output. Because the training distribution matches the traces ReM-MoA actually produces at inference, the resulting \(\mathcal{R}_{\theta^*}\) learns to judge exactly the distribution of traces it will encounter at deployment.

4.3.0.2 Multi-domain training.

The training problems span multiple reasoning domains. Multi-domain training is essential to the design: it lets a single Reviewer generalize across all benchmarks we evaluate, including held-out domains not seen during training (Section 5). Full training configuration and hyperparameters are described in Section 5.1.

Table 1: Depth scaling (\(N{=}3\) fixed). Trend: \(\downarrow\) degrade, \(\rightarrow\) plateau, \(\uparrow\rightarrow\) saturate, \(\uparrow\uparrow\) sustain (based on tail-3 gain). Our methods in bold; \(^*\): with distilled Reviewer.
Benchmark Method \(L{=}1\) \(L{=}2\) \(L{=}3\) \(L{=}4\) \(L{=}5\) \(L{=}6\) \(L{=}7\) \(L{=}8\) \(L{=}9\) Trend
MATH Standard MoA 65.0 68.5 70.0 69.2 67.8 66.0 64.2 62.5 61.0 \(\downarrow\)
RMoA 66.0 69.5 71.0 71.8 72.0 72.0 71.8 71.6 71.5 \(\uparrow\rightarrow\)
AttentionMoA 67.0 71.0 73.0 74.5 75.5 76.2 76.6 76.8 76.9 \(\uparrow\rightarrow\)
ReM-MoA 68.0 72.5 75.0 77.0 78.5 79.5 80.2 80.7 81.0 \(\uparrow\uparrow\)
ReM-MoA\(^*\) 68.3 73.5 76.8 79.2 81.0 82.2 83.0 83.7 84.0 \(\uparrow\uparrow\)
MMLU-redux Standard MoA 61.5 59.8 58.2 56.9 55.8 54.8 53.9 53.1 52.4 \(\downarrow\)
RMoA 63.8 65.1 65.4 65.3 65.2 65.0 64.8 64.6 64.4 \(\rightarrow\)
AttentionMoA 63.2 64.2 64.8 65.0 65.1 65.0 64.9 64.8 64.7 \(\rightarrow\)
ReM-MoA 64.0 66.0 67.0 67.8 68.3 68.6 68.8 68.9 68.9 \(\uparrow\rightarrow\)
ReM-MoA\(^*\) 64.2 66.3 67.4 68.3 68.9 69.3 69.6 69.9 70.2 \(\uparrow\uparrow\)
Formal Logic Standard MoA 44.2 49.5 51.0 50.2 48.8 47.0 45.5 44.0 42.8 \(\downarrow\)
RMoA 45.0 51.2 52.8 53.4 53.5 53.4 53.3 53.2 53.1 \(\uparrow\rightarrow\)
AttentionMoA 46.5 53.8 55.6 57.0 58.2 59.0 59.5 59.8 59.9 \(\uparrow\rightarrow\)
ReM-MoA 47.8 55.5 59.0 61.5 63.5 65.0 66.0 66.8 67.2 \(\uparrow\uparrow\)
ReM-MoA\(^*\) 48.2 56.7 60.8 63.7 66.0 67.7 68.8 69.7 70.2 \(\uparrow\uparrow\)
CRUX Standard MoA 54.0 56.5 57.5 57.0 56.0 54.8 53.5 52.2 51.0 \(\downarrow\)
RMoA 54.5 57.5 58.5 59.0 59.2 59.4 59.4 59.5 59.5 \(\uparrow\rightarrow\)
AttentionMoA 55.5 58.8 60.5 61.8 62.7 63.3 63.6 63.8 63.9 \(\uparrow\rightarrow\)
ReM-MoA 56.5 60.5 63.0 65.2 67.0 68.5 69.5 70.0 70.2 \(\uparrow\uparrow\)
ReM-MoA\(^*\) 57.0 61.6 64.6 67.2 69.3 71.1 72.2 72.8 73.0 \(\uparrow\uparrow\)
HellaSwag Standard MoA 73.5 76.0 76.8 76.2 75.3 74.2 73.0 71.8 70.8 \(\downarrow\)
RMoA 74.0 76.8 77.5 77.8 78.0 77.9 77.8 77.7 77.6 \(\uparrow\rightarrow\)
AttentionMoA 74.8 77.5 78.5 79.2 79.7 80.0 80.1 80.2 80.2 \(\uparrow\rightarrow\)
ReM-MoA 75.5 78.8 80.5 81.5 82.2 82.6 82.8 82.9 82.9 \(\uparrow\rightarrow\)
ReM-MoA\(^*\) 75.8 79.5 81.2 82.2 83.0 83.4 83.7 84.0 84.3 \(\uparrow\uparrow\)

2pt

Table 2: Width scaling (\(L{=}3\) fixed). Conventions follow Table [tbl:tab:depth-scaling].
Benchmark Method \(N{=}3\) \(N{=}4\) \(N{=}5\) \(N{=}6\) \(N{=}7\) \(N{=}8\) Trend
MATH Standard MoA 70.0 70.8 71.4 71.8 72.0 72.1 \(\uparrow\rightarrow\)
RMoA 71.0 72.0 72.7 73.3 73.6 73.8 \(\uparrow\uparrow\)
AttentionMoA 73.0 74.0 74.8 75.5 75.9 76.2 \(\uparrow\uparrow\)
ReM-MoA 75.0 76.2 77.2 78.0 78.5 78.9 \(\uparrow\uparrow\)
ReM-MoA\(^*\) 76.8 78.0 79.1 79.9 80.5 80.9 \(\uparrow\uparrow\)
MMLU-redux Standard MoA 58.2 57.2 56.5 55.8 55.2 54.5 \(\downarrow\)
RMoA 65.4 65.5 65.5 65.4 65.3 65.2 \(\rightarrow\)
AttentionMoA 64.8 65.1 65.2 65.2 65.1 65.0 \(\rightarrow\)
ReM-MoA 67.0 67.8 68.3 68.8 69.0 69.2 \(\uparrow\rightarrow\)
ReM-MoA\(^*\) 67.4 68.2 68.7 69.3 69.5 69.8 \(\uparrow\uparrow\)
Formal Logic Standard MoA 51.0 51.8 52.2 52.5 52.4 52.2 \(\rightarrow\)
RMoA 52.8 53.8 54.5 55.0 55.2 55.3 \(\uparrow\rightarrow\)
AttentionMoA 55.6 56.8 57.5 58.2 58.6 59.0 \(\uparrow\uparrow\)
ReM-MoA 59.0 60.5 61.8 63.0 63.8 64.5 \(\uparrow\uparrow\)
ReM-MoA\(^*\) 60.8 62.3 63.7 64.9 65.8 66.6 \(\uparrow\uparrow\)
CRUX Standard MoA 57.5 58.0 58.4 58.6 58.5 58.3 \(\rightarrow\)
RMoA 58.5 59.3 59.8 60.3 60.6 60.7 \(\uparrow\rightarrow\)
AttentionMoA 60.5 61.5 62.3 62.9 63.3 63.6 \(\uparrow\uparrow\)
ReM-MoA 63.0 64.3 65.3 66.2 66.8 67.3 \(\uparrow\uparrow\)
ReM-MoA\(^*\) 64.6 66.0 67.0 68.0 68.7 69.3 \(\uparrow\uparrow\)
HellaSwag Standard MoA 76.8 77.2 77.4 77.5 77.4 77.2 \(\rightarrow\)
RMoA 77.5 78.0 78.4 78.7 78.8 78.9 \(\rightarrow\)
AttentionMoA 78.5 79.2 79.7 80.1 80.3 80.4 \(\uparrow\rightarrow\)
ReM-MoA 80.5 81.2 81.8 82.3 82.6 82.9 \(\uparrow\uparrow\)
ReM-MoA\(^*\) 81.2 82.0 82.6 83.1 83.4 83.7 \(\uparrow\uparrow\)

3pt

5 Experiments↩︎

We evaluate ReM-MoA against existing MoA variants to answer three research questions:

5.0.0.1 RQ1.

Does ReM-MoA continue to improve as depth and width scale, where prior MoA variants degrade, plateau, or saturate?

5.0.0.2 RQ2.

How much do the Ranked Reasoning Memory and the Curated Diversified Memory Routing each contribute to ReM-MoA’s overall gain?

5.0.0.3 RQ3.

Does multi-domain Reviewer distillation transfer to held-out reasoning domains?

Figure 3: Mean accuracy across the five benchmarks under depth scaling (left, N{=}3 fixed) and width scaling (right, L{=}3 fixed). Mean accuracy under depth scaling exhibits a clear separation: Standard MoA peaks at L{=}3 and declines, RMoA and AttentionMoA flatten as L grows, while ReM-MoA and ReM-MoA^* continue to improve.

5.1 Experimental Setup↩︎

5.1.0.1 Benchmarks.

We evaluate on five reasoning benchmarks, one per target domain: MATH [23] (mathematics), MMLU-redux [24] (knowledge), the formal_logic subject of MMLU [25] (formal logic), CRUX [26] (code understanding), and HellaSwag [27] (common-sense reasoning). We report accuracy on all evaluation domains, except for the code benchmarks (CRUX and, in the distillation experiment, MBPP), for which we report pass@1.

5.1.0.2 Proposer pool and aggregator.

A heterogeneous pool of three 7-8B open-source instruction-tuned models (Qwen2.5-7B-Instruct [28], Llama-3.1-8B-Instruct [29], and Qwen2.5-Coder-7B-Instruct [30]) serves as proposers. Qwen2.5-7B-Instruct is the aggregator in all configurations.

5.1.0.3 Reviewer Agent.

We evaluate two variants of our framework that differ only in the Reviewer: ReM-MoA uses the off-the-shelf Qwen2.5-7B-Instruct as the Reviewer, while ReM-MoA\(^*\) replaces it with a LoRA-distilled fine-tune of the same base model. For the distillation, we query GPT-5.5 as the teacher \(\mathcal{T}\) on traces generated by ReM-MoA itself, then fine-tune Qwen2.5-7B-Instruct with LoRA [14]. Training data consists of 100 problems each from MATH, ARC-Challenge [31], MedQA [32], MBPP [33], and HellaSwag (500 problems total); ReM-MoA is run on each at \(L=3, N=3\), yielding \(1{,}500\) (problem, layer-traces) training tuples. Full LoRA configuration is in Appendix 9.

5.1.0.4 Baselines.

We compare against three MoA variants representing the paradigms introduced in Section 2: standard MoA [5] (information concatenation), RMoA [6] (information consolidation), and AttentionMoA [7] (inter-agent interaction). All baselines share our proposer pool and aggregator, retaining each baseline’s original hyperparameters.

5.1.0.5 Implementation.

All experiments run on NVIDIA A100 GPUs via vLLM [34]. Proposer agents sample at temperature 0.8, the Reviewer at 0.3, and the aggregator at 0.5. We evaluate along two axes: depth, sweeping \(L \in \{1, \ldots, 9\}\) at \(N=3\), and width, sweeping \(N \in \{3, \ldots, 8\}\) at \(L=3\). Further implementation details are in Appendix 9.

5.2 Sustained Scaling and Cross-Benchmark Results (RQ1)↩︎

Tables 1 and 2 report depth and width scaling across the five benchmarks. Figure 3 plots the corresponding mean accuracy.

5.2.0.1 Baseline failure modes are confirmed on all five benchmarks.

Standard MoA degrades on all five benchmarks, peaking by \(L{=}3\) and losing \(9.1\) points on MMLU-redux (\(61.5 \to 52.4\)), \(4.0\) on MATH, \(3.0\) on CRUX, \(2.7\) on HellaSwag, and \(1.4\) on Formal Logic by \(L{=}9\). RMoA plateaus on MMLU-redux (its representative failure mode in Figure 1) and saturates on the other four benchmarks, with tail-3 gain below \(+0.2\) on every non-plateau cell. AttentionMoA saturates on four benchmarks and plateaus on MMLU-redux (peaking at \(L{=}5\) then slightly declining), with per-step gain shrinking to \(\leq 0.1\) at \(L{=}9\), indicating intra-layer convergence among agents.

5.2.0.2 ReM-MoA outperforms every baseline across all configurations.

ReM-MoA\(^*\) is column-best with ReM-MoA second across all \(45\) benchmark-\(L\) and \(30\) benchmark-\(N\) cells. The lead is largest on reasoning-intensive benchmarks: at \(L{=}9\), ReM-MoA exceeds AttentionMoA by \(+7.3\) on Formal Logic (\(67.2\) vs \(59.9\)), \(+6.3\) on CRUX, and \(+4.1\) on MATH. On knowledge-heavy MMLU-redux and common-sense HellaSwag, where headroom is smaller, ReM-MoA still leads at every \(L\) but saturates due to limited remaining ceiling.

5.2.0.3 The gap widens monotonically with scale.

Figure 3 renders the spectrum of scaling behaviors in one view and shows a clean monotonic fan-out among the five methods along the depth axis. Quantitatively, ReM-MoA’s gap over the strongest baseline grows from \(+0.84\) at \(L{=}1\) to \(+4.92\) at \(L{=}9\) (\(5.9{\times}\)); against Standard MoA it expands from \(+2.72\) to \(+18.44\) (\(6.8{\times}\)). Width yields a more modest expansion from \(+2.30\) at \(N{=}3\) to \(+3.68\) at \(N{=}8\), with the five methods following more closely-spaced trajectories than under depth (right panel of Fig. 3). The widening holds against all three baselines across the five benchmarks.

5.2.0.4 Distillation extends sustained scaling to all benchmarks.

ReM-MoA\(^*\) improves accuracy across all configurations, with gains over ReM-MoA of up to \(3.0\) points at \(L{=}9\) on MATH and Formal Logic. Distillation also flips the Trend label on the three cells where ReM-MoA still saturated (MMLU-redux and HellaSwag depth, MMLU-redux width), all moving to \(\uparrow\uparrow\). ReM-MoA\(^*\) thus sustains scaling on all five benchmarks under both axes.

Table 3: Ablation study under depth scaling (\(N{=}3\)). All variants share the off-the-shelf Reviewer (ReM-MoA, not ReM-MoA\(^*\)). Trend conventions follow Table [tbl:tab:depth-scaling]. The ReM-MoA (full) row repeats Table [tbl:tab:depth-scaling] for reference.
Benchmark Variant \(L{=}1\) \(L{=}2\) \(L{=}3\) \(L{=}4\) \(L{=}5\) \(L{=}6\) \(L{=}7\) \(L{=}8\) \(L{=}9\) Trend
MATH ReM-MoA (full) 68.0 72.5 75.0 77.0 78.5 79.5 80.2 80.7 81.0 \(\uparrow\uparrow\)
\(-\) cross-layer access 68.0 72.5 74.1 75.5 76.0 76.4 76.5 76.3 76.2 \(\uparrow\rightarrow\)
\(-\) routing diversification 68.0 72.0 74.0 75.2 76.2 77.0 77.4 77.6 77.7 \(\uparrow\rightarrow\)
\(-\) rationale 67.7 71.9 74.2 75.9 77.2 78.0 78.7 79.1 79.3 \(\uparrow\uparrow\)
MMLU-redux ReM-MoA (full) 64.0 66.0 67.0 67.8 68.3 68.6 68.8 68.9 68.9 \(\uparrow\rightarrow\)
\(-\) cross-layer access 64.0 66.0 66.4 66.7 66.9 67.0 66.9 66.7 66.8 \(\uparrow\rightarrow\)
\(-\) routing diversification 64.0 65.8 66.5 66.9 67.2 67.4 67.5 67.6 67.6 \(\uparrow\rightarrow\)
\(-\) rationale 63.9 65.8 66.5 67.2 67.5 67.8 68.0 68.0 68.0 \(\uparrow\rightarrow\)
Formal Logic ReM-MoA (full) 47.8 55.5 59.0 61.5 63.5 65.0 66.0 66.8 67.2 \(\uparrow\uparrow\)
\(-\) cross-layer access 47.8 55.5 57.7 59.6 60.6 60.9 61.1 60.8 61.0 \(\uparrow\rightarrow\)
\(-\) routing diversification 47.8 55.0 57.8 59.8 61.5 62.8 63.5 63.8 63.9 \(\uparrow\rightarrow\)
\(-\) rationale 47.4 54.8 57.9 60.1 61.8 63.1 64.1 64.8 65.1 \(\uparrow\uparrow\)
CRUX ReM-MoA (full) 56.5 60.5 63.0 65.2 67.0 68.5 69.5 70.0 70.2 \(\uparrow\uparrow\)
\(-\) cross-layer access 56.5 60.5 62.1 63.5 64.2 64.7 64.5 64.4 64.5 \(\uparrow\rightarrow\)
\(-\) routing diversification 56.5 60.0 62.0 63.5 64.8 65.8 66.5 66.8 66.9 \(\uparrow\rightarrow\)
\(-\) rationale 56.1 59.8 62.1 63.9 65.4 66.5 67.3 67.8 68.0 \(\uparrow\uparrow\)
HellaSwag ReM-MoA (full) 75.5 78.8 80.5 81.5 82.2 82.6 82.8 82.9 82.9 \(\uparrow\rightarrow\)
\(-\) cross-layer access 75.5 78.8 79.7 80.3 80.6 80.5 80.4 80.2 80.3 \(\uparrow\rightarrow\)
\(-\) routing diversification 75.5 78.5 79.7 80.4 81.0 81.3 81.5 81.6 81.6 \(\uparrow\rightarrow\)
\(-\) rationale 75.3 78.5 79.8 80.8 81.5 81.8 82.0 82.2 82.2 \(\uparrow\rightarrow\)

2pt

5.3 Ablation Studies (RQ2)↩︎

We ablate three ReM-MoA components independently: cross-layer access (restrict reads to \(\mathcal{M}_{l-1}\) only), routing diversification (share one reference set across the layer’s \(N\) proposers), and rationale (remove rationales from memory entries). All variants use the off-the-shelf Reviewer (ReM-MoA, not ReM-MoA\(^*\)). Table 3 reports depth scaling.

5.3.0.1 Cross-layer access and routing drive sustained scaling; rationale refines magnitude.

Restricting reads to \(\mathcal{M}_{l-1}\) causes the largest drop (avg \(-4.28\) at \(L{=}9\), peak \(-6.2\) on Formal Logic), with all three previously sustained benchmarks collapsing from \(\uparrow\uparrow\) to \(\uparrow\rightarrow\) and mirroring RMoA’s adjacent-layer residual in Table 1. Sharing a single reference set across \(N\) proposers is the second-largest contributor (\(-2.50\) at \(L{=}9\)) and triggers the same regression on the three sustained benchmarks, confirming that within-layer diversification rather than memory richness alone drives sustained scaling. Removing rationales costs only \(-1.52\) at \(L{=}9\) but preserves the trend pattern fully (MATH, Formal Logic, and CRUX still sustain, MMLU-redux and HellaSwag still saturate), indicating that rationales act as refinement rather than scaffolding.

Table 4: Reviewer distillation under depth scaling (\(N{=}3\)). Orig: off-the-shelf Reviewer (ReM-MoA). Multi-FT: distilled on all five domains (ReM-MoA\(^*\)). LOO: distilled on four domains, holding out the row’s benchmark. Trend conventions follow Table [tbl:tab:depth-scaling].
Benchmark Reviewer \(L{=}1\) \(L{=}2\) \(L{=}3\) \(L{=}4\) \(L{=}5\) \(L{=}6\) \(L{=}7\) \(L{=}8\) \(L{=}9\) Trend
MATH Orig 68.0 72.5 75.0 77.0 78.5 79.5 80.2 80.7 81.0 \(\uparrow\uparrow\)
Multi-FT 68.3 73.5 76.8 79.2 81.0 82.2 83.0 83.7 84.0 \(\uparrow\uparrow\)
LOO 68.2 72.9 75.7 78.0 79.7 80.9 81.8 82.5 83.0 \(\uparrow\uparrow\)
ARC-Challenge Orig 86.8 90.2 91.2 91.8 92.2 92.5 92.6 92.7 92.7 \(\uparrow\rightarrow\)
Multi-FT 87.0 90.6 91.8 92.5 92.8 93.2 93.4 93.5 93.5 \(\uparrow\rightarrow\)
LOO 86.9 90.4 91.5 92.1 92.5 92.8 93.0 93.1 93.1 \(\uparrow\rightarrow\)
MedQA Orig 44.8 51.0 54.0 56.2 57.8 59.0 59.8 60.2 60.5 \(\uparrow\uparrow\)
Multi-FT 45.2 52.0 55.5 57.8 59.5 60.8 61.5 62.0 62.2 \(\uparrow\uparrow\)
LOO 45.0 51.4 54.5 56.8 58.5 59.7 60.5 61.0 61.4 \(\uparrow\uparrow\)
MBPP Orig 83.0 85.0 86.5 87.5 88.0 88.4 88.6 88.8 88.9 \(\uparrow\rightarrow\)
Multi-FT 83.8 86.5 88.5 89.8 90.5 91.0 91.4 91.5 91.6 \(\uparrow\rightarrow\)
LOO 83.1 85.2 87.0 88.1 88.5 88.9 89.1 89.4 89.5 \(\uparrow\rightarrow\)
HellaSwag Orig 75.5 78.8 80.5 81.5 82.2 82.6 82.8 82.9 82.9 \(\uparrow\rightarrow\)
Multi-FT 75.8 79.5 81.2 82.2 83.0 83.4 83.7 84.0 84.3 \(\uparrow\uparrow\)
LOO 75.5 78.9 80.6 81.6 82.4 82.8 83.0 83.1 83.2 \(\uparrow\rightarrow\)

2pt

5.4 Reviewer Distillation (RQ3)↩︎

We compare three Reviewers on the five distillation domains (Section 5.1): Orig (off-the-shelf, used in ReM-MoA), Multi-FT (LoRA-distilled on all five domains, used in ReM-MoA\(^*\)), and LOO (distilled on only four domains, holding out the evaluation domain). Table 4 reports depth scaling at \(N{=}3\).

5.4.0.1 Distillation captures a transferable evaluation skill.

Multi-FT improves over Orig across all benchmarks and configurations (avg \(+1.92\) at \(L{=}9\), peak \(+3.0\) on MATH); on HellaSwag the gain even flips the trend from \(\uparrow\rightarrow\) to \(\uparrow\uparrow\), matching ReM-MoA\(^*\) in Table 1. LOO recovers \(44\%\) of Multi-FT’s average gain (\(+0.84\) at \(L{=}9\), ranging from \(67\%\) on MATH to \(21\%\) on HellaSwag) without seeing the held-out domain during training, while preserving Orig’s trend pattern. This transfer property explains why ReM-MoA\(^*\) in Table 1 generalizes to the three unseen evaluation domains (MMLU-redux, Formal Logic, CRUX).

6 Conclusion↩︎

We presented ReM-MoA, a Mixture-of-Agents framework that overcomes the scaling limitations of prior variants through a Ranked Reasoning Memory and a Curated Diversified Memory Routing scheme, jointly preserving quality and diversity across layers. Across five reasoning benchmarks under both depth and width scaling, ReM-MoA outperforms all baselines in every configuration, and the advantage over baselines widens, rather than diminishes, as depth grows. An optional multi-domain Reviewer distillation further extends sustained scaling to all benchmarks and transfers to held-out domains, establishing structured cross-layer memory as a critical missing mechanism for scalable multi-agent reasoning.

Limitations↩︎

6.0.0.1 Bounded width exploration.

We evaluate width scaling up to \(N{=}8\) at \(L{=}3\), matching the largest width studied in prior MoA work [5][7]. ReM-MoA still leads all baselines at \(N{=}8\) without visible saturation, but compute constraints prevented probing larger widths.

6.0.0.2 Single-scale proposer pool.

Our proposer pool consists of three 7-8B open-source instruction-tuned models, matching the scale most commonly studied in MoA literature. Whether the gains transfer to substantially larger proposers (e.g., 30B-70B) or smaller ones (e.g., 1-3B), where the quality-diversity trade-off may shift, remains to be empirically validated.

6.0.0.3 Reviewer Agent overhead.

ReM-MoA invokes one Reviewer call per layer, giving an inference cost of \(L \cdot N + L + 1\) LLM calls, on par with RMoA’s Residual Agent and substantially lower than AttentionMoA’s per-agent intra-layer attention (\(\sim 2L \cdot N\)). Reviewer distillation adds a one-time training cost and assumes access to a frontier-model teacher, but is optional: the off-the-shelf ReM-MoA without distillation already outperforms all baselines (Tables 1 and 2).

6.0.0.4 Inherited biases and computational cost.

ReM-MoA inherits the biases and failure modes of its constituent LLMs: the proposer agents may produce factually incorrect or socially biased reasoning, and the Reviewer Agent (itself an LLM) may exhibit known judge biases such as position bias or self-preference [11]. Our comparative scoring and contrastive routing reduce but do not eliminate these effects, and high-stakes deployment would require additional safeguards. The framework also incurs \(L{\cdot}N + L + 1\) LLM calls per query, with corresponding energy footprint; this overhead is on par with comparable MoA variants but higher than single-pass generation.

7 AI Usage↩︎

AI-based writing tools were used for limited language editing, paraphrasing, and polishing of the manuscript. All technical content, analysis, experimental results, and conclusions were developed and verified by the authors.

8 Routing Distributions for Larger Widths↩︎

Section 4.2 introduces the routing scheme and gives one concrete instance for \(N{=}3\) in Equation 7 . Table 5 extends this assignment to \(N \in \{4, \ldots, 8\}\), the range used in our width-scaling experiments (Table 2). The design principle is to keep the three route families (contrastive, positive reinforcement, failure-mode focus) represented at every layer while scaling the size of each route with \(N\), so that the reference sets cover more of the memory pool while remaining mutually distinct.

Table 5: Routing function assignments \(\Pi_1, \ldots, \Pi_N\)for each width \(N\). \(\text{Con}_n\) denotes\(\text{Top}_a \cup \text{Bot}_b\) with \(a+b=n\), \(a = \lceiln/2 \rceil\), \(b = \lfloor n/2 \rfloor\).
\(N\) Route assignment
3 \(\text{Con}_2, \text{Top}_2, \text{Bot}_2\)
4 \(\text{Con}_2, \text{Con}_3, \text{Top}_2, \text{Bot}_2\)
5 \(\text{Con}_2, \text{Con}_3, \text{Top}_2, \text{Top}_3, \text{Bot}_2\)
6 \(\text{Con}_2, \text{Con}_3, \text{Top}_2, \text{Top}_3, \text{Bot}_2, \text{Bot}_3\)
7 \(\text{Con}_2, \text{Con}_3, \text{Con}_4, \text{Top}_2, \text{Top}_3, \text{Bot}_2, \text{Bot}_3\)
8 \(\text{Con}_2, \text{Con}_3, \text{Con}_4, \text{Top}_2, \text{Top}_3, \text{Top}_4, \text{Bot}_2, \text{Bot}_3\)

8.0.0.1 Handling sparse early layers.

At layer \(l\), the global pool \(\mathcal{P}_l = \mathcal{M}_{\leq l-1}\) contains \(N \cdot (l-1)\) entries. When a route requests more entries than are available (e.g., \(\text{Con}_4\) at \(l{=}2, N{=}3\), where only 3 entries exist), the route is truncated to the available entries. This truncation affects only the first one or two layers; once \(l \geq \lceil n/N \rceil + 1\), all routes operate at their nominal size.

9 Experimental Setup Details↩︎

This appendix expands the configuration referenced in Section 5.1, covering the Reviewer distillation pipeline, LoRA configuration, training hyperparameters, train/test isolation, and inference-time settings.

9.1 Distillation Variants↩︎

We evaluate three Reviewer configurations:

  • Orig: the off-the-shelf base Reviewer (Qwen2.5-7B-Instruct), no fine-tuning. Used in ReM-MoA.

  • Multi-FT: LoRA-distilled jointly on five domains (MATH, ARC-Challenge, MedQA, MBPP, HellaSwag; 100 problems each, 500 total). Used in ReM-MoA\(^*\).

  • LOO: five variants, each LoRA-distilled on four of the five domains (400 problems per variant), holding out the evaluation domain. Used to assess cross-domain transfer in Section 5.4.

9.2 Trace Generation and Teacher Labeling↩︎

For each training problem, we run ReM-MoA at \(L{=}3, N{=}3\) to collect the proposer traces produced at every layer, yielding \(\sim\)​9 traces per problem. Each (problem, traces) tuple is then sent to a frontier-model teacher, GPT-5.5, which receives the problem, the proposer traces, and the ground-truth answer, and is constrained by a structured prompt (Appendix 10.5) to emit labels conforming to the Reviewer’s output schema — a per-trace integer score and a contrastive rationale. The ground-truth answer appears only in the teacher’s prompt and is never exposed to the student during training. Traces are filtered by length (50 to 2,000 tokens) before training to remove degenerate generations.

9.3 LoRA Configuration↩︎

LoRA [14] is applied to the attention projection matrices of Qwen2.5-7B-Instruct.

Table 6: LoRA configuration.
Rank (\(r\)) 16
Alpha (\(\alpha\)) 32
Dropout 0.05
Target modules q_proj, k_proj, v_proj, o_proj
Trainable parameters \(\sim\)12.8M (0.18% of 7B)

9.4 Training Hyperparameters↩︎

Table 7: Training hyperparameters for Reviewer distillation.
Optimizer AdamW
Learning rate \(2 \times 10^{-4}\) (cosine decay)
Warmup ratio 0.05
Effective batch size 8 (per-device 4 \(\times\) grad-accum 2)
Max sequence length 8,192
Epochs 3
Precision bf16
Weight decay 0.01
Loss Causal LM cross-entropy

Each distillation run completes in approximately 2 hours on a single NVIDIA A100 (80GB) GPU. The full distillation pipeline—one Multi-FT plus five LOO variants (Appendix 9.1)—requires approximately 12 A100-hours of training compute in total.

9.5 Train/Test Isolation↩︎

Fine-tuning data is drawn exclusively from each dataset’s publicly available training split, while evaluation uses the held-out test split. For HellaSwag, we evaluate on the validation split since test labels are not public, following standard practice. Because train and test problems are disjoint by construction, label leakage from the GPT-5.5 teacher into evaluation is not possible at the problem level. The structured evaluation prompt (Appendix 10.5) further constrains the teacher’s output to fixed dimensions (score and rationale), focusing the student on the meta-skill of judging reasoning quality rather than memorizing canonical solutions. The LOO results in Section 5.4 additionally demonstrate that the student transfers to domains it never saw during training, confirming that the learned skill is general rather than domain-memorized.

9.6 Inference and Hardware↩︎

All experiments run on NVIDIA A100 (80GB) GPUs via vLLM [34]. Sampling temperatures follow Section 5.1: proposer agents at \(T{=}0.8\) (top-\(p\) 0.95), Reviewer at \(T{=}0.3\) (top-\(p\) 0.9), aggregator at \(T{=}0.5\) (top-\(p\) 0.9). Maximum new tokens per call: 2,048 for proposers and aggregator, 8,192 for the Reviewer (which must emit \(N\) score-rationale pairs in a single response).

10 Prompt Templates and Scoring Rubric↩︎

This appendix provides the prompt templates used by the proposer agents, the Reviewer Agent, the aggregator, and the frontier-model teacher (GPT-5.5) during distillation, together with the scoring rubric followed by the Reviewer.

10.1 Scoring Scale and Rubric↩︎

The Reviewer assigns each trace an integer score on a \(1\)-\(10\) scale (i.e., \(S{=}10\) in Equation 3 ). Following common LLM-as-judge practice, scores are organized into five tiers:

  • 9–10 — Excellent: reaches the correct answer through a complete, coherent chain of reasoning with no logical errors.

  • 7–8 — Good: reaches the correct answer with minor reasoning slips, redundancies, or under-justified steps that do not affect the final result.

  • 5–6 — Partial: demonstrates valid reasoning on parts of the problem but reaches an incomplete or partially incorrect final answer.

  • 3–4 — Weak: contains substantive reasoning errors propagating to an incorrect final answer; some intermediate steps may still be useful as counter-examples.

  • 1–2 — Poor: final answer is wrong and the reasoning chain contains major flaws throughout.

Within each tier, the higher score indicates a stronger instance (e.g., a 10 is preferred to a 9). The accompanying rationale (one per trace) cites concrete strengths and weaknesses of the specific trace, anchored in its reasoning steps and conclusion. Rationales are independent across traces (Section 4.1).

10.2 Proposer Prompt↩︎

At layer 1, the proposer receives only the problem. At layer \(l \geq 2\), the proposer additionally receives the curated reference set \(\mathcal{S}_{l,j}\) — the problem concatenated with the reference traces, each tagged with its Reviewer score and rationale.

Proposer Prompt You are solving the following problem.

Problem: problem

## Reference Reasoning Traces (with quality ratings)

Below are reasoning traces from previous attempts on this problem, each rated by an expert reviewer on a 1-10 scale (higher is better):

### [Score: s_1/10] Reference Trace 1: trace_1

Reviewer’s Assessment: rationale_1

### [Score: s_2/10] Reference Trace 2: trace_2

Reviewer’s Assessment: rationale_2

... (additional traces follow the same format)

## Your Task

Drawing on what the high-scoring traces did well and what the low-scoring traces got wrong, produce your own reasoning trace and final answer. Do not simply copy any reference trace; contribute distinct reasoning.

At layer 1, the "Reference Reasoning Traces" block is omitted and the prompt contains only the problem and the task instruction.

10.3 Reviewer Prompt↩︎

The Reviewer is invoked once per layer with all \(N\) proposer traces of that layer. It emits scores and rationales for all \(N\) traces in a single response, parsed into the memory entry of Equation 4 .

Reviewer Prompt You are an expert reviewer evaluating reasoning traces.

Problem: problem

You are given N candidate reasoning traces. Evaluate each trace by comparing it against the others, then assign: (1) an integer score from 1-10 (rubric below); (2) a brief rationale (1-3 sentences) explaining the score, citing specific reasoning steps.

Scoring rubric (1-10): 9-10: Excellent (correct and well-reasoned). 7-8
Good (correct with minor flaws). 5-6 : Partial (incomplete or partly wrong). 3-4 : Weak (mostly incorrect; useful as counter-example). 1-2 : Poor (entirely wrong).

### Trace 1 trace_1

### Trace 2 trace_2

... (Traces 3 through N follow the same format)

Respond in the following JSON format:

"trace_1": "score": <int>, "rationale": "<text>", "trace_2": "score": <int>, "rationale": "<text>", ... "trace_N": "score": <int>, "rationale": "<text>"

10.4 Aggregator Prompt↩︎

After layer \(L\), the aggregator receives the problem and three curated reference sets drawn from the memory through the same three families used by proposer agents (Section 4), and produces the final answer.

Aggregator Prompt You are producing the final answer to the following problem by synthesizing the strongest reasoning across multiple attempts.

Problem: problem

## Top-scoring traces (positive reinforcement) top_traces_with_scores_and_rationales

## Bottom-scoring traces (common mistakes to avoid) bot_traces_with_scores_and_rationales

## Contrastive selection (top paired with bottom) con_traces_with_scores_and_rationales

Synthesize the most reliable reasoning from the top-scoring traces while avoiding the errors exhibited in the bottom-scoring traces. Output your final answer with a concise justification.

10.5 Teacher Prompt for Distillation↩︎

The frontier-model teacher (GPT-5.5) receives the problem, the proposer traces, and the ground-truth answer; it is constrained to emit labels in the same JSON schema as the Reviewer. The rationale is required to justify the score in terms of internal reasoning quality only, never restating the ground-truth answer, so that the student learns to judge without access to ground truth.

Teacher Prompt (Distillation Labeling) You are an expert evaluator generating high-quality reviewer labels for distillation training.

Problem: problem

Ground-truth answer (for your reference only; DO NOT restate or quote it in any rationale): ground_truth

Below are N candidate reasoning traces. Using the ground-truth answer to inform your judgment, assign each trace a score (1-10) and a brief rationale, exactly as a strong reviewer would. Use the same rubric:

9-10: Excellent (correct and well-reasoned). 7-8 : Good (correct with minor flaws). 5-6 : Partial (incomplete or partly wrong). 3-4 : Weak (mostly incorrect; useful as counter-example). 1-2 : Poor (entirely wrong).

The rationale must NOT mention or restate the ground-truth answer; it must justify the score in terms of the trace’s internal reasoning quality only, so that a student trained on these labels learns to judge without access to ground truth.

### Trace 1 trace_1

... (Traces 2 through N follow the same format)

Respond in JSON: "trace_1": "score": <int>, "rationale": "<text>", ... "trace_N": "score": <int>, "rationale": "<text>"

References↩︎

[1]
C. Snell, J. Lee, K. Xu, and A. Kumar, “Scaling LLM test-time compute optimally can be more effective than scaling model parameters,” arXiv preprint arXiv:2408.03314, 2024.
[2]
X. Wang et al., “Self-consistency improves chain of thought reasoning in language models,” arXiv preprint arXiv:2203.11171, 2022.
[3]
Y. Du, S. Li, A. Torralba, J. B. Tenenbaum, and I. Mordatch, “Improving factuality and reasoning in language models through multiagent debate,” in Proceedings of the 41st international conference on machine learning (ICML), 2024.
[4]
T. Liang et al., “Encouraging divergent thinking in large language models through multi-agent debate,” in Proceedings of the 2024 conference on empirical methods in natural language processing, 2024, pp. 17889–17904.
[5]
J. Wang, J. Wang, B. Athiwaratkun, C. Zhang, and J. Y. Zou, “Mixture-of-agents enhances large language model capabilities,” in International conference on learning representations (ICLR), 2025, pp. 33944–33963.
[6]
Z. Xie et al., RMoA: Optimizing mixture-of-agents through diversity maximization and residual compensation,” in Findings of the association for computational linguistics: ACL 2025, 2025, pp. 6575–6602.
[7]
J. Wen, Y. Wei, X. Yu, C. Xiao, and K. Zeng, “Attention-MoA: Enhancing mixture-of-agents via inter-agent semantic attention and deep residual synthesis,” arXiv preprint arXiv:2601.16596, 2026.
[8]
H. Ping et al., VeriMoA: A mixture-of-agents framework for spec-to-HDL generation,” arXiv preprint arXiv:2510.27617, 2025.
[9]
K. Zhang et al., “Diversity empowers intelligence: Integrating expertise of software engineering agents,” in International conference on learning representations (ICLR), 2025, pp. 86691–86714.
[10]
W. Li, Y. Lin, M. Xia, and C. Jin, “Rethinking mixture-of-agents: Is mixing different large language models beneficial?” arXiv preprint arXiv:2502.00674, 2025.
[11]
L. Zheng et al., “Judging LLM-as-a-Judge with MT-Bench and chatbot arena,” in Advances in neural information processing systems (NeurIPS), 2023, vol. 36, pp. 46595–46623.
[12]
S. Ouyang et al., ReasoningBank: Scaling agent self-evolving with reasoning memory,” arXiv preprint arXiv:2509.25140, 2025.
[13]
G. Hinton, O. Vinyals, and J. Dean, “Distilling the knowledge in a neural network,” arXiv preprint arXiv:1503.02531, 2015.
[14]
E. J. Hu et al., LoRA: Low-rank adaptation of large language models,” in International conference on learning representations (ICLR), 2022.
[15]
D. Li et al., SMoA: Improving multi-agent large language models with sparse mixture-of-agents,” in Pacific-asia conference on knowledge discovery and data mining (PAKDD), 2025, pp. 54–65.
[16]
H. Ping et al., HDLCoRe: A training-free framework for mitigating hallucinations in LLM-generated HDL,” in 2025 IEEE international conference on LLM-aided design (ICLAD), 2025, pp. 108–116.
[17]
H. Ping et al., COEVO: Co-evolutionary framework for joint functional correctness and PPA optimization in LLM-based RTL generation,” arXiv preprint arXiv:2604.15001, 2026.
[18]
H. Ping et al., POET: Power-oriented evolutionary tuning for LLM-based RTL PPA optimization,” arXiv preprint arXiv:2603.19333, 2026.
[19]
N. Shinn, F. Cassano, A. Gopinath, K. Narasimhan, and S. Yao, “Reflexion: Language agents with verbal reinforcement learning,” in Advances in neural information processing systems (NeurIPS), 2023, vol. 36, pp. 8634–8652.
[20]
H. Luo et al., AgentAuditor: Human-level safety and security evaluation for LLM agents,” in Advances in neural information processing systems (NeurIPS), 2026, vol. 38, pp. 43241–43298.
[21]
W. Yang, S. Li, H. Ping, P. Zhang, P. Bogdan, and J. Thomason, “Auditing multi-agent LLM reasoning trees outperforms majority vote and LLM-as-judge,” arXiv preprint arXiv:2602.09341, 2026.
[22]
L. Zhu, X. Wang, and X. Wang, JudgeLM: Fine-tuned large language models are scalable judges,” in International conference on learning representations (ICLR), 2025, pp. 51257–51296.
[23]
D. Hendrycks et al., “Measuring mathematical problem solving with the MATH dataset,” arXiv preprint arXiv:2103.03874, 2021.
[24]
A. P. Gema et al., “Are we done with MMLU?” in Proceedings of the 2025 conference of the nations of the americas chapter of the association for computational linguistics: Human language technologies (volume 1: Long papers), 2025, pp. 5069–5096.
[25]
D. Hendrycks et al., “Measuring massive multitask language understanding,” arXiv preprint arXiv:2009.03300, 2020.
[26]
A. Gu, B. Rozière, H. Leather, A. Solar-Lezama, G. Synnaeve, and S. I. Wang, CRUXEval: A benchmark for code reasoning, understanding and execution,” arXiv preprint arXiv:2401.03065, 2024.
[27]
R. Zellers, A. Holtzman, Y. Bisk, A. Farhadi, and Y. Choi, HellaSwag: Can a machine really finish your sentence?” in Proceedings of the 57th annual meeting of the association for computational linguistics, 2019, pp. 4791–4800.
[28]
A. Yang et al., Qwen2.5 technical report,” arXiv preprint arXiv:2412.15115, 2024.
[29]
A. Grattafiori et al., “The Llama 3 herd of models,” arXiv preprint arXiv:2407.21783, 2024.
[30]
B. Hui et al., Qwen2.5-Coder technical report,” arXiv preprint arXiv:2409.12186, 2024.
[31]
P. Clark et al., “Think you have solved question answering? Try ARC, the AI2 reasoning challenge,” arXiv preprint arXiv:1803.05457, 2018.
[32]
D. Jin, E. Pan, N. Oufattole, W.-H. Weng, H. Fang, and P. Szolovits, “What disease does this patient have? A large-scale open domain question answering dataset from medical exams,” Applied Sciences, vol. 11, no. 14, p. 6421, 2021.
[33]
J. Austin et al., “Program synthesis with large language models,” arXiv preprint arXiv:2108.07732, 2021.
[34]
W. Kwon et al., “Efficient memory management for large language model serving with PagedAttention,” in Proceedings of the 29th symposium on operating systems principles (SOSP), 2023, pp. 611–626.