{"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-2604-01170","title":"Online Reasoning Calibration: Test-Time Training Enables Generalizable Conformal LLM Reasoning","arxiv_id":"2604.01170","date":"2026-04-01","proceeding":null,"authors":["Cai Zhou","Zekai Wang","Menghua Wu","Qianyu Julie Zhu","Flora C. Shi","Chenyu Wang","Ashia Wilson","Tommi Jaakkola","Stephen Bates"],"abstract":"While test-time scaling has enabled large language models to solve highly difficult tasks, state-of-the-art results come at exorbitant compute costs. These inefficiencies can be attributed to the miscalibration of post-trained language models, and the lack of calibration in popular sampling techniques. Here, we present Online Reasoning Calibration (ORCA), a framework for calibrating the sampling process that draws upon conformal prediction and test-time training. Specifically, we introduce a meta-learning procedure that updates the calibration module for each input. This allows us to provide valid confidence estimates under distributional shift, e.g. in thought patterns that occur across different stages of reasoning, or in prompt distributions between model development and deployment. ORCA not only provides theoretical guarantees on conformal risks, but also empirically shows higher efficiency and generalization across different reasoning tasks. At risk level $δ=0.1$, ORCA improves Qwen2.5-32B efficiency on in-distribution tasks with savings up to 47.5% with supervised labels and 40.7% with self-consistency labels. Under zero-shot out-of-domain settings, it improves MATH-500 savings from 24.8% of the static calibration baseline to 67.0% while maintaining a low empirical error rate, and the same trend holds across model families and downstream benchmarks. Our code is publicly available at https://github.com/wzekai99/ORCA.","url_abs":"https://arxiv.org/abs/2604.01170","url_pdf":"https://arxiv.org/pdf/2604.01170","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":{"syntology_url":"https://syntology.ai/paper/2604.01170","atlas_url":"https://app.syntology.ai/?focus=2604.01170","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2604.01170"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/wzekai/ORCA","reach":null}],"summary":{"ran":1,"ran_violates":1,"ran_draft_wrong":9,"ran_fixture":2,"unverified":3},"by_repo_kind":{"found_in_text":{"samples":16,"ran":13,"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":"a2dc42bef2c35e5f","entry":"TTTProbe","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a2dc42bef2c35e5f"}},{"code_sha256_prefix":"da0ccfc6f8e9bdb3","entry":"binom_p","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"da0ccfc6f8e9bdb3"}},{"code_sha256_prefix":"636d4e375feacf84","entry":"gelu_bwd","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"636d4e375feacf84"}},{"code_sha256_prefix":"5afda302a2e44381","entry":"get_data_splits","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5afda302a2e44381"}},{"code_sha256_prefix":"9218d0d6347d01af","entry":"get_loss","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9218d0d6347d01af"}},{"code_sha256_prefix":"8a4bb8a49682c245","entry":"get_run_dir","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8a4bb8a49682c245"}},{"code_sha256_prefix":"70a242e297e815b3","entry":"ln_bwd","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"70a242e297e815b3"}},{"code_sha256_prefix":"e6563e79a4cb495a","entry":"ln_fwd","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e6563e79a4cb495a"}},{"code_sha256_prefix":"5ae740cdec591624","entry":"load_dataset","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5ae740cdec591624"}},{"code_sha256_prefix":"2f2303b2ebebeabe","entry":"load_datasets","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2f2303b2ebebeabe"}},{"code_sha256_prefix":"fcf82641bf583592","entry":"make_run_name","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fcf82641bf583592"}},{"code_sha256_prefix":"84570830f93e1e84","entry":"run_test","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"84570830f93e1e84"}},{"code_sha256_prefix":"7ca8a94ba75bdc59","entry":"smooth","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7ca8a94ba75bdc59"}},{"code_sha256_prefix":"4d4c1a03a41eb8bc","entry":"build_ttt_probe","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4d4c1a03a41eb8bc"}},{"code_sha256_prefix":"8a1b9fa2efea9911","entry":"calibrate_ttt","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8a1b9fa2efea9911"}},{"code_sha256_prefix":"2175b04ff110081a","entry":"to_cumulative","repo":"wzekai/ORCA","repo_kind":"found_in_text","path":"code/calibrate.py","file_url":"https://github.com/wzekai/ORCA/blob/HEAD/code/calibrate.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2175b04ff110081a"}}]},"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_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}