ArticleslgStudy

computer science

Graph Aligner

Graph Aligner 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 Graph Aligner rather than just read about it. In short: Graph Aligner (GRAAL) is an algorithm for global network alignment that is based solely on network topology. It aligns two networks G and H by producing an alignment that consists of a set of ordered pairs (x,y), where x is a node in G and y is a node in H.

Key takeaways

  • Graph Aligner 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 Graph Aligner to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Graph Aligner from memory before moving on to harder problems.

Reference excerpt

Graph Aligner (GRAAL) is an algorithm for global network alignment that is based solely on network topology. It aligns two networks G and H by producing an alignment that consists of a set of ordered pairs (x,y), where x is a node in G and y is a node in H. GRAAL matches pairs of nodes originating in different networks based on their graphlet degree signature similarities, where a higher similarity between two nodes corresponds to a higher topological similarity between their extended neighborhoods (out to distance 4). GRAAL produces global alignments (i.e., it aligns each node in the smaller network to exactly one node in the larger network). The matching proceeds using a technique analogous to the "seed and extend" approach of the popular BLAST algorithm for sequence alignment: it first chooses a single "seed" pair of nodes (one node from each network) with high graphlet degree signature similarity. It then expands the alignment radially outward around the seed as far as practical using a greedy algorithm (see [Kuchaiev et al., 2010] for details).

Method When aligning two graphs G(V,E) and H(U,F), GRAAL first computes costs of aligning each node v in G with each node u in H. The cost of aligning two nodes takes into account the graphlet degree signature similarity between them, modified to reduce the cost as the degrees of both nodes increase, since higher-degree nodes with similar signatures provide a tighter constraint than correspondingly similar low-degree nodes. In this way, GRAAL align the densest parts of the networks first. Let deg(v) be the degree of a node v in network G, let maxdeg(G) be the maximum degree of nodes in G, let S(v,u) be the graphlet degree signature similarity of nodes v and u, and let α be a parameter in [0, 1] that controls the contribution of the node signature similarity to the cost function (that is, 1−α is the parameter that controls the contribution of node degrees to the cost function), then the cost of aligning nodes v and u is computed as: C(v,u)=2−((1−α)×deg(v)+deg(u)max_deg(G)+max_deg(H)+α×S(v,u)).A cost of 0 corresponds to a pair of topologically identical nodes v and u, while a cost close to 2 corresponds to a pair of topologically different nodes. GRAAL chooses as the initial seed a pair of nodes (v,u), v∈V and u∈U, that have the smallest cost. Ties are broken randomly. Once the seed is found, GRAAL builds "spheres" of all possible radii around nodes v and u. A sphere of radius r around node v is the set of nodes SG(v,r)={x∈V:d(v,x)=r} that are at distance r from v, where the distance d(v,x) is the length of the shortest path from v to x. Spheres of the same radius in two networks are then greedily aligned together by searching for the pairs (v′,u′):v′∈SG(v,r) and u′∈SH(u,r) that are not already aligned and that can be aligned with the minimal cost. When all spheres around the seed (v,u) have been aligned, some nodes in both networks may remain unaligned. For this reason, GRAAL repeats the same algorithm on a pair of networks (Gp,Hp) for p=1,2, and 3, and searches for the new seed again, if necessary. Network Gp is defined as a new network Gp=(V,Ep) having the same set of nodes as G and having (v,x)∈Ep if and only if the distance between nodes v and x in G is less than or equal to p, i.e., dG(v,x)≤p. Note that G1=G. Using Gp, p>1, allows us to align a path of length p in one network to a single edge in another network, which is analogous to allowing "insertions" or "deletions" in a sequence alignment. GRAAL stops when each node from G is aligned to exactly one node in H.

Application GRAAL was used to align two protein-protein interaction (PPI) networks and predict biological function of unannotated proteins based on the function of their annotated aligned partners. Also, GRAAL was used to compute a pairwise all-to-all network similarity matrix between metabolic networks of a group of species and then build their phylogenetic tree. All of this was achieved using solely network topological information.

References

Worked examples

Example 1 — a first encounter with Graph Aligner

Start with the simplest possible case. Write down what Graph Aligner 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 Graph Aligner 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 Graph Aligner 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 Graph Aligner

In research
Graph Aligner 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 Graph Aligner 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
Graph Aligner is common in secondary-school and first-year university syllabi. It links to neighbouring topics Networks, so understanding it makes those chapters shorter.
In everyday life
Look for Graph Aligner 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.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Graph Aligner” →

How to study Graph Aligner in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Graph Aligner 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 Graph Aligner out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Graph Aligner in simple terms?

Graph Aligner (GRAAL) is an algorithm for global network alignment that is based solely on network topology. It aligns two networks G and H by producing an alignment that consists of a set of ordered pairs (x,y), where x is a node in G and y is a node in H.

Why does Graph Aligner 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 Graph Aligner?

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 Graph Aligner.

Tags

  • Networks

Keep exploring