ArticleslgStudy

computer science

Graphlets

Graphlets 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 Graphlets rather than just read about it. In short: Graphlets in mathematics are induced subgraph isomorphism classes in a graph, i.e. two graphlet occurrences are isomorphic, whereas two graphlets are non-isomorphic. Graphlets differ from network motifs in a statistical sense, network motifs are defined as over- or under-represented graphlets with respect to some random graph null model.

Key takeaways

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

Reference excerpt

Graphlets in mathematics are induced subgraph isomorphism classes in a graph, i.e. two graphlet occurrences are isomorphic, whereas two graphlets are non-isomorphic. Graphlets differ from network motifs in a statistical sense, network motifs are defined as over- or under-represented graphlets with respect to some random graph null model.

Graphlet-based network properties

Relative graphlet frequency distance RGF-distance compares the frequencies of the appearance of all 3-5-node graphlets in two networks. Let Ni(G) be the number of graphlets of type i (i∈{1,…,29}) in network G, and let T(G)=∑i=129Ni(G) be the total number of graphlets of G. The "similarity" between two graphs should be independent of the total number of nodes or edges, and should depend only upon the differences between relative frequencies of graphlets. Thus, relative graphlet frequency distance D(G,H) between two graphs G and H is defined as: D(G,H)=∑i=129|Fi(G)−Fi(H)|, where Fi(G)=−log⁡(Ni(G)/T(G)). The logarithm of the graphlet frequency is used because frequencies of different graphlets can differ by several orders of magnitude and the distance measure should not be entirely dominated by the most frequent graphlets.

Graphlet degree distribution agreement GDD-agreement generalizes the notion of the degree distribution to the spectrum of graphlet degree distributions (GDDs) in the following way. The degree distribution measures the number of nodes of degree k in graph G, i.e., the number of nodes "touching" k edges, for each value of k. Note that an edge is the only graphlet with two nodes. GDDs generalize the degree distribution to other graphlets: they measure for each 2-5-node graphlet Gi, i=0,1,...,29, such as a triangle or a square, the number of nodes "touching" k graphlets Gi at a particular node. A node at which a graphlet is "touched" is topologically relevant, since it allows us to distinguish between nodes "touching", for example, a three node path at an end node or at the middle node. This is summarized by automorphism orbits (or just orbits, for brevity): by taking into account the "symmetries" between nodes of a graphlet, there are 73 different orbits across all 2-5-node graphlets (see [Pržulj, 2007] for details). For each orbit j, one needs to measure the jth GDD, dGj(k), i.e., the distribution of the number of nodes in G "touching" the corresponding graphlet at orbit j k times. Clearly, the degree distribution is the 0th GDD. dGj(k) is scaled as SGj(k)=dGj(k)k to decrease the contribution of larger degrees in a GDD and then normalized with respect to its total area TGj=∑k=1∞SGj(k) giving the "normalized distribution" NGj(k)=SGj(k)TGj. The jth GDD-agreement compares the jth GDDs of two networks. For two networks G and H and a particular orbit j, the "distance" Dj(G,H) between their normalized jth GDDs is: Dj(G,H)=12(∑k=1∞[NGj(k)−NHj(k)]2)12. The distance is between 0 and 1, where 0 means that G and H have identical jth GDDs, and 1 means that their jth GDDs are far away. Next, Dj(G,H) is reversed to obtain the jth GDD-agreement: Aj(G,H)=1−Dj(G,H), for j∈{0,1,…,72}. The total GDD-agreement between two networks G and H is the arithmetic or the geometric average of the jth GDD-agreements over all j, i.e., Aarith(G,H)=173∑j=072Aj(G,H), and Ageo(G,H)=(∏j=072Aj(G,H))173, respectively. GDD-agreement is scaled to always be between 0 and 1, where 1 means that two networks are identical with respect to this property. (See [Pržulj, 2007] for details.)

Graphlet degree vectors (signatures) and signature similarities This method generalizes the degree of a node, which counts the number of edges that the node touches, into the vector of graphlet degrees, or graphlet degree signature, counting the number of graphlets that the node touches at a particular orbit, for all graphlets on 2 to 5 nodes. The resulting vector of 73 coordinates is the signature of a node that describes the topology of node's neighborhood and captures its interconnectivities out to a distance of 4 (see [Milenković and Pržulj, 2008] for details). The graphlet degree signature of a node provides a highly constraining measure of local topology in its vicinity and comparing the signatures of two nodes provides a highly constraining measure of local topological similarity between them. The signature similarity is computed as follows. For a node u in graph G, ui denotes the ith coordinate of its signature vector, i.e., ui is the number of times node u is touched by an orbit i in G. The distance Di(u,v) between the ith orbits of nodes u and v is defined as: Di(u,v)=wi×|log⁡(ui+1)−log⁡(vi+1)|log⁡(max⁡{ui,vi}+2), where wi is the weight of orbit i that accounts for dependencies between orbits (see [Milenković and Pržulj, 2008] for details). The total distance D(u,v) between nodes u and v is defined as: D(u,v)=∑i=072Di∑i=072wi. The distance D(u,v) is in [0, 1), where distance 0 means that signatures of nodes u and v are identical. Finally, the signature similarity, S(u,v), between nodes u and v is: S(u,v)=1−D(u,v). Clearly, a higher signature similarity between two nodes corresponds to a higher topological similarity between their extended neighborhoods (out to distance 4).

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Graphlets

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

In research
Graphlets 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 Graphlets 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
Graphlets 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 Graphlets 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 “Graphlets” →

How to study Graphlets in 20 minutes

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

Frequently asked questions

What is Graphlets in simple terms?

Graphlets in mathematics are induced subgraph isomorphism classes in a graph, i.e. two graphlet occurrences are isomorphic, whereas two graphlets are non-isomorphic. Graphlets differ from network motifs in a statistical sense, network motifs are defined as over- or under-represented graphlets with…

Why does Graphlets 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 Graphlets?

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 Graphlets.

Tags

  • Networks

Keep exploring