{"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/instance-conditioned-adaptation-for-large","title":"Instance-Conditioned Adaptation for Large-scale Generalization of Neural Routing Solver","arxiv_id":"2405.01906","date":"2024-05-03","proceeding":null,"authors":["Changliang Zhou","Xi Lin","Zhenkun Wang","Xialiang Tong","Mingxuan Yuan","Qingfu Zhang"],"abstract":"The neural combinatorial optimization (NCO) method has shown great potential for solving routing problems of intelligent transportation systems without requiring expert knowledge. However, existing constructive NCO methods still struggle to solve large-scale instances, which significantly limits their application prospects. To address these crucial shortcomings, this work proposes a novel Instance-Conditioned Adaptation Model (ICAM) for better large-scale generalization of neural routing solvers. In particular, we design a simple yet efficient instance-conditioned adaptation function to significantly improve the generalization performance of existing NCO models with a small time and memory overhead. In addition, with a systematic investigation on the performance of information incorporation between different attention mechanisms, we further propose a powerful yet low-complexity instance-conditioned adaptation module to generate better solutions for instances across different scales. Extensive experimental results on both synthetic and benchmark instances show that our proposed method is capable of obtaining promising results with a very fast inference time in solving large-scale Traveling Salesman Problems (TSPs), Capacitated Vehicle Routing Problems (CVRPs), and Asymmetric Traveling Salesman Problems (ATSPs). Our code is available at https://github.com/CIAM-Group/ICAM.","url_abs":"https://arxiv.org/abs/2405.01906v2","url_pdf":"https://arxiv.org/pdf/2405.01906v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"instance-conditioned-adaptation-for-large","repo_url":"https://github.com/ciam-group/icam","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"combinatorial-optimization","task_name":"Combinatorial Optimization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2405.01906","atlas_url":"https://app.syntology.ai/?focus=2405.01906","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.01906"}},"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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ciam-group/icam","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":3,"unverified":2},"by_repo_kind":{"official":{"samples":5,"ran":3,"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":"8e22eafef323166c","entry":"adaptation_attention_free_module","repo":"ciam-group/icam","repo_kind":"official","path":"ICAM_ATSP/ATSPModel_ICAM.py","file_url":"https://github.com/ciam-group/icam/blob/HEAD/ICAM_ATSP/ATSPModel_ICAM.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":"8e22eafef323166c"}},{"code_sha256_prefix":"cf12bde9bbfd5a3e","entry":"adaptation_attention_free_module","repo":"ciam-group/icam","repo_kind":"official","path":"ICAM_CVRPTW/CVRPTWModel_ICAM.py","file_url":"https://github.com/ciam-group/icam/blob/HEAD/ICAM_CVRPTW/CVRPTWModel_ICAM.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":"cf12bde9bbfd5a3e"}},{"code_sha256_prefix":"249e69d0cc318254","entry":"get_random_problems_atsp","repo":"ciam-group/icam","repo_kind":"official","path":"ICAM_ATSP/ATSProblemDef.py","file_url":"https://github.com/ciam-group/icam/blob/HEAD/ICAM_ATSP/ATSProblemDef.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":"249e69d0cc318254"}},{"code_sha256_prefix":"64f87c44f7418a0a","entry":"get_saved_data","repo":"ciam-group/icam","repo_kind":"official","path":"ICAM_ATSP/ATSProblemDef.py","file_url":"https://github.com/ciam-group/icam/blob/HEAD/ICAM_ATSP/ATSProblemDef.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":"64f87c44f7418a0a"}},{"code_sha256_prefix":"d17e15c5bb19ff6d","entry":"use_saved_problems_atsp_pt","repo":"ciam-group/icam","repo_kind":"official","path":"ICAM_ATSP/ATSProblemDef.py","file_url":"https://github.com/ciam-group/icam/blob/HEAD/ICAM_ATSP/ATSProblemDef.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":"d17e15c5bb19ff6d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}