MindLoom: Composing Thought Modes for Frontier-Level Reasoning Data Synthesis

Haiyang Shen, Taian Guo, Xuanzhong Chen, Mugeng Liu, Sixiong Xie, Zhuofan Shi, Chongyang Pan, Siqi Zhong, Guoqing Wang, Ming Zhang, Yun MaNeurIPS 2026

TL;DR

What actually makes a math or science problem hard? Instead of treating difficulty as a mysterious black box, MindLoom breaks expert-level problems down into Lego-like building blocks of logic called "thought modes," and then snaps them back together in brand-new combinations. The result is a scalable factory for frontier-level training data that pushes small and mid-sized language models past standard distillation and massive curated datasets.

What Problem Does This Paper Address?

As Large Language Models (LLMs) breeze through standard tests, researchers desperately need "frontier-level" problems—questions so tough that current models fail to solve them reliably—to train the next generation of AI.

Right now, we have three ways to get reasoning data, and all of them have a catch:

  1. Human experts write great hard questions, but doing so is slow, expensive, and impossible to scale to training-data volumes.
  2. Data selection filters existing pools for gems, meaning you can never exceed the diversity of what already exists.
  3. LLM synthesis prompts strong models to invent new problems, which usually yields superficial variety—different story wrappers around the exact same underlying math—with erratic control over actual difficulty.

We lack a systematic, controllable way to engineer structural difficulty from the ground up.

Methods

The authors reframe problem difficulty not as a single dial, but as an accumulation of atomic knowledge-reasoning steps they call thought modes. Each thought mode represents a single conceptual hurdle—separating transferable principles (like setting up a polar area integral) from problem-specific numbers (like radial bounds).

MindLoom turns this insight into a four-stage pipeline:

Figure 1: The four-stage MINDLOOM pipeline with an explicit extracted tuple and a separate seed-to- evolved-question synthesis trace. The examples illustrate different runs; Appendix G gives their full details.
  1. Reverse Engineering (Thought Mode Extraction): It’s much easier to untangle a knot from the loose end. MindLoom takes verified solutions to hard problems and works backward from the final steps. It isolates the tail end to create a simple, self-contained "seed" question (turning earlier calculations into explicit "givens"). Then, stepping backward through the solution, it absorbs those givens one by one—forcing the solver to derive them—and logs each added layer of complexity into a bank of thought modes.
  2. Retrieval Learning: You can't just slap a geometry transformation onto a finance equation. The authors fine-tune an embedding retriever (using margin ranking loss and hard-negative mining) to look at a question's current state and fetch compatible next thought modes.
  3. Distribution-Aligned Synthesis: Left unchecked, a retriever will repeatedly pick the most common reasoning patterns, causing mode collapse. MindLoom groups the thought-mode bank into 12 clusters and adds a scarcity reward to the selection score. If a reasoning cluster is underused compared to the reference bank, it gets a boost—ensuring broad coverage across STEM concepts as seed questions iteratively evolve into complex puzzles.
  4. Rollout-Based Filtering: Finally, an LLM attempts each synthesized problem three times, and an LLM judge checks the work. Broken transformations and unsolvable questions are tossed out, benchmark-contaminated seeds are stripped away, and verified correct solutions are packaged for Supervised Fine-Tuning (SFT).

Datasets

  • Source & Training Data: No new evaluation benchmark is introduced; rather, MindLoom builds its thought-mode bank from 58,526 source problems across 16 existing STEM and reasoning datasets. After synthesis, provenance filtering (to prevent test-set leakage), and verification, all models are trained on a strictly controlled budget of 9,230 SFT examples, compared head-to-head against equal-sized slices of DeepSeek-V3.2 Distillation, MegaScience, and OpenThought.
  • Evaluation: Models are tested on nine benchmarks—five broad STEM suites (CS-Bench, ChemBench, HLE, MedQA, SciBench) and four competition-grade math tests (MATH-500, HMMT Feb 2025, HMMT Nov 2025, AIME 2025).

Key Insights and Ideas

  • Working backward isolates logic cleanly: Peeling a solution from tail to head lets you turn intermediate answers into explicit givens, cleanly separating one reasoning step from the next without tangling dependencies.
  • Composing beats copying: Fine-tuning on MindLoom’s recombined problems consistently outperforms distilling reasoning traces directly from DeepSeek-V3.2 on the original source questions. Structural novelty matters.
  • Diversity helps accuracy, not hurts it: Removing the scarcity reward causes the generator to hoard popular clusters and starve rare ones—which actively drops performance on brutal math competitions. Broadening reasoning coverage directly translates to stronger problem-solving.
  • Verification is the linchpin: In ablation tests, skipping the rollout-based judging stage caused the single biggest performance crash across every model size, proving that aggressive error containment is mandatory when chaining synthetic steps.

Key Results

Evaluated across Qwen3 (4B, 8B) and Qwen3.5 (4B, 9B) using pass@1 and pass@3 (solving a problem within one or three tries):

  • MindLoom improves pass@3 over the base model on all nine benchmarks across all four model sizes.
  • On Qwen3-4B, pass@3 leaps dramatically on competition math: AIME 2025 jumps from 33.33% to 53.33%, HMMT-Feb from 26.67% to 43.33%, and MATH-500 from 90.20% to 98.60%.
  • With just 9,230 training examples, MindLoom achieves the highest pass@1 on every single General-and-STEM benchmark across all model sizes, beating external datasets like MegaScience and OpenThought. On Qwen3.5-9B, it takes the top pass@1 spot on 8 out of 9 benchmarks overall (hitting 66.67% on AIME 2025 vs. 40.00% base).

Limitations and Future Work

While the main text does not include a standalone "Limitations and Future Work" section, the authors' pipeline analysis highlights clear operational boundaries:

  • High rejection overhead: Compositional synthesis is lossy—4,022 out of 12,636 initial synthesis steps were rejected for incompatibility, and questions where all three rollouts fail must be discarded because no verified training target exists.
  • Reliance on LLM judges and window tuning: Correctness gating depends on an LLM judge rather than formal symbolic verifiers, and thought-mode granularity relies on choosing a sensible window size ($w=2$); making windows too small fragments reusable logic, while making them too large bundles multiple steps together and breaks atomicity.

Summary updated

Abstract

Although LLMs have made substantial progress in reasoning, systematically producing frontier-level reasoning data remains difficult. Existing synthesis methods often have limited visibility into the structural factors that govern problem difficulty, which can result in narrow diversity and unstable difficulty control. In this work, we view the difficulty of a reasoning problem as arising from the accumulation of atomic knowledge-reasoning transformations, which we term *thought modes*. Building on this perspective, we propose MindLoom, a framework for synthesizing frontier-level reasoning data through compositional thought mode engineering. Given a collection of hard problems with verified solutions, MindLoom first decomposes those solutions into thought mode chains that reveal each problem's construction logic. It then trains a retrieval model that matches problem states to compatible thought modes, providing guidance on which reasoning challenges to introduce during synthesis. New problems are composed by iteratively applying retrieved thought modes to seed questions, with distribution-aligned sampling to encourage diverse reasoning coverage. Finally, a rollout-based judging stage labels generated questions by difficulty and supplies judged-correct responses for supervised fine-tuning. We evaluate MindLoom on nine benchmarks covering five STEM disciplines and four mathematical reasoning tasks across multiple model families and sizes. Models fine-tuned on MindLoom generated data consistently improve over base models, distillation, and external-data baselines across the reported benchmarks. Ablation studies indicate the contribution of each component, and further analysis suggests that MindLoom covers a broad range of reasoning patterns while maintaining useful difficulty control. We have open-sourced our implementation at https://github.com/EachSheep/MindLoom.
BibTeX
@inproceedings{shen2026mindloom,
  author = {Haiyang Shen and Taian Guo and Xuanzhong Chen and Mugeng Liu and Sixiong Xie and Zhuofan Shi and Chongyang Pan and Siqi Zhong and Guoqing Wang and Ming Zhang and Yun Ma},
  title = {{MindLoom: Composing Thought Modes for Frontier-Level Reasoning Data Synthesis}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=1aimZyyAD8},
}
Figure