{"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-2607-14895","title":"Leveraging Instruction Tuning and Merging for Reasoning Model Adaptation","arxiv_id":"2607.14895","date":"2026-07-16","proceeding":null,"authors":["Yu-Du Feng","Niels Mündler-Sasahara","Mark Vero","Martin Vechev"],"abstract":"Reasoning language models (RLMs) have demonstrated impressive performance in domains such as mathematics and coding. These domains permit reliable verification of model outputs, which is important for enabling the reinforcement learning that drives RLM performance gains. However, training RLMs on domains that lack reliable verifiers remains challenging. Meanwhile, for both verifiable and unverifiable domains, large amounts of unused supervised fine-tuning data with human-written solutions exist. In this work, we show that these data can be used efficiently to further improve RLM performance. For this, we first use classic instruction tuning, supervised fine-tuning without reasoning traces, on the RLM. Next, we merge our instruction-tuned model with the original reasoning model, recovering its reasoning behavior on the target domain. Our extensive evaluation demonstrates that our technique improves RLM performance in both verifiable and hard-to-verify domains, including coding and text summarization, while preserving RLM capabilities across other domains. Importantly, our method is highly cost-effective, enabling such improvements for less than USD $3.","url_abs":"https://arxiv.org/abs/2607.14895","url_pdf":"https://arxiv.org/pdf/2607.14895","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":null,"mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2607.14895"}},"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/eth-sri/rlm-training-merging","reach":null}],"summary":{"ran":26,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":27,"ran":26,"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":27,"samples":[{"code_sha256_prefix":"5aedf4f58efe146b","entry":"complete_jsonl","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/run_merge_eval_pipeline.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/run_merge_eval_pipeline.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":"5aedf4f58efe146b"}},{"code_sha256_prefix":"656edb46eec2f567","entry":"completed_results","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/run_alpha_binary_search.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/run_alpha_binary_search.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":"656edb46eec2f567"}},{"code_sha256_prefix":"4d9751c95357d66b","entry":"docker_base_url","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/run_vllm_eval.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/run_vllm_eval.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":"4d9751c95357d66b"}},{"code_sha256_prefix":"c5caf92bf6ab68f6","entry":"extract_rust_code","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/training/sft.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/training/sft.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c5caf92bf6ab68f6"}},{"code_sha256_prefix":"7f873f46ef354b4d","entry":"extract_thought","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/training/sft.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/training/sft.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7f873f46ef354b4d"}},{"code_sha256_prefix":"1637c0798b1eb9a7","entry":"generation_key","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/evaluation/math500.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/evaluation/math500.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1637c0798b1eb9a7"}},{"code_sha256_prefix":"d6dc7a0114ff0d71","entry":"generation_key","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/evaluation/tasks.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/evaluation/tasks.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d6dc7a0114ff0d71"}},{"code_sha256_prefix":"97fc991389388553","entry":"generation_key","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/evaluation/text_summarization.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/evaluation/text_summarization.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"97fc991389388553"}},{"code_sha256_prefix":"b7ec56fff990f34d","entry":"jsonl_count","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/run_merge_eval_pipeline.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/run_merge_eval_pipeline.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":"b7ec56fff990f34d"}},{"code_sha256_prefix":"ee5303da6549e3dd","entry":"load_config","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/training/on_policy_distill.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/training/on_policy_distill.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":"ee5303da6549e3dd"}},{"code_sha256_prefix":"674041f9732fba6b","entry":"load_families","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/training/reasoning_search.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/training/reasoning_search.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":"674041f9732fba6b"}},{"code_sha256_prefix":"455c557e67fba06c","entry":"load_jsonl","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/evaluation/text_summarization.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/evaluation/text_summarization.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":"455c557e67fba06c"}},{"code_sha256_prefix":"1a45cbb1758d81e4","entry":"load_jsonl_rows","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/evaluation/tasks.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/evaluation/tasks.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":"1a45cbb1758d81e4"}},{"code_sha256_prefix":"49ed5b6e01e9f2e2","entry":"load_repairable_jsonl","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/evaluation/text_summarization.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/evaluation/text_summarization.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"49ed5b6e01e9f2e2"}},{"code_sha256_prefix":"6255183a4ce8bd06","entry":"normalize_config_keys","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/training/on_policy_distill.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/training/on_policy_distill.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":"6255183a4ce8bd06"}},{"code_sha256_prefix":"61315585676ecb69","entry":"parse_alpha_list","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/training/reasoning_search.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/training/reasoning_search.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"61315585676ecb69"}},{"code_sha256_prefix":"29d8461aa0f37888","entry":"parse_csv_floats","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/run_sft_auto_sweep.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/run_sft_auto_sweep.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"29d8461aa0f37888"}},{"code_sha256_prefix":"cfb727ab05c83ce6","entry":"parse_csv_ints","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/run_sft_auto_sweep.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/run_sft_auto_sweep.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cfb727ab05c83ce6"}},{"code_sha256_prefix":"e21a8d3c8cc65081","entry":"prompt_math500","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/evaluation/math500.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/evaluation/math500.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e21a8d3c8cc65081"}},{"code_sha256_prefix":"21f78dcd73898bea","entry":"prompt_processing_summarization","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/training/sft.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/training/sft.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"21f78dcd73898bea"}},{"code_sha256_prefix":"fd853351632e3b14","entry":"read_completed_generation_keys","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/evaluation/math500.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/evaluation/math500.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":"fd853351632e3b14"}},{"code_sha256_prefix":"bca0bf21e15af052","entry":"resolve_dtype","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/training/on_policy_distill.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/training/on_policy_distill.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":"bca0bf21e15af052"}},{"code_sha256_prefix":"137dc12f405632ac","entry":"rust_sample_count","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/run_merge_eval_pipeline.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/run_merge_eval_pipeline.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":"137dc12f405632ac"}},{"code_sha256_prefix":"fc3637e8b73a4e32","entry":"safe_slug","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/run_sft_auto_sweep.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/run_sft_auto_sweep.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fc3637e8b73a4e32"}},{"code_sha256_prefix":"0caa843ee47653eb","entry":"safe_value","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/run_vllm_eval.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/run_vllm_eval.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0caa843ee47653eb"}},{"code_sha256_prefix":"f7f5ce51810494bb","entry":"scale_lora_adapter","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/run_vllm_eval.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/run_vllm_eval.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":"f7f5ce51810494bb"}},{"code_sha256_prefix":"e39a7441e72f66d6","entry":"resolve_eval_tasks","repo":"eth-sri/rlm-training-merging","repo_kind":"found_in_text","path":"src/evaluation/tasks.py","file_url":"https://github.com/eth-sri/rlm-training-merging/blob/HEAD/src/evaluation/tasks.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":"e39a7441e72f66d6"}}]},"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,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6264},"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}}}