Manuscript Offprint

arXiv:2611.07347

AtlasULP: Domain-aware Universal Link Prediction via Relation Atlas

Yujing Liu, Yixin Liu, Yu Zheng, Lianhua Chi, Alan Wee-Chung Liew, Heng Tao Shen, Shirui Pan

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

Abstract

Link prediction (LP) is a widely applied task in graph learning. Conventional LP approaches typically follow a dataset-specific paradigm, requiring independent training for each graph and incurring high computational and maintenance costs in large-scale applications. Motivated by these limitations, recent work explores Universal Link Prediction (ULP), aiming to enable training-free inference on arbitrary unseen graphs. However, existing methods primarily rely on subgraph sampling strategies to construct universal representations, which are unable to capture higher-order information due to the exponential growth of higher-order neighborhoods. As a result, they often under-perform on graphs where long-range signals are essential, such as biological networks. Moreover, their prediction models are typically domain-agnostic and lack the ability to adapt to different graph domains, leading to limited generalization. To address these challenges, we propose an Atlas-based Universal Link Prediction framework (ATLASULP), which introduces the relation atlas to capture structural associations between node pairs from both global and local perspectives, enabling a comprehensive characterization of connectivity signals across diverse graph domains. Building upon this representation, we develop a domain-guided prompting ULP model, which generates domain-aware prompt tokens from contextual structures and performs prompt-guided in-context prediction for adaptive link inference. Extensive experiments demonstrate that ATLASULP consistently outperforms state-of-the-art methods across diverse graph domains.

1 Introduction

Link prediction (LP) aims to infer missing or potential interactions between entities in graph data, and is one of the most fundamental tasks in graph learning. With the widespread adoption of graph-structured data in real-world scenarios such as social networks [4, 18], biological networks [16, 36], and information networks [38, 42], LP techniques have been extensively applied to address practical problems such as friend recommendation [51, 52], protein–protein interaction prediction [40, 45], and knowledge graph completion [12, 48]. Despite the remarkable success of Graph Neural Networks (GNNs) [24, 28, 58] and various heuristic algorithms [11, 14] in LP, most existing approaches follow a dataset-specific paradigm, requiring independent model training or heuristic selection for new graphs. This results in heavy computational and operational costs, hindering their large-scale deployment in industrial settings and their applicability in real-world applications with limited training data.

To overcome the above limitations, a promising direction is to develop universal models [30, 25, 31] that enable training-free LP on unseen graphs without dataset-specific adaptation. Distinct from other

*Corresponding author.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

graph learning tasks such as node classification [29] and graph classification [19], LP is inherently more dependent on topological structures than node attributes, as it aims to infer missing links based on structural connectivity patterns. Moreover, in several real-world scenarios (e.g., protein-protein interaction networks), graph data are often unattributed, where only topological information is available. As a result, graph foundation models designed for other graph learning tasks often exhibit limited performance or even become inapplicable in LP due to their reliance on node attributes. In this context, Dong et al. conducted a pioneering exploration into universal link prediction (ULP), aiming to train models on source graphs from multiple domains and enable effective link prediction on unseen target graphs without fine-tuning. To this end, they proposed UniLP [10], a framework that extends Double Radius Node Labeling (DRNL) [54] to construct universal structural representations and incorporates an attention-based in-context learning model to predict links on unseen graphs.

Despite its pioneering efforts, UniLP still exhibits limited generalizable prediction capability across different domains, as it struggles to tackle two fundamental challenges in ULP. The first would be: C1 - How to construct a universal representation that can capture connectivity patterns across different graph domains? Due to domain heterogeneity, graphs from different domains exhibit distinct structural patterns and hence rely on different structural cues for link prediction [8, 26, 33]. For example, in social networks, links exhibit strong local clustering, well predicted by local patterns such as common neighbors [26]. In contrast, in citation networks, local patterns are often ineffective due to the scarcity of local topology. In these cases, global approaches such as the Katz index can better characterize higher-order path dependencies [8, 33]. Such significant diversity underscores the need for comprehensive representations that can capture multi-scale structural information for ULP. Nevertheless, UniLP only leverages DRNL on

Figure

Figure 1: Generalization across diverse graph domains.

local ego-subgraphs as the universal representation, which emphasizes the importance of 1–2-hop neighborhoods but overlooks higher-order structural signals, leading to suboptimal performance on graphs where long-range structural dependencies are critical, such as citation (Cora) and biological (Celegans) networks (Fig. 1).

While the representations serve as a unified input that provides rich structural information, the universal model still plays the critical role of learning both shared knowledge and domain-specific variations across different graph domains. This further motivates the second challenge: C2 - How to design universal models that can adaptively identify domain-specific connectivity signals? Since different graph domains exhibit distinct connectivity patterns, a comprehensive universal representation inevitably contains both useful and redundant structural signals depending on the target domain. Therefore, an ideal ULP model should go beyond a static prediction paradigm, possess the ability to perceive the connectivity patterns of the target domain. Ideally, it should further leverage structural priors learned from pre-training to capture discriminative structural signals from universal representations, thereby enabling cross-domain transfer. However, UniLP only partially fulfills this ideal, as its adaptive mechanism is confined to leveraging few-shot context samples for prediction, while failing to model domain-specific structural patterns with dynamic adaptation.

In this work, we tackle the above two challenges by proposing ATLASULP, a novel ULP framework. Our theme is to learn a comprehensive representation that captures multi-scale structural information, and couple it with a domain-adaptive inference model for ULP. More specifically, to address C1, we introduce Relation Atlas (RA), a new pair-level universal representation tailored for ULP, encoding multi-scale structural information from both global and local perspectives. At the global level, we leverage multi-order Chebyshev recursion to capture multi-order path responses, thereby modeling long-range topological dependencies. At the local level, we characterize fine-grained structural relationships using statistical measures that capture local connectivity patterns and structural role similarity, complementing global representations. Building upon RA, to handle C2, we propose a domain-guided prompting ULP model, consisting of two modules: domain-aware prompt learning and prompt-guided in-context prediction. Conditioned on the RA representations of the target dataset, the former constructs domain-specific structural prompts from a set of learnable structural probes, enabling the model to explicitly model domain-specific information. Powered by a Transformer backbone, the latter performs domain-adaptive link prediction by leveraging domain prompts and contextual information, thereby facilitating knowledge transfer across diverse graph domains. To sum up, the main contributions of this paper are three-fold:

  • Unified Representation. We rethink the construction of universal representations in existing LP methods and identify their limitations, motivating a relation atlas (RA) that captures both global and local structural associations between node pairs.

  • Universal Model. We propose ATLASULP, an Atlas-grounded universal LP framework that builds upon RA to enable effective cross-domain generalization via domain-aware prompt learning and prompt-guided in-context link prediction.

  • Experiments. Extensive experimental results on graph datasets from six real-world domains validate the effectiveness, transferability, and scalability of ATLASULP.

References (50)