Link prediction is a fundamental graph learning task that computes the probability of an edge existing or forming between two distinct nodes in a network. By analyzing the graph's structural topology and node attributes, the model scores unconnected node pairs to forecast future transactions, identify missing relationships, or uncover deliberately obscured collusion within a transaction graph.
Glossary
Link Prediction

What is Link Prediction?
Link prediction is a core graph learning task that estimates the likelihood of a future or unobserved connection forming between two nodes, enabling the discovery of hidden relationships in financial networks.
In financial fraud detection, link prediction is critical for surfacing hidden connections between seemingly unrelated accounts that form a fraud ring. The technique leverages node embedding similarity, heuristic proximity measures, or Graph Neural Network (GNN) encoders to generate edge likelihoods, enabling investigators to preemptively identify synthetic identity clusters and money laundering layering paths before they fully materialize.
Core Link Prediction Techniques
Link prediction is the graph learning task of estimating the probability of a future or unobserved connection between two nodes. In financial fraud detection, it is used to forecast hidden collusion, anticipate the formation of fraud rings, and identify missing links in money laundering networks.
Heuristic Similarity Scores
Classical methods that compute a similarity metric between node pairs based on graph topology, serving as a fast, interpretable baseline for link likelihood.
- Common Neighbors: Counts shared neighbors; high overlap suggests a future link.
- Jaccard Coefficient: Normalizes common neighbors by total unique neighbors to penalize high-degree nodes.
- Adamic-Adar Index: Weighs common neighbors inversely by their degree, prioritizing rare, specific connections.
- Preferential Attachment: Scores node pairs by the product of their degrees, capturing the rich-get-richer effect in network growth.
Node Embedding-Based Prediction
Learns a low-dimensional vector representation for each node such that structural proximity is preserved in the embedding space. Link probability is computed as a similarity operation on the learned vectors.
- Node2Vec: Uses biased random walks to balance homophily and structural equivalence before training a Skip-gram model.
- DeepWalk: Performs uniform random walks to generate node sequences, treating them as sentences for word2vec-style training.
- Scoring Functions: Apply cosine similarity or a learned binary classifier to the Hadamard product of the two node embeddings to produce a link probability.
Graph Autoencoder (GAE) Decoding
An unsupervised deep learning architecture where a GNN encoder compresses nodes into latent vectors, and a decoder reconstructs the adjacency matrix. Links with high reconstruction probability are predicted.
- Encoder: Typically a 2-layer GCN that generates node embeddings from features and topology.
- Decoder: Computes the inner product of two node embeddings followed by a sigmoid activation to output a link probability.
- Training Objective: Minimizes binary cross-entropy between the reconstructed and original adjacency matrices, treating observed edges as positive samples and randomly sampled non-edges as negatives.
SEAL: Subgraph-Based Learning
A framework that frames link prediction as a binary subgraph classification problem, learning heuristics directly from the local enclosing graph around a target node pair.
- Enclosing Subgraph Extraction: Extracts the k-hop neighborhood surrounding the two target nodes.
- Node Labeling: Applies a Double-Radius Node Labeling (DRNL) function to tag nodes by their distance to the source and target, providing structural roles.
- GNN Classifier: Feeds the labeled subgraph into a GNN that outputs a probability score, enabling the model to learn complex structural heuristics beyond fixed similarity metrics.
Temporal Link Prediction
Extends link prediction to dynamic graphs where edges are timestamped, forecasting future interactions based on historical temporal patterns.
- Temporal Graph Networks (TGN): Maintains a compressed memory state for each node that updates continuously as new events occur, enabling the model to predict the next interaction partner.
- Time-Encoding Functions: Uses sinusoidal or learnable Fourier features to encode continuous timestamps, allowing the model to reason about periodicity and recency.
- Application: Predicts which merchant an account will transact with next, flagging deviations from predicted behavior as anomalous.
Knowledge Graph Completion
Link prediction applied to heterogeneous knowledge graphs with typed edges, predicting missing relationship triples (head, relation, tail).
- TransE: Models relationships as translations in the embedding space: h + r ≈ t.
- RotatE: Models relations as rotations in complex vector space, capturing symmetry, inversion, and composition patterns.
- Financial KG Application: Predicts hidden beneficial ownership links or undisclosed relationships between shell companies and sanctioned entities by completing the graph of corporate registries and transaction flows.
Frequently Asked Questions
Concise, technically precise answers to the most common questions about applying link prediction to financial fraud detection, graph neural networks, and relational anomaly scoring.
Link prediction is a graph learning task that estimates the probability of a missing or future connection between two nodes. In a financial graph, it works by learning a scoring function ( f(u, v) \rightarrow [0,1] ) from the existing topology and node features. A Graph Neural Network (GNN) generates low-dimensional node embeddings for entities like accounts or merchants. The model then computes a similarity metric—such as the dot product or a neural classifier—on the embeddings of a candidate node pair. During training, the model is exposed to positive edges (real transactions) and negative samples (non-existent links). The optimized function learns structural heuristics like preferential attachment and triadic closure, enabling it to forecast hidden collusion, predict the next hop in a money laundering chain, or infer undisclosed beneficial ownership relationships that violate compliance rules.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Link prediction is a core graph learning task that relies on a constellation of related algorithms and concepts. The following terms form the essential toolkit for building and interpreting predictive models on financial transaction graphs.
Node Embedding
The process of mapping discrete nodes to a low-dimensional, continuous vector space. The geometric proximity of these vectors preserves the structural and feature-based similarities of the original network. Link prediction is a primary downstream task used to evaluate the quality of these embeddings, as effective vectors should place nodes likely to form a connection near each other. Foundational algorithms include DeepWalk, Node2Vec, and GraphSAGE.
Graph Autoencoder (GAE)
An unsupervised learning architecture that uses a Graph Neural Network encoder to produce latent node embeddings and a decoder to reconstruct the original graph adjacency matrix. For link prediction, the decoder scores the likelihood of an edge existing between two nodes based on their latent representations. A high reconstruction error for an existing edge, or a high predicted probability for a non-existent edge, can signal an anomaly or a future connection.
Message Passing
The fundamental computational paradigm in Graph Neural Networks where nodes iteratively exchange vectorized information with their neighbors to update their own hidden states. This mechanism captures relational dependencies crucial for link prediction. A model predicts a link between two nodes if their final, context-aware representations are highly similar, indicating they share significant topological and feature-based information.
Random Walk
A stochastic process that generates node sequences by randomly traversing graph edges. It serves as a foundational sampling strategy for learning structural node representations. In link prediction, the core heuristic is that nodes appearing in similar contexts within these short random walks should have similar embeddings, making them strong candidates for a predicted connection. Algorithms like Node2Vec use biased walks to balance local and global graph exploration.
Temporal Graph Network (TGN)
A neural architecture designed for dynamic graphs where interactions occur chronologically. For link prediction, a TGN maintains a compressed memory state for each node that is updated after every new transaction. This allows the model to predict future links based on the evolving history of interactions, making it highly effective for forecasting the next transaction in a financial stream, rather than just analyzing a static snapshot.
Community Detection
The unsupervised partitioning of a graph into clusters of densely connected nodes. In the context of link prediction, the principle of homophily—that similar nodes connect—is key. If two nodes belong to the same detected community, the probability of a future or missing link between them is significantly higher. This is critical for identifying fraud rings where collusive links are intentionally hidden.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us