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

Haiyang Shen, Taian Guo, Xuanzhong Chen, Mugeng Liu, Weichen Bi, Wenchun Jing, Sixiong Xie, Zhuofan Shi, Yudong Han, Chongyang Pan, Siqi Zhong, Jinsheng Huang, Ming Zhang, Yun MaarXiv 2026

TL;DR

MindLoom is a novel data synthesis framework that generates high-quality, frontier-level reasoning data by breaking down complex problems into atomic "thought modes" and recombining them into entirely new challenges. By fine-tuning models on a compact budget of just ~9,200 MindLoom-synthesized examples, the researchers achieved significant performance gains across difficult STEM and competition-math benchmarks, outperforming standard knowledge distillation and much larger external datasets.

What Problem Does This Paper Address?

While Large Language Models (LLMs) have advanced rapidly in basic reasoning, training them on frontier-level, complex reasoning tasks remains a bottleneck. Current data generation approaches suffer from distinct limitations:

  1. Lack of structural visibility: Standard prompting or mutation methods change the surface text of a problem but keep the underlying logic homogeneous.
  2. Scalability issues: Relying on human experts to handcraft complex benchmarks is slow, expensive, and cannot scale to training-volume requirements.
  3. Data selection bounds: Selecting high-quality data from existing pools is inherently limited by the diversity of the source pool.

MindLoom addresses these gaps by shifting the focus from monolithic "difficulty" to a controllable, compositional structure, treating a hard problem as an accumulation of atomic knowledge-reasoning steps.

Methods

The MindLoom framework operates via a four-stage pipeline:

Overview of the MindLoom Pipeline
  1. Thought Mode Extraction (Reverse Engineering): MindLoom takes hard problems with verified solutions and breaks them down backward from the solution's tail. It isolates dependencies to create a minimal "seed question" and extracts a chain of thought modes—atomic knowledge-reasoning transformations (e.g., introducing an integral or applying a specific theorem) that add layers of complexity. This populates a Thought Mode Bank.
  2. Retrieval Learning: To determine which thought mode can logically follow a given problem state, the authors train an embedding-based bi-encoder model using margin ranking loss and asynchronous hard negative mining (ANCE).
  3. Distribution-Aligned Compositional Synthesis: New problems are composed by iteratively applying retrieved thought modes to seed questions. To prevent the model from generating repetitive problem types (mode collapse), a scarcity reward is introduced. This score penalizes overrepresented reasoning clusters and encourages the pipeline to match a natural reference distribution.
  4. Rollout-Based Filtering & Conversion: The generated questions undergo multi-rollout inference. An LLM judge filters them into difficulty tiers (all-correct, partial, all-wrong). Questions with at least one judged-correct rollout are retained, filtered for potential benchmark contamination, and converted into supervised fine-tuning (SFT) records.

Datasets

  • Thought Mode Bank Construction: Built from 58,526 source problems aggregated across 16 datasets, including SuperGPQA, MMLU-Pro, Hendrycks-MATH, OlympiadBench, and ARC-AGI-2.
  • Evaluation Benchmarks: The framework was evaluated on nine diverse benchmarks spanning five STEM disciplines and four math tasks: CS-Bench, ChemBench, HLE (Hard LLM Evaluation), MedQA, SciBench, MATH-500, HMMT (Harvard-MIT Mathematics Tournament) February & November 2025, and AIME 2025.

Key Insights and Ideas

  • Deconstruction is easier than construction: Isolating reasoning dependencies is significantly cleaner when working backward from the tail of a verified solution rather than trying to guess a problem's construction logic from scratch.
  • The power of the Scarcity Reward: Naive composition algorithms naturally gravitate toward a small set of common algebraic or logical steps. Introducing a bounded scarcity reward forces the generator to explore rarer reasoning patterns (like geometric or vector reasoning), which directly translates to better downstream benchmark performance.
  • Data quality beats data volume: Rather than flooding a model with hundreds of thousands of generic reasoning steps, iteratively composing complex, multi-layered challenges allows a tiny dataset (~9k examples) to achieve state-of-the-art fine-tuning efficiency.

Key Results

The authors evaluated MindLoom across multiple model families (Qwen3 and Qwen3.5) and sizes (4B, 8B, and 9B).

Table 1: Main results. Each cell reports pass@1 / pass@3 (%), with the best value in each model-size block in bold. HMMT-Feb. and HMMT-Nov. denote the February and November 2025 splits.
  • Outperforming Baselines: Models fine-tuned on MindLoom data consistently outperformed base models, standard trajectory-level distillation (DS-V3.2 Distill), and massive external datasets like MegaScience and OpenThought.
  • Massive Gains in Competition Math: For Qwen3-4B, MindLoom pushed the pass@3 score on MATH-500 from 90.20% to 98.60%, and more than doubled performance on HMMT-Feb (from 20.00% to 43.33%).
  • Ablation Verification: Ablation studies confirmed that removing the rollout filter (w/o Filter) caused the most severe performance drops, proving that rigorous difficulty verification is essential for high-quality SFT data.
Table 2: Ablation study. Each cell reports pass@1 / pass@3 (%), with the best value in each block in bold. w/o Scarcity sets α=1.0 so selector sampling uses similarity only. w/o Filter skips rollout-based filtering while still applying source-provenance filtering. Random Retriever replaces learned retrieval with random candidates. w/o Reverse Eng. builds the thought-mode bank directly from rollouts.

Limitations and Future Work

While highly effective, MindLoom's primary limitation is that its synthesis diversity is strictly bounded by its initial Thought Mode Bank. If the reference corpus lacks a specific type of advanced reasoning, the pipeline cannot generate it. Additionally, the current framework operates entirely in a text-only setting.

Future work aims to scale MindLoom to larger model sizes, integrate the pipeline with reinforcement learning (RL) frameworks, and extend the thought-mode composition concept into multi-modal environments.

Summary updated

BibTeX
@misc{shen2026mindloom,
  author = {Haiyang Shen and Taian Guo and Xuanzhong Chen and Mugeng Liu and Weichen Bi and Wenchun Jing and Sixiong Xie and Zhuofan Shi and Yudong Han and Chongyang Pan and Siqi Zhong and Jinsheng Huang and Ming Zhang and Yun Ma},
  title = {{MindLoom: Composing Thought Modes for Frontier-Level Reasoning Data Synthesis}},
  year = {2026},
  eprint = {2605.21630},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.21630},
}
Figure