Manuscript Offprint
arXiv:2610.41265Input-dependent Neuromodulation Enhances Mixed-Signal Neuromorphic Hardware
Aashman Mehta, AbdelQader AlKilany, Dan F. M. Goodman, Giacomo Indiveri and Melika Payvand
Institute of Neuroinformatics, University of Zurich and ETH Zurich, Zurich, Switzerland
University of California, Los Angeles, CA, USA
Imperial College London, London, UK
Abstract—Gating mechanisms allow a fixed neural network to adapt its computation to the current input by dynamically modulating its effective parameters. In the brain, neuromodulation uses this principle to move neural circuits between dynamical regimes, and deep learning exploits input-dependent gating, e.g., in gated recurrent networks and self-attention. Input-dependent modulation has also recently been shown to improve spiking neural networks, with particularly strong benefits in small, parameter-limited ones. This makes neuromodulation especially promising for neuromorphic processors at the edge, where area, memory and energy budgets constrain network size, while circuit physics limits parameter precision. Here we demonstrate input-dependent, within-trial neuromodulation of a spiking recurrent neural network on a mixed-signal neuromorphic processor. An off-chip modulator reads the on-chip network's input and activity and adjusts its population-level gains while the chip's analog circuits compute with the physics of the silicon. Neuromodulation raises binary spoken-digit classification accuracy by percentage points, tested across five hardware network instantiations.
Index Terms—gating, neuromorphic hardware, spiking neural networks, mixed-signal circuits, neuromodulation
I. INTRODUCTION
Neuromodulation is a mechanism by which neural circuits change their computation without altering their wiring. Concretely, neuromodulators act on existing synapses and neurons to rescale and adapt synaptic weights and neuronal gains. For example, a single modulatory signal can multiply the strength of many synapses simultaneously, effectively reweighting the circuit's connectivity on a timescale of milliseconds to seconds, far faster than any structural change [1, 2]. This is critically important because it allows a fixed anatomical circuit to express multiple, distinct dynamical regimes in response to context, arousal, or input statistics, rather than requiring separate dedicated hardware for each behavioral state [3, 4]. As neuromodulation decouples the structure of a network (which is slow to change) from its effective parameters (which can be rapidly reconfigured), it greatly expands the repertoire of computations accessible to a given set of connections [5]. Machine learning exploits a similar principle, where slowly learned parameters define a base network, while faster, input-dependent variables rescale its effective weights or gate its state updates on the
timescale of a single input. For example, in Gated Recurrent Units (GRUs) [6, 7] and slow-fast weight systems [8], slowly learned parameters generate fast, context-dependent rescalings of the network's effective synaptic weights.
AlKilany and Goodman recently applied this principle to Spiking Neural Networks (SNNs) [9]. By using a separate modulator to dynamically adjust the parameters of a recurrent SNN, they showed that input-dependent modulation can substantially improve performance, particularly in small networks. These gains were not explained by added parameters alone, demonstrating that neuromodulation can increase computational capability without simply scaling network size. Input-dependent modulation is particularly attractive in this setting, where a small number of dynamically controlled gains can reconfigure the dynamics of an existing substrate during computation.

Fig. 1: Input-dependent gain modulation on neuromorphic hardware. The 96 input channels are streamed into an on-chip primary network of excitatory (E) and inhibitory (I) neurons; two output neurons read the E population activity. A modulator reads the input and the network's activity and every 40ms updates the excitatory and inhibitory gains of the E neurons and the gain of the readout. The modulator and output neurons run and are trained in software, while the synaptic weights of the primary network stay fixed.
We acknowledge funding support from the Swiss National Science Foundation (UNITE: TMSGI2-211461).
Shared senior authorship
Whether this advantage survives the constraints, variability and limited trainability of physical neuromorphic hardware, however, remains unknown.
In this work, we identify and exploit a circuit primitive in mixed-signal neuromorphic hardware whose gain can be dynamically modulated to implement fast, input-dependent gating. We implement the recurrent network as a fixed physical reservoir, while a separate modulator adjusts a small number of shared population-level gains, thereby reconfiguring the network's computation without changing its underlying connectivity. Because gradients cannot be propagated through the analog circuits, the modulator is trained from the reservoir's measured response to controlled changes in these gain parameters. Fig. 1 illustrates the resulting closed-loop system, in which the modulator observes the input and evolving network state and continuously adapts the physical network while it computes.
We validate the system across five physical reservoirs, showing that input-dependent modulation improves five/nine spoken-digit classification from 71.4% to 88.6%, with gains in every reservoir. Controls separate the effects of additional readout training, static gain optimization and input dependence. These results demonstrate that dynamic gating can increase the computational capability of a heterogeneous analog neuromorphic computing substrate, affected by device mismatch and variability, providing a route to richer computation without having to scale the size of the underlying network.
A. The DYNAP-SE chip
DYNAP-SE was fabricated in a 0.18 µm 1P6M CMOS technology and comprises four cores of 256 neurons each. Each neuron has 64 dynamic synapses, for a total of 1024 neurons and 64k synapses. The neuron circuits implement the adaptive exponential integrate-and-fire (AdExp-I&F) model using sub-threshold analog circuits, while synaptic dynamics are implemented using Differential Pair Integrator (DPI) log-domain filters [11]. The DPI synapses approximate linear first-order dynamics [12]. For each synapse type, the DPI circuit provides a synaptic weight term and a separate synaptic gain scaling term (see Fig. 2). As derived in [13], to a first-order approximation, the DPI output synaptic current is governed by the following equation:
where is the synapse time constant, represents the synaptic weight, represents a gain modulation factor, is the synapse capacitance, the thermal voltage, and the subthreshold slope factor [14].
The DYNAP-SE chip supports multiple synaptic dynamics; in this work we use DPI circuits configured to emulate fast

Fig. 2: DPI synapse circuit schematics, highlighting the origin of the gain modulation current parameter , the synaptic weight , and the current determining the circuit's time constant .
excitatory (AMPA-like) and shunting inhibitory (GABA-like) synapses. The corresponding weight, gain, and time constant parameters of each synapse type are shared by all neurons within a core. However, as device mismatch introduces neuron-to-neuron and synapse-to-synapse variability, with coefficients of variation of up to 0.2, synapses and neurons in the network have a degree of variability that can be helpful in shaping computation [15, 16]. The shared synaptic gains are the parameters that we modulate dynamically in this work.
To account for the DPI bias range restrictions, we restrict modulation of the terms to a band around each calibrated baseline gain , with .
B. Task setup
We evaluate the networks on binary classification of the digits five and nine from the Spiking Heidelberg Digits (SHD) dataset [17]. We use a binary task to keep the problem within reach of the small networks that can be implemented on chip while retaining sufficient difficulty to measure the effect of modulation. A sweep over all binary SHD pairs selected five/nine, for which small recurrent networks perform appreciably above chance and outperform feed-forward networks.
The 700 SHD input channels are compressed to 96 by summing groups of 7–8 contiguous channels, allowing the input to be mapped within the 64-synapse fan-in constraint of each DYNAP-SE neuron. For each network, we use five speaker-disjoint training/validation splits, each holding out a different pair of the 10 training speakers for validation. Testing uses the 213 five/nine trials of the standard SHD test split, which includes two speakers not present during training.
C. On-chip primary network
Because gradients cannot be propagated through the mixed-signal dynamics of DYNAP-SE, we use the on-chip recurrent network as a fixed physical reservoir and train only an off-chip readout.
The reservoir consists of 48 excitatory (E) and 12 inhibitory (I) neurons placed on separate DYNAP-SE cores, giving the two populations independent shared parameters and enforcing Dale's law [18]. The membrane time constant is set to
40 ms, while the fast excitatory and shunting inhibitory synapses use .
As shown in Fig. 1, both and are fixed and randomly drawn, with a fixed number of connections per neuron. gives each E neuron 6 input channels. In , each E neuron receives excitatory synapses from 20 other E neurons and inhibitory synapses from all 12 I neurons, and in turn projects to 6 of the 12 I neurons. The activity of the E population is read out through by two off-chip spiking output units, one per class, and is trained in software with a cross-entropy loss on their spike counts, whose argmax gives the predicted class.
This setup lets us test whether input-dependent modulation of a small number of population gains can increase the computational capability of an otherwise fixed physical reservoir.
D. Modulator and gain updates
The modulator closes the feedback loop shown in Fig. 1. It is implemented off chip as a multilayer perceptron with one hidden layer of 128 ReLU units and three tanh output units, one for each modulated gain.
The modulator observes the 96 input channels together with the activity of the 48 excitatory neurons, 12 inhibitory neurons, and two output units. These signals are averaged over 40 ms windows and provided together with the current gain values. At the end of each window, the modulator produces three signed outputs that independently update the excitatory and inhibitory synaptic gains onto the excitatory population and, on the host, the gain of the readout.
The modulator updates the logarithm of each gain. For each gain, an internal variable , initialized as , integrates the modulator output,
where is the calibrated baseline gain. The resulting gain is soft-clipped to the hardware operating range , with . The step size is chosen such that the full modulation range can be reached within a single trial.
The updated gains are written to DYNAP-SE at runtime every 40 ms without resetting or interrupting the continuous-time dynamics of the reservoir.
E. Chip-in-the-loop training
Because gradients cannot be propagated through the analog dynamics of DYNAP-SE, we train the modulator using an estimate of the reservoir's response to changes in its gain parameters. Before training, reservoir activity is recorded for all training and validation trials over a grid spanning the allowed range of the two modulated gains, with two repeats per setting. For each trial and excitatory neuron, a quadratic function of the logarithmic gains is fitted by least squares to the firing rate averaged over the trial. This provides an estimate of how each neuron's activity changes with each gain.
During training, backpropagation through the off-chip readout provides for the firing rate of each excitatory neuron in each modulation window . Combining this with
TABLE I: Controls used in the hardware experiments.
| Modification | Tests whether improvement requires | |
|---|---|---|
| A | Retrain readout only (fresh optimizer, same epochs) | Modulation beyond extra readout training |
| B | Gains held at the mean of the modulated validation run | Dynamic gains rather than a better operating point |
| C | Another trial's gain trajectory played through the reservoir | Dependence of the gains on the current input |
the derivative of the fitted response gives an estimated gradient for gain in modulation window ,
where is the fitted firing rate, is the logarithm of gain , are the log-gains the modulator sets at the end of window , and is the input activity in the window. For windows with insufficient input activity, the estimated gradient is set to zero because the fitted response is unreliable.
We first validated this gradient estimator in a DYNAP-aware simulation and found performance comparable to backpropagation through the reservoir. The same simulations confirmed that gain modulation remains effective with a 40 ms update interval, which we therefore use for the hardware experiments.
The recording grid grows rapidly with the number of modulated parameters, so on chip we restrict modulation to the excitatory and inhibitory synaptic gains onto the E population. The excitatory synaptic gain is used rather than the somatic gain because it produced an approximately larger measured effect on the chip.
For each reservoir, is first trained from activity recorded at the baseline gains. The readout and modulator are then trained jointly for 20 epochs with DYNAP-SE in the forward loop, using the estimated gain gradients to train the modulator. The epoch with the best validation accuracy is retained.
F. Controls and statistics
Three controls test which aspects of gain modulation account for the performance improvement. Control A retrains the readout without modulation, testing whether additional readout training alone explains the improvement. For Controls B and C, the trained readout and modulator are kept fixed and only the applied gain trajectories are changed. Control B replaces the dynamic gains by one constant setting for all trials, equal to their mean over the validation trials, testing whether modulation simply finds a better fixed set of gains. Control C applies to each trial the gain trajectory generated by another trial, testing whether modulation must depend on the current input. The controls are summarized in Table I.
Results are compared across the five physical reservoirs using two-sided paired -tests. -values are corrected for multiple comparisons (-values) using the Benjamini–Hochberg procedure, and values are reported as mean SD across reservoirs.
DYNAP-SE, chip-in-the-loop
| Primary network | DYNAP-SE reservoir, 48 E / 12 I |
|---|---|
| fixed (random), on chip | |
| trained on host, floating-point | |
| Modulator | ANN, trained with the estimator |
| Modulated gains | excitatory synaptic gain (E)inhibitory synaptic gain (E)readout gain (host) |
| Cadence K | 8 (40 ms) |
(a)

(b)

(c)
Fig. 3: Chip-in-the-loop modulation on DYNAP-SE (5 RNNs; excitatory and inhibitory gains of the E neurons on chip and somatic gain for off-chip readout neurons rewritten every 40 ms; 213 test trials); (a) What is fixed, trained and modulated; (b) Test accuracy of each RNN without and with modulation, the modulator trained with the activity-gated estimated gradient; (c) Change in test accuracy over the unmodulated baseline for the modulated network and Controls A–C, mean ± SD over RNNs.
III. EXPERIMENTAL RESULTS
We evaluate input-dependent gain modulation on five physical DYNAP-SE reservoirs using the chip-in-the-loop training procedure described in Sec. II-E. The excitatory and inhibitory synaptic gains onto the E population, and the readout gain on the host, are updated every 40 ms while the reservoir processes the input.
Modulation increases five/nine test accuracy from 71.4% to 88.6%, corresponding to an improvement of +17.3 ± 10.4 percentage points (pp) across the five reservoirs (, ). The improvement is positive for every physical reservoir (Fig. 3b). Holding the readout gain at a constant, its validation mean, lowers accuracy by only pp (, ): the improvement comes from modulating the on-chip gains.
The controls in Fig. 3c separate this improvement from alternative explanations. Control A, which only retrains the readout, reaches 83.9%, pp below the modulated system (, ). Control B reduces accuracy by pp (, ), compared to the modulated system, showing that a better static operating point does not explain the gain. Control C reduces accuracy by pp (, ), testing the importance of input dependence for gain modulation.
Together, these results show that dynamically modulating a small number of population-level gains can substantially improve the computational capability of a fixed physical reservoir.
IV. CONCLUSION
We demonstrate input-dependent, within-trial gain modulation on DYNAP-SE, a mixed-signal neuromorphic processor. An off-chip ANN modulator dynamically adjusts the excitatory and inhibitory synaptic gains of a fixed 60-neuron physical reservoir using gradients estimated from measured chip responses. Across five physical reservoirs, modulation improves five/nine classification accuracy from 71.4% to 88.6%, corresponding
to an improvement of +17.3 ± 10.4 percentage points. The control experiments further separate this improvement from readout retraining and static gain optimization, and test the role of input dependence.
These results show that a small number of dynamically controlled population-level gains can increase the computational capability of an otherwise fixed and heterogeneous analog substrate. Rather than changing the underlying connectivity, the modulator reconfigures the effective computation of the reservoir on the timescale of the input.
The system is not yet fully hardware-native, as the modulator and readout run on the host, and the present experiments consider one binary task and two modulated on-chip gains. A next step is to move these functions closer to the neuromorphic substrate and ultimately realize modulation directly through on-chip circuitry. Such systems could provide a path toward neuromorphic processors whose physical dynamics can follow the input and computational context.
ACKNOWLEDGMENT
We thank Mirco Tincani for help with the DYNAP-SE setup and Filippo Moro for helpful discussions on the experiments. This project benefited from discussions and collaborations at the 2026 Capocaccia Neuromorphic Intelligence workshop. The authors used Claude (Anthropic) for language editing and grammar of Sections I–IV. Code used for data processing, sweep scripts and drawing the Fig. 1 schematic was partly AI-assisted. All content was reviewed and verified by the authors.
REFERENCES
[1] E. Marder, “Neuromodulation of Neuronal Circuits: Back to the Future,” en, Neuron, vol. 76, no. 1, pp. 1–11, 2012.
[2] D. A. McCormick, “Neurotransmitter actions in the thalamus and cerebral cortex and their role in neuromodulation of thalamocortical activity,” Progress in Neurobiology, vol. 39, no. 4, pp. 337–388, 1992.
[3] F. Nadim and D. Bucher, “Neuromodulation of neurons and synapses,” Current Opinion in Neurobiology, vol. 29, pp. 48–56, 2014.
[4] K. A. Ferguson and J. A. Cardin, “Mechanisms underlying gain modulation in the cortex,” Nature Reviews Neuroscience, vol. 21, no. 2, pp. 80–92, 2020.
[5] R. M. Harris-Warrick, “Mechanisms for neuromodulation of biological neural networks,” in Advances in Neural Information Processing Systems 2 (NIPS 1989), vol. 2, 1989, pp. 18–27.
[6] J. Chung, C. Gulcehre, K. Cho, and Y. Bengio, “Empirical evaluation of gated recurrent neural networks on sequence modeling,” arXiv preprint arXiv:1412.3555, 2014.
[7] D. Ha, A. M. Dai, and Q. V. Le, “Hypernetworks,” in International Conference on Learning Representations (ICLR), 2017.
[8] I. Schlag, K. Irie, and J. Schmidhuber, “Linear transformers are secretly fast weight programmers,” in International conference on machine learning, PMLR, 2021, pp. 9355–9366.
[9] A. AlKilany and D. F. Goodman, “Neuromodulation enhances dynamic sensory processing in spiking neural network models,” bioRxiv, pp. 2025–07, 2025.
[10] S. Moradi, N. Qiao, F. Stefanini, and G. Indiveri, “A scalable multicore architecture with heterogeneous memory structures for dynamic neuromorphic asynchronous processors (DYNAPs),” IEEE Transactions on Biomedical Circuits and Systems, vol. 12, no. 1, pp. 106–122, 2018.
[11] C. Bartolozzi, S. Mitra, and G. Indiveri, “An ultra low power current-mode filter for neuromorphic systems and biomedical signal processing,” in IEEE Biomedical Circuits and Systems Conference (BioCAS), IEEE, 2006, pp. 130–133.
[12] C. Bartolozzi and G. Indiveri, “Synaptic dynamics in analog VLSI,” Neural Computation, vol. 19, no. 10, pp. 2581–2603, 2007.
[13] E. Chicca, F. Stefanini, C. Bartolozzi, and G. Indiveri, “Neuromorphic electronic circuits for building autonomous cognitive systems,” Proceedings of the IEEE, vol. 102, no. 9, pp. 1367–1388, 2014.
[14] S.-C. Liu, J. Kramer, G. Indiveri, T. Delbruck, and R. J. Douglas, Analog VLSI: Circuits and Principles. MIT Press, 2002.
[15] D. Dahmen et al., “How heterogeneity shapes dynamics and computation in the brain,” Neuron, 2026.
[16] D. Zendrikov, S. Solinas, and G. Indiveri, “Brain-inspired methods for achieving robust computation in heterogeneous mixed-signal neuromorphic processing systems,” Neuromorphic Computing and Engineering, vol. 3, no. 3, p. 034 002, 2023.
[17] B. Cramer, Y. Stradmann, J. Schemmel, and F. Zenke, “The Heidelberg spiking data sets for the systematic evaluation of spiking neural networks,” IEEE Transactions
on Neural Networks and Learning Systems, vol. 33, no. 7, pp. 2744–2757, 2022.
[18] P. Strata and R. Harvey, “Dale’s principle,” Brain Research Bulletin, vol. 50, no. 5, pp. 349–350, 1999.