atlas

Research map / Large language models / Agents, code and math

Flow of Reasoning: Training LLMs for Divergent Reasoning with Minimal Examples

ICML 2025 · Large language models › Agents, code and math · approach: Mathematical and structural reasoning benchmarks · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Flow of Reasoning (FoR), a GFlowNet-based trajectory-balance finetuning of LLMs on DAG-structured reasoning graphs that samples diverse high-reward reasoning paths from minimal (about 15-20) training examples.

Problem

Existing LLM multi-step reasoning methods optimize top-1 accuracy and yield few diverse valid solutions; SFT needs lots of labeled data and reward-maximizing RL collapses diversity.

Approach

Formulates multi-step LLM reasoning as a Markovian flow on a DAG and finetunes the LLM forward policy with a trajectory-balance GFlowNet objective (log-variance form), so trajectories are sampled proportional to reward, combined with off-policy replay, epsilon-sampling and a local search that destroys and reconstructs high-reward trajectories.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train with FoR rather than RAPLlama-3-8B · BlocksWorld 4-stepaccuracy (%): 92.86 -> 98.41 (1.12)Helped
Train with FoR rather than SFTLlama-3-8B · Game24diversity: 1.18 -> 1.30 (0.09)Helped
Train with FoR rather than XoTLlama-3-8B · Rubik's Cubeaccuracy (%): 4.92 -> 10.87 (1.18)Helped
Train with FoR rather than CoTLlama-3-8B · 1D-ARCaccuracy (%): 39.51 (1.94) -> 50.37 (1.60)Helped
Add PRM to FoR (ablation)FoR on Llama-3-8B · GSM8Kaccuracy (%): 57.39 -> 62.62Helped
Add STaR to FoR (ablation)FoR on Llama-3-8B · PrOntoQA in-distributionproof accuracy (%): 54.60 (1.50) -> 54.70 (1.41)No clear effect
Remove local search (ablation)FoR on Llama-3-8B · BlocksWorld 6-stepaccuracy (%): 78.44 (4.54) -> 53.90 (2.10)Hurt
Add local search (ablation)FoR without local search on Llama-3-8B · BlocksWorld 6-stepaccuracy (%): 53.90 (2.10) -> 78.44 (4.54)Helped
Remove augmented rewards (ablation)FoR on Llama-3-8B · BlocksWorld 6-stepaccuracy (%): 78.44 (4.54) -> 47.10 (1.30)Hurt
Add augmented rewards (ablation)FoR without augmented rewards on Llama-3-8B · BlocksWorld 6-stepaccuracy (%): 47.10 (1.30) -> 78.44 (4.54)Helped
Remove replay buffer (ablation)FoR on Llama-3-8B · BlocksWorld 6-stepaccuracy (%): 78.44 (4.54) -> 72.38 (1.71)Hurt
Add replay buffer (ablation)FoR without replay buffer on Llama-3-8B · BlocksWorld 6-stepaccuracy (%): 72.38 (1.71) -> 78.44 (4.54)Helped

Surprising findings

Limitations

Experimental setup

Datasets: BlocksWorld LLM-reasoner Game24 dataset Rubik's Cube dataset 1D-ARC GSM8K PrOntoQA

Benchmarks: BlocksWorld Game of 24 Rubik's Cube 1D-ARC GSM8K PrOntoQA

Metrics: accuracy diversity creativity runtime

Baselines: CoT ToT RAP GoT XoT SFT PPO GFN-CoT STaR

Builds on: GFlowNet trajectory balance STaR RAP

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy