arXiv:2609.08152cs.LGSep 2026

Manuscript Offprint

arXiv:2609.08152

Topology-induced Operators Reveal Complementary Graph Representations without Training

Meng Qin, Jinqiang Cui, Hongwei Zheng, Weihua Li, Sen Pei

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Graph representation learning has largely focused on designing increasingly sophisticated models to transform graph topology into vector representations, or embeddings. However, the extent to which embedding quality depends on model learning, rather than on the underlying topological transformations, remains unclear. Here, we show that informative embeddings can be derived without complicated model design and gradient-based training. Propagating random features through implicit hierarchical structures induced by random walks and anonymous walks yields embeddings that capture node proximity and structural role, respectively. These two training-free embeddings preserve complementary aspects of graph organization and perform competitively with classic and recent methods across various node-, edge-, and graph-level tasks. They often require substantially less computation, resulting in a favorable quality-efficiency trade-off. Combining the two types of embeddings further improves inference quality of some tasks compared with using either embedding type alone. Our results suggest that informative graph embeddings can arise from carefully chosen topological transformations before any learning operation is applied.

Keywords: Graph Embedding, Graph Representation Learning, Identity and Position Embedding, Random Walk and Anonymous Walk

1 Introduction

Graphs (also called networks) provide a universal abstraction for modeling complex systems across nature and engineering, including ecological food webs [1], neural connectomes [2], the Internet [3], power grids [4], and transportation systems [5]. Many scientific and engineering problems in these systems [6, 7] can be formulated as inference tasks on graphs, such as community detection [8, 9], anomaly detection [10, 11], and link prediction [12–14]. Graph representation learning has emerged as a fundamental technique for graph inference, mapping nodes, edges, or entire graphs into low-dimensional vector representations (also called embeddings) that preserve information relevant to downstream tasks. Modern graph inference models, exemplified by graph convolutional networks [15] and graph transformers [16], increasingly rely on sophisticated architectures and trainable transformations to obtain such embeddings. Yet it remains unclear how much of the resulting embeddings is produced by model learning and how much is already determined by the topological transformations applied to the graph. Understanding this distinction is important for clarifying how graph topology is converted into representations and which aspects of this process genuinely require learning.

A key difficulty in addressing this question is that graph topology contains multiple types of properties suitable for different inference tasks. Two fundamental yet distinct examples are node positions and identities. Node position concerns where a node lies relative to others in the graph. For instance, nodes belonging to the same community, with dense local connectivity, tend to have a high overlap of neighbors and hence nearby positions [8]. Position embedding (alternatively called proximity-preserving embedding [17, 18]) is designed to preserve such relative proximity. Node identity, in contrast, concerns what structural role a node plays in the graph, which is relevant to the node's centrality [19], ego-net structure [20], and degree patterns [21]. Identity embedding (also defined as structural role-based embedding [17, 18]) aims to encode this structural role. These two properties provide complementary views of graph organization. Nodes from different communities with distinct positions can share similar structural roles, whereas nodes in the same community can also play substantially different roles. Hence, a graph representation that preserves one aspect well does not necessarily capture the other.

This distinction also makes it challenging to determine how different topological properties emerge in modern graph representations. Most recent graph inference models, especially graph neural networks (GNNs) [22–24], combine node attributes, topology-induced operators, trainable transformations, and task-specific objectives. Their resulting embeddings reflect intertwined effects of topology, attributes, and learning, making it hard to isolate which topological transformations preserve a specific property. This ambiguity is particularly relevant for attributed graphs, where attributes may be partially correlated or even inconsistent with topology [25–29]. Recent efforts have attempted to enhance topology awareness regarding node positions and identities by designing dedicated mechanisms for extracting structural information [30–35]. However, these approaches often emphasize one type of topology property and combine topology-aware transformations with feature processing and gradient-based model optimization. Consequently, it remains unclear how complementary topology properties relate to one another and, more fundamentally, whether sophisticated learning is necessary to encode them. This separation is also relevant to efficiency, because elaborate feature extraction and training procedures introduce substantial computational costs.

Here, we address the above challenges from an operator-level perspective. Our key insight is that different stochastic transformations of graph topology can expose distinct structural channels even without learning model parameters. Many classic position embedding methods, such as node2vec [36], exploit random walks (RWs), where nodes with higher overlaps of neighbors and thus closer positions are more likely to be visited by RW sampling. In contrast, anonymizing an RW according to the order in which nodes first occur removes their location-specific labels (Fig. 1b) while retaining the pattern of structural relationships [37]. The resulting anonymous walks (AWs) have been theoretically shown to contain sufficient information to reconstruct node ego-nets [38]. Motivated by these findings, we develop PI-HIST (Position and Identity embedding from Hidden Hierarchical Structures of graph Topology). It treats RWs and AWs as topology-induced operators rather than viewing them merely as sampling procedures. We use random features as the common inputs these operators and derive embeddings via a only single training-free feedforward propagation (FFP), which can expose complementary information about node positions and identities. This simple design also suggests the potential for a better quality-efficiency trade-off since there is no iterative gradient-based optimization.

We systematically evaluate this framework across 7 node-, edge-, and graph-level inference tasks, comparing PI-HIST with 18 classic and state-of-the-art baselines on 8 real-world and 9 synthetic graphs. Our results show that even with a random feature input and without gradient-based training, informative position and identity embeddings can emerge from PI-HIST's topology-induced propagation. The derived two types of embeddings exhibit different strengths across inference tasks. Their simple combination further improves the inference quality of some tasks compared with either embedding type alone. The training-free design also leads to favorable quality-efficiency trade-offs relative to more elaborate embedding methods. Collectively, these outcomes suggest that a substantial fraction of structural signals for informative graph embeddings can arise from the topology-induced operator before any learned transformation is introduced. More broadly, disentangling complementary graph topology channels provides a new insight into studying graph embedding mechanisms at the operator level and offers a simple perspective on designing efficient and interpretable graph inference models.

References (78)