atlas

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

GSM-$\infty$: How Do your LLMs Behave over Infinitely Increasing Reasoning Complexity and Context Length?

ICML 2025 · Large language models › Reasoning and chain of thought · approach: Routing, pruning and distillation for reasoning

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.

Introduces GSM-∞, a synthetic long-context math reasoning benchmark generated from computational graphs with controllable reasoning complexity (operation count) and injected noise, and evaluates 18 LLMs on zero-noise and 8K–32K settings.

Problem

Existing long-context benchmarks have low reasoning complexity, detectable noise, and limited quantity of hard examples, so they cannot quantitatively measure how LLM reasoning degrades with increasing complexity and context length.

Approach

Generate grade-school math problems from randomly sampled computational graphs, with implicit +, −, ×, ÷ operations via abstract parameters and a reverse mode, and inject noise as "spider topology" extensions of the core graph that RAG retrievers cannot separate from essential content, giving unlimited difficulty and context length.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase the number of required operationsLLMs evaluated on GSM-∞ · GSM-∞ zero-noise tasksaccuracyHurt
Increase context length from 8K to 16K to 32KGemini-1.5-Pro-002 · GSM-∞ long-context tasksaverage AUC: 1182.43 -> 896.31 -> 812.96Hurt
Use reverse rather than forward problem orderingMistral-Large · GSM-∞ MediumAUC: 3468.234100 -> 2431.732450Hurt
Use reverse rather than forward problem orderingMistral-Large · GSM-∞ HardAUC: 2570.940500 -> 2018.469000Hurt
Use reverse rather than forward problem orderingDeepSeek-R1 · GSM-∞ HardAUC: 8444.500000 -> 8756.950000Helped
Use GSM-∞ graph-generated noise instead of LLM-generated or random noise (ablation)Llama3.1-70B-Instruct · GSM-∞ 8K noise-injected tasksperformanceHurt
Use GSM-∞ graph-generated noise instead of LLM-generated or random noise (ablation)RAG · GSM-∞ 8K noise-injected tasksperformanceHurt
Increase repeated-sampling trialsQwen2.5-7B-Instruct and Llama3.1-8B-Instruct · GSM-∞ zero-context HardAUCHelped
Use one of the three task templates rather than mixing templates (ablation)Llama3.1-8B-Instruct · GSM-∞ template ablationperformanceNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: GSM-8K

Benchmarks: GSM-∞ (Symbolic, Medium, Hard) RULER LongBench LongBench v2 LOFT

Metrics: area under curve (AUC) over operation count accuracy sigmoid fit R^2 pass@k-style repeated sampling accuracy

Baselines: RULER LongBench LongBench v2 LOFT OnePassRAG InteractiveRAG

Builds on: GSM-8K Ye et al. 2024 abstract/instance parameter framework RULER FLARE active RAG best-of-N repeated sampling

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