Manuscript Offprint
arXiv:2610.22484Upper bounds on the number of causal pieces in spiking neural networks
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 , with network depth and maximum layer width . 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 for the non-leaky integrate-and-fire model with exponential synapses and the ReLU-type spike response model, and for the leaky integrate-and-fire model with Dirac- synapses, where is the input dimension. For the non-leaky integrate-and-fire model with Dirac- synapses, additional temporal structure allows us to sharpen the general combinatorial bound to one that depends only on , 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],
for such that is not affine, where denotes the common synaptic time constant of the nLIF network. is a non-empty compact interval, denotes the number of causal pieces of the SNN , and is a constant that depends on , , and . 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 immediately yields
A
B

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: is caused by input neurons , and by neurons . However, if , then has to be a subset of . Similarly, if , has to be a subset of . 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):
where is the number of causal pieces of spiking neural network with layers, widths , and input dimension . distinguishes whether neurons in the causal set must spike strictly before , or may also spike simultaneously with , 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):
(4) for . The poly-Bernoulli numbers are given by [7–9]
with the Stirling number of the second kind [10]
(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- synapses [11], and the leaky integrate-and-fire (LIF) model with Dirac- 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):
with , . For the nLIF/LIF model with Dirac- (or instantaneous) synapses, we have (Theorems 6.4 and 6.6):
for (see Definition 3.3) and with . 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

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].
| Model | Asymptotic upper bound for causal pieces |
| nLIF with exponential synapses (Theorem 6.1) | |
| ReLU response (Theorem 6.2) | |
| LIF with Dirac- synapses (Theorem 6.4) | |
| nLIF with Dirac- synapses (Theorem 6.6) | |
| Combinatorial bound (Theorem 4.6) |
Table 1: Asymptotic behaviour of the upper bounds w.r.t. maximum width for fixed input dimension and depth .
The hyperplane approach yields bounds of the form for the models considered here, where is the maximum width and the input dimension. This is due to
While enters the exponent, the dependence on the maximum width remains polynomial. This is of particular interest as the input dimension 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 , given fixed depth and input dimension. The bound for nLIF networks with Dirac- 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 , positive weights, and per-neuron threshold, there exist shallow networks of width with . For , this matches our upper bound in its dependence on .
The exponential dependence on the bottleneck dimension and depth is unavoidable already for ReLU-response networks. Singh et al. [6, Lemma 7.1], with , constructs a two-layer network of widths with two distinct causal patterns whose input domains map bijectively onto the same output domain. Iterating this construction gives patterns after blocks, as established in [6, Theorem 7.2]. Following the parallelisation discussed immediately thereafter, and allowing zero synaptic weights, one can run 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 , this yields a network of architecture , with 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 and bottleneck dimension ,
Thus, even with all widths proportional to , a general upper bound must allow exponential growth in . 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 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- 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).
The construction in [6] establishes a rigorous theoretical lower bound, but the contraction of relative spike-time intervals after each two-layer block may limit its practical realisation in the presence of finite temporal resolution or analogue noise.
Concurrently to this work, Singh et al. [6] derived upper and lower bounds on the number of causal pieces (or causal regions) of positive-weight time-to-first-spike networks with a ReLU-type postsynaptic response (see also [15, 16] for details on the used neuron model). They observe that the causal sets of neurons form a nested sequence and derive an exact count for the maximum number of realisable causal set tuples for shallow neural networks where all neurons share the same positive weight vector (see [6, Example 6.2] and [6, Proposition 6.4]). In contrast, our combinatorial result does not require shared weights or positive synaptic weights. For any fixed input, ordering the postsynaptic neurons by their finite spike times produces a nested sequence of causal sets. We show that, when viewed in the original neuron labelling, this condition is precisely the lonesum matrix condition, allowing us to use exact enumeration results from the combinatorics literature.
In addition, Singh et al. [6] show that causal pieces are polyhedral regions for their positive-weight ReLU-response time-to-first-spike model and derive upper bounds using hyperplane arrangements. We use a related approach for a larger class of spiking neuron models, and count the relevant hyperplanes only after conditioning on the presynaptic spike order. Although [6, Remark 7.1] notes that intermediate affine images may be lower-dimensional, their general deep-network bound (Theorem 7.1) uses the full presynaptic dimension. Our bound explicitly propagates the reachable dimension from layer to layer, which can substantially reduce the region count in networks containing bottleneck layers.
Piece counting has been used extensively to quantify the expressive power of ANNs with ReLU activation function, or generally piecewise-affine activation functions. In these cases, the approximation error is lower bounded by an expression that also depends on the inverse square of the number of affine regions the ANN expresses [17]. How many affine regions (or pieces) an ANN can have, has been upper bounded using hyperplane arguments [12–14, 18–20], with ReLU ANNs having bounds of order for fixed input dimension and depth . Our hyperplane-based bounds for SNNs take into account bottleneck dimensions of intermediate layers (see in Theorem 5.7). This has also been done for refining bounds of the number of affine pieces, derived using hyperplane arrangement arguments, in [13, Proposition 3], and further used in [14, Theorem 1, see also Lemma 5]. Moreover, Hanin & Rolnick [21, 22] highlighted that the number of affine pieces observed in practice is much lower than expected from these bounds, showing the importance of also bounding or estimating the average number of affine pieces in ANNs (see, e.g., [20]).
Alternative approaches to quantifying the expressivity of SNNs have also been proposed recently. Hundrieser et al. [23] study feedforward SNNs as maps from spike trains to spike trains and establish a universal representation theorem. They further show near-optimality of the required network size by deriving nearly matching lower bounds. As part of this analysis, they quantify expressivity by the number of distinct functions that SNNs with a fixed architecture can realise on a finite set of input spike trains.
Finally, Neuman et al. [16] study SNNs composed of ReLU-type response neurons with positive synaptic weights and equipped with an affine encoder and decoder. For this architecture, they derive generalisation bounds using covering numbers and establish rate-optimal approximation of smooth functions as well as dimension-independent approximation of Barron regular functions.
3 Background
For , we use the notation , , and for , we write . Given a single-spike network with depth and layer widths , we denote by the spike time of the -th neuron in the -th layer for input . We set .
Causal sets are defined for individual neurons. Given an input, the causal set contains the indices of all presynaptic neurons that caused the neuron to fire (Definition 3.1).
Definition 3.1 (Causal set). Let , , , and . The exclusive causal set of the -th neuron in the -th layer is given by
The inclusive causal set of the i-th neuron in the -th layer is given by
We use two slightly different notions of causal sets, since we consider different neuron models. Conceptually, the exclusive version makes sense for, e.g. nLIF with exponential synapses or ReLU-type response, as in these cases the contribution of an incoming spike to the potential starts at 0. Thus, an incoming spike at exactly the time of the outgoing spike does not have a causal impact, and including it would allow for degenerate cases where (transformed) affinity does not hold on the causal pieces. In contrast, for neurons with Dirac- synapses, an incoming spike contributes immediately. Thus, an inclusive definition is more appropriate in this case.
The notion of a causal subnetwork extends causal sets to deep networks (Definition 3.2).
Definition 3.2 (Causal subnetwork). Let , , , , , and . We define
and recursively, for ,
The causal subnetwork for layer , index set I and input b is
The causal subnetwork is the set of active synapses that were involved in calculating the output of a deep SNN given an input. Specifically, each pair records the index of a neuron in layer together with its causal set. Starting from the neurons indexed by , the recursion includes precisely those neurons of the preceding layer whose indices occur in these causal sets. The pairs retain the layer to which each collection belongs.
Following the definition of causal sets and subnetworks, we can define a causal piece (Definition 3.3).
Definition 3.3 (Causal piece / region). Let , , , , , and . Then the causal piece associated with the causal subnetwork is
Intuitively, a causal piece is a region in the input space for which the output of the SNN is always produced by the same causal subnetwork. While originally in [1], causal pieces are defined for the input and parameter space, we here restrict it to inputs only, assuming SNNs with constant weights. In this work, we are primarily interested in the number of causal pieces (Definition 3.4).
Definition 3.4 (Number of causal pieces). Let be a feedforward single-spike network with depth and layer widths . For , the number of causal pieces of is
We study four neuron models in particular here: the ReLU-type response model Definition 3.5, nLIF with exponential or Dirac- synapses (Definitions 3.6 and 3.8), and LIF with Dirac- synapses (Definition 3.7). Throughout the paper we use the convention . In particular, this means that for neurons whose potential never reaches the threshold we consider the value of their spike-time to be .
Definition 3.5 (ReLU-type response model). Let , be the spike threshold, the synaptic weights, and the input spike times. Then the membrane potential of a ReLU-type response neuron at time is given by:
Its spike time is . If , its exclusive causal set satisfies and
Definition 3.6 (nLIF with exponential synapses). Let , be the time constant, the spike threshold, the synaptic weights, and the input spike times. Then the membrane potential of a nLIF neuron with exponential synapses at time is given by:
Its spike time is . If , its exclusive causal set satisfies and
Definition 3.7 (nLIF with Dirac- synapses). Let , be the spike threshold, the synaptic weights, and the input spike times. Then the membrane potential of a nLIF neuron with Dirac- synapses at time is given by:
Its spike time is . Since the membrane potential can cross the positive threshold from below only upon the arrival of a presynaptic spike, it follows, when , that the neuron's inclusive causal set is nonempty and
Definition 3.8 (LIF with Dirac- synapses). Let , be the membrane time constant, the spike threshold, the synaptic weights, and the input spike times. Then the membrane potential of a LIF neuron with Dirac- synapses at time is given by:
Its spike time is . Since the membrane potential can cross the positive threshold from below only upon the arrival of a presynaptic spike, it follows, when , that the neuron's inclusive causal set is nonempty and
The ReLU-type response model has recently been used to derive theoretical results [6, 15, 16] and to map ReLU neural networks to time-to-first-spike neural networks [24, 25]. Similarly, the nLIF models have been used to train SNNs with exact error backpropagation [2, 3, 11].
4 Combinatoric upper bounds for general spiking neuron models
Before deriving bounds, we first introduce a useful alternative representation of causal subnetworks (Definition 4.1).
Definition 4.1. Assume a feedforward SNN with depth , input dimension , and layer widths . For an input and , we represent the causal subnetwork of by binary matrices
where
Hence, the tuple represents the causal subnetwork of .
From Definition 4.1, since every causal piece corresponds to a unique causal subnetwork, it immediately follows that the number of causal pieces can be bounded by the number of realisable tuples (Proposition 4.2).
Proposition 4.2 (Worst-case upper bound). Let and let be a feedforward single-spike neural network with layers, input dimension , widths , and constant weights as well as constant neuron parameters. Let be the number of causal pieces of over . Then
and for ,
In Proposition 4.2, we assumed that can be an arbitrary binary matrix. However, this is not the case due to the causal nature of spikes, which imposes a certain structure on the binary matrices. As Lemma 4.3 shows, the are so-called lonesum matrices, i.e., matrices that can be uniquely reconstructed from their row-and column-sum-vectors [26].
Lemma 4.3 (Lonesum). The binary matrices (see Definition 4.1), representing a causal piece in a L-layer SNN where all neurons in a layer receive the same input spikes, are lonesum matrices.
Proof. A matrix is lonesum if and only if it does not contain either of the two submatrices [7, 26]
We show that neither pattern can occur in the activity matrices . Assume first that contains the first pattern. Then there exist two postsynaptic neurons , in layer and two presynaptic neurons , in layer such that
where we omit the ◇ index for readability. Suppose that neuron spikes before neuron , i.e.,
Since , the spike of neuron belongs to the causal set of neuron , and hence
where depending on the type of causal set. Therefore, the spike of neuron must also belong to the causal set of neuron , implying
which contradicts the assumed submatrix. Conversely, if neuron spikes before neuron , then implies
where depending on the type of causal set. Therefore , again yielding a contradiction. If the two postsynaptic neurons spike simultaneously, their causal sets are identical, and hence the above pattern is also impossible. The same argument, with and exchanged, excludes the second forbidden submatrix. Finally, a neuron that does not spike is assigned the empty causal set and therefore corresponds to an all-zero row, which cannot form either forbidden submatrix. Hence contains neither forbidden pattern and is therefore lonesum.
Remark 4.4. Every lonesum matrix also determines a nested causal-set assignment. Suppose that the causal sets and corresponding to rows of the lonesum matrix were incompatible. Then there would exist and , so that the submatrix formed by rows and columns would be one of the two forbidden matrices. Hence, if the matrix has rows, there exists a permutation such that . Zero rows correspond to the empty causal set. This does not mean that a deep SNN can realise any possible assignment of lonesum matrices in practice.
As shown in [7, Theorem 3], the number of lonesum matrices of dimension is exactly given by the poly-Bernoulli number . Thus, we can use the poly-Bernoulli numbers to bound the number of causal pieces. In addition, to estimate how the bound scales in general, we use an alternative bound for the number of lonesum matrices (Lemma 4.5).
Lemma 4.5. Let be the poly-Bernoulli numbers, which is exactly the number of lonesum matrices with dimension for . Then
Proof. Let be lonesum, and let denote the column sums. Further, let be a permutation of the columns such that .
We start with the column with the largest column-sum. Assume there is a row for which . We claim that in this case, . If there is an such that , we have two cases:
-
There is at least one such that and . However, then contains at least one of the two submatrices (Eq. 21) and is not lonesum, contradicting our initial assumption.
-
Thus, for all , it has to follow that . But then , contradicting our initial assumption that is the column with the largest column-sum.
By removing column (through which the matrix stays lonesum), this argument can be repeated iteratively for all other columns. Thus, permuting the columns of using leads to a matrix where the rows take the form , i.e., times 1 followed by only 0 entries, with . We can then construct all lonesum matrices of dimension in the following way: first, assign a to every row. There are, in total, such combinations. We then apply column permutations, leading to possible lonesum matrices. Compared to , we potentially over-count matrices where we permuted identical columns, hence .
From Lemmas 4.3 and 4.5 follows immediately our improved bound (Theorem 4.6).
Theorem 4.6 (Combinatoric upper bound). Let and let be a feedforward single-spike neural network with layers, input dimension , widths , and constant weights as well as constant neuron parameters. Assume that every neuron of a layer always receives the same presynaptic spike times as input, as is, e.g., the case in SNNs with no synaptic delays. Then
where are the poly-Bernoulli numbers as defined in Eq. 5. For , it follows that
Proof. Following Lemma 4.3, the number of causal pieces can be bounded by the number of lonesum matrices of dimension , which is given by the poly-Bernoulli numbers [7], see Eq. 5. This immediately proves Eq. 27. The poly-Bernoulli numbers can further be upper bounded using Lemma 4.5: .
Remark 4.7. The poly-Bernoulli numbers arise from counting assignments of nested causal sets within a layer. Consider neurons receiving the same spike times. Their distinct nonempty causal sets form a chain
The neurons partition into nonempty classes according to their causal sets , together with a possibly empty class assigned . The neurons of the preceding layer partition into the nonempty increments
together with the possibly empty set . Thus, these neurons are assigned to disjoint increments, rather than to the overlapping causal sets themselves. Each partition consists of ordered nonempty sets and one possibly empty set. Adding a distinguished element to the latter shows that the numbers of choices are
respectively. Each pair uniquely determines a causal-set assignment, since . Summing their products over gives .
5 Derivation of hyperplane-based upper bound
In the following, we derive upper bounds for the number of causal pieces using hyperplane arrangement arguments. We first state the assumptions a spiking neuron model has to satisfy for our results to apply (Assumption 5.5). We then continue by deriving a general upper bound for neurons models satisfying this assumption (Theorem 5.7), before deriving particular upper bounds for the nLIF neuron model with exponential synapses, the ReLU-type response model, and nLIF/LIF model with Dirac- synapses (Theorems 6.1, 6.2, 6.4 and 6.6). Especially for neuron models with Dirac- synapses, due to the constraint of output spikes having to coincide with input spikes, we are able to derive much tighter bounds.
Generally, the bounds derived using hyperplane arguments complement the general combinatoric bound (Theorem 4.6). However, in terms of scaling behaviour with maximum width, input dimension, and depth, the hyperplane bounds provide far tighter scaling than the combinatoric ones (see Table 1).
5.1 Spiking neuron model assumptions
We collect sufficient properties of a spiking neuron model that allows bounding the number of causal pieces via hyperplane arrangement arguments. To this end we introduce some additional notation and terminology.
Definition 5.1 (Coordinate map). A coordinate map is a strictly increasing homeomorphism , where is a nonempty open interval. We use the convention .
The principal examples are time coordinates or, for , exponential coordinates and , with ranges , and respectively. The convention is used to handle infinite spike times.
Definition 5.2 (Weak order domains). Let , finite and nonempty, and . An ordered partition of is called a weak order and
is called a weak order domain.
For example, let , , and . Since , the weak order associated with is and therefore .
Definition 5.3 (Transformed spike-time maps). Let , let be the layer widths, and let be a coordinate map. For neuron in layer , a transformed spike-time map is a map
that satisfies, for every , that
where is applied componentwise, and we write
for the vector of spike times in layer , with . For , we define recursively
Fixing a weak order G isolates a region of spike-time space on which the relative arrival order of all finite presynaptic spikes is fixed.
Definition 5.4 (Local restriction & Causal-set maps). For neuron in layer , a nonempty , a weak order of , and , where denotes the transformed spike time of neuron , we define the local restriction
by
Let . The associated causal-set map is given by
For and a weak order of with , it is related to causal sets w.r.t. untransformed input via
In the following, a polyhedral set is an intersection of finitely many affine hyperplanes and open or closed affine halfspaces. Due to the mechanism of neurons spiking when a potential reaches a certain threshold, causal pieces can often be described via such intersections of halfspaces, potentially after some coordinate transformation. This enables us to represent causal pieces as unions of polyhedral sets respectively their preimage under the coordinate transformation. Assumption 5.5 states sufficient requirements to allow deriving upper bounds via hyperplane arrangement arguments.
Assumption 5.5. Let , and let be a feedforward single-spike network with depth and layer widths . Suppose there exist transformed spike-time maps with common coordinate map such that, for every neuron , layer , and ,
Moreover, there exist nondecreasing functions and for which the following holds. Fix , , a nonempty , and a weak order on . Then there exist
• a partition A of into at most nonempty polyhedral sets,
• affine functions for some ,
such that:
(i) Local affine structure: For every , the map is constant on , and either on , or is affine.
(ii) Hyperplane separation: For every , the set
is empty or contained in one set .
(iii) Symmetry: One of the following two conditions holds throughout the network:
(T) and for all , , , where . Moreover, for every with and every , it holds that
(H) There exists a fixed such that , where . Moreover, is linear for every . For every with and every , it holds that
The condition in Eq. (29) ensures that no output spike occurs before the earliest input spike. We then consider a single neuron and fix a weak ordering G of its input spike times. The weak-order domain is the subset of the transformed input space on which this ordering is satisfied.
Fixing the input order does not, however, determine the causal set. The domain is therefore further partitioned into polyhedral regions on each of which the causal set is fixed. For example, if
then
and the possible nonempty causal sets are
The affine functions provide hyperplanes whose sign patterns distinguish the regions of A.
The three conditions have the following interpretation. (i) On every region , the causal set is constant. Moreover, whenever the neuron fires, its transformed output spike time is an affine function of its transformed input spike times. (ii) The signs of determine the region : two points with the same sign pattern must lie in the same region. (iii) The neuron model satisfies one of two global symmetries. In case (T), shifting all input spike times by the same amount shifts the output spike time by the same amount while leaving the switching conditions unchanged. In case (H), the corresponding symmetry is a common positive scaling of the transformed spike times. It should be noted that these symmetry conditions only reduce the effective dimension of each layer by one, and without them the bound in Theorem 5.7 still holds with instead of .
The symmetry requirement is related to the monotone scaling property of [23, Definition 3.1(iii)], which requires spike-train maps to commute with every strictly increasing bijection of the time domain. For the coordinate maps used in our particularisations, both (T) and (H) express equivariance under common translations of the original spike times. The monotone scaling property is stronger, as it also allows arbitrary changes to the gaps between successive spikes while preserving their order. When required of every neuron's spike-time map, it implies that causal sets depend only on the weak order of incoming spike times. This holds for our nLIF model with Dirac synapses, whereas ramp-response and exponential-synapse nLIF neurons generally retain dependence on the time gaps and only satisfy the weaker translation symmetry.
5.2 General hyperplane bound
We first provide a general hyperplane bound before specifying it for particular neuron models. For stating the bound, we require Lemma 5.6.
Lemma 5.6. Let and let be affine functions. Then
Proof. We assume w.l.o.g. that the functions are non-constant and have distinct zero hyperplanes, as the alternative would only reduce the cardinality of the set. The considered sign patterns correspond bijectively to the nonempty faces (of any dimension) of the arrangement of the zero hyperplanes of the functions, in the sense of [27]. By [27, Lemma 2.5(i)] the number of k-dimensional faces is bounded by . Summing over the dimensions yields
With Lemma 5.6 and under Assumption 5.5, we derive the general hyperplane bound (Theorem 5.7).
Theorem 5.7. Let and let be a feedforward single-spike network with depth and widths . If it satisfies Assumption 5.5 with , , we have
where , .
Proof. We iteratively construct partitions of into nonempty polyhedral sets. We require the following properties to hold for every and every region :
(a) Causal sets are constant on , i.e. for all , we have
where is applied componentwise.
(b) The index sets of neurons that fire in finite time are constant on , i.e. for all , we have
If , the map is affine on , and has affine dimension at most .
(c) In case of condition (T), it holds, for every , that
and, for every , , that
In case of condition (H), it holds, for every , that
and, for every , , that
The affine dimension of a set S is the smallest integer such that S is contained in an n-dimensional affine subspace.
We start the induction with
The required properties hold since is the identity and . For the induction step we assume that these properties hold for and observe the following. Let , , and write for simplicity of notation. If we can simply include in since the required conditions continue to hold and no subdivision is needed. Otherwise, we define the set
We note that has affine dimension at most due to induction assumption (b), and that or respectively by induction assumption (c). Before we count sign patterns we can reduce the dimension by one if we account for the respective invariances. Specifically, we argue that the section
realises the same sign patterns of the coordinate comparisons as and has affine dimension at most . We can, for every , define its normalisation as
and note that for , . Moreover, we note that respectively are nonconstant functionals on , which implies
The number of possible weak orders of a vector is determined by the comparisons with and . Therefore we can apply Lemma 5.6 to the affine hull of to bound the number of possible weak orders on (and, by the above, on ) by
For each weak order G of J realised on , we define
These sets form a polyhedral partition of . We fix one such . For , let and with be the partition, respectively affine functions, guaranteed by Assumption 5.5. We can refine in one of the following two ways. The first option is taking, for every choice of , the set
if it is nonempty. This results in a refinement into at most many sets.
The second option is partitioning according to the joint sign patterns of the , where , . Specifically, for each , we define
and note that for nonempty and each , Assumption 5.5(ii) provides one such that . Using Lemma 5.6 and the normalisation argument above, we can see that the number of nonempty is bounded by
where we used that, for every , its normalisation is in and due to Assumption 5.5(iii). By choosing the refinement option with the smaller bound for each , we obtain a subdivision of into at most
many sets.
It remains to verify that every element of the newly obtained partition satisfies the induction properties. First, every is polyhedral as it is derived by intersecting a polyhedral set with finitely many affine equality or inequality conditions, where we note that affine (in)equalities on induce affine (in)equalities on since is affine on . We next verify (a). By construction, for every there exists such that . For every and , we have
as a direct consequence of Definition 5.3 and Definition 5.4. The right-hand side is constant on , since and Assumption 5.5(i) requires to be constant on . The causal sets in earlier layers remain constant because . Hence (a) holds.
Next, we look at (b). By Assumption 5.5(i), each is either identically infinite or finite throughout . Since , the index set of finite outputs is constant on . This covers the first part of (b). For the second part, we note that, in case of , Assumption 5.5(i) combined with ensure that can be written as an affine function of , and thus
In order to verify (c), we note that the conditions defining are invariant under the respective transformations. The respective equivariance properties are guaranteed by Assumption 5.5(iii). Moreover, the respective invariance properties follow from Assumption 5.5(iii), since Assumption 5.5(ii) ensures that two points of that produce the same sign for every belong to the same element in .
Due to monotonicity, and . Thus, multiplying (30) across the layers, we obtain
To see that this transfers to a bound on the number of causal pieces, we define, for the set
where acts componentwise. As is bijective the sets , constitute a partition of the original input domain. By (a), we know that every neuron's causal set is constant on , and thus all elements in have the same causal subnetwork. In particular each is contained in some causal piece, and different causal pieces cannot contain the same . Thus there cannot be more causal pieces than elements of , and we have .
Corollary 5.8. Let , and let be a feedforward single-spike network with depth and widths . Let it satisfy Assumption 5.5 with , , and transformed spike-time maps . Suppose, in addition, that for every , nonempty , and weak order of , we have:
(i) for every , that
(ii) the partition and affine test functions from Assumption 5.5 also satisfy and .
Then
where , , and denotes Stirling numbers of the second kind.
Proof. Fix , a nonempty , and a weak order of . Let be the partition provided by Assumption 5.5, and let be a set on which is finite. Put and for . By condition (i) of the corollary, for every , the output equals the common coordinate of some block , and hence
For either fixed convention, these sets are distinct as varies. Since the causal-set map is constant on by Assumption 5.5(i), the selected index is independent of . Choosing any , we obtain, for every , that
We now construct partitions of the transformed domain . We retain properties (a)-(c) from the proof of Theorem 5.7, and additionally require that, for every , , and coordinate for which is finite on , there exists such that, for every ,
We start with
Properties (a)-(c) and (32) hold since is the identity and each is polyhedral and invariant under translation or positive scaling respectively. There are partitions of into nonempty sets, each of which admits different orderings. Hence
For the induction step, let and . Denote by the set of coordinates of that are finite on . If , the causality assumption (29) implies that all outputs in layer are infinite and we can retain without subdivision.
Suppose . By (32), each coordinate of equals a fixed transformed input coordinate on . Since the partitions are constructed by iterative refinement of the starting partition, lies in one set of , where the weak order of these input coordinates is fixed. It follows that has one weak order throughout . Hence no subdivision according to weak orders is needed here.
Moreover, every finite output equals an incoming coordinate by assumption (i). Therefore, for each input z, the set of finite values in each layer is contained in the set of finite values in the preceding layer. The q distinct values entering layer must consequently occur in every preceding layer, which implies
For each neuron , choose a partition of into at most sets and affine functions with , satisfying Assumption 5.5(i)-(iii).
As in the proof of Theorem 5.7, we can refine in either of two ways. Taking, for all , the nonempty sets
yields at most many sets. Alternatively, we can partition P according to the signs of all
with , . Due to properties (b)-(c), the normalisation argument in the proof of Theorem 5.7 ensures that the same joint sign patterns are realised on a set of affine dimension at most . Lemma 5.6 therefore bounds the number of sets of this refinement by
For either refinement, every resulting set satisfies
for some , . This follows directly from the first construction and from Assumption 5.5(ii) for the second option. The respective argument in the proof of Theorem 5.7 therefore preserves properties (a)-(c). By (31), each finite output on also equals one fixed incoming coordinate. Applying (32) shows that this coordinate must equal a fixed transformed input coordinate . Thus (32) is preserved by the induction step.
Choosing the refinement option with the smaller bound and using as well as monotonicity of and , we subdivide into at most
sets. Multiplying these factors over the layers and by yields the claimed bound, where we note that property (a) ensures that the preimage of every set is contained in one causal piece.
6 Hyperplane bounds for specific neuron models satisfying Assumption 5.5
In this section we consider networks without delays, i.e. each layer simply receives the spike times of the previous layers as input.
6.1 Upper bound for nLIF with exponential synapses
Theorem 6.1. Let be a single-spike neural network using nLIF neurons with exponential synapses according to Definition 3.6, with depth L, layer dimensions , and common time constant. Then
where , .
Proof. We verify Assumption 5.5 with , , and . For every and , choose by applying the first-threshold-hit rule of Definition 3.6 to the incoming spike-time vector and expressing the resulting output in transformed coordinates. These maps satisfy (29).
Fix , a nonempty set and a weak order of . We construct a partition of and affine functions , for which we then verify properties (i)-(iii). To this end, we choose, for every one and define the projection
We set and note that on we have by definition of a weak order. In addition, we define, for ,
We have, for every , , and , that
Note that is the argument of here. For a given the corresponding incoming spike times in untransformed coordinates are , . At time with we have
Thus, in transformed coordinates the condition of reaching the threshold is given, for , by the affine equation
We define, for , the linear functions
Moreover, for , we set
as well as . Since the nonempty sets amongst form a polyhedral partition of .
For , equation (33) also holds at , because the responses of spikes arriving at that time are zero. Its values at the two endpoints are and . The potential is zero before the first arrival, and negative endpoint values exclude a threshold hit between consecutive arrivals, since the expression in (33) is affine in . Consequently, for every and ,
The exclusive causal set is therefore . Moreover, if , the endpoint inequalities force the slope in (33) to be positive, so .
On , the potential remains below threshold through the last arrival. Equation (33) therefore implies that the output is finite precisely when . In that case its exclusive causal set is ; otherwise, the output is infinite throughout and its causal set is empty. Thus, on every nonempty with finite output, we have and, for every , that
Every finite restriction is therefore linear, and finite output status and the exclusive causal set are constant on each set in A. Since
Assumption 5.5(i) holds with . For Assumption 5.5(ii), the signs of determine membership in , since is always negative on . Hence test functions suffice, giving .
In order to verify Assumption 5.5(iii)(H), we fix . Note that, for every we have and due to linearity of , . As their signs determine the partition we also have . On every nonempty with finite output, the displayed formula is linear in . Since positive scaling preserves , it follows, for every , that
Having ensured that Assumption 5.5 holds for this model, we can apply Theorem 5.7 to obtain the claimed bound.
6.2 Upper bound for ReLU-type response model
Theorem 6.2. Let be a single-spike neural network using ReLU-type response neurons according to Definition 3.5 with depth and layer dimensions . Then
where , .
Proof. We verify Assumption 5.5 with , and . For , we define
where we use the convention . The potential is zero before the earliest finite incoming spike, and identically zero if all incoming times are infinite. Thus the causality condition (29) holds. Fix , a nonempty set and a weak order of . We construct a partition of and affine functions , for which we then verify properties (i)-(iii). To this end, we choose, for every one and define the projection
We set . In addition, we define, for ,
Note that for , , , we have
which is an affine function of . Consequently we define for , the affine function
(35)
On , its value is the potential minus threshold at the -th arrival. We define, for every , the sets
and
Since , the nonempty sets among form a polyhedral partition of . For , equation (34) also holds at , because newly arriving responses vanish there. The argument in the proof of Theorem 6.1 that locates the first threshold hit from the signs of applies equally to the affine expression in (34). Thus, for every ,
Hence the exclusive causal set is , and implies . On , equation (34) shows that the output is finite precisely when . Its exclusive causal set is then . Otherwise, the output is infinite throughout and its causal set is empty. On every nonempty with finite output, we consequently have, for every , that
Thus every finite restriction is affine, and finite output status and the exclusive causal set are constant on each set in . Since , Assumption 5.5(i) holds with . For Assumption 5.5(ii), the signs of determine membership in , since is always negative. Hence suffices.
To verify Assumption 5.5(iii)(T), we fix . Due to (35), we have for all . Moreover, translation by preserves , and since test signs determine membership in , it also preserves each set in . Thus we have for every with finite output. Having verified Assumption 5.5, application of Theorem 5.7 yields the claimed bound.
Remark 6.3. For inclusive causal pieces, the bounds in Theorem 6.1 and Theorem 6.2 hold with replaced by . Specifically, for each fixed weak order, partition according to , and , where . The same test functions determine these polyhedral sets. On a finite-output set, the corresponding affine formula applies when its denominator is positive. Otherwise, a first threshold hit can occur only at the left endpoint, implying . Thus Assumption 5.5 holds with and .
6.3 Upper bound LIF with Dirac-delta synapses
Theorem 6.4. Let and let be a single-spike neural network using LIF neurons with Dirac- synapses according to Definition 3.8 with depth , layer dimensions , and common time constant. Then
where , , and denotes Stirling numbers of the second kind.
Proof. We verify Assumption 5.5 and the additional requirements of Corollary 5.8 with , , , , . Fix and . The potential is zero before the earliest incoming spike. Between arrivals, a potential below the positive threshold remains below it, since it decays towards zero. Thus every finite output spike occurs at an incoming spike time. For , we have incoming times . At finite incoming time , the potential is
The sum includes all simultaneous incoming spikes, as prescribed by Definition 3.8. The transformed output is therefore
where we use the convention . Consequently satisfies the causality condition (29). It moreover establishes the requirement that every finite output equals an incoming coordinate.
It remains to construct the partitions and test functions demanded by Assumption 5.5. Fix , and a weak order of . For each , choose and define , and . We also set . On the values are strictly increasing and consists precisely of the indices with . Thus we can define, for , the test functions
and note that, due to (36), evaluates to the first for which , or in case no such index exists.
To check Assumption 5.5(i), we partition according to that first index. Specifically, we define, for ,
and . The nonempty sets amongst these form a polyhedral partition of . We have, for every and ,
On , the output is infinite and the causal set is empty. Thus every causal set is constant on a given set of the partition, and every finite restriction is linear. To bound the cardinality of , we observe that, for every , we have
Due to , the sign of is constant on . If it is nonnegative, we have , and otherwise , leaving at most the sets . Hence , which verifies Assumption 5.5(i) and the additional partition bound requirement of Corollary 5.8.
For Assumption 5.5(ii), the same observation allows us to omit from the test functions, as its sign is always the same. The signs of determine membership in . These linear functions therefore verify Assumption 5.5(ii) and the additional test bound requirement of Corollary 5.8.
For Assumption 5.5(iii)(H), let and . Then we have and for every . Thus and belong to the same set in . If the output is finite, they belong to for some , so (37) yields equivariance of . Having verified that the requirements are met, application of Corollary 5.8 establishes the claim.
Remark 6.5. The factor could be removed by taking into account that it would be sufficient to determine partition membership by only distinguishing whether the test functions are negative or nonnegative.
6.4 Upper bound nLIF with Dirac-delta synapses
Theorem 6.6. Let and let be a single-spike neural network using nLIF neurons with Dirac- synapses according to Definition 3.7 with depth and layer dimensions . Then
where denotes Stirling numbers of the second kind.
Proof. Fix a weak order of . We show inductively that, on , the indices of finite spike times and their weak order are fixed in every layer, and all causal sets are constant. At the input layer, all spike times are finite and their weak order is . For the induction step, fix . If all incoming spike times are infinite, every neuron in layer has potential zero, infinite spike time, and empty causal set. Otherwise, let be the fixed weak order of the finite incoming spike times. By Definition 3.7, the potential of neuron at the arrival of block , , is
This value is independent of the input . Since the potential is zero before the first arrival and constant between arrivals, the neuron spikes at the first block for which this value is at least . If no such block exists, its spike time is infinite and its causal set is empty throughout . Otherwise, the first such index is independent of , and, for every ,
Its spike time equals the common incoming spike time of . Thus the indices of finite outputs are fixed. Moreover, their weak order is fixed, since outputs selecting the same block coincide, and outputs selecting earlier blocks occur earlier. This completes the induction.
Every is therefore contained in one causal piece. There are partitions of into nonempty sets, each admitting orders. As the corresponding weak-order domains partition the input space, the claim follows.
Acknowledgments
D.D. acknowledges funding through the Horizon Europe’s Marie Skłodowska-Curie Actions (MSCA) Project 101103062 (BASE) and the European Space Agency’s OSIP Co-funded Research Programme (4000152390). D.E. was funded by the Horizon Europe’s Marie Skłodowska-Curie Actions (MSCA) Project 101152591 (CompAS).
Use of AI tools
ChatGPT (OpenAI) was used iteratively for brainstorming, refinement of ideas, assistance with mathematical formalisation, and presentation. Parts of the manuscript were developed with its assistance and subsequently revised and verified by the authors. The authors take full responsibility for all mathematical statements, proofs, conclusions, and the final manuscript.
References
[1] D. Dold and P. C. Petersen. “Causal pieces: analysing and improving spiking neural networks piece by piece”. In: arXiv preprint arXiv:2504.14015 (2025).
[2] H. Mostafa. “Supervised learning based on temporal coding in spiking neural networks”. In: IEEE transactions on neural networks and learning systems 29.7 (2017), pp. 3227–3235.
[3] J. Göltz et al. “Fast and energy-efficient neuromorphic deep learning with first-spike times”. In: Nature machine intelligence 3.9 (2021), pp. 823–835.
[4] I. M. Comsa et al. “Temporal coding in spiking neural networks with alpha synaptic function”. In: ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE. 2020, pp. 8529–8533.
[5] D. Dold and P. C. Petersen. “Equivalence of approximation by networks of single-and multi-spike neurons”. In: Artificial Neural Networks and Machine Learning – ICANN 2026. ICANN 2026. Lecture Notes in Computer Science, vol 17089. Springer (2026).
[6] M. Singh, G. Montúfar, and G. Kutyniok. “Polyhedral Geometry of Time-to-First-Spike Neural Networks”. In: arXiv preprint arXiv:2609.11227 (2026).
[7] C. Brewbaker. “A combinatorial interpretation of the poly-Bernoulli numbers and two Fermat analogues”. In: Integers 8.1 (2008), A2.
[8] M. Kaneko. "Poly-bernoulli numbers". In: Journal de théorie des nombres de Bordeaux 9.1 (1997), pp. 221–228.
[9] T. Arakawa and M. Kaneko. “On poly-Bernoulli numbers”. In: Commentarii mathematici Universitatis Sancti Pauli = Rikkyo Daigaku sugaku zasshi 48.2 (1999), pp. 159–167.
[10] B. C. Rennie and A. J. Dobson. “On Stirling numbers of the second kind”. In: Journal of Combinatorial Theory 7.2 (1969), pp. 116–121.
[11] S. R. Kheradpisheh and T. Masquelier. “Temporal backpropagation for spiking neural networks with one spike per neuron”. In: International journal of neural systems 30.06 (2020), p. 2050027.
[12] G. Montúfar et al. “On the number of linear regions of deep neural networks”. In: Advances in neural information processing systems 27 (2014).
[13] G. Montúfar. “Notes on the number of linear regions of deep neural networks”. In: 2017 International Conference on Sampling Theory and Applications (SampTA). IEEE, 2017, pp. 156–159.
[14] T. Serra, C. Tjandraatmadja, and S. Ramalingam. “Bounding and counting linear regions of deep neural networks”. In: International conference on machine learning. PMLR. 2018, pp. 4558–4566.
[15] M. Singh, A. Fono, and G. Kutyniok. “Expressivity of Spiking Neural Networks through the Spike Response Model”. In: UniReps: the First Workshop on Unifying Representations in Neural Models. 2023.
[16] A. M. Neuman, D. Dold, and P. C. Petersen. “Stable learning using spiking neural networks equipped with affine encoders and decoders”. In: Journal of Machine Learning Research (2025). URL: https://jmlr.org/papers/v26/24-0658.html.
[17] C. L. Frenzen, T. Sasao, and J. T. Butler. “On the number of segments needed in a piecewise linear approximation”. In: Journal of Computational and Applied mathematics 234.2 (2010), pp. 437–446.
[18] M. Raghu et al. “On the expressive power of deep neural networks”. In: international conference on machine learning. PMLR. 2017, pp. 2847–2854.
[19] P. Hinz and S. Van de Geer. “A framework for the construction of upper bounds on the number of affine linear regions of ReLU feed-forward neural networks”. In: IEEE Transactions on Information Theory 65.11 (2019), pp. 7304–7324.
[20] A. Goujon, A. Etemadi, and M. Unser. “On the number of regions of piecewise linear neural networks”. In: Journal of Computational and Applied Mathematics 441 (2024), p. 115667.
[21] B. Hanin and D. Rolnick. “Complexity of linear regions in deep networks”. In: International Conference on Machine Learning. PMLR. 2019, pp. 2596–2604.
[22] B. Hanin and D. Rolnick. “Deep relu networks have surprisingly few activation patterns”. In: Advances in neural information processing systems 32 (2019).
[23] S. Hundrieser et al. “On the Universal Representation Property of Spiking Neural Networks”. In: arXiv preprint arXiv:2512.16872 (2025).
[24] A. Stanojevic et al. “An exact mapping from ReLU networks to spiking neural networks”. In: Neural Networks 168 (2023), pp. 74–88.
[25] A. Stanojevic et al. “High-performance deep spiking neural networks with 0.3 spikes per neuron”. In: Nature Communications 15.1 (2024), p. 6793.
[26] H. J. Ryser. “Combinatorial properties of matrices of zeros and ones”. In: Canadian Journal of Mathematics 9 (1957), pp. 371–377.
[27] H. Edelsbrunner, J. O'Rourke, and R. Seidel. "Constructing Arrangements of Lines and Hyperplanes with Applications". In: SIAM Journal on Computing 15.2 (1986), pp. 341–363. DOI: 10.1137/0215024.
[28] S. Liang and R. Srikant. "Why Deep Neural Networks for Function Approximation?" In: International Conference on Learning Representations. 2017. URL: https://openreview.net/forum?id=SkpSlKIel.
[29] C. Stöckl and W. Maass. “Optimized spiking neurons can classify images with high accuracy through temporal coding with two spikes”. In: Nature Machine Intelligence 3.3 (2021), pp. 230–238. DOI: 10.1038/s42256-021-00311-4.
A Appendix
A.1 nLIF neuron with approximately ReLU-type response
Fix a finite-width and finite-depth SNN with ReLU-type response neurons from the lower-bound construction in the introduction. For every causal piece counted in the lower-bound construction, choose one representative input in its interior. Consider now an nLIF neural network with exponential synapses of the same architecture (including weights and thresholds). The response function of nLIF neurons is (Definition 3.6)
Keep the thresholds unchanged, compress all input spike times by , and multiply each synaptic weight by . In rescaled time, the effective response is
Thus converges uniformly to the ReLU-type response on bounded intervals. To show this, we use the following identity:
Since for , we find
Substituting , multiplying the inequality by , and assuming , Eq. (38) follows immediately. The chosen ReLU-response network has nonnegative weights and positive thresholds, and all its neurons have finite spike times. Its potentials and those of the approximating nLIF network are therefore nondecreasing, and each ReLU-response potential crosses its threshold with positive slope. The rescaled nLIF spike times converge to those of the ReLU-response network layer by layer. Convergence of the incoming spike times and the response estimate above imply uniform convergence of the rescaled nLIF potentials on bounded time intervals. If the corresponding ReLU-response neuron fires at time T, its potential has positive slope there. Thus, for any sufficiently small , its potential is below threshold at and above threshold at . Both endpoint values have a positive distance from the threshold. For sufficiently small , the approximation error is smaller than these distances, so the rescaled nLIF potential remains below threshold at and above threshold at . By continuity and monotonicity, the rescaled nLIF spike time therefore lies in , proving convergence to T.
At each selected input, the arrival of every relevant presynaptic spike occurs strictly before or strictly after the receiving neuron fires. Convergence of the rescaled spike times preserves these orderings for sufficiently small , and hence preserves the corresponding causal subnetwork. Since there are finitely many selected inputs and comparisons, a single positive can be chosen to preserve them all. The nLIF network therefore realises at least the same number of distinct causal subnetworks.
A.2 Neurons with Dirac- synapses
The bound for nLIF networks with Dirac- synapses is attained exactly. Indeed, for any input dimension and depth , choose all layer widths equal to and for . Then , so the final-layer causal sets determine the complete weak order of the input. Consequently,
For LIF networks with Dirac- synapses, the width exponent can be shown to be sharp. To do so we employ a type of bit-extraction argument, which has previously been used in neural network approximation theory [28] and for spiking neural networks to emulate activation functions [29]. For fixed input dimension and depth , with , the maximal number of causal pieces among networks with common time constant and subsequent widths at most is then .
To establish the lower bound, fix an integer and consider inputs , where for . Put . We construct a network where layer extracts the -th base- digit of each transformed input . For each , layer contains new neurons whose spike times are when , and otherwise, for . For example, with and , two quarters fit into but three do not, so . After subtracting 2/4 from , the remainder is 0.1, into which one sixteenth fits but two do not, so , i.e., . Reference spikes and previously extracted digits are copied through subsequent layers using dummy neurons and connections with weights equal to the threshold, ensuring identical spike times.
Specifically, the neuron in layer testing , for , has the following incoming connections from the preceding layer:
• one connection from the copy of the reference neuron firing at time 0, with weight ,
• one connection from the copy of the input neuron firing at time , with weight ,
• connections for each , from each of the retained test neurons encoding , with weight .
All other incoming weights are zero. Before time , this neuron's potential is below the threshold, as only the reference spike at time 0 arrived so far. At time , the neuron's membrane potential is
By definition of the r-th base-m digit,
Hence if and only if (otherwise the term in brackets becomes negative). Since the neuron cannot fire before and its potential subsequently decays towards zero, it fires at precisely when this inequality holds, and otherwise remains silent.
The branches operate independently, with all cross-branch weights zero. Every prescribed digit array is realised by choosing
The final layer contains the last digit tests and copies of all earlier tests. Different digit arrays therefore yield different firing/silence patterns in this layer. Every firing test or copy has a nonempty exclusive causal set, whereas non-firing neurons have empty causal sets under our definition. Consequently,
Layer has width . For , choosing
keeps all subsequent widths at most and gives the lower bound , matching the upper bound for fixed .
For a concrete example, take , , and . The digit-test neuron in the first layer has potential
while the second has potential
Consider the two inputs and , corresponding to and , respectively:
| 3/8 | 15/16 | 0 | 17/16 | 1 |
| 5/8 | 17/16 | 1 | 15/16 | 0 |
Thus the first two binary digits are 01 and 10.