This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Lateral inhibition in relaxation oscillators provides a basis for computation

A. Parveena Shamim1, Shakti N. Menon1 and Sitabhra Sinha1,2 1The Institute of Mathematical Sciences, CIT Campus, Taramani, Chennai 600113, India.
2Homi Bhabha National Institute, Anushaktinagar, Mumbai 400094, India.
Abstract

Coupled relaxation oscillators, realized via chemical or other means, can exhibit a multiplicity of steady states, characterized by spatial patterns resulting from lateral inhibition. We show that perturbation-initiated transformations between these configurations, mapped to binary strings via coarse-graining, provide a basis for computation. The rules governing these transitions emerge from an underlying effective energy landscape shaped by the global and local stabilities of these states. Our results suggest a framework by which far-from-equilibrium systems may encode a computational logic.

Complex spatio-temporal patterns seen in natural phenomena, ranging from the intricate symmetric geometry of snowflakes [1] to the development of form in multicellular organisms [2, 3, 4] and large-scale plankton patchiness in oceanic algal blooms [5, 6, 7], are associated with processes that are typically far from equilibrium [8, 9]. The behavior of the dissipative systems where such patterns arise can be described using a dynamical framework, yielding solutions ranging from waves, breathers, and solitons, to chaos [10, 11]. Each of the collective states, which are characterized by distinct emergent phenomena, encodes information about the instantaneous configuration of the system. Consequently, a transition from one pattern to another can be viewed as a “computation” that results in the transformation of such information [12, 13, 14]. Indeed, the dynamical evolution of systems such as spin glasses, which flow down rugged energy landscapes to one of many possible local minima [15], have been used to implement neural network-inspired computation [16, 17]. This paradigm has been successfully used to model brain function [18] as well as to provide innovative solutions to hard combinatorial optimization problems [19, 20, 21]. However, it has been challenging to formulate such a language, which connects dynamics and computation, for describing systems that are far from equilibrium.

In this paper, we present a framework for uncovering the computational logic of systems undergoing transitions between multiple non-equilibrium steady states. Two archetypes of the irreversible processes that characterize far-from-equilibrium systems are diffusion and chemical reactions (such as combustion) occurring in open systems [22]. Apart from being fundamental natural processes, they play important roles in biology, for instance, allowing transportation of molecules via diffusion, and their synthesis and replication through metabolic reactions [23]. Reaction-diffusion systems, in which spatio-temporal patterns can emerge through self-organization [24, 25], provide a natural framework for describing information processing in terms of out-of-equilibrium dynamics. Indeed, systems embodying these principles, such as oscillating chemical reactions and slime molds, have been used to implement specific computational algorithms [26, 27, 28, 29, 30, 31, 32]. Computation in these systems is implemented by the dynamical evolution of the initial (input) state to the final (output) state. The general computational logic presented here suggests that these algorithms belong to a much broader paradigm, in which such evolutions can be completely specified by a set of transformation rules (logic) that map the set of non-equilibrium steady states of the system to itself. By altering the perturbations applied to the system, the logic can be changed, allowing different types of computations to be realized (analogous to programming a computer). This can potentially address a central problem in biology: how living organisms “compute”, i.e., process information vital for survival through biochemical means [33, 34].

As chemical reactions occurring inside living organisms exhibit temporal recurrence across scales, we illustrate this paradigm using a generic non-equilibrium system of relaxation oscillators that are coupled diffusively. The resulting collective dynamics generates a variety of spatiotemporal patterns depending on kinetic rates and coupling strengths [35, 36, 37]. Unlike previous attempts at implementing computation in a reaction-diffusion framework, which typically involve interactions between traveling waves [38, 33, 39, 40], we use a temporally invariant, spatially heterogeneous non-equilibrium steady state. Such Spatially Patterned Oscillator Death (SPOD) states are observed for relatively strong coupling between oscillators [36]. The temporal invariance allows a particularly succinct dynamical description, and we show that a potentially infinite number of phase space trajectories resulting from different initial conditions reduce to a finite number of qualitatively distinct states. This allows coarse-graining of the state space continuum to a discrete set that can be mapped to distinct binary sequences. The time-evolution of the system thereby reduces to operations in which symbolic strings are transformed to one another. In analogy with computation in a Turing machine [41], here binary strings representing the initial and final states are the input and output, respectively, while the role of the program is played by the transformation-inducing perturbation, viz., the binary pattern of stimuli (i.e., on/off) applied to the array of oscillators. We generate a comprehensive taxonomy of the states, investigate their local, as well as, global stabilities, and provide a complete catalogue of perturbation-induced transitions between them, yielding a fundamental template for realizing computation through the collective dynamics of non-equilibrium systems.

To describe the dynamics of each node in the system of coupled relaxation oscillators, we have used a generic model for such oscillators, viz., the FitzHugh-Nagumo (FHN) equations. This model comprises a fast activation variable uu and a slow inactivation variable vv evolving as

u˙=f(u,v)=u(1u)(uα)v,v˙=g(u,v)=ϵ(kuvb),\displaystyle\begin{split}\dot{u}=f(u,v)&=u(1-u)(u-\alpha)-v\,,\\ \dot{v}=g(u,v)&=\epsilon(ku-v-b)\,,\end{split} (1)

where the parameters α(=0.139)\alpha(=0.139) and k(=0.6)k(=0.6) describe the kinetics, ϵ(=0.001)\epsilon(=0.001) governs the recovery rate and b(=0.16)b(=0.16) characterizes the asymmetry of the limit cycle dynamics. The simplest coupling topology that allows the system to be used for computation is that of a one-dimensional (11-D) array, as each distinct state can be mapped to a symbolic sequence by using appropriate thresholds. In this paper we have investigated a 11-D system of NN coupled oscillators with different boundary conditions, corresponding to a chain and a ring. Following Ref. [36], we consider the oscillators to be coupled by diffusion exclusively via the inactivation variable vv. Such a coupling captures the essence of the physical process underlying experiments in microfluidic devices [35], where the beads containing the oscillating chemical reactants are suspended in an inert medium that allows only the inhibitory species to diffuse. A linear chain with passive elements at the boundary [Fig. 1 (a)] approximates the geometry of such experimental systems, taking into account the presence of the inert medium [36]. The dynamics of the resultant system is described by:

u˙i=f(ui,vi),v˙i=g(ui,vi)+Dv(vi1+vi+12vi)+Ai,\dot{u}_{i}=f(u_{i},v_{i})\,,\dot{v}_{i}=g(u_{i},v_{i})+D_{v}(v_{i-1}+v_{i+1}-2v_{i})+A_{i}\,, (2)

where i=1,2,,Ni=1,2,...,N (N=10N=10, unless specified otherwise). The boundary conditions are specified by v˙0=Dv(v1v0),\dot{v}_{0}=D_{v}(v_{1}-v_{0})\,, v˙N+1=Dv(vNvN+1).\dot{v}_{N+1}=D_{v}(v_{N}-v_{N+1})\,. The diffusion coefficient Dv(=2×103)D_{v}(=2\times 10^{-3}) denotes the strength of coupling between the inactivation variables of neighboring relaxation oscillators [42].

The effect of external stimulation on a node ii of the system, such as optical illumination in the case of light-sensitive chemical reactions that can initiate oscillatory activity in the medium [43], is incorporated through the term AiA_{i} which is assumed to be constant for the duration of stimulation. In the simulations reported here, the signal intensity AiA_{i} is assumed to be the same (=A=A) for all nodes. Varying AA and the stimulation duration τ\tau allows us to investigate the effect of signal strength on the collective dynamics. A stimulation protocol is defined by the choice of nodes ii (=1,,N1,\ldots,N) for which Ai0A_{i}\neq 0 corresponding to a total of 2N12^{N}-1 possible protocols. In principle, these protocols can implement logic gates. Indeed, we explicitly show that a conservative logic gate [44] that is capable of universal computation, can be realized using such protocols [45]. We have verified that the results reported in this paper are robust with respect to different choices of NN, as well as, small changes in b,α,k,ϵb,\alpha,k,\epsilon, DvD_{v} and AA.

Refer to caption
Refer to caption
Refer to caption
Figure 1: (a) Schematic diagram of a 1-dimensional array of NN relaxation oscillators, each comprising an activation uu (blue) and an inactivation vv (red) component, diffusively coupled via vv. (b) Spatiotemporal evolution of vv for N=40N=40 showing convergence from a random initial state to a steady state, corresponding to a spatially patterned oscillator death (SPOD) configuration. Time is normalized by the period of an uncoupled oscillator. The parameter values are α=0.139\alpha=0.139, ϵ=0.001\epsilon=0.001, k=0.6k=0.6, b=0.16b=0.16 and Dv=2×103D_{v}=2\times 10^{-3}. (c) Local perturbations induce transitions between the steady states, that are viewed as binary strings by mapping the low and high values of vv to 0 and 11, respectively. The outcome of perturbing sites 2,4,6,82,4,6,8 and 1010, indicated by arrows, is shown for N=10N=10 with signal intensity A=8×104A=8\times 10^{-4} applied over a duration τ=3.7×102\tau=3.7\times 10^{-2} (“Pert.”). (d) Each binary string representing a SPOD configuration can be tiled using pairs of adjacent oscillators in dissimilar states, viz., low(0)-high(11) or high(11)-low(0). There are two reading frames (left, shown using distinctly colored tiles) displaced relative to each other by one site, which begin at even or odd sites respectively. Each “bit” lies within a tile in at least one reference frame, implying that every oscillator in a SPOD state is part of a dissimilar (0-11 or 11-0) pair. The stability of such dissimilar pairs is explained by the schematic phase space diagram (right). Oscillators A and B, located on the low and high branches of the cubic nullcline respectively, are arrested in a heterogeneous oscillator death configuration. This results from the balance between components (broken arrows) of the opposing forces of coupling and intrinsic kinetics (solid arrows).

Fig. 1 (b) shows the system (2) converging to a characteristic SPOD state, marked by a temporally invariant pattern of high and low values for uiu_{i}, as well as, viv_{i} (i=1,,Ni=1,\ldots,N). Note that, a low (high) value of uu implies a low (high) value of vv for each element, and vice versa. For each SPOD state, all elements that are low have exactly the same numerical value for uu (and vv), as do all elements that are high. The configuration can hence be mapped to a binary sequence using an appropriate threshold. As the steady-state probability distributions of u,vu,v (estimated from 10410^{4} realizations) have a clearly bimodal form, we choose a threshold (viz., u=0.4,v=0.06u=0.4,v=0.06) from the region between the peaks, our results being robust with respect to this choice. To allow an arbitrary binary string to be used as the initial state of the system [e.g., as in Fig. 1 (c)], we map the entries (0,10,1) of the string to the u,vu,v values that occur at the two peaks of the distributions (viz., 0:u=0.1,v=0.030:u=-0.1,v=0.03 and 1:u=0.85,v=0.0931:u=0.85,v=0.093).

The system exhibits multistability, i.e., for a given choice of parameter values, it can converge to any one of multiple possible SPOD states, each having a corresponding binary representation. Fig. 1 (c) shows an example of how one such binary string can be transformed to another through an external perturbation - a property that is vital for the system to be used for computation. While, in principle, a system of NN elements should be able to represent 2N2^{N} binary strings, only a small fraction of these can actually be obtained. For example, we observe only 6868 distinct strings for a chain of N=10N=10 oscillators, and 122122 distinct strings for a ring of the same size (which reduces to 1414 on considering the cyclic permutations to be identical, taking into account the periodic boundary condition). This restriction arises from the physical mechanism by which SPOD states are generated, and can be understood by considering a pair of coupled oscillators. When the two oscillators are in opposite branches [Fig. 1 (d), right], the forces arising from diffusion and intrinsic kinetics acting on the oscillators are balanced under strong coupling, resulting in either a 0-11 or a 11-0 state [36]. For a 11-D array of NN coupled oscillators, we observe that the SPOD states contain at most two consecutive 0s or 1s, hence limiting the number of observable binary strings.

The instability of sequences containing long (>2>2) contiguous blocks of 0s or 1s, for the range of DvD_{v} we use, arises because the diffusion term for the interior node(s) in such a block is negligible (thereby disrupting the balance of forces responsible for the arrest of oscillations). Thus, these nodes effectively become uncoupled and hence oscillate, destabilizing any time-invariant states containing such blocks [45]. This also implies that SPOD states that begin or end with ‘00’ or ‘11’ will not be observed in a chain with passive elements at its ends [45]. We note also that the inversion of an observed SPOD state, obtained by exchanging 0s with 11s and vice versa, yields another allowed SPOD state. The stability of two coupled oscillators arrested in a low and a high activity state suggests that if such pairs can completely tile the entire sequence represented by the array [Fig. 1 (d), left], the pattern will be stable. Indeed, we observe that all SPOD states observed in system (2) can be viewed as a sequence of stable pairs of adjacent oscillators, each pair comprising one oscillator arrested in a high and the other in a low activity state (i.e., ‘01’ or ‘10’). This provides a basis for viewing the system as an anti-ferromagnetic spin chain (spin up/down corresponding to high/low activity), allowing us to formulate an effective energy function for the system (see below).

A simple combinatorial argument allows us to obtain the number of distinct SPOD states appearing in a chain of NN oscillators, nSPOD(N)=2FNn_{SPOD}(N)=2F_{N}, the NN-th term of the Fibonacci sequence [45]. For a ring, a more involved combinatorial argument is required to determine the distinct number of SPOD states, which in this case is the number of cyclic strings with at most two consecutive 0s and 1s anywhere in the string. For a system of size NN, this number is the coefficient C(N)C(N) of the generating function f(s)=C(N)sN=1+2s+4s2+6s3+6s4+O(s5),f(s)=\sum C(N)s^{N}=1+2s+4s^{2}+6s^{3}+6s^{4}+O(s^{5}), obtained using the Goulden-Jackson cluster method [46, 45]. Thus, C(0)=1C(0)=1, C(1)=2C(1)=2, C(2)=4C(2)=4 and for N>2N>2, C(N)=ϕ+N+ϕN+ωN+ωN,C(N)=\phi_{+}^{N}+\phi_{-}^{N}+\omega^{-N}+\omega^{N}, where ϕ±=1±52\phi_{\pm}=\frac{1\pm\sqrt{5}}{2} and ω=13\omega=\sqrt[3]{1}. Taking into account the periodic boundary conditions of the ring and using Polya enumeration theory [46], the number of strings unique under cyclic permutations is obtained as UC(N)=1Nd:d|Nφ(d)C(Nd),UC(N)=\frac{1}{N}\sum_{d:d|N}\varphi(d)C^{\prime}(\frac{N}{d})\,, where C(1)=0,C(2)=2,C^{\prime}(1)=0,C^{\prime}(2)=2, and C(j)=C(j),C^{\prime}(j)=C(j), for j>2j>2. Here φ(n)\varphi(n) is the Euler’s totient function (or phi function) defined as the number of positive integers n\leq~{}n and relatively prime to nn. A numerical evaluation of these formulae show that the number of distinct SPOD states increases exponentially with system size NN, independent of the connection topology [45].

Refer to caption
Figure 2: (a) Directed network representing all possible perturbation-induced transitions between the attractors of a system of N=10N=10 oscillators on a ring, coupled diffusively with Dv=2×103D_{v}=2\times 10^{-3}. The 1414 states shown are obtained from the nSPOD(10)=68n_{SPOD}(10)=68 unique SPOD configurations (represented as binary strings) by eliminating all cyclic permutations. The thickness of a directed link connecting a pair of SPOD configurations represents the relative number of perturbations that can transform one string to another. Each of the 1023(=2N1)1023(=2^{N}-1) possible perturbation protocols corresponds to stimulating one or more sites with a signal of a specific amplitude AA and duration τ\tau (here A=8×104A=8\times 10^{-4} and τ=5.3×103\tau=5.3\times 10^{-3} units). Node size is proportional to the size of the basin of attraction of each configuration, numerically estimated from their relative frequency of occurrence in 10410^{4} realizations using random initial conditions. (b-c) Stability of the attractors explains the relative frequency of occurrence of SPOD configurations. (b) Local stability of the attractors, measured by the largest eigenvalue λmax\lambda_{\max} of the Jacobian matrix for the corresponding linearized system, is correlated to the relative frequency of converging to a SPOD configuration by perturbing any of the 1414 attractors. This probability Ppert of obtaining a given configuration is computed over all the possible transformations between states induced by perturbations shown in panel (a). (c) The global stability of each state, quantified in terms of their basin size, i.e., the probability of occurrence starting from random initial conditions (estimated from 10410^{4} realizations), can be explained by an effective energy function EE obtained by mapping the system to an anti-ferromagnetic spin chain (see text). For all panels, node colors red/blue/green indicate whether a configuration has an equal/larger/smaller number of oscillators in high activity state (1) than in the low activity state (0), respectively. Note that, this implies that the blue/green nodes act as sources/sinks, respectively.

We now investigate the effect of perturbing the SPOD states that occur in a ring of NN elements by using each of the 2N12^{N}-1 possible stimulation protocols. Fig. 2 (a) shows the perturbation-induced transitions between strings corresponding to the 1414 distinct states (invariant under cyclic permutations) for N=10N=10. The number of 0s present in a string indicates its relative stability, measured in terms of the number of transitions that originate from, or terminate at, the string. In particular, strings with the maximum (minimum) allowed number of 0s, i.e., 66 (44) for N=10N=10, act as sinks (sources, respectively), although sources and sinks having 55 zeros do also occur in this case. The maximum number nmax(0)n_{\max}(0) of 0s allowed in a binary string of length NN, subject to the constraint that substrings of contiguous 0s (or 1s) of length >2>2 are not allowed, is equal to the largest integer N/3\leq N/3, while the minimum number nmin(0)n_{\min}(0) of 0s allowed is Nnmax(0)N-n_{\max}(0). Note that the strings that are most frequently obtained when starting from random initial conditions [the largest nodes in Fig. 2 (a)] are not necessarily the ones most stable to perturbation. This difference between (i) the probability PpertP_{\rm pert} that a particular string results from perturbing the allowed states, and (ii) its basin size, i.e., the probability of obtaining the string from random initial conditions, can be understood in terms of the distinction between local and global stabilities.

The local stability of a string can be quantified in terms of the decay rate of perturbations to the corresponding SPOD state, which is related to the largest eigenvalue λmax\lambda_{\max} of the Jacobian obtained by linearizing Eqn. (2) around this state. As seen from Fig. 2 (b), strings that have the highest PpertP_{\rm pert} (and hence are sinks), are associated with the most negative values of λmax\lambda_{\max}, implying that they have much higher local stability compared to sources, i.e., strings having the lowest PpertP_{\rm pert}. The global stability of each string can be defined in terms of an energy function using the mapping to an anti-ferromagnetic spin chain. Identifying the 11 (0) in the iith node of a string with Si=+1S_{i}=+1 or “up” (Si=1S_{i}=-1 or “down”, respectively) for the corresponding spin, the associated energy is defined as E=i=1NSiSi1E=\sum_{i=1}^{N}S_{i}S_{i-1} (periodic boundaries imply S0=SNS_{0}=S_{N}). Thus, states containing adjacent spins in the same orientation would have a higher energy, decreasing the likelihood that they will emerge from an arbitrary initial state and hence reducing their basin size [Fig. 2 (c)]. The use of an energy landscape to describe the system dynamics is consistent with trajectories initiated from each of the states converging to absorbing (sink) states, whose existence implies the absence of periodic cycles.

To conclude, the results presented here point to a new computing paradigm involving the global nonlinear response of a continuous medium to local perturbations, which is coordinated through diffusive transport. Our results could be verified in an experimental set-up with photoperturbations applied to arrays of light-sensitive chemical droplets in microfluidic devices [35, 43, 47]. As our model is generic, it may also be possible to execute such a computation scheme in other experimental systems involving coupled relaxation oscillators [48], including engineered bioelectric tissues [49], phototactic Physarum plasmodium [50] and insulator-metal state transition devices [51]. Considering strong inhibition between neighboring units allows us to use time-invariant patterns as the fundamental states in computation involving reaction-diffusion, instead of relying on interactions between traveling waves [40]. As there are many biological processes which involve lateral inhibition between elements having rhythmic activity that can be modeled as relaxation oscillators [52], the framework we present here may offer insights into how computation may be implemented in living systems [53].

Acknowledgements.
We would like to thank Alfred A. Aureate and Subinay Dasgupta for helpful discussions. The simulations required for this work were supported by IMSc High Performance Computing facility (hpc.imsc.res.in) [Nandadevi and Satpura], which is partially funded by the Department of Science & Technology, Government of India. This research has been supported in part by the IMSc Complex Systems Project (12th Plan), and the Center of Excellence in Complex Systems and Data Science, both funded by the Department of Atomic Energy, Government of India.

References

SUPPLEMENTARY INFORMATION

Lateral inhibition in relaxation oscillators provides a basis for computation
A. Parveena Shamim, Shakti N. Menon and Sitabhra Sinha

List of Supplementary Figures

  1. 1.

    Fig S1: Stylized representation of the attractors of the dynamical system comprising a chain of N=10N=10 relaxation oscillators diffusively coupled with Dv=2×103D_{v}=2\times 10^{-3}.

  2. 2.

    Fig S2: Statistics of the binary strings corresponding to the attractors for the dynamical system comprising N=10N=10 linearly coupled relaxation oscillators.

  3. 3.

    Fig S3: Generation procedure for binary strings of length NN representing the allowed SPOD configurations in a system of NN oscillators arranged in a chain topology.

  4. 4.

    Fig S4: Dependence of the number of binary strings on the size of the system NN for three distinct cases.

  5. 5.

    Fig S5: Alternative representation of the transitions shown in Fig. 2 (a) of the main text.

  6. 6.

    Fig S6: Networks showing the transitions that occur upon perturbing SPOD states in a ring of N=10N=10 oscillators.

  7. 7.

    Fig S7: Implementation of a Fredkin gate using a given perturbation protocol.

I Numerical details

The dynamical equations [Eqn. (2) of the main text] are solved using a fourth order Runge-Kutta scheme with time step δt=0.1\delta t=0.1 dimensionless units. Time is expressed in units of the period of an uncoupled oscillating element. The initial conditions for each element are randomly sampled from the limit cycle of an uncoupled oscillator. The simulations reported here use boundary conditions that correspond to either the chain topology described in the main text [i.e., v˙0=Dv(v1v0),\dot{v}_{0}=D_{v}(v_{1}-v_{0})\,, v˙N+1=Dv(vNvN+1)\dot{v}_{N+1}=D_{v}(v_{N}-v_{N+1})\,], or a ring [i.e., v0=vNv_{0}=v_{N}, vN+1=v1v_{N+1}=v_{1}].

The choices of the parameters governing the external stimulation, viz., the signal intensity AA and the duration τ\tau for which it is applied, are constrained to an extent by the requirement that the qualitative nature of the collective dynamics should not be altered as a result (i.e., a steady state configuration upon perturbation should converge to another steady state, rather than a spatio-temporally varying pattern).

We note that for much higher values of DvD_{v} (e.g., Dv=0.015D_{v}=0.015) it is possible to observe contiguous blocks of 0s or 11s having length >2>2, in particular, 000000 and 111111, but the variable vv does not have a clear bimodal distribution in this case. Hence, an unambiguous mapping of the physical state to a binary string may not be possible for such stronger coupling scenarios.

The absence of SPOD states beginning or ending with ‘00’ or ‘11’ in a chain having passive elements at its ends, is a consequence of the boundary condition. As the the passive elements at the edges will assume the same activity state (low or high) as that of its neighboring oscillator, this effectively results in a block of three consecutive 0s or 11s that destabilizes the time-invariant SPOD state to which it belongs.

Refer to caption
Figure S1: Stylized representation of the attractors of the dynamical system comprising a chain of N=10N=10 relaxation oscillators diffusively coupled with Dv=2×103D_{v}=2\times 10^{-3}. The 68 unique SPOD configurations are represented as binary strings, where the size of each string is proportional to its basin of attraction. These are numerically estimated from their relative frequency of occurrence in 10410^{4} realizations using random initial conditions. The strings are colored according to their total number of defects, i.e., pairs of adjacent oscillators in the same activity state: 0 (red), 11 (blue), 22 (green), 33 (brown) and 44 (black). The visualization has been generated using the online tool provided by WordArt.com.

Fig. S1 shows all the 68 distinct SPOD configurations (represented as binary strings, see main text for details about the corresponding mapping) obtained as attractors of the dynamics for a chain of N=10N=10 oscillators, out of the 2102^{10} possible binary states that the system can adopt during its time-evolution. The statistics for the attractors, including estimates of the sizes of their basins of attraction, are obtained by performing 10410^{4} different realizations of the system dynamics using randomly chosen initial configurations.

Refer to caption
Figure S2: Statistics of the binary strings corresponding to the attractors for the dynamical system comprising N=10N=10 linearly coupled relaxation oscillators. The 6868 distinct attractors (each representing a SPOD configuration) of the system are characterized in terms of the number of defects (i.e., adjacent pairs of elements in identical low or high activity states) that result in the string deviating from a strictly alternating sequence of 0s and 1s (i.e., ‘0101010101\ldots 01’ or ‘1010101010\ldots 10’). In each wheel, the sizes of the various colored segments indicate the relative fraction of the corresponding string type represented by the segment. The inner wheel provides a gross classification between string fractions with NO defects, those having defects strictly of the type ‘0000’ (i.e., adjacent elements in low activity states) or ‘1111’ (i.e., adjacent elements in high activity states), and those having defects of both types ‘0000’ and ‘1111’. The outer wheel shows a finer subdivision of the segments shown in the inner wheel, and provides information about the relative fraction of strings that have a specific number of ‘0000’ and ‘1111’ defects. The ordered pair (X,YX,Y) corresponding to each segment indicates that the string has XX pairs of adjacent elements in low activity states and YY pairs in high activity states.

II Reading Frames

In Fig. 1 (d, left) in the main text we have shown the tiling of a chain of NN oscillators by stable pairs of adjacent oscillators arrested in low and high activity states, respectively. Note that when we use such oscillator pairs to tile the chain without any overlaps, (using N/2N/2 pairs for any chain of length NN that can be completely tiled), there are two possible reading frames, starting from odd and even numbered sites, respectively. The most frequently occurring configurations, viz., those comprising a strictly alternating sequence of 0s and 1s (see, e.g., Fig. S1 for N=10N=10), can be completely tiled by N/2N/2 contiguous stable pairs in either of the reading frames. In contrast, sequences containing adjacent oscillators in the same activity state, viz. ‘00’ or ‘11’, can be completely tiled in at most one of the reading frames (see Fig. S2 for a graphical overview of the statistics of strings with such ‘defects’). For sequences in which neither reading frame leads to a complete tiling, switching between the frames can achieve this [see, e.g., Fig. 1 (d), left, in main text]. The number of nodes that can be tiled using stable oscillator pairs in both reading frames (which has a maximum value of NN) provides a measure of the stability of the sequence. In particular, if the string corresponding to a state cannot be completely tiled under both reading frames, then the state will not be stable, and hence will not be observed.

III Number of binary strings in different connection topologies

We provide below combinatorial arguments for obtaining the number of distinct SPOD configurations represented using binary strings in a 1-dimensional array of NN oscillators with different boundary conditions.

III.1 Chain of NN oscillators

To calculate the number of SPOD configurations in a chain (i.e., where the oscillators can be uniquely identified in terms of their position in the sequence in which they occur in the array), we note that this can be expressed by first finding the number n1(N)n_{1}(N) of binary strings of length NN which do not contain more than two consecutive 0s or 11s (as this is disallowed under the system dynamics for the parameter values used). We then remove from this set all strings, say n2(N)n_{2}(N) in number, which have two consecutive 0s or 11s at either boundary of the chain (as the boundary conditions prevent the dynamics at the chain ends from generating such patterns). For a given NN, the number n1(N)n_{1}(N) is simply obtained by counting the strings generated using a pair of binary trees, one beginning with 0 and the other with 11 at its root, and terminating at level N1N-1, subject to the constraint that the strings of length NN, obtained by following along every branch the binary digits occurring at each level from the root (level 0) to leaf (level N1N-1), should not have more than two consecutive 0s or 11s. As can be seen from Fig. S3, the number of such sequences for each of the two binary trees is given by FN+1(=FN+FN1)F_{N+1}(=F_{N}+F_{N-1}), i.e., the (N+1N+1)-th Fibonacci number (F1=1F_{1}=1, F2=1F_{2}=1, F3=2F_{3}=2, F4=3F_{4}=3, …). As the two binary trees are identical with only 0 and 11 interchanged, this implies that n1(N)=2FN+1n_{1}(N)=2F_{N+1}. Similar arguments yield n2(N)=2FN1n_{2}(N)=2F_{N-1}. Thus, the total number of SPOD states for NN oscillators arranged in a chain topology is nSPOD(N)=n1(N)n2(N)=2FNn_{SPOD}(N)=n_{1}(N)-n_{2}(N)=2F_{N}.

Refer to caption
Figure S3: Generation procedure for binary strings of length NN representing the allowed SPOD configurations in a system of NN oscillators arranged in a chain topology. At each level L(=N1)L(=N-1), the number of sequences allowed subject to the constraint that there cannot be more than 22 consecutive 0s or 11s is given by FN+1F_{N+1}, the (N+1)(N+1)-th entry of the Fibonacci sequence (see text).

III.2 Ring comprising NN oscillators

We now obtain the number of distinct SPOD configurations in a ring topology, i.e., which are invariant under cyclic permutations. Using Goulden-Jackson cluster method, the generating function for the number of cyclic strings is:

f(s)=(16s3+6s4s6)(1s3)(12s+s3)+2(Chop3(s2(1+s)(1+2s)1+s+s2))=1+2s+4s2+6s3+6s4+10s5+20s6+O(s7),=C(N)sN,\displaystyle\begin{split}f(s)&=\frac{(1-6s^{3}+6s^{4}-s^{6})}{(1-s^{3})(1-2s+s^{3})}+2\left(Chop_{3}\left(\frac{s^{2}(1+s)(1+2s)}{1+s+s^{2}}\right)\right)\\ &=1+2s+4s^{2}+6s^{3}+6s^{4}+10s^{5}+20s^{6}+O(s^{7})\,,\\ &=\sum C(N)s^{N}\,,\end{split} (3)

where Chopr(p=0apsp):=p=rapspChop_{r}(\sum_{p=0}^{\infty}a_{p}s^{p}):=\sum_{p=r}^{\infty}a_{p}s^{p}. The coefficients of f(s)f(s) are in general given by:

C(N)={2ifN=14ifN=2ϕ+N+ϕN+ωN+ωNN>2,C(N)=\left\{\begin{array}[]{c c}2&\mbox{if}\,N=1\\ 4&\mbox{if}\,N=2\\ \phi_{+}^{N}+\phi_{-}^{N}+\omega^{-N}+\omega^{N}&N>2\end{array}\right.\,, (4)

where ϕ±=1±52\phi_{\pm}=\frac{1\pm\sqrt{5}}{2} and ω=13\omega=\sqrt[3]{1}.

Refer to caption
Figure S4: Dependence of the number of binary strings on the size of the system NN for three distinct cases: (i) a linear arrangement, (ii) a circular arrangement, (iii) a circular arrangement where only strings unique under circular permutations are considered. The formulae used to determine the number in each case are detailed in the main text.

The number of strings unique under cyclic permutations is

UC(N)=1Nd:d|Nφ(d)C(Nd),UC(N)=\frac{1}{N}\sum_{d:d|N}\varphi(d)C^{\prime}\left(\frac{N}{d}\right)\,, (5)

where

C(j)={0ifj=12ifj=2C(j)j>2={0ifj=12ifj=2ϕ+j+ϕj+ωj+ωjifj>2.\displaystyle\begin{split}C^{\prime}(j)&=\left\{\begin{array}[]{c c}0&\mbox{if}\,j=1\\ 2&\mbox{if}\,j=2\\ C(j)&j>2\end{array}\right.\\ &=\left\{\begin{array}[]{c c}0&\mbox{if}\,j=1\\ 2&\mbox{if}\,j=2\\ \phi_{+}^{j}+\phi_{-}^{j}+\omega^{-j}+\omega^{j}&\mbox{if}\,j>2\end{array}\right.\,.\end{split} (6)

and φ(n)\varphi(n) is the Euler’s totient function (or phi function) defined as the number of positive integers n\leq~{}n and relatively prime to nn .

Fig. S4 shows for different topologies, viz., the chain and the ring, the nature of increase in the number of distinct SPOD configurations.

IV Perturbation-induced transitions

As mentioned in the main text, perturbing a SPOD state in an array of NN coupled oscillators, using any one of the 2N12^{N}-1 possible protocols for stimulating the various distinct possible combinations of oscillators, results in the system converging to any of the dynamical attractors (corresponding to distinct SPOD states). Fig. 2 (a) in the main text represents the entire set of such perturbation-induced transitions between the 14 possible distinct SPOD states in a system of N=10N=10 oscillators arranged in a ring topology (diffusive coupling strength Dv=2×103D_{v}=2\times 10^{-3}). While the width of a directed link between two SPOD states X,YX,Y in Fig. 2 (a) have been made proportional to the number of perturbations that drive a given input state XX to a given output state YY, in Fig. S5 we present the information about these transitions using an alternative representation that allows certain information about these transition to be gleaned more conveniently. In particular, we immediately note from Fig. S5 that 66 of the SPOD states (viz., 00110011010011001101, 00101100110010110011, 00100100110010010011, 00101001010010100101, 00100101010010010101 and 01010101010101010101) are stable configurations, in that no perturbation applied on such a string can result in a transition to some other state.

The representation also allows us to infer the relative fraction of different perturbations of various states that converge to a particular output state by looking at the total area of blocks having the same color. For instance, Fig. S5 indicates that the stable state 00100101010010010101 can be arrived at from many of the other SPOD states through the application of a large number of possible perturbations. Note that, this is quite distinct from the concept of ‘basin of attraction’ of a SPOD state XX, which asks how many different randomly chosen initial configurations (which need not correspond to a SPOD state) converge to XX. Thus, for example, in this case, the state having the largest basin size is 01010101010101010101 [Fig. 2 (a)], which has fewer perturbation-induced transitions to it than the aforementioned SPOD state 00100101010010010101. This difference can be traced to the distinction between local and global stability as discussed in the main text.

Refer to caption
Figure S5: Alternative representation of the transitions shown in Fig. 2 (a) of the main text. The rows correspond to the 14 input stings, the colors denote the output strings and the relative width of the bands in each row indicate the fraction of protocols (out of 1023) that lead to a given output state.

We also note from Fig. S5 that input states differ in terms of the number of distinct output states that can be reached via different perturbations. While stable input states each have an unique output state (namely itself) which is independent of the perturbation applied, other states could map to a few (e.g., states 00101010110010101011 and 00110101010011010101 map to either themselves or to 00100101010010010101 depending on the perturbation) or many output states. An example of the latter is the input state 00110110110011011011, whose perturbation-induced transitions are shown in detail in Fig. S6 (a).

In order to understand how the application of a particular perturbation to each of the distinct input states in turn results in transitions to different output states, we have considered in Fig. S6 (b) the protocol in which all oscillators are stimulated While 99 of the states are left unchanged by the perturbation, 33 of the remaining states map to 00100101010010010101 (the state which is the target of the largest number of perturbation-induced transitions, as we have seen from Fig. S5) while one state maps to 01010101010101010101 (the state having the largest basin) and the other maps to 00101001010010100101. Note that while, in general, states having the maximum number of 0s (nodes colored green) act as sinks and those having the minimum number (nodes colored blue) act as sources, not all such nodes behave similarly for a given perturbation. For instance, 01011010110101101011 (a blue colored node) does not map to any other state under this particular stimulation protocol, while 00100100110010010011 (a green colored node) is arrived at only from itself.

Refer to caption
Refer to caption
Figure S6: Networks showing the transitions that occur upon perturbing SPOD states in a ring of N=10N=10 oscillators. The amplitude and duration of the perturbation is the same as in Fig. 2 of the main text, as is the convention used for node color, node size and edge thickness. (a) The transitions that can occur from the SPOD state represented by ‘0011011011’ when it is subject to all possible 10231023 stimulation protocols. We note that the transitions appear to be governed by the rule that a state with a certain number of 0s can only transition to one with a larger number of 0s. This implies a hierarchy among the allowed SPOD states, viz., a string with four 0s can transition to one with either five or six 0s, while a string with five 0s can only transition to a string having six 0s. This is illustrated in panel (b), which displays the transitions that occur when the 14 distinct SPOD states are subject to the protocol in which all sites are stimulated. Even though all nodes are perturbed in this case, transitions are observed only for a few strings while the others remain unchanged (note that, the edges are unweighted and that self-loops have not been displayed.

V Implementation of a conservative logic gate

Here we show that an array of coupled oscillators subject to a given perturbation can be used to implement a conservative logic gate, specifically the Fredkin gate, which is known to be universal (in the sense that any logical operation can be realized by suitable combinations of these gates; see Ref. [44] cited in the main text for details). Operations performed by this gate are reversible, such that the transformation of an input configuration II to a given output OO can be inverted by connecting it to another gate, creating a cascade. The Fredkin gate FF is therefore its own inverse F1F^{-1}, where F1(O)=F1(F(I))=IF^{-1}(O)=F^{-1}(F(I))=I.

Refer to caption
Figure S7: Implementation of a Fredkin gate using a given perturbation protocol. The upper row schematically depicts the various input/output configurations (corresponding to the different rows of the truth table) of the 22-input, 22-output gate when the control line C=1C=1, i.e., in the case where the perturbation is applied. Note that, C=0C=0 corresponds to the case where no perturbation is applied, and consequently the SPOD state is unchanged (not shown). Specifically, panels (a-d) show the transformations (a) {I1=0,I2=0}{O1=0,O2=0}\{I_{1}=0,~{}I_{2}=0\}\rightarrow\{O_{1}=0,~{}O_{2}=0\}, (b) {I1=1,I2=0}{O1=0,O2=1}\{I_{1}=1,~{}I_{2}=0\}\rightarrow\{O_{1}=0,~{}O_{2}=1\}, (c) {I1=0,I2=1}{O1=1,O2=0}\{I_{1}=0,~{}I_{2}=1\}\rightarrow\{O_{1}=1,~{}O_{2}=0\}, and (d) {I1=1,I2=1}{O1=1,O2=1}\{I_{1}=1,~{}I_{2}=1\}\rightarrow\{O_{1}=1,~{}O_{2}=1\}. This is implemented in a 11-dimensional array comprising N(=10)N(=10) oscillators coupled diffusively to their nearest neighbors with Dv=2×103D_{v}=2\times 10^{-3}, by subjecting the sites 55, 66, 77, 88 and 1010 to a perturbation of amplitude A=8×104A=8\times 10^{-4} for a duration τ=102\tau=10^{-2} time units. The boundary conditions for an open chain are implemented by coupling passive cells to the oscillators at the extremities (i.e., oscillators 11 and NN are each coupled to one oscillating and one passive cell). The bottom row shows the transformations realizing each row of the truth table below the corresponding schematic input/output configuration, as a spatio-temporal evolution of different SPOD states (indicated by the binary string superposed on the array) subjected to the specified perturbation (indicated by the arrows) and consequently behaving as a Fredkin gate (C=1C=1). As mentioned in the text, each input/output channel comprises a set of three sites, viz., I1/O1I_{1}/O_{1} corresponds to the the sites 11, 44 and 66 (whose binary entries are colored red), while the channel I2/O2I_{2}/O_{2} comprises sites 77, 99 and 1010 (binary entries colored blue). The state of the channels are determined by the majority rule (see text).

The Fredkin gate is typically represented as a gate which has 33 input channels (CC, I1I_{1}, I2I_{2}) and 33 output channels (CC, O1O_{1}, O2O_{2}), each of which have binary values (0 or 11). The control line CC is unchanged by the gate, and we identify its value as indicating either the application of a given perturbation (C=1C=1) or not (C=0C=0). The input and output channels are represented as sets comprising an odd number MM of sites in the array (M=3M=3 for the results shown here). The value assigned to each channel is obtained by applying the majority rule on the states of the constituent sites. Thus, if a channel consists of three sites (i.e., M=3M=3) with at least two in the state 11, then the value assigned to the channel is 11; else it is assigned 0. A given pair of input and output channels IjI_{j}, OjO_{j} (j=1,2j=1,2) share the same sites, such that the logical operation of the gate is identified with the state transformation resulting from the perturbation.

Fig. S7 shows a realization of the Fredkin gate using a protocol where, if the perturbation is applied (C=1C=1), the sites 55, 66, 77, 88 and 1010 are stimulated with amplitude AA for a duration τ\tau, while C=0C=0 corresponds to absence of perturbation such that the state of the array remains unchanged (the panels show only the non-trivial case C=1C=1). As can be seen, each of the rows of the Fredkin gate truth table for C=1C=1 can be implemented using this perturbation. We have verified that other perturbation schemes also realize this logic.