Reasoning Topology Matters: Network-of-Thought for Complex Reasoning Tasks
Organizations: Indiana University Bloomington
Abstract
Existing prompting paradigms structure LLM reasoning in limited topologies: Chain-of-Thought (CoT) produces linear traces, while Tree-of-Thought (ToT) performs branching search. Yet complex reasoning often requires merging intermediate results, revisiting hypotheses, and integrating evidence from multiple sources. We propose Network-of-Thought (NoT), a framework that models reasoning as a directed graph with typed nodes and edges, guided by a heuristic-based controller policy. Across four benchmarks (GSM8K, Game of 24, HotpotQA, ProofWriter) and three models (GPT-4o-mini, Llama-3.3-70B-Instruct, Qwen2.5-72B-Instruct), we investigate when network topology outperforms chain or tree structures, whether LLM-generated heuristics can guide graph-based reasoning search, and the computation-accuracy tradeoff across topologies, evaluating each method on accuracy, topology simplicity, and token efficiency. Our results show that CoT remains effective for sequential tasks with GPT-4o-mini (89.5% on GSM8K), while NoT surpasses ToT on multi-hop reasoning (91.0% vs.\ 88.0% on HotpotQA with LLM-as-Judge). With 72B open-source models, NoT achieves the highest accuracy on GSM8K (91.5%), and Qwen2.5-72B achieves the best multi-hop QA result overall (91.7% on HotpotQA). Self-generated controller heuristics outperform fixed and random strategies on logical reasoning, with uncertainty-only weighting achieving 57.0% on ProofWriter. We also find that evaluation methodology significantly impacts method rankings: string-match underestimates all methods on open-ended QA, with the largest gap for NoT, a pattern consistent across all three models (14--18 percentage point gap on HotpotQA).
Figures & tables
| Topology | Structure | Reasoning property | Compute cost |
|---|---|---|---|
| Chain (CoT) | Linear | Sequential reasoning | |
| Tree (ToT) | Branching | Search reasoning | |
| Network (NoT) | Directed graph | Dependency reasoning |
| Dataset | Task type | Expected best topology | |
|---|---|---|---|
| GSM8K ( Cobbe et al., 2021 ) | Math reasoning | 200 | Chain (sequential arithmetic) |
| Game of 24 | Search reasoning | 100 | Tree (combinatorial search) |
| HotpotQA ( Yang et al., 2018 ) | Multi-hop QA | 300 | Network (multi-source) |
| ProofWriter ( Tafjord et al., 2021 ) | Logical reasoning | 300 | Network (hypothesis revision) |
| Dataset | CoT (SM) | ToT (SM) | NoT (SM) | NoT (Judge) |
|---|---|---|---|---|
| GSM8K | 89.5 | 69.5 | 82.0 | 85.0 |
| Game of 24 | 58.0 | 11.0 | 75.0 | 86.0 |
| HotpotQA | 86.3 | 72.3 | 73.3 | 91.0 |
| ProofWriter | 43.3 | 51.7 | 49.0 | 50.3 |
| Dataset | Controller | SM (%) | Judge (%) | Avg Tokens |
|---|---|---|---|---|
| HotpotQA | Random | 73.3 | 88.7 | 12,215 |
| Fixed | 71.7 | 88.0 | 14,971 | |
| Self-Gen. | 71.7 | 88.0 | 15,068 | |
| ProofWriter | Random | 49.7 | 49.7 | 30,906 |
| Fixed | 51.3 | 51.3 | 28,411 | |
| Self-Gen. | 54.0 | 54.0 | 26,536 |
| Dataset | Method | Acc (%) | Avg Tok | Tok/Corr | Avg Nodes | Avg Edges | Avg Density |
|---|---|---|---|---|---|---|---|
| GSM8K | CoT (SM) | 89.5 | 490 | 548 | 7.3 | 6.3 | 0.137 |
| ToT (SM) | 69.5 | 6,347 | 9,132 | 21 | 20 | 0.048 | |
| NoT (J) | 85.0 | 7,748 | 9,116 | 7.2 | 8.8 | 0.196 | |
| Game of 24 | CoT (SM) | 58.0 | 1,161 | 2,002 | 4.1 | 3.1 | 0.244 |
| ToT (SM) | 11.0 | 6,352 | 57,745 | 21 | 20 | 0.048 | |
| NoT (J) | 86.0 | 16,004 | 18,609 | 9.2 | 10.4 | 0.139 |
| Dataset | Model | CoT (SM) | ToT (SM) | NoT (SM) | NoT (J) |
|---|---|---|---|---|---|
| GSM8K | GPT-4o-mini | 89.5 | 69.5 | 82.0 | 85.0 |
| Llama-3.3-70B | 91.0 | 76.5 | 91.5 | 91.5 | |
| Qwen2.5-72B | 82.0 | 63.5 | 91.5 | 91.5 | |
| Game of 24 | GPT-4o-mini | 58.0 | 11.0 | 75.0 | 86.0 |
| Llama-3.3-70B | 48.0 | 59.0 | 61.0 | 66.0 | |
| Qwen2.5-72B | 48.0 | 38.0 | 38.0 | 42.0 |
| Dataset | Controller | GPT-4o-mini | Llama-3.3-70B | Qwen2.5-72B |
|---|---|---|---|---|
| HotpotQA | Random | 88.7 | 89.0 | 90.3 |
| Fixed | 88.0 | 89.3 | 91.0 | |
| Self-Gen. | 88.0 | 89.7 | 90.3 | |
| ProofWriter | Random | 49.7 | 63.3 | 66.3 |
| Fixed | 51.3 | 52.7 | 69.0 | |
| Self-Gen. | 54.0 | 53.7 | 68.7 |
| Total tokens | NoT graph properties | ||||||
|---|---|---|---|---|---|---|---|
| Problem | CoT | ToT | NoT | Nodes | Edges | Tok/Node | |
| IMO-24 | 1,011 | 334,039 | 66,433 | 130 | 128 | 32.1 | 511 |
| IMO-23 | 1,485 | 365,190 | 111,301 | 151 | 141 | 40.8 | 737 |
| Collatz | 1,490 | 243,977 | 645,104 | 800 | 768 | 168.2 | 806 |
| SM (%) | Judge (%) | Avg Tok | Avg Time (s) | Speedup | Tok Overhead | |
|---|---|---|---|---|---|---|
| 1 | 74.0 | 90.0 | 15,229 | 27.2 | 1.00 | 1.00 |
| 2 | 73.0 | 87.0 | 15,345 | 16.7 | 1.63 | 1.01 |
| 3 | 71.0 | 88.0 | 16,375 | 19.3 | 1.41 | 1.08 |
| 4 | 73.0 | 87.0 | 15,923 | 16.5 | 1.65 | 1.05 |
| Model | Params | SM (%) | Judge (%) | Avg Tok | Avg Nodes | Reuse |
|---|---|---|---|---|---|---|
| Qwen2.5-1.5B | 1.5B | 54.0 | 64.0 | 9,734 | 2.6 | 0.036 |
| Qwen2.5-3B | 3.0B | 58.0 | 69.0 | 18,032 | 5.4 | 0.111 |
| Llama-3.2-3B | 3.0B | 61.0 | 73.0 | 25,390 | 11.2 | 0.173 |
| Phi-3.5-mini | 3.8B | 64.0 | 78.0 | 18,648 | 8.1 | 0.187 |
| Qwen2.5-7B | 7.0B | 64.0 | 77.0 | 14,991 | 4.6 | 0.244 |
| GPT-4o-mini | — | 74.0 | 90.0 | 15,229 | 5.2 | 0.226 |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.