ReJump: A Tree-Jump Representation for Analyzing and Improving LLM Reasoning

Yuchen Zeng, Shuibai Zhang, Wonjun Kang, Shutong Wu, Lynnix Zou, Ying Fan, Heeju Kim, Ziqian Lin, Jungtaek Kim, Hyung Il Koo, Dimitris Papailiopoulos, Kangwook Lee

TL;DR

This paper introduces ReJump, a novel tree-based representation for analyzing the reasoning processes of Large Language Models (LLMs). ReJump allows for a deeper understanding of how LLMs solve problems by quantifying behaviors like exploration, verification, and overthinking, moving beyond just final answer accuracy. This representation also enables new methods for improving LLM performance at test time.

What Problem Does This Paper Address?

While Large Reasoning Models (LRMs) have shown impressive capabilities in complex tasks like math and programming through Chain-of-Thought (CoT) prompting, their internal reasoning mechanisms remain largely a black box. Current evaluations primarily focus on the final answer, overlooking the diverse strategies models might employ to reach it. This lack of understanding hinders our ability to diagnose model weaknesses, compare different models effectively, and develop targeted improvements. The paper aims to bridge this gap by providing a structured way to represent and analyze LLM reasoning traces.

Methods

The core contribution is the ReJump representation, which models a reasoning trace as a two-layer structure:

  1. Tree Layer: This layer captures the hierarchical structure of intermediate problem-solving steps, where nodes represent partial solutions and edges denote dependencies.
  2. Jump Layer: This layer represents the actual traversal through the tree, detailing the sequence of visited nodes and the type of transition between them. These transitions are categorized as:
  3. Calculation/Derivation: Moving forward to generate a new step.
  4. Verification: Revisiting a node to check its correctness.
  5. Backtracking: Returning to a previous node to explore an alternative path.

This representation allows for the quantification of various reasoning behaviors using metrics like Solution Count, Jump Distance (measuring exploration vs. exploitation), Success Rate, Verification Rate, Overthinking Rate, and Forgetting Rate. The authors also developed a ReJump-Extractor, an LLM agent that automatically converts raw reasoning traces into this ReJump format.

Datasets

The paper evaluates its approach on two primary datasets:

  • MATH-500: A benchmark for mathematical reasoning, characterized by deterministic problems with typically one or two solution paths.
  • Game of 24: A task requiring strong planning and enabling clear inspection of exploration and exploitation strategies, often involving trial-and-error.

The authors also mention using Sudoku, ZebraLogic, and AIME'26 for extended comparisons.

Key Insights and Ideas

  • Reasoning is More Than Just the Answer: Models with identical final accuracy can exhibit vastly different reasoning strategies. ReJump provides the tools to uncover these differences.
  • Tasks Shape Reasoning: Different problem types inherently favor different reasoning styles. MATH-500, for instance, rewards focused exploitation and success rate, while Game of 24 benefits from a balance of exploration and exploitation.
  • LRMs are More Deliberate: Compared to standard LLMs prompted with CoT, LRMs (models explicitly trained for reasoning) tend to exhibit more exploratory and verification-oriented behaviors.
  • Distillation Preserves Reasoning Style: Distilled models inherit the reasoning behaviors of their teacher models, which can sometimes lead to reduced success rates on certain tasks if the inherited behavior isn't optimal.
  • In-Context Examples Tune Actions, Not Structure: Adding more in-context examples primarily influences the model's reasoning actions (like verification) rather than its high-level problem decomposition strategy.
  • ReJump Improves Performance: The ReJump representation can be used to guide test-time strategies like Best-of-N selection and prompt selection, leading to improved accuracy.

Key Results

  • The ReJump-Extractor achieves high similarity (over 0.9) with human annotations on Game of 24 and over 80% accuracy on MATH-500.
  • Analysis of state-of-the-art LRMs reveals distinct reasoning profiles across tasks and models, even for those with similar final accuracy.
  • ReJump-guided Best-of-N selection and prompt selection improved performance on the Game of 24 benchmark by 6.8% to 9.1%.
  • The paper demonstrates that metrics derived from ReJump are robust to prompt variations and extractor noise.

Limitations and Future Work

  • Extraction Cost: The ReJump-Extractor relies on a capable LLM, making it potentially costly for large-scale deployment or training. Future work suggests using smaller, specialized extractors.
  • Semantic/Temporal Differences: Current tree and jump similarity metrics focus on structure and transitions, potentially overlooking semantic content or temporal nuances in reasoning. Future work could incorporate LLM-based content comparison and alignment scores.
  • Task Adaptation: Applying ReJump to new tasks currently requires some manual effort in defining granularity and extraction prompts. Automating this process by learning from data is a promising direction.

Summary updated

BibTeX
@inproceedings{zeng2026rejump,
  author = {Yuchen Zeng and Shuibai Zhang and Wonjun Kang and Shutong Wu and Lynnix Zou and Ying Fan and Heeju Kim and Ziqian Lin and Jungtaek Kim and Hyung Il Koo and Dimitris Papailiopoulos and Kangwook Lee},
  title = {{ReJump: A Tree-Jump Representation for Analyzing and Improving LLM Reasoning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=hlUgEwl3Du},
}
Figure