Network Motif Analysis — Recurring Structural Building Blocks

Machine Learning
Year
2002
Type
Statistical pattern-detection method for directed graphs

What does it do?

Network motif analysis is a statistical method for directed networks, introduced by Milo, Shen-Orr, and Alon in 2002, that identifies small recurring subgraph patterns, called motifs, which occur more often than expected in a comparable random network.

The real network is compared against an ensemble of randomised graphs, so that over-represented patterns can be distinguished from patterns that arise from the network's overall structure. The method has been applied to biological regulatory networks, neural wiring diagrams, food webs and other complex systems.

The intuition behind the method

Suppose a wiring diagram contains one particular three-node loop far more often than a randomly wired network of the same size would. That excess is a candidate signature of a recurring design principle in the network. Network motif analysis formalises this comparison. It counts small connected subgraph patterns in the real network, generates many randomised networks under a stated null model, and asks which patterns are over-represented beyond chance. Those patterns are the motifs. Over-representation is a statistical finding about structure; it does not by itself show what the pattern does.

History

Network motif analysis was introduced by Ron Milo, Shai Shen-Orr, Uri Alon and colleagues in a 2002 paper in Science. That paper defined motifs as interconnection patterns found at significantly higher numbers than in randomised networks, and reported them in networks from biochemistry, neurobiology, ecology and engineering, including E. coli and yeast genetic networks, C. elegans neuronal connections and the World Wide Web. Alon's 2007 review in Nature Reviews Genetics surveys the theory and experimental approaches to network motifs. Later work has developed faster enumeration and approximate sampling methods for larger networks.

When to use it

Choose network motif analysis when you have a directed network and want to know which small subgraph patterns recur more often than a suitable random ensemble predicts. It suits exploratory and descriptive questions. It requires a binary adjacency structure, with edges present or absent, and does not require a parametric model of the data. Z-scores, however, assume that random-ensemble counts are approximately normal; when counts are skewed or the ensemble is small, use empirical p-values from the ensemble instead. Very small networks give few expected subgraph counts in random ensembles, so Z-scores become unstable; check expected counts for your network before interpreting results. Do not use the standard 3- and 4-node framework for undirected networks: it is defined for directed graphs, and undirected networks have far fewer distinct connected patterns, which weakens the comparison. If your network is undirected, an undirected method such as graphlet or triangle-based analysis is a different approach and should be justified on its own terms. Use approximate sampling and a clearly justified null model for 4-node or larger motifs in very large networks.

Limitations and considerations

  • Exact subgraph enumeration becomes expensive as motif size and network size grow, which is why 4-node analysis of large networks usually relies on approximate sampling.
  • The null model strongly affects the result: a degree-preserving ensemble and a fully random one can assign different Z-scores to the same pattern.
  • The standard 3- and 4-node library is defined for directed graphs; applying it to undirected networks departs from the framework and gives less discriminating results.
  • Over-representation describes structure, not causal or functional role; interpreting why a motif matters requires domain knowledge.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Significance is assessed against a randomised reference ensemble built from the same network, rather than by visual inspection of pattern counts.
  • Produces a compact significance profile that can be compared across networks of the same type.
  • The framework is not tied to one field: the 2002 study applied it to biochemical, neurobiological, ecological and engineering networks.
  • Requires a binary directed adjacency structure rather than a parametric model of the data.

Applications

  • Identifying recurring regulatory circuit types, such as feed-forward loops, in gene transcription networks.
  • Characterising building blocks in neural wiring diagrams, as in the C. elegans neuronal study.
  • Comparing structural profiles of food webs or other ecological networks with those of genetic or technological networks.
  • Exploratory analysis of social or citation networks, where the choice of null model and the interpretation of motifs need particular care.

How it works

How it works

1

A null ensemble is built by generating many randomised networks from the real one. The ensemble should be generated by degree-preserving edge switching, in which each node keeps its in-degree and out-degree, so that excess subgraph counts are not simply a consequence of hub nodes. The randomisation scheme must be stated explicitly, because it determines which patterns appear significant: a fully random ensemble and a degree-preserving one can assign different Z-scores to the same pattern.

2

All connected subgraphs of a fixed size, typically 3 or 4 nodes, are counted in the real network and grouped into isomorphism classes, that is, the distinct shapes a pattern of that size can take. State whether counts refer to induced or non-induced subgraphs, since this changes the counts being compared. The number of candidate subgraphs grows rapidly with network size and motif size, so exact enumeration is practical for small motifs or moderately sized networks; larger networks generally require approximate sampling.

3

For each subgraph isomorphism class, the real count is compared against the distribution of counts across the random ensemble. A Z-score is computed as (real count minus mean random count) divided by the standard deviation of random counts. A Z-score above 2, or equivalently p < 0.05, marks a subgraph as statistically significant, i.e. a candidate motif. Because many subgraph classes are tested at once, some will pass this threshold by chance. Report the number of classes tested and apply a multiple-testing correction, such as Bonferroni or false discovery rate control, or treat borderline motifs as exploratory. Z > 2 and p < 0.05 are conventional approximations, not exact equivalents. When random counts are skewed or the ensemble is small, the approximate normality behind Z-scores is weak, and empirical p-values from the ensemble are preferable.

4

The Z-scores across all detected subgraph classes are normalised and assembled into a significance profile for the network. A common normalisation divides each Z-score by the square root of the sum of squared Z-scores across all classes, which places profiles on a common scale. The 2002 study reported that networks of similar function shared motif profiles, for example ecological food webs differed from genetic networks, so comparing profiles across networks can show which patterns are characteristic of a class. Profiles are comparable only when they use the same null model and motif size; networks of different sizes or densities should not be compared without that matching. Report the normalisation used, since it affects how profiles are compared.

Common pitfalls

  • Using an ensemble that is too small produces unstable Z-scores with high variance. Increase the number of random graphs until Z-scores stop changing appreciably between runs, and report the final ensemble size.
  • Applying the method to a very small network yields expected frequencies in random graphs that are too low for stable Z-scores; check expected counts before interpreting.
  • Confusing subgraph frequency with functional importance: a motif being statistically over-represented does not prove it performs a specific biological or social function.
  • Ignoring degree heterogeneity in the null model: if the random ensemble does not match the real network's degree sequence, hub nodes artificially inflate subgraph counts.

Frequently asked questions

What is a network motif, exactly?

A network motif is a small connected subgraph pattern, typically involving 3 or 4 nodes, that occurs significantly more frequently in a real network than in a matched random ensemble. Statistical significance is assessed by a Z-score (real count minus mean random count, divided by the standard deviation across random graphs), with Z > 2 or p < 0.05 as the conventional threshold.

How large does my network need to be?

Very small networks give few expected subgraph counts in random ensembles, so Z-scores are unstable; check expected counts for your network before interpreting results. Exact 3-node enumeration remains practical for fairly large networks, while 4-node and larger motif searches on large networks generally require approximate sampling algorithms.

Can I run motif analysis on an undirected network?

The standard 3- and 4-node motif library defined by Milo et al. (2002) is built for directed graphs. Undirected networks have far fewer distinct connected patterns, so the directed framework has less discriminating power and is no longer the standard method. If your network is undirected, first check whether the directed framework fits your question; if you proceed, state clearly that you have departed from the standard method.

How many random graphs should I generate for the null ensemble?

Increase the ensemble until the Z-scores stop changing appreciably between runs, and report the final ensemble size. The randomised graphs should preserve the degree sequence of the real network, by edge switching or configuration-model sampling, so that excess subgraph counts are not simply an artefact of degree structure. State which randomisation scheme you used.

Related methods

Sources

  1. Milo, R., Shen-Orr, S., Itzkovitz, S., Kashtan, N., Chklovskii, D., & Alon, U. (2002). Network Motifs: Simple Building Blocks of Complex Networks. Science, 298(5594), 824-827.

    Open DOI reference
  2. Alon, U. (2007). Network Motifs: Theory and Experimental Approaches. Nature Reviews Genetics, 8(6), 450-461.

    Open DOI reference