{"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/towards-constraint-aware-learning-for","title":"Towards Constraint-aware Learning for Resource Allocation in NFV-enabled Networks","arxiv_id":"2410.22999","date":"2024-10-30","proceeding":null,"authors":["Tianfu Wang","Long Yang","Chao Wang","Chuan Qin","Liwei Deng","Wei Wu","Junyang Wang","Li Shen","Hui Xiong"],"abstract":"Virtual Network Embedding (VNE) is a fundamental resource allocation challenge that is associated with hard and multifaceted constraints in network function virtualization (NFV). Existing works for VNE struggle to handle such complex constraints, leading to compromised system performance and stability. In this paper, we propose a \\textbf{CON}straint-\\textbf{A}ware \\textbf{L}earning framework, named \\textbf{CONAL}, for efficient constraint handling in VNE. Concretely, we formulate the VNE problem as a constrained Markov decision process with violation tolerance, enabling precise assessments of both solution quality and constraint violations. To achieve the persistent zero violation to guarantee solutions' feasibility, we propose a reachability-guided optimization with an adaptive reachability budget method. This method also stabilizes policy optimization by appropriately handling scenarios with no feasible solutions. Furthermore, we propose a constraint-aware graph representation method to efficiently learn cross-graph relations and constrained path connectivity in VNE. Finally, extensive experimental results demonstrate the superiority of our proposed method over state-of-the-art baselines. Our code is available at \\href{https://github.com/GeminiLight/conal-vne}{https://github.com/GeminiLight/conal-vne}.","url_abs":"https://arxiv.org/abs/2410.22999v1","url_pdf":"https://arxiv.org/pdf/2410.22999v1.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":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"towards-constraint-aware-learning-for","repo_url":"https://github.com/GeminiLight/conal-vne","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2410.22999","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.22999"}},"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":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/GeminiLight/conal-vne","reach":{"status":"ok"}}],"summary":{"unverified":10},"by_repo_kind":{"official":{"samples":10,"ran":0,"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":10,"samples":[{"code_sha256_prefix":"c2963c3b70321a48","entry":"get_args","repo":"GeminiLight/conal-vne","repo_kind":"official","path":"args.py","file_url":"https://github.com/GeminiLight/conal-vne/blob/HEAD/args.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":"c2963c3b70321a48"}},{"code_sha256_prefix":"f18978b7c3e6722d","entry":"get_bfs_tree_level","repo":"GeminiLight/conal-vne","repo_kind":"official","path":"virne/utils/network.py","file_url":"https://github.com/GeminiLight/conal-vne/blob/HEAD/virne/utils/network.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":"f18978b7c3e6722d"}},{"code_sha256_prefix":"f7945d81d5eebbf6","entry":"get_pyg_hetero_data","repo":"GeminiLight/conal-vne","repo_kind":"official","path":"virne/solver/learning/conal/solver.py","file_url":"https://github.com/GeminiLight/conal-vne/blob/HEAD/virne/solver/learning/conal/solver.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":"f7945d81d5eebbf6"}},{"code_sha256_prefix":"398f0f32df2974d8","entry":"load_config","repo":"GeminiLight/conal-vne","repo_kind":"official","path":"virne/config.py","file_url":"https://github.com/GeminiLight/conal-vne/blob/HEAD/virne/config.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":"398f0f32df2974d8"}},{"code_sha256_prefix":"ce9d746e9f222d6e","entry":"make_policy","repo":"GeminiLight/conal-vne","repo_kind":"official","path":"virne/solver/learning/conal/solver.py","file_url":"https://github.com/GeminiLight/conal-vne/blob/HEAD/virne/solver/learning/conal/solver.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":"ce9d746e9f222d6e"}},{"code_sha256_prefix":"8cc5c5600e6fb272","entry":"make_policy","repo":"GeminiLight/conal-vne","repo_kind":"official","path":"virne/solver/learning/conal_wo_ha/solver.py","file_url":"https://github.com/GeminiLight/conal-vne/blob/HEAD/virne/solver/learning/conal_wo_ha/solver.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":"8cc5c5600e6fb272"}},{"code_sha256_prefix":"9ae267c9caea2b2c","entry":"obs_as_tensor","repo":"GeminiLight/conal-vne","repo_kind":"official","path":"virne/solver/learning/conal/solver.py","file_url":"https://github.com/GeminiLight/conal-vne/blob/HEAD/virne/solver/learning/conal/solver.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":"9ae267c9caea2b2c"}},{"code_sha256_prefix":"7063218bb7282c1b","entry":"obs_as_tensor","repo":"GeminiLight/conal-vne","repo_kind":"official","path":"virne/solver/learning/conal_wo_ha/solver.py","file_url":"https://github.com/GeminiLight/conal-vne/blob/HEAD/virne/solver/learning/conal_wo_ha/solver.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":"7063218bb7282c1b"}},{"code_sha256_prefix":"3c10083f7c558fef","entry":"path_to_links","repo":"GeminiLight/conal-vne","repo_kind":"official","path":"virne/utils/network.py","file_url":"https://github.com/GeminiLight/conal-vne/blob/HEAD/virne/utils/network.py","link_basis":"harvester_set","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":"3c10083f7c558fef"}},{"code_sha256_prefix":"98118c4fd634df1b","entry":"str2bool","repo":"GeminiLight/conal-vne","repo_kind":"official","path":"args.py","file_url":"https://github.com/GeminiLight/conal-vne/blob/HEAD/args.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":"98118c4fd634df1b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}