{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2512-00831","title":"ReJump: A Tree-Jump Representation for Analyzing and Improving LLM Reasoning","arxiv_id":"2512.00831","date":"2025-11-30","proceeding":"ICML","authors":["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"],"abstract":"Large Reasoning Models (LRMs) are Large Language Models (LLMs) explicitly trained to generate long-form Chain-of-Thoughts (CoTs), achieving impressive success on challenging tasks like math and programming. However, their underlying reasoning \"algorithms\" remain poorly understood. To investigate this, we propose ReJump, which represents a reasoning trace as a visitation order over nodes in a tree of intermediate problem-solving steps. Transitions between nodes, which we term jumps, include adjacent moves that capture behaviors such as calculation, and non-adjacent moves that capture behaviors such as backtracking and verification. ReJump enables analyzing LLM reasoning with diverse metrics that quantify exploration, exploitation, overthinking, forgetting, and verification. Using our proposed LLM agent to extract reasoning traces into ReJump format, we evaluate state-of-the-art LRMs on two tasks and find that models with similar accuracy can exhibit distinct reasoning behaviors, while different tasks favor different reasoning styles (e.g., varying balance between exploration and exploitation). To further understand how learning strategies shape reasoning, we use ReJump to compare distilled LRMs with their teachers, CoT-prompted LLMs with LRMs, and to examine how the number of reasoning examples and reinforcement learning affect reasoning behavior. Finally, we show that ReJump can improve reasoning quality at test time through strategies such as ReJump-guided Best-of-N selection and prompt selection. Our code is publicly available at https://github.com/UW-Madison-Lee-Lab/ReJump.","url_abs":"https://arxiv.org/abs/2512.00831","url_pdf":"https://arxiv.org/pdf/2512.00831","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2512.00831","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2512.00831"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/UW-Madison-Lee-Lab/ReJump","reach":null}],"summary":{"ran_draft_wrong":2,"ran":1,"ran_honours":1,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":5,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":5,"samples":[{"code_sha256_prefix":"894c8b34686c78ef","entry":"_build_tree_info_from_parent_links","repo":"UW-Madison-Lee-Lab/ReJump","repo_kind":"found_in_text","path":"rejump_extractor/tree_vis_math_v3_2.py","file_url":"https://github.com/UW-Madison-Lee-Lab/ReJump/blob/HEAD/rejump_extractor/tree_vis_math_v3_2.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"894c8b34686c78ef"}},{"code_sha256_prefix":"e8f3262857ccd135","entry":"_filter_leaf_visits","repo":"UW-Madison-Lee-Lab/ReJump","repo_kind":"found_in_text","path":"rejump_extractor/tree_vis_math_v3_2.py","file_url":"https://github.com/UW-Madison-Lee-Lab/ReJump/blob/HEAD/rejump_extractor/tree_vis_math_v3_2.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e8f3262857ccd135"}},{"code_sha256_prefix":"649c5a8c64eb2742","entry":"_get_distance","repo":"UW-Madison-Lee-Lab/ReJump","repo_kind":"found_in_text","path":"rejump_extractor/tree_vis_math_v3_2.py","file_url":"https://github.com/UW-Madison-Lee-Lab/ReJump/blob/HEAD/rejump_extractor/tree_vis_math_v3_2.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"649c5a8c64eb2742"}},{"code_sha256_prefix":"9af11398189d9fed","entry":"_reconstruct_walk_sequence","repo":"UW-Madison-Lee-Lab/ReJump","repo_kind":"found_in_text","path":"rejump_extractor/tree_vis_math_v3_2.py","file_url":"https://github.com/UW-Madison-Lee-Lab/ReJump/blob/HEAD/rejump_extractor/tree_vis_math_v3_2.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9af11398189d9fed"}},{"code_sha256_prefix":"070020b9802291cd","entry":"compute_filtered_average_jump_distance","repo":"UW-Madison-Lee-Lab/ReJump","repo_kind":"found_in_text","path":"rejump_extractor/tree_vis_math_v3_2.py","file_url":"https://github.com/UW-Madison-Lee-Lab/ReJump/blob/HEAD/rejump_extractor/tree_vis_math_v3_2.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"070020b9802291cd"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_api"},"syntology_extracted_results":null}