PolyMind: Exploring Width Scaling for Reflective Reasoning in Language Agents

Heng Zhang, Chengyu Zhou, Jiajun Wu, Xinyuan Liu, Liheng Zhang, Yueqi Guo, Rui Liu, JiaHao Hong, Xuanxun Lian, Jinpeng Lu, Jin HuangNeurIPS 2026

TL;DR

When AI agents fail at a complex task, letting them reflect on their mistakes and try again one step after another hits a wall of diminishing returns surprisingly fast. Instead of making an agent stare at its own errors for ten rounds in a row, PolyMind scales reflection horizontally: it dispatches a team of isolated sub-agents to inspect different facets of a failed attempt simultaneously, then compresses their findings into a crisp, actionable cheat sheet. Under the exact same compute budget, going wide beats going deep by a clear margin.

What Problem Does This Paper Address?

One of the best ways to make Large Language Models (LLMs) smarter without retraining them is test-time scaling—giving them extra computation at inference time to think, verify, and self-correct. In reflection-based reasoning, an agent attempts a problem, gets feedback from an evaluator (like a unit test failing), writes a note to itself about what went wrong, and tries again.

Traditionally, researchers scale this by depth: stringing together longer chains of sequential retries. The problem? Just like a tired engineer staring at the same bug at 2 AM, serial self-reflection quickly becomes repetitive and unhelpful. Going from 5 to 10 reflection cycles yields at most a measly 1.1 percentage point gain across various models.

Figure 1: Depth saturation and reflective width scaling. (a) The gain from 5 to 10 serial cycles is at most 1.1 percentage points across four backbones. (b) On the five-dataset preliminary setting with LLaMA-3.1-8B, Oracle Width evaluates K revisions, each conditioned on a different worker reflection, and succeeds if any revision is correct. Best-of-K samples the actor without reflection, while naive aggregation combines all worker outputs for one revision. The width curves use one reflection cycle with varying K; the depth diagnostic varies serial cycles with one worker. These are independent scaling diagnostics. Appendix B compares methods under matched end-to-end budgets.

What if we scale by width instead, running multiple independent critics in parallel? The authors found that valuable revision clues do exist across parallel workers (as shown by the green "Oracle" upper bound above). However, naively running parallel critics fails in two ways: without coordination, workers inspect the exact same obvious flaws, and pasting all their feedback together creates a noisy, contradictory wall of text that overwhelms the main model.

Methods

To turn parallel reflection into clean, usable signal, PolyMind organizes each revision cycle into a four-role pipeline (all sharing the same base LLM, with lightweight LoRA adapters for the reflective roles while keeping the main Actor frozen):

Figure 2: Overview of PolyMind.
  1. Reflective Width Planner: Looks at the failed attempt and outputs a Scope Matrix and budget. Instead of letting workers roam free, it assigns specific, complementary beats—for example, telling Worker 1 to check loop boundary conditions, Worker 2 to check return types, and Worker 3 to verify input assumptions.
  2. Isolated Parallel Workers: Each worker examines the problem strictly within its assigned scope, completely isolated from other workers so groupthink can't set in.
  3. Structured Reducer: Rather than concatenating or generically summarizing worker notes, the reducer distills them into a compact PolyBrief with three strict fields: Keep (anchoring working parts so the actor doesn't break good code), Revise (concrete fixes), and Verify (a checklist for the next attempt).

What's new in training: The planner, workers, and reducer are trained end-to-end via reinforcement learning using verifiable pass/fail task outcomes. Crucially, the authors introduce a role-balanced loss that averages gradients across the number of workers ($K$). Without this, rollouts that spawn 8 workers generate far more tokens than rollouts with 2 workers, hijacking the gradient updates. They also include a Parametric Width Memory—a lightweight module fine-tuned on past successful scope decompositions to give the planner a warm start on similar future problems.

Datasets

No new benchmarks were introduced; PolyMind is evaluated across six standard benchmarks spanning three reasoning domains with verifiable feedback:

  • Code Generation: HumanEval and MBPP (evaluated via unit test execution).
  • Mathematical Reasoning: GSM8K and MATH (evaluated via final answer correctness).
  • Multi-hop Question Answering: HotpotQA and 2WikiMultiHopQA (evaluated via exact match).

Key Insights and Ideas

  • Moderately wide and shallow wins: When working with a fixed token budget, spending compute on 2 cycles of 4 parallel workers ($T=2, K=4$) beats stretching out single-worker reflection chains or letting individual workers ramble with huge token budgets.
  • Explicit scope allocation cures redundancy: Before training, an unguided planner assigns near-duplicate tasks on 41% of problem instances. After outcome-driven RL training, near-duplicates drop to 12%, proving the system actively learns to "divide and conquer" error spaces.
  • Anchoring what works is vital: Generic summarization often washes out minority insights or leaves the actor confused. The structured Keep / Revise / Verify format prevents the frustrating phenomenon where an LLM fixes one bug only to accidentally delete a working part of its previous answer.

Key Results

Using LLaMA-3.1-8B under strictly matched end-to-end token budgets (~4,315 tokens):

  • Outperforming Depth: PolyMind achieves an average score of 72.6% across all six benchmarks, beating the strongest trained depth-reflection baseline (Retroformer at 66.5%) by 6.1 percentage points.
  • Beating Naive Width & Memory: It outperforms naive parallel voting (68.1%) and memory-enhanced reflection like ParamMem (68.4%).
  • Fair Capacity Control: Even when giving a serial depth baseline the exact same 63M trainable LoRA parameter budget and RL training (Depth+RL), PolyMind still leads 72.6% vs. 68.7%.
  • Ablations: Removing the Scope Matrix causes the sharpest performance drop (down to 68.4%), followed closely by removing the structured PolyBrief (68.9%).

Limitations and Future Work

While the main text focuses primarily on empirical validation, two clear boundaries emerge from the setup and analysis:

  • Reliance on Verifiable Evaluators: PolyMind's training and execution loops depend on concrete, automated evaluator signals (unit tests, exact math/QA checks). Adapting width-scaled reflection to open-ended tasks without clear pass/fail verifiers remains unexplored here.
  • Reducer Bottlenecks at High Width: In their hyperparameter analysis, the authors note that pushing width ($K$) too high causes gains to saturate because the reducer must sift through increasingly repeated or weak signals, occasionally losing useful minority feedback during compression (noted as a failure mode analyzed in their appendix).

Summary updated

Abstract

Reflection-based language agents improve reasoning by using feedback to revise previous attempts across multiple trials. Most existing reflection frameworks scale this process by \emph{depth}, allocating additional test-time compute to longer serial reflection-retry chains. However, we observe that serial reflection often saturates after rapid early gains. Under controlled reflection budgets, increasing depth from $5$ to $10$ cycles brings only marginal improvement, yet isolated reflective workers still contain useful revision signals beyond the saturated chain. This raises a central question: can reflective reasoning scale by \emph{width} rather than only by depth? A direct answer is non-trivial, since naive parallel reflection often inspects similar aspects of the same failed attempt and produces long or noisy revision contexts after aggregation. We propose \ourmethod, a reflective width scaling framework that learns to allocate complementary reflective scopes, execute workers in isolated contexts, and compress parallel feedback into a structured PolyBrief. \ourmethod trains the planner, workers, and reducer with verifiable outcome feedback and a role-balanced objective that prevents wider rollouts from dominating optimization. Across code generation, mathematical reasoning, and multi-hop question answering, \ourmethod consistently improves performance under matched reflection budgets, outperforming the strongest depth-reflection baseline by an average of $6.1\%$. Further analyses show that \ourmethod closes about $80\%$ of the oracle-naive width gap, reduces redundant worker outputs, and improves revision success with fewer tokens. These results suggest that reflection should be understood not only as a longer retry process, but also as a depth-width compute allocation problem.
BibTeX
@inproceedings{zhang2026polymind,
  author = {Heng Zhang and Chengyu Zhou and Jiajun Wu and Xinyuan Liu and Liheng Zhang and Yueqi Guo and Rui Liu and JiaHao Hong and Xuanxun Lian and Jinpeng Lu and Jin Huang},
  title = {{PolyMind: Exploring Width Scaling for Reflective Reasoning in Language Agents}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=NaTtE318r2},
}
Figure