ArticleslgStudy

computer science

Dependency network

Dependency network 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 Dependency network rather than just read about it. In short: The dependency network approach provides a system level analysis of the activity and topology of directed networks. The approach extracts causal topological relations between the network's nodes (when the network structure is analyzed), and provides an important step towards inference of causal activity relations between the network nodes (when analyzing the network activity).

Dependency network — main illustration
Dependency network — illustration

Key takeaways

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

Reference excerpt

The dependency network approach provides a system level analysis of the activity and topology of directed networks. The approach extracts causal topological relations between the network's nodes (when the network structure is analyzed), and provides an important step towards inference of causal activity relations between the network nodes (when analyzing the network activity). This methodology has originally been introduced for the study of financial data, it has been extended and applied to other systems, such as the immune system, semantic networks, and functional brain networks. In the case of network activity, the analysis is based on partial correlations. In simple words, the partial (or residual) correlation is a measure of the effect (or contribution) of a given node, say j, on the correlations between another pair of nodes, say i and k. Using this concept, the dependency of one node on another node is calculated for the entire network. This results in a directed weighted adjacency matrix of a fully connected network. Once the adjacency matrix has been constructed, different algorithms can be used to construct the network, such as a threshold network, Minimal Spanning Tree (MST), Planar Maximally Filtered Graph (PMFG), and others.

Importance The partial correlation based dependency network is a class of correlation network, capable of uncovering hidden relationships between its nodes. This original methodology was first presented at the end of 2010, published in PLoS ONE. The authors quantitatively uncovered hidden information about the underlying structure of the U.S. stock market, information that was not present in the standard correlation networks. One of the main results of this work is that for the investigated time period (2001–2003), the structure of the network was dominated by companies belonging to the financial sector, which are the hubs in the dependency network. Thus, they were able for the first time to quantitatively show the dependency relationships between the different economic sectors. Following this work, the dependency network methodology has been applied to the study of the immune system, semantic networks, and functional brain networks.

Overview To be more specific, the partial correlation of the pair (i, k) given j, is the correlation between them after proper subtraction of the correlations between i and j and between k and j. Defined this way, the difference between the correlations and the partial correlations provides a measure of the influence of node j on the correlation. Therefore, we define the influence of node j on node i, or the dependency of node i on node j − D(i,j), to be the sum of the influence of node j on the correlations of node i with all other nodes. In the case of network topology, the analysis is based on the effect of node deletion on the shortest paths between the network nodes. More specifically, we define the influence of node j on each pair of nodes (i,k) to be the inverse of the topological distance between these nodes in the presence of j minus the inverse distance between them in the absence of node j. Then we define the influence of node j on node i, or the dependency of node i on node j − D(i,j), to be the sum of the influence of node j on the distances between node i with all other nodes k.

The activity dependency networks

The node-node correlations The node-node correlations can be calculated by Pearson's formula:

Ci,j=⟨(Xi(n)−μi)(Xj(n)−μj)⟩σiσj Where Xi(n) and Xj(n) are the activity of nodes i and j of subject n, μ stands for average, and sigma the STD of the dynamics profiles of nodes i and j. Note that the node-node correlations (or for simplicity the node correlations) for all pairs of nodes define a symmetric correlation matrix whose (i,j) element is the correlation between nodes i and j.

Partial correlations Next we use the resulting node correlations to compute the partial correlations. The first order partial correlation coefficient is a statistical measure indicating how a third variable affects the correlation between two other variables. The partial correlation between nodes i and k with respect to a third node j−PC(i,k∣j) is defined as:

PC(i,k∣j)=C(i,k)−C(i,j)C(k,j)[1−C2(i,j)][1−C2(k,j)] where C(i,j),C(i,k) and C(j,k) are the node correlations defined above.

The correlation influence and correlation dependency The relative effect of the correlations C(i,j) and C(j,k) of node j on the correlation C(i,k) is given by:

d(i,k∣j)≡C(i,k)−PC(i,k|j) This avoids the trivial case were node j appears to strongly affect the correlation C(i,k) , mainly because C(i,j),C(i,k) and C(j,k) have small values. We note that this quantity can be viewed either as the correlation dependency of C(i,k) on node j (the term used here) or as the correlation influence of node j on the correlation C(i,k).

Node activity dependencies Next, we define the total influence of node j on node i, or the dependency D(i,j) of node i on node j to be:

D(i,j)=1N−1∑k≠jN−1d(i,k∣j) As defined,D(i,j) is a measure of the average influence of node j on the correlations C(i,k) over all nodes k not equal to j. The node activity dependencies define a dependency matrix D whose (i,j) element is the dependency of node i on node j. While the correlation matrix C is a symmetric matrix, the dependency matrix D is nonsymmetrical – D(i,j)≠D(j,i) since the influence of node j on node i is not equal to the influence of node i on node j. For this reason, some of the methods used in the analyses of the correlation matrix (e.g. the PCA) have to be replaced or are less efficient. Yet there are other methods, as the ones used here, that can properly account for the non-symmetric nature of the dependency matrix.

The structure dependency networks The path influence and distance dependency: The relative effect of node j on the directed path DP(i→k|j) – the shortest topological path with each segment corresponds to a distance 1, between nodes i and k is given:

DP(i→k∣j)≡1td(i→k∣j+)−1td(i→k∣j−) where td(i→k|j+) and td(i→k∣j−) are the shortest directed topological path from node i to node k in the presence and the absence of node j respectively.

… excerpt ends here. Continue reading the full article.

Illustrations

Dependency network: Dependency network of financial data, for 300 of the S&P500 stocks, traded between 2001 and 2003. Stocks are grouped by economic sectors, and the arrow points in the direction of influence. The hub of the network, the most influencing sector, is the Financial sector. Reproduction from Kenett et al., PLoS ONE 5(12), e15032 (2010)
Dependency network of financial data, for 300 of the S&P500 stocks, traded between 2001 and 2003. Stocks are grouped by economic sectors, and the arrow points in the direction of influence. The hub of the network, the most influencing sector, is the Financial sector. Reproduction from Kenett et al., PLoS ONE 5(12), e15032 (2010)
Dependency network: Dependency Network of specific antibodies activity, measured for a group of mothers. Panel (a) presents the dependency network, and panel (b) the standard correlation network. Reproduction from Madi et al., Chaos 21, 016109 (2011)
Dependency Network of specific antibodies activity, measured for a group of mothers. Panel (a) presents the dependency network, and panel (b) the standard correlation network. Reproduction from Madi et al., Chaos 21, 016109 (2011)
Dependency network: Example of Dependency Network of associations, constructed from a full semantic network. Reproduction from Kenett et al., PLoS ONE 6(8): e23912 (2011)
Example of Dependency Network of associations, constructed from a full semantic network. Reproduction from Kenett et al., PLoS ONE 6(8): e23912 (2011)

Worked examples

Example 1 — a first encounter with Dependency network

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

In research
Dependency network 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 Dependency network 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
Dependency network is common in secondary-school and first-year university syllabi. It links to neighbouring topics Network analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Dependency network 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 “Dependency network” →

How to study Dependency network in 20 minutes

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

Frequently asked questions

What is Dependency network in simple terms?

The dependency network approach provides a system level analysis of the activity and topology of directed networks. The approach extracts causal topological relations between the network's nodes (when the network structure is analyzed), and provides an important step towards inference of causal act…

Why does Dependency network 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 Dependency network?

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 Dependency network.

Tags

  • Network analysis

Keep exploring