Home▸Articles▸Algorithms & AI

Boolean Network — Kauffman NK Model (2D): Understanding Complex Systems Through Simple Rules

The Kauffman NK model is a fundamental framework for studying complex systems in biology, economics, and computer science.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What the Kauffman NK Model Is

The Kauffman NK model is a mathematical framework used to study complex systems, particularly those with many interacting components. Each component in this model can be in one of two states (on or off) and interacts with K other components. The state of each component at the next time step depends on its current state and the states of its K neighbors.

The model was introduced by Stuart Kauffman to explore how complex behaviors emerge from simple rules, making it a cornerstone in the study of self-organization and emergent phenomena.

Why It Happens

In the Kauffman NK model, the interaction between components can lead to different outcomes depending on the value of K. When K=1, each component interacts with only one other, leading to simple and predictable behavior. As K increases, interactions become more complex, potentially leading to chaotic or unpredictable dynamics.

The transition from order to chaos is a critical aspect of the model, illustrating how small changes in system parameters can dramatically alter overall system behavior.

live demo · related simulation● LIVE

Real-World Applications

The Kauffman NK model has applications in various fields. In biology, it helps understand gene regulatory networks and cell differentiation processes. In economics, it models the complex interactions within financial markets or supply chains.

In computer science, it is used to study self-organizing systems like neural networks and swarm intelligence algorithms.

Interactive Exploration

By adjusting the number of nodes N and inputs K in a 2D canvas, users can observe how the system evolves over time. The Hamming-distance plot provides insight into the similarity between state trajectories, highlighting the order-chaos transition as K varies.

This interactive exploration allows for a deeper understanding of complex systems through simple rules and visual feedback.

Frequently asked questions

What does N represent in the Kauffman NK model?

N represents the number of nodes or components in the network, each capable of being in one of two states (on or off).

How does changing K affect the system's behavior?

Increasing K increases the complexity of interactions between nodes, potentially leading to more chaotic and unpredictable dynamics.

What is the significance of the Hamming distance in this model?

The Hamming distance measures the number of positions at which the corresponding states of two sequences differ, providing insight into how similar or different state trajectories are over time.

Why is the Kauffman NK model important for studying complex systems?

It provides a simple yet powerful framework to explore emergent phenomena and phase transitions in complex systems, making it valuable across multiple scientific disciplines.

Try it live

Everything above runs in your browser — open Boolean Network — Kauffman NK Model (2D) and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Boolean Network — Kauffman NK Model (2D) simulation

What did you find?

Add reproduction steps (optional)