Universal Link Predictor By In-Context Learning on Graphs
Not on the map. Why?
Abstract (arXiv)
Link prediction is a crucial task in graph machine learning, where the goal is to infer missing or future links within a graph. Traditional approaches leverage heuristic methods based on widely observed connectivity patterns, offering broad applicability and generalizability without the need for model training. Despite their utility, these methods are limited by their reliance on human-derived heuristics and lack the adaptability of data-driven approaches. Conversely, parametric link predictors excel in automatically learning the connectivity patterns from data and achieving state-of-the-art but fail short to directly transfer across different graphs. Instead, it requires the cost of extensive training and hyperparameter optimization to adapt to the target graph. In this work, we introduce the Universal Link Predictor (UniLP), a novel model that combines the generalizability of heuristic approaches with the pattern learning capabilities of parametric models. UniLP is designed to autonomously identify connectivity patterns across diverse graphs, ready for immediate application to any unseen graph dataset without targeted training. We address the challenge of conflicting connectivity patterns-arising from the unique distributions of different graphs-through the implementation of In-context Learning (ICL). This approach allows UniLP to dynamically adjust to various target graphs based on contextual demonstrations, thereby avoiding negative transfer. Through rigorous experimentation, we demonstrate UniLP's effectiveness in adapting to new, unseen graphs at test time, showcasing its ability to perform comparably or even outperform parametric models that have been finetuned for specific datasets. Our findings highlight UniLP's potential to set a new standard in link prediction, combining the strengths of heuristic and parametric methods in a single, versatile framework.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 40 of its 70 references that are in the map. First posted on arXiv 12 Feb 2024.
Builds on
40 of 70 references.
References · 40
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2023Segment Anythingcited by 8,158
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2016Variational Graph Auto-Encoderscited by 1,373
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
28 more
- 2014How transferable are features in deep neural networks?cited by 1,216
- 2018Pitfalls of Graph Neural Network Evaluationcited by 994
- 2016Revisiting Semi-Supervised Learning with Graph Embeddingscited by 970
- 2018Link Prediction Based on Graph Neural Networkscited by 829
- 2021How Attentive are Graph Attention Networks?cited by 818
- 2019Multi-scale Attributed Node Embeddingcited by 543
- 2013DeCAF: A Deep Convolutional Activation Feature for Generic Visual Recognitioncited by 422
- 2023Larger language models do in-context learning differentlycited by 386
- 2019Inductive Relation Prediction by Subgraph Reasoningcited by 237
- 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 235
- 2022Why Can GPT Learn In-Context? Language Models Implicitly Perform Gradient Descent as Meta-Optimizerscited by 204
- 2023What In-Context Learning "Learns" In-Context: Disentangling Task Recognition and Task Learningcited by 149
- 2020Labeling Trick: A Theory of Using Graph Neural Networks for Multi-Node Representation Learningcited by 148
- 2022Understanding and Extending Subgraph GNNs by Rethinking Their Symmetriescited by 112
- 2023PRODIGY: Enabling In-context Learning Over Graphscited by 97
- 2022Decoupling the Depth and Scope of Graph Neural Networkscited by 94
- 2022Graph Neural Networks for Link Prediction with Subgraph Sketchingcited by 81
- 2021AFEC: Active Forgetting of Negative Transfer in Continual Learningcited by 73
- 2023Neural Common Neighbor with Completion for Link Predictioncited by 64
- 2020Inductive Entity Representations from Text via Link Predictioncited by 61
- 2022The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns via Spotlights of Attentioncited by 45
- 2022Linkless Link Prediction via Relational Distillationcited by 39
- 2019Stacking Models for Nearly Optimal Link Prediction in Complex Networkscited by 35
- 2015Evaluating Link Prediction Methodscited by 31
- 2023Revisiting Link Prediction: A Data Perspectivecited by 29
- 2023Pure Message Passing Can Estimate Common Neighbor for Link Predictioncited by 18
- 2020Self-Supervised Learning of Contextual Embeddings for Link Prediction in Heterogeneous Networkscited by 17
- 2022FakeEdge: Alleviate Dataset Shift in Link Predictioncited by 12
Built on by
Citing papers per year: 2024: 2; 2025: 3; 2026: 7.
12 papers.
- 2024ARC: A Generalist Graph Anomaly Detector with In-Context Learningcited by 46
- 2024Fully-inductive Node Classification on Arbitrary Graphscited by 36
- 2026From Few-Shot to Zero-Shot: Towards Generalist Graph Anomaly Detectioncited by 8
- 2026TFMLinker: Universal Link Predictor by Graph In-Context Learning with Tabular Foundation Modelscited by 5
- 2026A Fair Evaluation of Graph Foundation Models for Node Property Predictioncited by 4
- 2025GILT: An LLM-Free, Tuning-Free Graph Foundational Model for In-Context Learningcited by 2
- 2025Designing a reliable lateral movement detector using a graph foundation modelcited by 1
- 2025Relation-Aware Graph Foundation Modelcited by 1
- 2026SASA: Semantic-Aware Contrastive Learning Framework with Separated Attention for Triple Classificationcited by 0
- 2026Mochi: Aligning Pre-training and Inference for Efficient Graph Foundation Models via Meta-Learningcited by 0
- 2026Generalist Graph Anomaly Detection via Prototype-Based Distillationcited by 0
- 2026Neural Message Passing on Structural Interaction Graphs for Fully-Inductive Graph Neural Networkscited by 0
- 2026Neural Message Passing on Structural Interaction Graphs for Fully-Inductive Graph Neural Networks9 Aug 2026
- 2026A Fair Evaluation of Graph Foundation Models for Node Property Prediction23 Jun 2026
- 2026Generalist Graph Anomaly Detection via Prototype-Based Distillation26 May 2026
- 2026Mochi: Aligning Pre-training and Inference for Efficient Graph Foundation Models via Meta-Learning23 Apr 2026
- 2026From Few-Shot to Zero-Shot: Towards Generalist Graph Anomaly Detection21 Feb 2026
- 2026TFMLinker: Universal Link Predictor by Graph In-Context Learning with Tabular Foundation Models9 Feb 2026
- 2026SASA: Semantic-Aware Contrastive Learning Framework with Separated Attention for Triple Classification19 Jan 2026
- 2025GILT: An LLM-Free, Tuning-Free Graph Foundational Model for In-Context Learning6 Oct 2025
- 2025Relation-Aware Graph Foundation Model17 May 2025
- 2025Designing a reliable lateral movement detector using a graph foundation model18 Apr 2025
- 2024Fully-inductive Node Classification on Arbitrary Graphs30 May 2024
- 2024ARC: A Generalist Graph Anomaly Detector with In-Context Learning27 May 2024