ArticleslgStudy

computer science

Link prediction

Link prediction is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Link prediction rather than just read about it. In short: In network theory, link prediction is the problem of predicting the existence of a link between two entities in a network. Examples of link prediction include predicting friendship links among users in a social network, predicting co-authorship links in a citation network, and predicting interactions between genes and proteins in a biological network.

Key takeaways

  • Link prediction belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Link prediction to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Link prediction from memory before moving on to harder problems.

Reference excerpt

In network theory, link prediction is the problem of predicting the existence of a link between two entities in a network. Examples of link prediction include predicting friendship links among users in a social network, predicting co-authorship links in a citation network, and predicting interactions between genes and proteins in a biological network. Link prediction can also have a temporal aspect, where, given a snapshot of the set of links at time t {\displaystyle t} , the goal is to predict the links at time t + 1 {\displaystyle t+1} . Link prediction is widely applicable. In e-commerce, link prediction is often a subtask for recommending items to users. In the curation of citation databases, it can be used for record deduplication. In bioinformatics, it has been used to predict protein-protein interactions (PPI). It is also used to identify hidden groups of terrorists and criminals in security related applications.

Problem definition Consider a network G = ( V , E ) {\displaystyle G=(V,E)} , where V {\displaystyle V} represents the entity nodes in the network and E ⊆ | V | {\displaystyle E\subseteq |V|} x | V | {\displaystyle |V|} represents the set of "true" links across entities in the network. We are given the set of entities V {\displaystyle V} and a subset of true links which are referred to as observed links. The goal of link prediction is to identify the unobserved true links. In the temporal formulation of link prediction the observed links correspond to true links at a time t {\displaystyle t} , and the goal is to infer the set of true links at time t + 1 {\displaystyle t+1}

Usually, we are also given a subset of unobserved links called potential links E ′ {\displaystyle E'} , and we need to identify true links among these potential links. In the binary classification formulation of the link prediction task the potential links are classified as either true links or false links. Link prediction approaches for this setting learn a classifier M b {\displaystyle M_{b}} that maps links in E ′ {\displaystyle E'} to positive and negative labels i.e. M b : E ′ → { 0 , 1 } {\displaystyle M_{b}:E'\to \{0,1\}} . In the probability estimation formulation, potential links are associated with existence probabilities. Link prediction approaches for this setting learn a model M p {\displaystyle M_{p}} that maps links in E ′ {\displaystyle E'} to a probability i.e. M p : E ′ → [ 0 , 1 ] {\displaystyle M_{p}:E'\to [0,1]} . Single link approaches learn a model that classifies each link independently. Structured prediction approaches capture the correlation between potential links by formulating the task as a collective link prediction task. Collective link prediction approaches learn a model that jointly identify all the true links among the set of potential links. Link prediction task can also be formulated as an instance of missing value estimation task. Here, the graph is represented as an adjacency matrix with missing values. The task is to complete the matrix by identifying the missing values. Matrix factorization based methods commonly use this formulation.

History The task of link prediction has attracted attention from several research communities ranging from statistics and network science to machine learning and data mining. In statistics, generative random graph models such as stochastic block models propose an approach to generate links between nodes in a random graph. For social networks, Liben-Nowell and Kleinberg proposed a link prediction models based on different graph proximity measures. Several statistical models have been proposed for link prediction by the machine learning and data mining community. For example, Popescul et al. proposed a structured logistic regression model that can make use of relational features. Local conditional probability models based on attribute and structural features were proposed by O’Madadhain et al. Several models based on directed graphical models for collective link prediction have been proposed by Getoor. Other approached based on random walks. and matrix factorization have also been proposed With the advent of deep learning, several graph embedding based approaches for link prediction have also been proposed. For more information on link prediction refer to the survey by Getoor et al. and Yu et al.

Approaches and methods Several link predication approaches have been proposed including unsupervised approaches such as similarity measures computed on the entity attributes, random walk and matrix factorization based approaches, and supervised approaches based on graphical models and deep learning. Link prediction approaches can be divided into two broad categories based on the type of the underlying network: (1) link prediction approaches for homogeneous networks (2) link prediction approaches for heterogeneous networks. Based on the type of information used to predict links, approaches can be categorized as topology-based approaches, content-based approaches, and mixed methods.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Link prediction

Start with the simplest possible case. Write down what Link prediction claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Link prediction before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Link prediction ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Link prediction

In research
Link prediction appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Link prediction in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Link prediction is common in secondary-school and first-year university syllabi. It links to neighbouring topics Graph algorithms, Link analysis, Network theory, so understanding it makes those chapters shorter.
In everyday life
Look for Link prediction outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Link prediction in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Link prediction means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Link prediction out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Link prediction in simple terms?

In network theory, link prediction is the problem of predicting the existence of a link between two entities in a network. Examples of link prediction include predicting friendship links among users in a social network, predicting co-authorship links in a citation network, and predicting interactio…

Why does Link prediction matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Link prediction?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Link prediction.

Tags

  • Graph algorithms
  • Link analysis
  • Network theory

Keep exploring