atlas

Research map / Large language models / Reasoning and chain of thought

Understanding Reasoning Ability of Language Models From the Perspective of Reasoning Paths Aggregation

ICML 2024 · Large language models › Reasoning and chain of thought · approach: Search and self-correction in reasoning · 1 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 viewing LM reasoning as aggregating random-walk reasoning paths from pre-training data, validated on KG reasoning with GPT-2 trained from scratch and on CoT tasks via random-walk continued pre-training of LoRA-tuned LLMs.

Problem

How next-token-prediction pre-training gives rise to LM reasoning ability, both over knowledge graphs and in chain-of-thought math/logic reasoning; and whether unlabeled reasoning paths can improve multi-step reasoning.

Approach

Models LM reasoning as a weighted aggregation of random-walk path probabilities (PRA-inspired) over KGs, and proposes building random-walk reasoning paths from CoT steps via a latent reasoning graph (k-means clustering of reasoning states) to continue pre-train LLMs before SFT.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add random-walk path training before SFTGemma (2B) · GSM8K, AQUA, SVAMP, StrategyQA, LogicalDeductionaccuracy: 24.8 -> 26.1; 31.4 -> 33.9; 56.4 -> 60.3; 54.2 -> 56.3; 50.7 -> 51.6Helped
add random-walk path training before SFTYi (6B) · GSM8K, AQUA, SVAMP, StrategyQA, LogicalDeductionaccuracy: 32.2 -> 33.1; 37.0 -> 39.8; 65.8 -> 67.0; 65.8 -> 70.0; 62.2 -> 63.3Helped
add random-walk path training before SFTLlama 2 (7B) · GSM8K, AQUA, SVAMP, StrategyQA, LogicalDeductionaccuracy: 26.8 -> 28.5; 30.0 -> 34.6; 53.3 -> 55.8; 58.4 -> 63.7; 55.3 -> 56.1Helped
add random-walk path training before SFTLlama 2 (13B) · GSM8K, AQUA, SVAMP, StrategyQA, LogicalDeductionaccuracy: 37.1 -> 41.2; 35.0 -> 37.4; 66.4 -> 69.0; 69.5 -> 71.2; 55.7 -> 57.7Helped
use a multi-step random walk instead of path length oneCoT random-walk training · GSM8K, AQUA, SVAMPaccuracyHelped
increase random-walk path length beyond the optimal rangeCoT random-walk training · GSM8K, AQUA, SVAMPaccuracyHurt
increase random-walk training steps from 0 to 200 (ablation)Llama 2 (7B) · GSM8Kaccuracy: 26.8 -> 27.5Helped
increase random-walk training steps from 500 to 1000 (ablation)Llama 2 (7B) · GSM8K, AQUA, SVAMPaccuracy: 28.5 -> 24.9; 34.6 -> 32.3; 55.8 -> 51.6Hurt
use 100 clusters/nodes instead of 0 (SFT baseline) (ablation)Llama 2 (7B) · GSM8K, AQUA, SVAMPaccuracy: 26.8 -> 28.5; 30.0 -> 34.6; 53.3 -> 55.8Helped
increase clusters/nodes from 100 to 200 (ablation)Llama 2 (7B) · GSM8K, AQUA, SVAMPaccuracy: 28.5 -> 26.6; 34.6 -> 31.1; 55.8 -> 52.5Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Countries UMLS Kinship NELL-995 FB15K-237 GSM8K AQUA SVAMP MAWPS ASDiv-A StrategyQA LogicalDeduction (BIG-bench)

Benchmarks: Countries UMLS Kinship NELL-995 FB15K-237 GSM8K AQUA SVAMP StrategyQA LogicalDeduction

Metrics: accuracy KL divergence

Baselines: supervised fine-tuning (SFT) path ranking algorithm (PRA)

Builds on: path ranking algorithm chain-of-thought prompting LoRA GPT-2

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