ArticleslgStudy

computer science

Boolean network

Boolean 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 Boolean network rather than just read about it. In short: A Boolean network consists of a discrete set of Boolean variables each of which has a Boolean function (possibly different for each variable) assigned to it which takes inputs from a subset of those variables and output that determines the state of the variable it is assigned to. This set of functions in effect determines a topology (connectivity) on the set of variables, which then become nodes in a network.

Boolean network — main illustration
Boolean network — illustration

Key takeaways

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

Reference excerpt

A Boolean network consists of a discrete set of Boolean variables each of which has a Boolean function (possibly different for each variable) assigned to it which takes inputs from a subset of those variables and output that determines the state of the variable it is assigned to. This set of functions in effect determines a topology (connectivity) on the set of variables, which then become nodes in a network. Usually, the dynamics of the system is taken as a discrete time series where the state of the entire network at time t+1 is determined by evaluating each variable's function on the state of the network at time t. This may be done synchronously or asynchronously. Boolean networks have been used in biology to model regulatory networks. Although Boolean networks are a crude simplification of genetic reality where genes are not simple binary switches, there are several cases where they correctly convey the correct pattern of expressed and suppressed genes. The seemingly mathematical easy (synchronous) model was only fully understood in the mid 2000s.

Classical model A Boolean network is a particular kind of sequential dynamical system, where time and states are discrete, i.e. both the set of variables and the set of states in the time series each have a bijection onto an integer series. A random Boolean network (RBN) is one that is randomly selected from the set of all possible Boolean networks of a particular size, N. One then can study statistically, how the expected properties of such networks depend on various statistical properties of the ensemble of all possible networks. For example, one may study how the RBN behavior changes as the average connectivity is changed. The first Boolean networks were proposed by Stuart A. Kauffman in 1969, as random models of genetic regulatory networks.

Attractors Since a Boolean network has only 2N possible states, a trajectory will sooner or later reach a previously visited state, and thus, since the dynamics are deterministic, the trajectory will fall into a steady state or cycle called an attractor (though in the broader field of dynamical systems a cycle is only an attractor if perturbations from it lead back to it). If the attractor has only a single state it is called a point attractor, and if the attractor consists of more than one state it is called a cycle attractor. The set of states that lead to an attractor is called the basin of the attractor. States which occur only at the beginning of trajectories (no trajectories lead to them), are called garden-of-Eden states and the dynamics of the network flow from these states towards attractors. The time it takes to reach an attractor is called transient time. With growing computer power and increasing understanding of the seemingly simple model, different authors gave different estimates for the mean number and length of the attractors, here a brief summary of key publications.

Stability In dynamical systems theory, the structure and length of the attractors of a network corresponds to the dynamic phase of the network. The stability of Boolean networks depends on the connections of their nodes. A Boolean network can exhibit stable, critical or chaotic behavior. This phenomenon is governed by a critical value of the average number of connections of nodes (Kc), and can be characterized by the Hamming distance as distance measure. In the unstable regime, the distance between two initially close states on average grows exponentially in time, while in the stable regime it decreases exponentially. In this, with "initially close states" one means that the Hamming distance is small compared with the number of nodes (N) in the network. For N-K-model the network is stable if K<Kc, critical if K=Kc, and unstable if K>Kc. The state of a given node ni is updated according to its truth table, whose outputs are randomly populated. pi denotes the probability of assigning an off output to a given series of input signals. If pi=p=const. for every node, the transition between the stable and chaotic range depends on p. According to Bernard Derrida and Yves Pomeau , the critical value of the average number of connections is Kc=1/[2p(1−p)]. If K is not constant, and there is no correlation between the in-degrees and out-degrees, the conditions of stability is determined by ⟨Kin⟩ The network is stable if ⟨Kin⟩<Kc, critical if ⟨Kin⟩=Kc, and unstable if ⟨Kin⟩>Kc. The conditions of stability are the same in the case of networks with scale-free topology where the in-and out-degree distribution is a power-law distribution: P(K)∝K−γ, and ⟨Kin⟩=⟨Kout⟩, since every out-link from a node is an in-link to another. Sensitivity shows the probability that the output of the Boolean function of a given node changes if its input changes. For random Boolean networks, qi=2pi(1−pi). In the general case, stability of the network is governed by the largest eigenvalue λQ of matrix Q, where Qij=qiAij, and A is the adjacency matrix of the network. The network is stable if λQ<1, critical if λQ=1, unstable if λQ>1.

Variations of the model

Other topologies One theme is to study different underlying graph topologies.

The homogeneous case simply refers to a grid which is simply the reduction to the famous Ising model. Scale-free topologies may be chosen for Boolean networks. One can distinguish the case where only in-degree distribution in power-law distributed, or only the out-degree-distribution or both.

Other updating schemes Classical Boolean networks (sometimes called CRBN, i.e. Classic Random Boolean Network) are synchronously updated. Motivated by the fact that genes don't usually change their state simultaneously, different alternatives have been introduced. A common classification is the following:

… excerpt ends here. Continue reading the full article.

Illustrations

Boolean network illustration
Boolean network: State space of a Boolean Network with N=4 nodes and K=1 links per node. Nodes can be either switched on (red) or off (blue). Thin (black) arrows symbolise the inputs of the Boolean function which is a simple "copy"-function for each node. The thick (grey) arrows show what a synchronous update does. Altogether there are 6 (orange) attractors, 4 of them are fixed points.
State space of a Boolean Network with N=4 nodes and K=1 links per node. Nodes can be either switched on (red) or off (blue). Thin (black) arrows symbolise the inputs of the Boolean function which is a simple "copy"-function for each node. The thick (grey) arrows show what a synchronous update does. Altogether there are 6 (orange) attractors, 4 of them are fixed points.

Worked examples

Example 1 — a first encounter with Boolean network

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

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

How to study Boolean network in 20 minutes

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

Frequently asked questions

What is Boolean network in simple terms?

A Boolean network consists of a discrete set of Boolean variables each of which has a Boolean function (possibly different for each variable) assigned to it which takes inputs from a subset of those variables and output that determines the state of the variable it is assigned to. This set of functi…

Why does Boolean 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 Boolean 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 Boolean network.

Tags

  • Bioinformatics
  • Exactly solvable models
  • Logic
  • Spin models
  • Statistical mechanics

Keep exploring