Problemadvanced
Boolean network attractor detection
Also called attractor finding in Boolean networks.
Find the fixed points and cycles of a synchronous or asynchronous Boolean network. Deciding if a fixed point exists is NP-complete; exact methods use state space search, SAT or BDDs.
An attractor of a Boolean network is a set of states that the dynamics never leaves and that has no smaller such set inside it. Attractor detection asks for the attractors of a given network: whether there is a fixed point, all fixed points, or all attractors with their lengths and, sometimes, their basins. In models of gene regulation the attractors stand for the stable behaviors of a cell, such as cell types or a cell cycle. Deciding whether a network has a fixed point is NP-complete, even when every gene reads at most two genes, so no exact method is known that is fast on all networks. For small networks a full search of the states solves every version; for larger ones the methods encode the question as satisfiability or with binary decision diagrams. This page is about the computation on one given network. The gene regulatory network page describes the model, the random Boolean network page the typical attractors of random networks, and gene regulatory network inference the task of finding the network from data.
In plain words
Each gene of the network is on or off, and a rule for each gene says what it does next, given the genes it reads. Start from any pattern of on and off genes and keep applying the rules. Since there are only finitely many patterns, the run must end in a loop, or stop at a pattern that does not change. Those loops and resting patterns are the attractors. The task is to find all of them.
With a few genes you can try every starting pattern. With a hundred genes there are far too many patterns, so the methods instead describe the condition "this pattern does not change" or "this pattern comes back after some steps" as a logic formula and let a solver search for patterns that satisfy it.
Definition
A Boolean network on genes is a list of functions , where depends on a set of input genes. The functions are given as formulas or circuits, or as truth tables over the inputs when each gene has at most inputs. The state graph has the states as nodes; its edges depend on the update scheme.
- Synchronous. All genes update at once: . Each state has exactly one successor, so the state graph is a functional graph, and the attractors are its cycles. A cycle of length 1 is a fixed point, and a longer cycle is a cyclic attractor.
- Asynchronous. One gene updates at a time: , where equals except that , for each with . A state can have up to successors. The attractors are the terminal strongly connected components of the state graph: the components with no edge leaving them, the sinks of the condensation graph. A fixed point is a state with no successor, and it is a fixed point in both schemes.
The basin of an attractor is the set of states that can reach it. In the synchronous scheme the basins partition the state space; in the asynchronous scheme a state can reach several attractors.
The main tasks, from easy to hard to state:
- Fixed point existence. Is there an with ?
- Fixed point listing or counting. List or count all such .
- Attractor listing. List all attractors of the given scheme, possibly only those of length at most .
Variants
- Bounded length. Find the synchronous attractors of length at most . For fixed this is a satisfiability question in variables.
- Restricted functions. Networks of AND and OR functions, of threshold functions, or of monotone functions only. Fixed point existence stays NP-complete for networks of in-degree 2 whose functions are ANDs and ORs of literals, as the reduction below shows.
- Other update schemes. Block sequential updates, in which groups of genes update in a fixed order, and the most permissive scheme, which allows the intermediate values of a gene. Each scheme has its own attractors; the fixed points are the same in all of them.
- Basins and control. Find the basin sizes of the attractors, or a smallest set of genes to fix so that the network reaches a chosen attractor.
Examples
A switch. Take two genes that repress each other, as in a genetic toggle switch: and , with states written . Synchronously, and are fixed points, and is a cycle of length 2. Asynchronously, goes to or to , and goes to or to , so the only attractors are the two fixed points. The cycle exists only because both genes switch at the same instant, which a real cell does not do.
A ring of three repressors. Take , , , a Boolean form of the repressilator, with states . A fixed point would need , which is impossible. Synchronously, is a cycle of length 2, and the other six states form one cycle of length 6, . Asynchronously, each of those six states has exactly one gene with , so it has one successor, the next state of the same cycle; the six states form a terminal component, a cyclic attractor. The states and have three successors each and lead into it, so they are not part of any attractor.
Toward an algorithm. The random Boolean network page gives a scan of the synchronous state space that returns every attractor and its basin in steps, with a test against a second method for up to 12. In the example there, with , and , the attractors are two fixed points and one cycle of length 2, with basins of 2, 2 and 4 states.
Known algorithms
- Full state space search, synchronous. Compute on all states and find the cycles of the functional graph, in time for in-degree and space. For one trajectory, Floyd's cycle detection or Brent's method finds the attractor that it reaches with stored states, but covering all attractors needs all starts.
- Full state space search, asynchronous. Build the state graph, with at most edges, find its strongly connected components with Tarjan's algorithm in time linear in its size, and keep the components with no edge leaving them. This costs time and space.
- Fixed points by SAT. The fixed points are the satisfying assignments of . A CDCL solver finds one, and blocking clauses list them all, one solver call per fixed point.
- Cycles by bounded model checking. Unroll the network times with variables , add and , and solve. Dubrova and Teslenko (2011) search paths of growing length, exclude the attractors found so far, and stop when no path of the current length can avoid them. The method has no polynomial bound; its cost grows with the lengths of the attractors and of the paths that lead to them.
- Binary decision diagrams. Represent sets of states and the transition relation as reduced ordered BDDs (Bryant 1986), and compute attractors by repeated image and preimage operations, which work on whole sets of states at once. Garg et al. (2008) used this for both update schemes. The cost depends on the size of the diagrams, which is exponential for some functions and orders of the variables.
- Network reduction. A gene that no other gene reads can be removed before the search: the synchronous attractors of the smaller network map one to one onto those of the full network, because the removed gene's value is a function of the previous state. Genes with constant functions can be fixed and propagated in the same way. These rules often shrink models a lot, but give no bound in general.
Bounds
Fixed point existence is NP-complete (theorem). It is in NP, since a state is a certificate that is checked by evaluating . It is NP-hard by the reduction below, even for networks in which every gene reads at most two genes and every function is the identity or an AND or OR of two literals. The result is usually credited to Akutsu, Kuhara, Maruyama and Miyano (1998).
Counting fixed points is #P-complete (theorem). The reduction below is parsimonious: each satisfying assignment of the formula gives exactly one fixed point. So counting fixed points is as hard as counting the satisfying assignments of a 3-CNF formula.
No subexponential algorithm under ETH (theorem, conditional). The reduction maps a 3-SAT formula with variables and clauses to a network with genes. Under the exponential time hypothesis and the sparsification lemma, 3-SAT has no time algorithm, so fixed point existence has no time algorithm for networks of in-degree 2.
Output size. The identity network has fixed points, so listing all attractors takes time in the worst case, whatever the method. The full search is optimal in this sense.
Reductions
From 3-SAT to fixed point existence. Let with clauses over variables . Build a network with these genes and functions:
- a gene with for each variable;
- for each clause, genes and with and , where a literal is read as ;
- a chain and for ;
- a gene with .
Every gene reads at most two genes. At a fixed point, each , and equals its function of the current state, so exactly when satisfies , and exactly when satisfies . The gene is fixed only if ; with this says , which is impossible, and with it says . So the network has a fixed point if and only if is satisfiable, and the fixed points correspond one to one to the satisfying assignments, since all genes other than the are then determined. The network has genes and is built in linear time.
From fixed points to SAT. The formula has the fixed points as its models, so any SAT solver decides the problem; with truth tables of in-degree the formula has clauses.
From asynchronous attractors to strongly connected components. As in the definition, the attractors are the sink components of the state graph, so an SCC algorithm on the explicit state graph solves the problem in time linear in .
From synchronous attractors to cycle detection. The state graph is a functional graph, so its attractors are its cycles, which any cycle detection method finds from each start.
Applications
- Cell fates in models of gene regulation. Boolean models of real gene regulatory networks have tens to hundreds of genes. Their fixed points are compared with the measured expression patterns of cell types, and their cyclic attractors with oscillations such as the cell cycle.
- Typical behavior of random networks. The number and length of the attractors of random Boolean networks are measured by exact detection on small networks.
- Choice of the update scheme. Comparing the synchronous and asynchronous attractors of a model shows which cycles are artifacts of the synchronous update, as in the switch example.
- Control. Finding genes whose fixed values remove an unwanted attractor, for example a disease state, starts from the list of attractors.
References
- Tatsuya Akutsu, Satoru Kuhara, Osamu Maruyama and Satoru Miyano, A system for identifying genetic networks from gene expression patterns produced by gene disruptions and overexpressions, 1998, the paper usually cited for the NP-hardness of finding a fixed point of a Boolean network
- Elena Dubrova and Maxim Teslenko, A SAT-based algorithm for finding attractors in synchronous Boolean networks, IEEE/ACM Transactions on Computational Biology and Bioinformatics 8(5), 1393-1399, 2011, bounded model checking of paths of growing length, with the found attractors excluded
- Abhishek Garg, Alessandro Di Cara, Ioannis Xenarios, Luis Mendoza and Giovanni De Micheli, Synchronous versus asynchronous modeling of gene regulatory networks, Bioinformatics 24(17), 1917-1925, 2008, the algorithms on reduced ordered binary decision diagrams for the attractors of synchronous and asynchronous networks
- Randal E. Bryant, Graph-based algorithms for Boolean function manipulation, IEEE Transactions on Computers C-35(8), 677-691, 1986, reduced ordered binary decision diagrams and their operations
- Robert Tarjan, Depth-first search and linear graph algorithms, SIAM Journal on Computing 1(2), 146-160, 1972, the linear time algorithm for strongly connected components
- Stuart A. Kauffman, Metabolic stability and epigenesis in randomly constructed genetic nets, Journal of Theoretical Biology 22(3), 437-467, 1969, attractors of synchronous Boolean networks read as cell types
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag 0RASN0 Edit this page History Report an error Markdown