SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.12633 · IJCAI · 2024

FlagVNE: A Flexible and Generalizable Reinforcement Learning Framework for Network Resource Allocation

Chao Wang, Hui Xiong, Tianfu Wang, Long Yang, Leilei Ding, Qilin Fan, Nicholas Yuan

arXiv · PDF · Open in the Atlas

Code that ran

3 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 2 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2404.12633.json · badge: /api/ran/2404.12633.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
GeminiLight/flag-vne canonical (classifier label)
classifier basis: census
3 ran · 3 no recorded run
FunctionStatusWhere it lives
get_bfs_tree_level Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
GeminiLight/flag-vne/vne_simulator/utils/network.py
pointer only (licence: NONE); the stored copy get_code serves, from GeminiLight/conal-vne, is pointer only (licence: NONE) · get_code("f18978b7c3e6722d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GeminiLight/flag-vne when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

path_to_links Ran
ran, violated the contract we drafted
GeminiLight/flag-vne/vne_simulator/utils/network.py
pointer only (licence: NONE) · get_code("3c10083f7c558fef")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GeminiLight/flag-vne when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

single_meta_run Ran
ran; our contract draft was wrong, not the code
GeminiLight/flag-vne/vne_simulator/solver/meta_heuristic/infeasiblity_servival_genetic_algorithm_solver.py
pointer only (licence: NONE) · get_code("db8f3526c4b4056b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GeminiLight/flag-vne when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_config Not yet run
unverified (harvested, no recorded run)
GeminiLight/flag-vne/vne_simulator/config.py
pointer only (licence: NONE); the stored copy get_code serves, from GeminiLight/conal-vne, is pointer only (licence: NONE) · get_code("398f0f32df2974d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GeminiLight/flag-vne when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

make_policy Not yet run
unverified (harvested, no recorded run)
GeminiLight/flag-vne/vne_simulator/solver/learning/flag_vne/solver.py
pointer only (licence: NONE) · get_code("fcad5196e08a855a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GeminiLight/flag-vne when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

obs_as_tensor Not yet run
unverified (harvested, no recorded run)
GeminiLight/flag-vne/vne_simulator/solver/learning/flag_vne/solver.py
pointer only (licence: NONE) · get_code("81ddb1801da9ef9c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GeminiLight/flag-vne when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
path_to_links 2 other papers
2 later
2410.22999 (2024-10)
Towards Constraint-aware Learning for Resource Allocation in NFV Networks
2507.19234 (2025-07)
Virne: A Comprehensive Benchmark for RL-based Network Resource Allocation in NFV
get_bfs_tree_level 1 other paper
1 later
2410.22999 (2024-10)
Towards Constraint-aware Learning for Resource Allocation in NFV Networks
load_config 1 other paper
1 later
2410.22999 (2024-10)
Towards Constraint-aware Learning for Resource Allocation in NFV Networks

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Virtual network embedding (VNE) is an essential resource allocation task in network virtualization, aiming to map virtual network requests (VNRs) onto physical infrastructure. Reinforcement learning (RL) has recently emerged as a promising solution to this problem. However, existing RLbased VNE methods are limited by the unidirectional action design and one-size-fits-all training strategy, resulting in restricted searchability and generalizability. In this paper, we propose a FLexible And Generalizable RL framework for VNE, named FlagVNE. Specifically, we design a bidirectional action-based Markov decision process model that enables the joint selection of virtual and physical nodes, thus improving the exploration flexibility of solution space. To tackle the expansive and dynamic action space, we design a hierarchical decoder to generate adaptive action probability distributions and ensure high training efficiency. Furthermore, to overcome the generalization issue for varying VNR sizes, we propose a meta-RLbased training method with a curriculum scheduling strategy, facilitating specialized policy training for each VNR size. Finally, extensive experimental results show the effectiveness of FlagVNE across multiple key metrics. Our code is available at https://github.com/GeminiLight/flag-vne.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2404.12633")
get_code_for_paper("2404.12633")
have("2404.12633")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2404.12633.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2404.12633.svg)](https://syntology.ai/paper/2404.12633)

Connect an agent — have() is free.