Output-Oblivious Stochastic Chemical Reaction Networks

Ben Chugg, Hooman Hashemi, Anne Condon

Introduction: The Challenge of Composability

Stochastic Chemical Reaction Networks (CRNs) provide a robust framework for performing computations at the molecular scale. However, a significant hurdle in scaling these systems into complex circuits is the lack of modularity. In standard CRN designs, the system often "overshoots" its target output, consuming excess molecules as it stabilizes. While effective in isolation, this behavior is catastrophic for composability: if the output of one CRN serves as the input for another, the downstream system may consume molecules before the upstream system has reached a stable state, leading to irreversible errors.

To address this, researchers have turned to output-oblivious CRNs. In these systems, output molecules are strictly products—they are never consumed as reactants. Once produced, an output molecule remains in the system. This paper provides the first complete mathematical characterization of the functions computable by such networks, offering a vital blueprint for building modular and composable molecular programs.

Methodology: Geometric Decomposition and Stable Computation

The authors analyze the problem through the lens of theoretical computer science and discrete geometry, focusing on stable computation with a "leader" molecule (a single molecule used for coordination).

A central technique used is the geometric decomposition of semilinear functions. Since CRNs typically compute semilinear functions, the authors represent these functions as patterns on a 2D grid ($\mathbb{N}^2$). They decompose the input domain into points, lines, and "wedges"—pie-shaped slices of the grid—to analyze how the system's state evolves.

Figure 4: Illustration of a piecewise function defined over a geometrically decomposed domain.

By defining specific reaction sets for "grid-affine" functions (functions that depend on congruence classes, such as parity) and "fissure functions," the authors provide constructive proofs for what can be computed. Conversely, they employ Dickson’s Lemma to establish impossibility results, demonstrating that certain common functions, most notably the max function, cannot be implemented under the strict constraint of output-obliviousness.

Key Insights: The Asymmetry of Min and Max

One of the most striking findings is the fundamental asymmetry between the min and max functions. While computing min(n1, n2) is straightforward in an output-oblivious manner (e.g., via the reaction $X_1 + X_2 \to Y$), computing max(n1, n2) is impossible.

To compute max, a system must track which input is larger. Without the ability to "undo" or consume output molecules, a leader molecule cannot accurately signal when one input count overtakes another without risking permanent over-production. This led to the definition of fissure functions, which generalize the behavior of min while allowing for more complex logic along the "fissure line" where inputs are nearly equal.

Figure 5: A grid decomposition showing a fissure line (green dots) separating two distinct input regions.

Key Results: The Characterization Theorem

The paper's primary contribution is a definitive characterization theorem for two-input functions ($f: \mathbb{N}^2 \to \mathbb{N}$):

Theorem: A semilinear function is output-oblivious if and only if it is increasing and is either grid-affine or the minimum of finitely many fissure functions.

Beyond this, the authors prove a "Monotonicity Equivalence": output-oblivious CRNs (which never consume output) are functionally equivalent to output-monotonic CRNs (where output can act as a catalyst but the total count never decreases). This simplifies the design space for molecular engineers by showing that catalytic use of output does not expand the class of computable functions.

Limitations and Future Directions

While this work provides a rigorous foundation for $k=2$ inputs, several avenues remain open:

  • Higher Dimensions: Extending these proofs to functions with more than two inputs is a natural next step.
  • Leaderless Computation: The current characterization assumes a leader molecule. Computing without one is significantly more restrictive and requires its own complete characterization.
  • Efficiency and Speed: The study focuses on computability rather than kinetics. Future research must determine if the modularity of output-oblivious designs comes at the cost of significantly slower computation times.

By defining the boundaries of what is possible, this research provides the necessary constraints and tools for the next generation of modular molecular computers.

Summary updated

Abstract

We classify the functions f:N^2 -> N which are stably computable by output-oblivious Stochastic Chemical Reaction Networks (CRNs), i.e., systems of reactions in which output species are never reactants. While it is known that precisely the semilinear functions are stably computable by CRNs, such CRNs sometimes rely on initially producing too many output species, and then consuming the excess in order to reach a correct stable state. These CRNs may be difficult to integrate into larger systems: if the output of a CRN C becomes the input to a downstream CRN C', then C' could inadvertently consume too many outputs before C stabilizes. If, on the other hand, C is output-oblivious then C' may consume C's output as soon as it is available. In this work we prove that a semilinear function f:N^2 -> N is stably computable by an output-oblivious CRN with a leader if and only if it is both increasing and either grid-affine (intuitively, its domains are congruence classes), or the minimum of a finite set of fissure functions (intuitively, functions behaving like the min function).
BibTeX
@inproceedings{chugg2018output,
  author = {Ben Chugg and Hooman Hashemi and Anne Condon},
  title = {{Output-Oblivious Stochastic Chemical Reaction Networks}},
  booktitle = {OPODIS},
  year = {2018},
  url = {https://openreview.net/forum?id=xrQbaW_VCN8},
}
Figure