arXiv:2610.33498cs.NEOct 2026

Manuscript Offprint

arXiv:2610.33498

Optimal Connectivity of Random Boolean Networks for Reservoir Computing

Christopher Michael Skeide Vibe, Aliaksandr Hubin, Stefano Nichele

Christopher Michael Skeide Vibe 1^{1}, Aliaksandr Hubin 2^{2}, and Stefano Nichele 1^{1}

1^{1} Machine Learning Research Group, Østfold University of Applied Sciences, B R A

Veien 4, NO-1783 Halden, Norway

christopher.vibe@hiof.no

2^{2} Bioinformatics and Applied Statistics, Faculty of Chemistry, Biotechnology and Food Science, Norwegian University of Life Sciences, Chr. M. Falsens vei 18, NO-1433 Ås, Norway

Abstract. Reservoir computing shifts the focus from training a system's internal dynamics to designing dynamics that expose useful computational capabilities via linear projection. We study random Boolean networks as reservoirs: cellular automata with random recurrent wiring and a random rule at each node. Their main parameter is the connectivity, the mean number of edges into a node. Without input, these networks pass from ordered to chaotic dynamics at a connectivity of 2, where their dynamics are expected to facilitate computation. How the input is connected is itself a design factor: if the input shares the network's edges, the connectivity sets both the dynamics and how many nodes receive the input, the input fan-out. We set the input fan-out separately and compare 7,560 reservoir designs, all combinations of six design factors, each built as many random reservoirs, on recalling the majority or the parity of a few input bits seen several steps earlier. The optimal connectivity falls from 2.5 to 1.75–2 as more nodes receive the input, but hardly depends on the task or on the other design factors, except self-loops, which connect a node to itself and raise the optimal connectivity. A measure computed from the reservoir states without a trained readout peaks at a connectivity that also falls with the fan-out and rises with self-loops, but does not replace training a readout. Reservoirs of one design vary widely, so a design should be judged by its typical reservoir.

1 Introduction

In reservoir computing, the input drives a dynamical system, the reservoir, and only a linear readout of its states is trained [6,9]. Thus the design of the reservoir limits what the system can compute. Random Boolean networks (RBNs) generalize cellular automata (CA), with random instead of local wiring and a rule drawn for each node. CA with a rule per cell have served as reservoirs [12], and Snyder et al. call RBNs used as reservoirs Boolean reservoirs [13]. Without input, an RBN with unbiased rules is ordered when its connectivity, the mean in-degree kˉ\bar{k} of its nodes, is below 2 and chaotic above it [7,4]. Reservoirs are expected to perform best near this transition [1,8].

C. M. S. Vibe et al.

A reservoir, however, is driven: at every step the input enters the rules of the nodes it reaches, so the critical value of the undriven network need not be the optimal connectivity kˉ∗\bar{k}^* of a reservoir, the kˉ\bar{k} at which it is most accurate. Earlier results differ. Snyder et al. draw the input and recurrent edges from one shared pool, so that kˉ\bar{k} also sets how many nodes receive the input, the input fan-out rr (Sect. 2); their trained 500-node reservoirs are most accurate at the largest kˉ\bar{k} tested, 8, at the shortest delay, and at kˉ\bar{k} between 3 and 4 at long delays [13]. In a second study they wire the input to rr separate nodes and vary rr and kˉ∈{1,2,3}\bar{k} \in \{1, 2, 3\}; on their tasks, accuracy falls least at kˉ=2\bar{k}=2 as the window and the input stream grow [14]. Echlin et al. also set the fan-out separately and find kˉ∗=2\bar{k}^*=2 among {1,2,3}\{1, 2, 3\}, except in large reservoirs with many input nodes, where kˉ∗=1\bar{k}^*=1 [5]; in threshold networks, Calvet et al. find kˉ∗=4\bar{k}^*=4 [2]. Each study varies a few design factors and fixes the rest, so kˉ∗\bar{k}^* has not been measured while the input fan-out and other factors vary together.

We therefore ask how kˉ∗\bar{k}^{*} depends on the design of the reservoir and on the task. We expect kˉ∗\bar{k}^{*} to vary with every design factor, the input fan-out among them, and with how much memory and computation the task demands. As in the second study of Snyder et al. and in Echlin et al., we give the input its own edges, to r reservoir nodes drawn at random, so that the input fan-out is set apart from kˉ\bar{k}. We vary six design factors jointly: the input fan-out, kˉ\bar{k}, state updates per input bit, initialization, input injection, and self-loops. The classical RBN has no self-loops; Montagna et al. replace one in-edge of a node with a self-loop, preserving its random rule, and find that the undriven network has more cyclic attractors the more nodes have a self-loop [11]. Our self-loops replace an in-edge in the same way, so at a given kˉ\bar{k} a network with self-loops has fewer edges between distinct nodes. In a driven reservoir, the input variance is also expected to affect the dynamics; we hold it fixed (Sect. 3.2) and vary the demands of the task instead. Each task recalls a short window of past input bits, either its majority or its parity. Majority and parity are two ends of a scale from memory to computation: the majority can still be guessed when some bits of the window are lost, while the parity falls to chance when a single bit is lost. Memory and nonlinear computation share the bounded capacity of a dynamical system [3].

Boolean reservoirs are often judged without training a readout [13,14], by two measures computed from the reservoir states alone [8]. Kernel quality (KQ) is computed by driving the reservoir with streams that differ and counting the linearly independent states that result, so a high value means that distinct input histories give distinct states; generalization rank (GR) uses streams that are identical at selected bit positions, so a low value means that histories which agree there end in similar states. Snyder et al. take the kˉ\bar{k} at which the difference Δ\Delta of KQ and GR peaks as the optimal one: 2.25 in 25-node reservoirs [13], and near 2 when Δ\Delta is summed over the input fan-out [14]. We test whether the kˉ\bar{k} at which Δ\Delta peaks lies near kˉ∗\bar{k}^{*} across the design grid.

Figure

Fig. 1. A toy Boolean reservoir with ∣R∣=3|R|=3 reservoir nodes, input fan-out r=1r=1 and kˉ=1\bar{k}=1. Left: the input bit u(t)u(t) is written into the input node I1I_1, which has an edge to R1R_1; the recurrent edges form the cycle R1→R2→R3→R1R_1 \to R_2 \to R_3 \to R_1. Solid edges are fixed, dashed edges are the trained readout O1O_1. Middle: the rules (' marks the next state). R1R_1 receives the input, so its lookup table has one column per combination of I1I_1 and R3R_3; R2R_2 and R3R_3 have one in-neighbour each. Right: the state after each step for u=1,0,1u=1,0,1 (override injection, one tick, x(0)=0\mathbf{x}(0)=\mathbf{0}). At t=1t=1, for example, R1′=I1⊕R3=1⊕0=1R_1' = I_1 \oplus R_3 = 1 \oplus 0 = 1: every node reads the state before the update.