arXiv:2610.22484cs.NEOct 2026

Manuscript Offprint

arXiv:2610.22484

Upper bounds on the number of causal pieces in spiking neural networks

Dominik Dold, Dennis Elbrächter, Philipp Petersen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

The input space of single-spike neural networks decomposes into causal pieces, and the number of causal pieces has been shown to provide a lower bound on the approximation error for some spiking neural networks. While this decomposition is applicable to a wide range of spiking neuron models, the limits of how many causal pieces can be realised by spiking neural networks are still unknown. In this work, we derive two complementary upper bounds on the number of causal pieces in feedforward single-spike neural networks. First, we establish a combinatorial bound given by the poly-Bernoulli numbers, which applies to a broad class of spiking neuron models. The bound is of order e2(L−1)Nlog⁡N+O(N)e^{2(L-1)N \log N + \mathcal{O}(N)}, with network depth LL and maximum layer width NN. Second, for a specific set of neuron models, we derive a bound based on hyperplane arrangements. Applying the latter framework, we obtain bounds of order O(N(4L−3)(N0−1))\mathcal{O}\big(N^{(4L-3)(N_0-1)}\big) for the non-leaky integrate-and-fire model with exponential synapses and the ReLU-type spike response model, and O(NL(N0−1))\mathcal{O}\big(N^L(N_0-1)\big) for the leaky integrate-and-fire model with Dirac- δ\delta synapses, where N0N_0 is the input dimension. For the non-leaky integrate-and-fire model with Dirac- δ\delta synapses, additional temporal structure allows us to sharpen the general combinatorial bound to one that depends only on N0N_0, independently of the network depth and widths.

1 Introduction

Recently, the concept of causal pieces (or causal regions) has been introduced to study the expressivity of spiking neural networks (SNNs) using single-spike coding [1] – neural networks in which every neuron spikes at most once per inference [2–4]. A causal piece is a region of the input space on which the same subnetwork is active. Intuitively, this is the collection of neurons and synaptic connections through which the input spikes influence the output spike times (Fig. 1A,B). In particular, the number of causal pieces has been shown to provide a lower bound on the approximation error [1, Theorem 1],

∥Φ−g∥L∞(I)>cC(Φ)−2,(1)\|\Phi-g\|_{L^{\infty}(I)}>c\mathfrak{C}(\Phi)^{-2}, \tag{1}

for g∈C3g \in C^3 such that z↦exp⁡(g(τlog⁡z)/τ)z \mapsto \exp(g(\tau \log z)/\tau) is not affine, where τ>0\tau > 0 denotes the common synaptic time constant of the nLIF network. I⊂RI \subset \mathbb{R} is a non-empty compact interval, C(Φ)\mathfrak{C}(\Phi) denotes the number of causal pieces of the SNN Φ\Phi, and c>0c > 0 is a constant that depends on gg, τ\tau, and max⁡x∈I{exp⁡(g(x)/τ),exp⁡(Φ(x)/τ)}\max_{x \in I} \left\{ \exp(g(x)/\tau), \exp(\Phi(x)/\tau) \right\}. While this result was originally stated for networks of non-leaky integrate-and-fire (nLIF) neurons with exponential synapses, the underlying proof mechanism is more general: it applies whenever, possibly after a suitable change of variables, the network realisation is affine on each causal piece. This also holds for the ReLU-type response model (Definition 3.5) considered here, whose spike-time map is affine on each causal piece by default. Thus, analogous approximation lower bounds follow for this model. Furthermore, approximation bounds of this type have also been extended to multi-spike neural networks using a mathematical transference principle [5].

Consequently, a low number of causal pieces limits the approximation capabilities of SNNs, and any upper bound on the number of causal pieces C(Φ)≤U\mathfrak{C}(\Phi) \leq U immediately yields

∥Φ−g∥L∞(I)>c⋅U−2.(2)\|\Phi-g\|_{L^{\infty}(I)}>c\cdot U^{-2}. \tag{2}

A

B

Figure

C

D

Figure 1: A. The input space (here: two-dimensional) of a SNN partitions into separate regions with, potentially, curved boundaries. Each region (causal pieces) is denoted by a different colour. B. Every causal piece corresponds to a different subnetwork (coloured) that produces, in that input region, the output. Corresponding regions in (A) are coded here by colour. Thus, counting causal pieces corresponds to counting possible subnetworks. C. Not all synaptic activity patterns between two layers in a SNN are allowed. We show here one such forbidden pattern: t0′t_0' is caused by input neurons {0,1}=C0\{0,1\} = C_0, and t1′t_1' by neurons {0,2}=C1\{0,2\} = C_1. However, if t1′≥t0′t_1' \geq t_0', then C0C_0 has to be a subset of C1C_1. Similarly, if t1′<t0′t_1' < t_0', C1C_1 has to be a subset of C0C_0. Neither is the case, and thus the pattern is not allowed. D. For specific neuron models, there exists a change of variables through which causal pieces become polyhedra.

But how many causal pieces can SNNs have? In this work, we provide combinatoric upper bounds that are generally applicable to a large set of SNN models. We further derive upper bounds using hyperplane arrangement arguments that only apply to specific SNN models.

The first two bounds we introduce are combinatorial and independent of the particular neuron dynamics. While the first bound is generally applicable to feedforward single-spike neural networks, the second one only applies to SNNs in which the presynaptic spike times are the same for all neurons within a layer. This includes the standard setting with zero synaptic delays as well as settings where delays are only on the axons, i.e., on the side of the presynaptic neurons. Most importantly, these upper bounds do not require synaptic weights to be exclusively positive, and they are not restricted to particular neuron models.

The two combinatorial bounds are derived consecutively. First, given an input, a causal piece is defined by the active subnetwork, i.e., the set of neurons and connections that are involved in determining the output spike times (Fig. 1B). Consequently, a naive upper bound on the number of causal pieces is given by the number of possible subsets of all synapses (Proposition 4.2):

C⋄(Φ)≤∏ℓ=1L2Nℓ−1Nℓ=2∑ℓ=1LNℓ−1Nℓ,(3)\mathfrak{C}_{\diamond}(\Phi)\leq\prod_{\ell=1}^{L}2^{N_{\ell-1}N_{\ell}}=2^{\sum_{\ell=1}^{L}N_{\ell-1}N_{\ell}}, \tag{3}

where C⋄(Φ)\mathfrak{C}_{\diamond}(\Phi) is the number of causal pieces of spiking neural network Φ\Phi with L∈NL \in \mathbb{N} layers, widths N1,...,NL∈NN_1, ..., N_L \in \mathbb{N}, and input dimension N0∈NN_0 \in \mathbb{N}. ⋄∈{<,≤}\diamond \in \{<, \leq\} distinguishes whether neurons in the causal set must spike strictly before (<)(<), or may also spike simultaneously with (≤)(\leq), the output neuron (Definition 3.3).

However, spiking neurons within a layer have strong temporal constraints: for any fixed input, if postsynaptic neurons A and B have finite spike times and A spikes before B, then the causal set of A is a subset of the causal set of B (Fig. 1C) – where the causal set contains the indices of the presynaptic neurons whose spikes occur before the postsynaptic spike (see Definition 3.1). Thus, ordering the neurons by their finite spike times produces an increasing sequence of causal sets. Neurons that do not spike have empty causal sets. This nesting phenomenon has also been identified concurrently in [6] and used to derive upper bounds for a restricted class of SNNs with shared positive weights. Here, we show that, for arbitrary synaptic weights, this temporal constraint is equivalent to requiring the matrix of active connections in each layer to be a lonesum matrix. Using exact counting results for lonesum matrices [7], we obtain an upper bound given by a product of poly-Bernoulli numbers, which is substantially tighter than the first upper bound we derived (Theorem 4.6):

C⋄(Φ)≤∏ℓ=1LBNℓ−Nℓ−1,\mathfrak{C}_{\diamond}(\Phi)\leq\prod_{\ell=1}^{L}\mathcal{B}_{N_{\ell}}^{-N_{\ell-1}},

(4) for ⋄∈{<,≤}\diamond \in \{<, \leq\}. The poly-Bernoulli numbers are given by [7–9]

Bn(−k)=∑m=0min⁡(n,k)m!{n+1m+1m!{k+1m+1,(5)\mathcal{B}_{n}^{(-k)}=\sum_{m=0}^{\min(n,k)}m!\begin{cases}n+1\\ m+1\end{cases}m!\begin{cases}k+1\\ m+1\end{cases}, \tag{5}

with the Stirling number of the second kind [10]

{nk=(−1)kk!∑ℓ=0k(−1)ℓ(kℓ)ℓn,\begin{align*}\begin{cases}n\\ k\end{cases}=\frac{(-1)^k}{k!}\sum_{\ell=0}^k(-1)^\ell\binom{k}{\ell}\ell^n ,\end{align*}

(6)

which is the number of partitions of n elements into k non-empty sets.

Lastly, we derive upper bounds for a specific class of spiking neuron models. For these models, a reparameterisation of spike times transforms causal pieces into polyhedral regions on which the SNN realises an affine function (Fig. 1D). The exact requirements are stated in Assumption 5.5. In addition, we assume no synaptic delays. The covered models include the nLIF neuron model with exponential synapses studied in [1], the ReLU-type spike response model used in [6], the nLIF model with Dirac- δ\delta synapses [11], and the leaky integrate-and-fire (LIF) model with Dirac- δ\delta synapses – again with no constraints on the sign of synaptic weights. For such models, the number of causal pieces can be upper bounded by estimating the number of regions formed by the corresponding hyperplane arrangements, similarly to region-counting arguments for ReLU-based artificial neural networks (ANNs) [12, 13]. Our bound additionally tracks the dimension of the image of each intermediate layer, which can yield tighter bounds than our combinatoric estimates for networks containing low-dimensional bottleneck layers (Theorem 5.7). Specifically, for the nLIF model with exponential synapses and the ReLU-type response model, we find (Theorems 6.1 and 6.2):

nLIF+Exp./ReLU−type ⁣:C<(Φ)≤∏ℓ=1L∑j=0dℓ−12j((Nℓ−12)j)min⁡{Nℓ−1Nℓ,∑j=0dℓ−12j(Nℓ(Nℓ−1−1)j)},(7)\mathbf{n L I F}+\mathbf{E x p.}/\mathbf{R e L U-t y p e}\colon\mathfrak{C}_{<}(\Phi)\leq\prod_{\ell=1}^{L}\sum_{j=0}^{d_{\ell-1}}2^{j}\binom{\binom{N_{\ell-1}}{2}}{j}\min\left\{N_{\ell-1}^{N_{\ell}},\sum_{j=0}^{d_{\ell-1}}2^{j}\binom{N_{\ell}(N_{\ell-1}-1)}{j}\right\}, \tag{7}

with dℓ:=min⁡0≤r≤ℓ(Nr−1)d_\ell := \min_{0 \leq r \leq \ell} (N_r - 1), ℓ∈{0,…,L}\ell \in \{0, \ldots, L\}. For the nLIF/LIF model with Dirac- δ\delta (or instantaneous) synapses, we have (Theorems 6.4 and 6.6):

LIF ⁣:C⋄(Φ)≤R(N0)⋅∏ℓ=1Lmin⁡{(dℓ−1+1)Nℓ,∑j=0dℓ−12j(Nℓdℓ−1j)},nLIF ⁣:C⋄(Φ)≤R(N0),(8)\mathbf{L I F}\colon\mathfrak{C}_{\diamond}(\Phi)\leq R(N_{0})\cdot\prod_{\ell=1}^{L}\min\left\{(d_{\ell-1}+1)^{N_{\ell}},\sum_{j=0}^{d_{\ell-1}}2^{j}\binom{N_{\ell}d_{\ell-1}}{j}\right\},\mathbf{n L I F}\colon\mathfrak{C}_{\diamond}(\Phi)\leq R(N_{0}), \tag{8}

for ⋄∈{<,≤}\diamond \in \{<, \leq\} (see Definition 3.3) and with R(N0)=∑q∈[N0]q!{N0q}R(N_0) = \sum_{q \in [N_0]} q! \left\{ \begin{matrix} N_0 \\ q \end{matrix} \right\}. The two combinatoric bounds and the hyperplane bounds are compared for different network architectures in Fig. 2. For completeness, we also show the general bound derived in [6, Theorem 7.1] for these architectures.

Proposition 4.2 (general)

Theorem 4.6 (general)

Theorem 6.1/6.2 (nLIF+exp. / ReLU-type)

Singh et al. (Theorem 7.1)

Theorem 6.4 (LIF+Dirac)

Theorem 6.6 (nLIF+Dirac)

Architectures from Serra (2018)

Constant neuron count

Constant synapse count

Shallow networks

Figure

Input dimension and neuron count in each layer

Figure 2: Upper bounds as stated in Proposition 4.2 and Theorem 4.6 for general SNNs, and for specific SNNs using hyperplane arrangement arguments (Theorems 6.1, 6.2, 6.4 and 6.6), evaluated for different neural architectures. We denote here “input dimension; hidden dimension; hidden dimension; ...; output dimension”. As some of our bounds also apply to the neuron model studied in [6], we include here the upper bound stated in [6, Theorem 7.1]. The first set of architectures is taken from [14].

ModelAsymptotic upper bound for causal pieces
nLIF with exponential synapses (Theorem 6.1)O(N(4L−3)(N0−1))\mathcal{O}\big(N^{(4L-3)(N_0-1)}\big)
ReLU response (Theorem 6.2)O(N(4L−3)(N0−1))\mathcal{O}\big(N^{(4L-3)(N_0-1)}\big)
LIF with Dirac-δ\delta synapses (Theorem 6.4)O(NL(N0−1))\mathcal{O}\big(N^{L(N_0-1)}\big)
nLIF with Dirac-δ\delta synapses (Theorem 6.6)O(1)\mathcal{O}(1)
Combinatorial bound (Theorem 4.6)e2(L−1)Nlog⁡N+O(N)e^{2(L-1)N\log N+\mathcal{O}(N)}

Table 1: Asymptotic behaviour of the upper bounds w.r.t. maximum width NN for fixed input dimension N0N_0 and depth LL.

The hyperplane approach yields bounds of the form NO(N0L)N^{\mathcal{O}\left(N_0L\right)} for the models considered here, where NN is the maximum width and N0N_0 the input dimension. This is due to

max⁡0≤ℓ≤Ldℓ=d0=(N0−1).\max_{0\leq \ell\leq L} d_{\ell}=d_{0}=(N_{0}-1).

While N0N_0 enters the exponent, the dependence on the maximum width remains polynomial. This is of particular interest as the input dimension N0N_0 is generally given by the task at hand rather than chosen as part of the network architecture. Table 1 provides the asymptotic scaling of the bounds with respect to maximum width NN, given fixed depth and input dimension. The bound for nLIF networks with Dirac-δ\delta synapses depends only on the input dimension, independently of the depth and the widths of all subsequent layers. For the ReLU-response model, [6, Proposition 6.3] show that, for fixed input dimension N0N_0, positive weights, and per-neuron threshold, there exist shallow networks of width NN with C(Φ)=Ω(NN0−1)\mathfrak{C}(\Phi)=\Omega\big(N^{N_0-1}\big). For L=1L=1, this matches our upper bound O(NN0−1)\mathcal{O}\big(N^{N_0-1}\big) in its dependence on NN.

The exponential dependence on the bottleneck dimension and depth is unavoidable already for ReLU-response networks. Singh et al. [6, Lemma 7.1], with m=3m=3, constructs a two-layer network of widths (2,3,2)(2, 3, 2) with two distinct causal patterns whose input domains map bijectively onto the same output domain. Iterating this construction gives 2K2^K patterns after KK blocks, as established in [6, Theorem 7.2].1^{1} Following the parallelisation discussed immediately thereafter, and allowing zero synaptic weights, one can run rr copies on disjoint input pairs by setting all cross-pair weights to zero. Their neuron-dependent thresholds can be replaced by a common threshold without changing any spike times, by rescaling the incoming weights of each neuron accordingly.

For r,K∈Nr, K \in \mathbb{N}, this yields a network Φ\Phi of architecture (2r,3r,2r,…,3r,2r)(2r, 3r, 2r, \dots, 3r, 2r), with KK blocks. The distinct patterns remain distinguishable under our causal subnetwork definition, as, within each two-input block, the second-layer neurons include all first-layer neurons as causal predecessors, and one of those first-layer neurons includes both block inputs. Consequently, with depth L=2KL=2K and bottleneck dimension d=2r−1d=2r-1,

C<(Φ)≥2rK=2(d+1)L/4.(9)C_{<}(\Phi)\geq 2^{rK}=2^{(d+1)L/4}. \tag{9}

Thus, even with all widths proportional to dd, a general upper bound must allow exponential growth in dLdL. For each fixed architecture, the lower bound also extends to nLIF neural networks with exponential synapses in a parameter regime where their response sufficiently approximates the ReLU-type response (see Appendix A.1). This argument does not establish the lower bound for nLIF neural networks outside that regime. Moreover, we only show that exponential dependence on dLdL is unavoidable, but do not establish the optimality of the exponents in our upper bounds. Closing the remaining gap between the lower and upper bounds remains future work. In the case of Dirac-δ\delta synapses, things are a bit simpler and we get an exactly matching lower bound for nLIF and a matching lower bound, up to a constant, for LIF (see Appendix A.2).

References (29)