Temporal Consistency for LLM Reasoning Process Error Identification

Jiacheng Guo, Yue Wu, Jiahao Qiu, Kaixuan Huang, Xinzhe Juan, Ling Yang, Mengdi Wang

TL;DR

Evaluating step-by-step mathematical reasoning usually requires expensive Process Reward Models (PRMs) or brittle test-time voting and debate schemes. This paper introduces Temporal Consistency, a training-free verification framework where multiple isolated LLM agents iteratively self-critique their own previous judgments over sequential rounds. By enforcing consensus stability over time rather than allowing models to debate each other, lightweight 7B/8B distilled models surpass GPT-4o and 70B models on process error detection benchmarks.

What Problem Does This Paper Address?

Complex mathematical problem solving in Large Language Models (LLMs) requires pinpointing exactly where a multi-step solution breaks down. While Process Reward Models (PRMs) can score intermediate steps, they are notoriously data-hungry to train, generalize poorly across problem domains, and are bound by base model capabilities.

Training-free alternatives also struggle:

  • Majority voting fails when subtle logical errors are caught by only a minority of models.
  • Multi-agent debate often degenerates due to an argument asymmetry: flawed arguments tend to produce verbose, convincing justifications that persuade other agents to abandon concise, correct critiques.

The authors set out to build an inference-time verification strategy that scales reliably without cross-agent contamination or model retraining.

Methods

Rather than scaling horizontally (generating parallel independent samples) or letting agents debate, Temporal Consistency scales vertically across the temporal dimension:

  1. Initial Verification Phase: $K$ parallel, isolated LLM verifiers (typically $K=5$) inspect a problem and step-by-step solution, each predicting the index of the first incorrect step (or $-1$ if fully correct) along with an explanation.
  2. Iterative Self-Checking Phase: At round $t \ge 2$, each verifier reviews the problem, the solution, and its own previous judgment and reasoning in strict isolation. Crucially, models never see the reasoning of other agents.
  3. Early-Stopping Criteria: Instead of running for a fixed number of rounds ($T=10$), the algorithm evaluates two conditions over $q$ consecutive rounds (e.g., $q=3$):
  4. Majority Stability: The majority error index across all $K$ agents remains unchanged over $q$ rounds.
  5. Growing Consensus: The proportion of agents supporting that majority index is non-decreasing over those $q$ rounds ($p_{t-q+1} \le \dots \le p_t$).

Once both conditions are met, the algorithm terminates early and returns the consensus error index.

Problem + Steps ──► [LLM Verifier 1..K] ──► Initial Verdicts (loc_1)
                           │
                           ▼ (Isolated Self-Check)
                    [LLM Verifier 1..K] ──► Updated Verdicts (loc_t)
                           │
                           ▼
              Stable & Growing Consensus over q rounds?
                     ├── Yes ──► Output loc_t
                     └── No  ──► Next round (up to max T)

Datasets

The authors evaluate on three key process verification benchmarks:

  • ProcessBench: 3,400 problems spanning four difficulty tiers (GSM8K, MATH, OlympiadBench, and Omni-MATH) annotated with the earliest incorrect step.
  • MathCheck*: A balanced benchmark combining 516 process-judging incorrect problems from MathCheck (GSM8K-derived) with correct solutions from ProcessBench.
  • PRM800K: 300 randomly sampled MATH problems annotated with step-level labels.

Key Insights and Ideas

  • Temporal Stability as a Proxy for Truth: When models make correct judgments, they tend to remain confident and consistent upon self-reflection. When their initial verdict is an artifact of hallucination, re-evaluating their own critique frequently leads to self-correction or drift.
  • Isolation Outperforms Debate: By preventing agents from seeing one another's reasoning, the framework avoids "groupthink" where an articulate but logically invalid criticism derails accurate verifiers.
  • Stopping Criteria Prevent Overthinking: Continuing self-reflection past convergence can cause performance degradation (e.g., dropping from 57.7% to 53.7% on PRM800K when forced to run 10 rounds). The heuristic stopping criteria terminate when confidence peaks, cutting average rounds to ~3.1–3.5.
  • A New Test-Time Scaling Law: Computational budget can be spent along the depth of self-reflection over time rather than purely on wider sampling breadths.

Key Results

  • Massive Gains on Distilled Reasoners:
  • On DeepSeek-R1-Distill-Llama-8B, Temporal Consistency boosts F1 scores dramatically over greedy decoding: 82.5% vs. 35.9% (+46.6%) on MathCheck*, 67.2% vs. 29.3% (+37.9%) on ProcessBench, and 50.2% vs. 21.2% (+29.0%) on PRM800K.
  • DeepSeek-R1-Distill-Qwen-7B reaches 71.3% on ProcessBench, outperforming GPT-4o (69.1%) and massive open-source models like Qwen2.5-72B-Instruct (61.2%) and Llama-3.3-70B-Instruct (58.0%).
  • DeepSeek-R1-Distill-Qwen-14B achieves performance comparable to the full 671B DeepSeek-R1.
  • Broad Model Generalization: Outperforms greedy decoding, majority voting, and multi-agent debate across standard models including GPT-4o, GPT-4o mini, Llama-3.1-8B-Instruct, and Mistral-7B-Instruct.
  • Harder Problems Benefit Most: On OlympiadBench and Omni-MATH ("Hard" tier of ProcessBench), Temporal Consistency reaches 64.2% F1, compared to 27.0% for greedy decoding and 53.5% for majority voting.

Limitations and Future Work

  • Inference Latency and Cost: Sequential self-verification rounds increase wall-clock latency compared to single-pass verification.
  • Domain Scope: The approach was evaluated exclusively on mathematical step-by-step reasoning; its applicability to code debugging, open-ended reasoning, or factual retrieval remains untested.
  • Systematic Model Blindspots: Because agents rely on internal self-assessment without access to an external ground-truth tool or formal solver, systematic biases shared across rounds cannot always be corrected.

Summary updated

BibTeX
@inproceedings{guo2025temporal,
  author = {Jiacheng Guo and Yue Wu and Jiahao Qiu and Kaixuan Huang and Xinzhe Juan and Ling Yang and Mengdi Wang},
  title = {{Temporal Consistency for LLM Reasoning Process Error Identification}},
  booktitle = {VerifAI @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=sM5QDzIg3j},
}

Loading related content...

Figure