{"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-2605-07315","title":"LaTER: Efficient Test-Time Reasoning via Latent Exploration and Explicit Verification","arxiv_id":"2605.07315","date":"2026-05-08","proceeding":null,"authors":["Xuan Li","Yining Wang","Yuchen Liu","Guanjun Liu","Delai Qiu","Shengping Liu","Jiaen Liang","Wei Huang","Jun Yu","Junnan Zhu"],"abstract":"Chain-of-thought (CoT) reasoning improves large language models (LLMs) on difficult tasks, but it also makes inference expensive because every intermediate step must be generated as a discrete token. Latent reasoning reduces visible token generation by propagating continuous states, yet replacing explicit derivations with latent computation can hurt tasks that require symbolic checking. We propose Latent-Then-Explicit Reasoning (LaTER), a two-stage paradigm that first performs bounded exploration in a continuous latent space and then switches to explicit CoT for verification and answer generation. In a training-free instantiation, LaTER projects final-layer hidden states back to the input embedding space, preserves the latent KV cache, and uses entropy and model-native stop-token probes to decide when to switch. We find that strong reasoning models already exhibit structured latent trajectories under this interface. On Qwen3-14B, training-free LaTER reduces total token usage by 16%-32% on several benchmarks while matching or improving accuracy on most of them; for example, it improves AIME 2025 from 70.0% to 73.3% while reducing tokens from 15,730 to 10,661. We further construct Latent-Switch-69K, a supervised corpus that pairs condensed solution intuitions with shortened explicit derivations. Fine-tuning with latent rollout and halting supervision yields additional gains: trained LaTER reaches 80.0% accuracy on AIME 2025, 10.0 points above the standard CoT baseline, while using 33% fewer tokens. Our code, data, and model are available at https://github.com/TioeAre/LaTER.","url_abs":"https://arxiv.org/abs/2605.07315","url_pdf":"https://arxiv.org/pdf/2605.07315","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=2605.07315","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.07315"}},"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/TioeAre/LaTER","reach":null}],"summary":{"ran":18,"unverified":2},"by_repo_kind":{"found_in_text":{"samples":20,"ran":18,"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":0,"samples":[{"code_sha256_prefix":"a85a75d30e6964cd","entry":"build_pca_records","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/analysis/visualize_reasoning_trace.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/analysis/visualize_reasoning_trace.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a85a75d30e6964cd"}},{"code_sha256_prefix":"ba14379aa8082452","entry":"compute_answer_ce","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/train/losses.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/train/losses.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ba14379aa8082452"}},{"code_sha256_prefix":"7e89c085b31f7654","entry":"compute_inner_cot_mask","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/train/losses.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/train/losses.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7e89c085b31f7654"}},{"code_sha256_prefix":"975601219023e1f4","entry":"extract_batch_base_index","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/analysis/plot_entropy_reasoning_curves.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/analysis/plot_entropy_reasoning_curves.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"975601219023e1f4"}},{"code_sha256_prefix":"caafdd223786b1d3","entry":"extract_content_outside_think","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/eval/gpt_evaluator.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/eval/gpt_evaluator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"caafdd223786b1d3"}},{"code_sha256_prefix":"ccd39752a2f3f10f","entry":"find_transition_idx","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/analysis/visualize_reasoning_trace.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/analysis/visualize_reasoning_trace.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ccd39752a2f3f10f"}},{"code_sha256_prefix":"1082508e65f77331","entry":"get_logger","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/train/log.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/train/log.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1082508e65f77331"}},{"code_sha256_prefix":"634dcdf1c4722980","entry":"get_no_latent_token_constants","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/train/dataset_no_latent.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/train/dataset_no_latent.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"634dcdf1c4722980"}},{"code_sha256_prefix":"a86097ee15f599da","entry":"list_pt_files","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/analysis/plot_entropy_reasoning_curves.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/analysis/plot_entropy_reasoning_curves.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a86097ee15f599da"}},{"code_sha256_prefix":"e7f33d9cfa4fe2d3","entry":"load_sft_frame","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/train/dataset.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/train/dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e7f33d9cfa4fe2d3"}},{"code_sha256_prefix":"381fc9b66380a95a","entry":"load_sft_split","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/train/dataset.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/train/dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"381fc9b66380a95a"}},{"code_sha256_prefix":"fe22240ff8b648df","entry":"read_model_type_from_config_dir","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/train/modeling_latent.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/train/modeling_latent.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fe22240ff8b648df"}},{"code_sha256_prefix":"2ec66e839484bff2","entry":"resolve_lora_modules_to_save","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/train/lora_utils.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/train/lora_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2ec66e839484bff2"}},{"code_sha256_prefix":"c3e7726903aeb74e","entry":"setup_logger","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/train/log.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/train/log.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c3e7726903aeb74e"}},{"code_sha256_prefix":"0585003aede476e6","entry":"stack_hidden_states","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/analysis/plot_svd_reasoning_curves.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/analysis/plot_svd_reasoning_curves.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0585003aede476e6"}},{"code_sha256_prefix":"e28e3e9c75ae81fb","entry":"tensorboard_dir_from_config","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/train/log.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/train/log.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e28e3e9c75ae81fb"}},{"code_sha256_prefix":"fe6e8d2482368cd8","entry":"truncate_no_latent_ids","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/train/dataset_no_latent.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/train/dataset_no_latent.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fe6e8d2482368cd8"}},{"code_sha256_prefix":"647a91a7768de13a","entry":"truncate_trace","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/analysis/visualize_reasoning_trace.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/analysis/visualize_reasoning_trace.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"647a91a7768de13a"}},{"code_sha256_prefix":"de91122ef927f37c","entry":"compute_weighted_ce","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/train/losses.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/train/losses.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"de91122ef927f37c"}},{"code_sha256_prefix":"0e0355e6f4139423","entry":"load_tokenizer","repo":"TioeAre/LaTER","repo_kind":"found_in_text","path":"later/src/analysis/plot_entropy_reasoning_curves.py","file_url":"https://github.com/TioeAre/LaTER/blob/HEAD/later/src/analysis/plot_entropy_reasoning_curves.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0e0355e6f4139423"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CL","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}