Operational Id: Implementation of the Graph Validation Algorithm (Stage 0)
Previous papers in the OIE series (OIE-1 and OIE-3) established that the structural graph (K_mind) is the entity to be transferred between neural network architectures, with the structure identifier (Id) serving as the success criterion. However, computing this identifier practically remains a challenge. This paper translates the abstract mathematical criterion into the realm of concrete algorithms. Two operational methods for calculating Id are proposed: the discrete Weisfeiler-Lehman (WL) algorithm and continuous GNN-embeddings. The WL algorithm provides high speed and invariance to node permutations but suffers from collisions and ignores edge weights. Conversely, Graph Neural Networks (GNN) generate vector representations that account for edge weights and noise resilience, albeit requiring prior training. To overcome the "Madame Tussaud effect"—where structural transfer without functional capability results in a frozen system—a structural similarity threshold (ε) is introduced. Transfer is considered successful (a transition to Class A, Productive Bridge) only if two conditions are met: structural matching (Id(G) = Id(G') or cosine distance < ε) and preservation of functional metrics (F(G) ≈ F(G'), perplexity). The paper is structured as a technical specification for software engineers. It describes a Test Suite in Python, including checks for isomorphism, topology differentiation, and noise resilience. By translating Id from a philosophical concept into an engineering metric, this work lays the foundation for algorithm implementation and experimental validation on toy models in subsequent series.
Authors
- Alexander Yourievitch Kotelnikov (ORCID: https://orcid.org/0009-0007-3121-8810)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-25
- DOI
- https://doi.org/10.5281/zenodo.24534385
- Primary Topic
- Graph Theory and Algorithms
- Type
- preprint