Transferable knowledge graphs with executable learned operators for algorithm design
Organizations: Catalan Institute of Nanoscience and Nanotechnology (ICN2), CSIC and BIST, Campus UAB, Bellaterra, 08193, Barcelona, Spain · Artificial Intelligence Research Institute (IIIA-CSIC), Bellaterra, Spain
Abstract
Procedural knowledge in algorithm design is embedded in source code and rebuilt for each new domain. We introduce Generative Executable Algorithm Knowledge Graphs (GEAKG), a representation in which this knowledge is stored as a generative, executable, transferable graph: typed nodes hold validated operators, edges encode admissible compositions, and learned edge weights record effective sequences. The same engine instantiates the structure across domains by changing only a role ontology (RoleSchema) and a binding. We study GEAKG as a representation mechanism rather than a state-of-the-art optimizer, asking what transfers and when. Layer ablations localize transfer by granularity: within a neural-architecture-search family the learned snapshot transfers across 70 dataset pairs - its weights stay correlated across datasets and one frozen snapshot remains competitive with Regularized Evolution at zero deployment-token cost; across combinatorial domains only the ontology-constrained executable structure transfers, not the learned weights. That structure pays off where target-side search is expensive - a Traveling Salesman snapshot beats an equally untuned from-scratch search on large scheduling instances even at one-fifth its budget - but does not improve on an effective local search where one is cheap, as in assignment and linear ordering. Executable procedural knowledge can thus be acquired offline, compacted, inspected, and reused without runtime language-model calls.
Figures & tables
| Claim | Test (vs. comparator) | Result |
| One engine, multiple domains | same pipeline on NAS and optimization | runs unchanged on NAS + 3 optimization domains |
| Within-family: weights transfer | NAS cross-dataset vs. random ordering | 62/70 significant; |
| Cross-domain: only structure transfers | L2 learned vs. uniform weights (JSSP, QAP, LOP) | learned uniform ( ) |
| Each layer is load-bearing | L0/L1/L2 ablations | L0 lowers gap; no-op L1 collapses; L2 in-domain only |
| Transfer pays where search is expensive | JSSP vs. untuned ILS at and budget | GEAKG wins even at ILS |
| Boundary where search is cheap | QAP/LOP vs. ILS at one-fifth budget | ILS at budget still wins |
| Dataset | Cross-seed (200ep) | 12ep 200ep | Seed noise (pp) | Top-10 overlap |
| CIFAR-10 | 0.985 | 0.875 | 0.17 | 0.40 |
| CIFAR-100 | 0.982 | 0.829 | 0.33 | 0.40 |
| ImageNet16-120 | 0.988 | 0.812 | 0.37 | 0.50 |
| Component | NAS | Optimization |
| Roles | 18 | 11 |
| Categories | 5 | 3 |
| Category transitions | 12 | 7 |
| Entry categories | 1 | 1 |
| Revisitable categories | 3/5 | 2/3 |
| Representative L0 edges | 42 | 14 |
| Antecedent ( ) | Consequent ( ) | Conf. | Support |
| reg_weight_decay | eval_full | 0.94 | 0 |
| act_parametric | act_mixed | 0.91 | 9 |
| topo_recursive | act_mixed | 0.88 | 3 |
| topo_residual | act_modern | 0.86 | 4 |
| act_modern | act_parametric | 0.70 | 7 |
| reg_structural | reg_dropout | 0.60 | 6 |
| Instance | GEAKG (10k) | GEAKG (50k) | LLaMEA (50k) | Winner | |
| berlin52 | 52 | LLaMEA | |||
| kroA100 | 100 | LLaMEA | |||
| ch150 | 150 | LLaMEA | |||
| pr226 | 226 | LLaMEA | |||
| pcb442 | 442 | — | GEAKG | ||
| rat783 | 783 | — | GEAKG |
| Instance | GEAKG | LLaMEA | Improvement | |
| berlin52 | 52 | — | ||
| kroA100 | 100 | — | ||
| ch150 | 150 | 30% | ||
| pr226 | 226 | 65% | ||
| pcb442 | 442 | 54% | ||
| rat783 | 783 | 25% |
| Instance | Ops | GEAKG | ILS | Best simple baseline | Winner |
| ft06 | 36 | 60 (9.1%) | 57 (3.6%) | SPT 109 (98.2%) | ILS |
| ft10 | 100 | 1348 (44.9%) | 1350 (45.2%) | SPT 2648 (184.7%) | GEAKG |
| ft20 | 100 | 1633 (40.2%) | 1416 (21.5%) | LPT 2580 | ILS |
| la01 | 50 | 747 (12.2%) | 682 (2.4%) | SPT 1462 (119.5%) | ILS |
| la06 | 75 | 1023 (10.5%) | 1007 (8.7%) | SPT 2367 (155.6%) | ILS |
| la16 | 100 | 1199 | 1286 | LPT 3115 | GEAKG |
| Instance | Learned | Uniform | ILS | |
| nug12 | 12 | 3.32 | 3.04 | 0.00 |
| nug20 | 20 | 2.61 | 4.14 | 0.14 |
| nug30 | 30 | 2.33 | 2.89 | 0.47 |
| chr15a | 15 | 17.77 | 17.73 | 0.32 |
| chr20a | 20 | 24.62 | 25.24 | 7.41 |
| chr25a | 25 | 47.54 | 45.69 | 6.24 |
| Instance | GEAKG | ILS | GL | Winner | |
| nug12 | 12 | 25.26 | Tie | ||
| nug15 | 15 | 28.00 | Tie | ||
| nug20 | 20 | 33.46 | ILS | ||
| nug25 | 25 | 36.06 | ILS | ||
| nug30 | 30 | 29.59 | ILS | ||
| tai20a | 20 | 30.15 | ILS |
| Group | Parameter | Value |
| ACO/MMAS | pheromone exponent | 2.0 |
| heuristic exponent | 2.0 | |
| evaporation | 0.1 | |
| deposit constant | 100 | |
| ants per iteration | 10 | |
| pheromone bounds |
Knowledge Graphs
Knowledge graphs represent entities and relationships as structured, queryable networks for integrating data and supporting reasoning.
See all 232 papers