 Research article
 Open Access
 Published:
Detection of the dominant direction of information flow and feedback links in densely interconnected regulatory networks
BMC Bioinformatics volume 9, Article number: 424 (2008)
Abstract
Background
Finding the dominant direction of flow of information in densely interconnected regulatory or signaling networks is required in many applications in computational biology and neuroscience. This is achieved by first identifying and removing links which close up feedback loops in the original network and hierarchically arranging nodes in the remaining network. In mathematical language this corresponds to a problem of making a graph acyclic by removing as few links as possible and thus altering the original graph in the least possible way. The exact solution of this problem requires enumeration of all cycles and combinations of removed links, which, as an NPhard problem, is computationally prohibitive even for modestsize networks.
Results
We introduce and compare two approximate numerical algorithms for solving this problem: the probabilistic one based on a simulated annealing of the hierarchical layout of the network which minimizes the number of "backward" links going from lower to higher hierarchical levels, and the deterministic, "greedy" algorithm that sequentially cuts the links that participate in the largest number of feedback cycles. We find that the annealing algorithm outperforms the deterministic one in terms of speed, memory requirement, and the actual number of removed links. To further improve a visual perception of the layout produced by the annealing algorithm, we perform an additional minimization of the length of hierarchical links while keeping the number of antihierarchical links at their minimum. The annealing algorithm is then tested on several examples of regulatory and signaling networks/pathways operating in human cells.
Conclusion
The proposed annealing algorithm is powerful enough to performs often optimal layouts of protein networks in whole organisms, consisting of around ~10^{4} nodes and ~10^{5} links, while the applicability of the greedy algorithm is limited to individual pathways with ~100 vertices. The considered examples indicate that the annealing algorithm produce biologically meaningful layouts: The function of the most of the antihierarchical links is indeed to send a feedback signal to the upstream pathway elements. Source codes of F 90 and Matlab implementation of the two algorithms are available at http://www.cmth.bnl.gov/~maslov/programs.htm
Background
During the last several years a substantial amount of information on largescale structure of intracellular regulatory and signaling networks has been accumulated. However, the growth in our understanding of how these networks function in a robust and specific manner was lagging behind the shear rate of data acquisition.
To be able to understand the biological functioning or even to efficiently visualize a complex regulatory and signaling network it is important to determine the dominant direction of the information flow and to identify the links that go against this flow and thus generate feedback loops. Ordering a network in such as way that the information cascades down from higher to lower hierarchical levels can help to detect its previously unknown inputs and outputs, to track sources of perturbations based on their observable downstream effects, etc. A simpleminded hierarchical layout of a densely interconnected network is often impossible due to a ubiquitous presence of feedback loops. Indeed, all nodes in a strongly connected component of a network by definition are simultaneously upstream and downstream of each other.
However, if the forward flow of information in the network along multiple channels dominates over the backward flow along relatively few feedback links, the proper hierarchical layout could still be reconstructed based on the network topology alone. The identification and removal of a small number of feedback links would enable one to perform the hierarchical layout of the remaining acyclic network. In the next section we introduce a new probabilistic algorithm to detect an optimal hierarchical layout which minimizes the number of feedback links going from lower to higher levels in the hierarchy. In addition to direct biological applications, this algorithm provides a new computational approach to one of the 21 classic Karp's NPhard problems: finding the Minimum Feedback Arc Set in a directed graph [1]. This problem enjoys a seemingly everlasting popularity reflected in a substantial number of approximate solutions (see, for example, [2–4] and references therein). It has also been shown that the Minimum Feedback Arc Set problem, apart from being NPcomplete, is also APXhard, which means that there exists a constant k > 1 (often called the approximation factor) such that there is no polynomialtime approximation algorithm that always finds a link set at most k times bigger than the optimal result. The first polynomial approximation algorithm for the feedback arc set problem was designed by Leighton and Rao [4, 5] with the approximation factor k ~ $\mathcal{O}$(log^{2} $\mathcal{N}$) where N is the number of graph vertices. This estimate for the approximation factor was improved by Seymour to $\mathcal{O}$(log $\mathcal{N}$ log [log $\mathcal{N}$]) for polynomialtime algorithms.
Many of the existing approximate algorithms to the Minimal Arc Set problem are deterministic and greedy in nature, which on one hand side allows a fairly precise prediction of their complexity, performance and precision, yet on the other hand side involves consequences such intrinsic "nearsightedness" and frequent inability to find the global optimum among the local ones. A good example of such deterministic greedy algorithm which also relates the minimum feedback arc set search to graph layout is presented in [6]. According to this algorithm the hierarchical level of a node is determined by the difference between its outand indegrees. This way, the nodes with larger than average outdegrees and/or smaller than average indegrees are naturally placed among the top hierarchical layers. These nodes directly or indirectly control other nodes with larger than average indegree and/or smaller than average outdegree. The number of operations in this approximate algorithm scales linearly with the number of graph links.
Our proposed algorithm, unlike the existing algorithms described above, is probabilistic in nature. In the limit of sufficiently slow and long annealing it has a good chance to converge to the actual solution of the minimum feedback arc set problem. At the same time it still requires only a polynomial number of operations, which is proportional to the product of the number of links and vertices in the graph. To evaluate the advantages of the proposed annealing algorithm and to reveal its distinction from the deterministic algorithms, we compare it to our own greedy deterministic algorithm. This algorithm sequentially cuts the links that belong to the largest number of cycles in the network. We found that the probabilistic simulated annealing algorithm generally outperforms the deterministic one in both the number of removed feedback links (which needs to be minimized) as well as in the speed and memory requirements. A simple visual example is provided for the situation when the deterministic greedy algorithm is nonoptimal.
Following that, we discuss biological implications and applications of our findings as well as how additional constraints such as a priori knowledge of the function and, therefore, the hierarchical position of certain nodes affects the resulting layout.
Methods
Consider a graph consisting of N vertices and L directed links. The goal is to distribute the vertices among M levels in such a way that the number of links going against the hierarchy, or from a lower level to the same or a higher one, is at its minimum. If the number of levels M is sufficient (equal or larger than the longest simple graph path), this problem is equivalent to finding a Minimum Feedback Arc Set [1], or removing as few as possible links to make the graph acyclic, or feedbackfree.
A naive way to solve this problem exactly is to enumerate all cycles in a graph and then sample all possible combinations of links checking if they belong to all cycles. If one starts with enumerating individual links, then pairs of links, etc, until a removal of l links would yield the first acyclic graph, such sampling would require checking the ${\sum}_{i=1}^{l}\left(\begin{array}{c}L\\ i\end{array}\right)$ combination of links. For biologically relevant values L ~ 10^{3}  10^{4} and l ~ 10^{2}  10^{3} the computational costs of such exhaustive enumeration are prohibitive. (From an obvious identity, ${\sum}_{i=1}^{L/2}=\left(\begin{array}{c}L\\ i\end{array}\right)$, it follows that even for fairly modest L = 10^{2}and l = L/2 the number of such attempts is ~10^{15}.)
Simulated annealing algorithm
The task of finding the minimum number of antihierarchical or feedback links can be interpreted as an optimization problem and tackled by probabilistic methods such as simulated annealing. Evidently, there exist more than one way to define the optimization function, and after exploring several possibilities we converged to the following one:

For a given network, a set of M levels is introduced (M ≤ N, in reality, M ≪ N and is of the order of the graph diameter). Initially, all nodes are distributed on the levels randomly.

For a particular distribution of nodes on levels, the number of links L_{ opposite }that go opposite to the hierarchy, that is, from a lower level to the same or a higher one, is declared to be the energy E = L_{ opposite }of the distribution, or the optimization function.

A node and its new level are selected at random. A difference in energy ΔE that would occur if the node were moved to the new level is calculated. The node is moved to this new level with the probability min{1, exp(ΔE/T)}, where T is the temperature.

After the network has been sampled a sufficient number of times (of the order of N × M) so that each node has an opportunity to be moved to every level, the temperature is reduced by some factor, usually 0.9. Initially, the temperature is set sufficiently high, usually of the order of the average node degree L/N, to allow unobstructed level changes.

When the temperature becomes low enough to inhibit any level changes, the remaining ascending and samelevel links are declared feedbacks and removed.

The whole procedure can be repeated several times to check for consistency in the assignment of feedback links and to determine the solution with the lowest number of removed links.
The energy difference associated with changing the level of a single node is illustrated in Fig. 1.
Results and Discussion
Comparison with deterministic greedy algorithm
To illustrate the advantages of the proposed simulated annealing method, we compare it to a straightforward "greedy" algorithm which follows the steepest descent in the number of feedback cycles. We implemented it in the following way:

By enumerating all cycles in a graph, each link is assigned a score equal to the number of feedback cycles it participates in.

The link with the highest score is removed. When several links have the same highest score, a link to be removed is selected among them by random.

The score of each remaining link is reduced by the number of cycles which pass through this link and were cut on the previous step.

The procedure of link removal and score reduction is repeated until no cycles remain (which means that scores of all links become zero).
The cycle enumeration can be implemented by following all paths that originate from a given vertex and recording only the cycles that come back to this vertex. The procedure is repeated for each of the N graph vertices: evidently, each cycle of length C is counted C times and a proper normalization is performed. Naturally, the performance of the greedy algorithm is limited in terms of speed and memory requirement of the cycle enumeration step.
An example of network where the greedy algorithm performs flawlessly is shown in Figure 2.
Here the link (3, 1) carries the maximum score 2. A removal of this link indeed makes the graph acyclic, while a removal of any other than (3, 1) link would require a subsequent removal of the second link to achieve the same goal.
The hierarchical levelordering by stimulated annealing outperforms the deterministic greedy algorithm in all respects. The performance of the stochastic stimulated annealing algorithm scales as N × M; memorywise, it needs only lookup tables of a node position in the hierarchy and its nearest neighbors. Yet the greedy algorithm requires tracking along all paths originating from a given vertex, which uses a lot of memory and slows the performance significantly. Despite the fairly large prefactor required for a gradual multistep annealing, the stochastic algorithm readily performs layouts of protein networks in whole organisms, consisting of around ~10^{4} nodes and ~10^{5} links. On contrary, we found it impractical to apply the greedy algorithm to networks with more than 100 – 200 vertices, which limits its utility to analyzing isolated systems and pathways. In addition, the greedy algorithm, as any other method based on nearsighted, local, singlestep optimization, may miss the globally optimal solution, while the properly executed stimulated annealing always has a high probability of converging to it. This is indeed the case for bigger and more complex networks; yet even in a fairly simple graph, such as shown in Fig. 3, the greedy algorithm may perform nonoptimally.
Improving the layout by shortening the total length of hierarchical links
A good hierarchical layout of a regulatory or signaling pathway clarifies its biological functioning by identifying the cascade of information processing steps. Such layout should not only minimize the number of antihierarchical (feedback) links but also shorten the length of hierarchical (feedforward) links. Without carrying any energetic penalty these latter links can be arbitrarily long, i.e. they could connect proteins separated by many hierarchical levels. This interferes with identifying the hierarchical levels as definite stages (e.g. in a temporal sense) of information processing. Introduction of a small energetic penalty for the total length of hierarchical links alleviates this problem. The energy function used in our simulated annealing algorithm then becomes
Here m_{ i }and m_{ j }denote the hierarchical levels of nodes i and j connected by a link i → j (or (i, j)) and H(x) is a version of the Heaviside step function equal to 1 for x ≥ 0 and to 0 otherwise. For moderatesize pathways consisting of ~10^{2} vertices we tried the range of energetic penalty E' = 0.02  0.1 (relative to 1, which is the energetic cost of a single antihierarchical link). The layout results in this range were independent of E'.
Selecting the number of hierarchical layers
The number of levels M for the stimulated annealing hierarchical layout could be fixed by external biological requirements such as e.g. a limit on time allowed for a functional response. Otherwise, M could be determined selfconsistently from our algorithm itself, by observing when the number of antihierarchical links stops to significantly decrease upon the increase in the number of levels. This is illustrated in Fig. 4 where a plot of the number of antihierarchical links vs number of levels is presented for the human protein phosphorylation network.
Example: the layout of EGFR1 and Bcell receptor pathways
The biological function of antihierarchical links identified by our annealing algorithm often involves sending feedback late in the timecourse of their signaling pathways, or, similarly, resetting the pathway to its original state which it had before the arrival of the signal. To illustrate this on a concrete biological example, we performed the hierarchical layout of two of the largest pathways in the HPRD pathway database [7]: the EGFR1pathway (80 proteins, 90 regulatory interactions) and the Bcell receptor pathway (77 proteins, 90 regulatory interactions). The hierarchical layout is illustrated in Fig. 5 and 6. The optimal layout was achieved at 7 hierarchical layers for the EGFR1pathway and 5 hierarchical levels for the Bcell receptor pathway. In most annealing runs we correspondingly identified 5 and 2 antihierarchical links in these two pathways.
It is intriguing that 5 out of these 5 + 2 = 7 antihierarchical links correspond to dephosphorylation and 1 to ubiquitination protein modification processes. While these biomolecular mechanisms alone do not prove that the involvement of these interactions in feedback, they strongly support this notion. Indeed, dephosphorylation is commonly used to reset previously phosphorylated proteins to their original state, which they had before the arrival of the signal. Similar to this, the ubiquitination of a protein triggers its degradation by the proteasome, which once again resets the state of the pathway to what it was before the arrival of the signal. Thus protein modifications due to dephosphorylation and one to ubiquitination tend to happen late in the timecourse of signaling pathways and thus likely to be used for feedback signaling. In addition to these direct applications, our algorithm is useful, for example, for identifying putative sources (signaling inputs) of multigene differential expression patterns [8]. Such procedure is based on tracking upstream the regulatory links from often very numerous differentially expressed genes to the common regulators that could have caused the particular expression pattern. To be able to do this one needs a network of direct or indirect protein regulations from which all feedback links have been previously removed.
Example: the layout of the genomewide network of human posttranslational modifications
Often there exist some a priori biological knowledge about hierarchical positions of certain protein nodes in a signaling network. For example, the receptor proteins localized in the membrane typically serve as entry point of extracellular signals. Upon activation they pass these signals to cascades of proteins localized in the cytoplasm which ultimately reach the transcription factors localized in cell's nucleus. Thus receptor proteins might have to be forcefully put on the upper level of the hierarchical layout of a signaling network. We implemented this idea in the optimal layout of the network of posttranslational modifications of human proteins shown in Fig. 7. This network is based on the ResNet 4.0 database [9], collected by Ariadne Genomics, Inc. from the biomedical literature with the help of Natural Language Processing algorithms. The information about proteinprotein interactions was collected from abstracts of the entire PubMed database as well as fulltext articles of more than 40 journals. It was then manually and automatically curated to include a reliable set of proteinmodification interactions (phosphorylation/dephosphorylation, proteolytic cleavage, etc.) between human proteins. The optimal layout of 732 proteins in this network over six hierarchical levels is shown in Fig. 7. Green arrows represent 1453 hierarchical links while red arrows – 208 antihierarchical (putative feedback) links going from lower to higher (or the same) levels in the hierarchy. Only proteins and links reachable from one of the 71 receptorproteins placed at the top hierarchical level were included.
In contrast to receptors, many transcription factors serve the role of effectors of signaling pathways and thus must occupy the lowest levels of the hierarchy. Initial positioning of such nodes at their appropriate hierarchical levels usually speeds up finding the layout with the smallest number of antihierarchical links. In addition, fixing these nodes on their appropriate hierarchical levels helps to find a layout which is more plausible from the biological standpoint.
In a similar way, the orientation of certain links (or unconnected pairs of proteins) could be fixed "by hand" if they are known to be of the feedforward or feedback nature. This could be implemented, for example, by assigning sufficiently large negative energies to the proper orientation of such links or protein pairs, making their annealing reorientation highly improbable. Even imperfect (probabilistic) initial knowledge of biological functioning of the network could be used to assign weights to individual links, so that the energy E of a particular assignment of nodes to layers is a sum of weights of the antihierarchical links. Thus the a priori plausibility of a link to be (or not to be) a feedback can be introduced into the layering algorithm. We leave these questions as well as optimization of the proposed algorithms to various signaling and regulatory intracellular networks for future studies and publications.
Conclusion
We introduced the simulated annealing algorithm, which is capable of performing nearoptimal acyclic layout of large directed networks. It reveals the dominant direction of information flow in and identifies the set of links going against this dominant direction, that is from from lower to higher hierarchical levels. In biological regulatory and signaling networks such antihierarchical links often turn out to be involved in sending feedback or resetting signaling pathway to its default state. In addition to elucidating biological functioning of complex biomolecular pathways and networks, the proposed algorithm also offers a new probabilistic approach to one of the 21 classical NPhard problem: finding the Minimum Feedback Arc Set in a directed graph.
References
 1.
Karp RM: Reducibility among combinatorial problems. In Complexity of Computer Computations. Edited by: MR E, TJ W. New York: Plenum; 1972:84–103.
 2.
Even G, Naor J, Schieber B, Sudan M: Approximating Minimum Feedback Sets and Multicuts in Directed Graphs. Algorithmica 1998, 20: 151–174. 10.1007/PL00009191
 3.
Bender MA, Ron D: Testing Properties of Directed Graphs: Acyclicity and Connectivity. Random Structures and Algorithms 2002, 20: 184–205. 10.1002/rsa.10023
 4.
Festa P, M PP, G RMG: Feedback set problems. In Handbook of Combinatorial Optimization, Volume Supplement volume A. 1st edition. Edited by: DD Z, PP M. New York: Springer; 2007:209–258.
 5.
Leighton T, Rao S: An approximate maxflow mincut theorem for uniform multicommodityflow problems with applications to approximation algorithms. Foundations of Computer Science, New York: 29th Annual Symposium on 1988, 422–431.
 6.
Eades P, Lin X, Smyth WF: A Fast and Effective Heuristic for the Feedback Arc Set Problem. Information Processing Letters 1993, 47(6):319–323. 10.1016/00200190(93)90079O
 7.
NetPath, 2007[http://www.netpath.org/]
 8.
Ispolatov I, Yuryev A: Network backtracking: Finding a source of expression patterns. 2008, in press.
 9.
Nikitin A, Egorov S, Daraselia N, Mazo I: Pathway studio – the analysis and navigation of molecular networks. Bioinformatics 2003, 19: 1–3. 10.1093/bioinformatics/btg290
 10.
Peri S, et al.: Development of human protein reference database as an initial platform for approaching systems biology in humans. Genome Research 2003, 13: 2363–2371. 10.1101/gr.1680803
Acknowledgements
This work was supported by 1 R01 GM06895401 grant from the NIGMS. Work at Brookhaven National Laboratory was carried out under Contract No. DEAC0298CH10886, Division of Material Science, U.S. Department of Energy. II thanks Theory Institute for Strongly Correlated and Complex Systems at BNL for financial support during his visits.
Author information
Affiliations
Corresponding author
Additional information
Authors' contributions
Both authours contributed equally to all parts of this work.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Ispolatov, I., Maslov, S. Detection of the dominant direction of information flow and feedback links in densely interconnected regulatory networks. BMC Bioinformatics 9, 424 (2008). https://doi.org/10.1186/147121059424
Received:
Accepted:
Published:
Keywords
 Greedy Algorithm
 Hierarchical Level
 Simulated Annealing Algorithm
 Optimal Layout
 Dominant Direction