This work investigates device-informed spike-timing-dependent plasticity (STDP) in spiking neural networks using a literature-derived threshold-memristor model. Local STDP commands determine programming polarity and a programming coordinate for state-dependent conductance updates in the first fully connected layer, while a backpropagation-trained readout performs classification. HSPICE simulations characterize thresholded, polarity- and state-dependent device dynamics and differential crossbar multiply-accumulate behavior. Experiments on MNIST and Fashion-MNIST compare the hybrid learning rule with direct clipped STDP and evaluate programming asymmetry, device-parameter variation, write noise, stuck-at faults, and input corruption. The hybrid model achieved 95.15% accuracy on MNIST and 85.92% on Fashion-MNIST. In a separate seed-matched comparison, it reached 95.02% and 84.79%, versus 92.33% and 83.25% for direct clipped STDP. Potentiation-dominant asymmetry reduced input-dependent feature selectivity, and endpoint faults introduced during training were less damaging than faults introduced after training. The network-level mapping is a reduced-order, validation-selected abstraction rather than a pulse-accurate physical programming implementation. These results quantify how state-dependent memristor dynamics shape local-STDP learning and its sensitivity to hardware nonidealities.
Figures & tables
Parameter
Value
RON
10Ω
ROFF
420Ω
VTH−
−0.19V
VTH+
0.37V
D
3nm
μv
1.6×10−12m2s−1Ω−1
TABLE I: Parameters of the adopted threshold-memristor model [ 26 ] .
Fig. 1: HSPICE characterization of the adopted threshold-memristor model: (a) transient memristance response under alternating ±1.0V , 110μs programming pulses; (b) current–voltage response under 100-Hz sinusoidal excitation with peak voltages from 0.15 to 1.00V ; (c) average normalized state-update rate Δwnorm/Δt over a 100-ns pulse versus applied voltage for wnorm,0=0.2 , 0.5 , and 0.8 , on a symmetric logarithmic vertical axis with the threshold dead zone shaded; (d) SET ( +0.6V ) and RESET ( −0.6V ) transition times over normalized-state intervals; (e) corresponding TSET/TRESET ratios; and (f) relative conductance change versus programming-pulse width for wnorm,0=0.2 , 0.5 , and 0.8 under ±0.60V pulses.
Fig. 2: Reduced differential-crossbar HSPICE analysis. (a) Differential conductance mapping and static signed-MAC configuration, shown as a three-input, three-class excerpt of the 64×10 logical classifier, with each signed weight represented by the differential pair Gij+ and Gij− . (b) Interconnect model used for the resistance sweep, shown as a two-input, one-class excerpt: input rows are driven through Rwire/2 , row and column segments include Rwire , and each physical output column ( Gj+ and Gj− ) connects to ideal current sensing through Rsense , with Rsense=2Ω (fixed) or 2Rwire (proportional).
Fig. 3: Qualitative timing comparison between the HSPICE paired-pulse response and the trace-based STDP timing response, shown versus relative timing Δt=tpost−tpre in μs .
Fig. 4: Numerical consistency between the explicit single-step update in Eq. ( 16 ) and the finer-grained evaluation of the same reduced-order mapping across 462 conditions. The dashed line denotes equality.
Dataset
Synapses
Updated/batch
Active fraction
Batch range
MNIST
802,816
423,987±10,291
52.81±1.28%
367,678–457,198
Fashion-MNIST
802,816
710,470±20,156
88.50±2.51%
577,363–755,556
TABLE II: Realized fc1 batch-aggregated update activity for the final 1024-hidden-neuron, batch-128 configurations retrained on the complete training sets. A synapse is counted as active when ΔWraw,ijb=0 . Values are mean ± standard deviation over mini-batches pooled across five independent seeds.
Parameter
MNIST
Fashion-MNIST
Hidden neurons
1024
1024
Batch size
128
128
Training epochs
100
100
Simulation timesteps, T
25
15
STDP trace constant, τpre=τpost (timesteps)
1.2474
1.9955
Balanced STDP coefficient, A+=A−=A0
4.860×10−4
1.505×10−4
TABLE III: Network and learning parameters for the final hybrid SNN configurations. Dataset-dependent parameters were selected using validation data.
Fig. 5: Representative confusion matrices for the 1024-hidden-neuron, batch-128 hybrid SNN: (a) MNIST evaluated on the 8,920-image test set containing 892 images per class and (b) Fashion-MNIST evaluated on its native 10,000-image test set containing 1,000 images per class.
Dataset
Hidden
Batch
Hybrid
Ideal BP
Memristor BP
Memristor BP + norm.
Fashion-MNIST
512
64
83.88±0.29
87.68±0.55
83.41±0.92
66.04±6.81
Fashion-MNIST
512
128
84.41±0.14
87.99±0.24
83.85±1.42
76.91±1.85
Fashion-MNIST
1024
64
85.34±0.17
88.32±0.19
82.36±3.41
58.78±6.48
Fashion-MNIST
1024
128
85.92±0.23
88.37±0.33
84.38±1.16
81.51±2.51
MNIST
512
64
89.94±0.49
97.79±0.32
94.37±0.31
67.11±17.35
MNIST
512
128
93.07±0.21
97.93±0.14
94.70±0.29
87.49±6.28
TABLE IV: Classification test accuracy under four fc1 learning conditions: device-informed STDP (Hybrid), end-to-end backpropagation with signed, unconstrained weights (Ideal BP), and backpropagation-driven programming of the threshold-memristor states without and with epoch-wise column normalization (Memristor BP and Memristor BP + norm.). Values are mean ± standard deviation over five seeds. Hybrid values are the nominal Hybrid population. The comparison with Ideal STDP and the paired statistical comparisons at the 1024-hidden-neuron, batch-128 configuration are reported in the text.
Condition
MNIST (%)
Fashion-MNIST (%)
Hybrid (full response factor)
95.15±0.17
85.92±0.23
Constant rate
94.98±0.26
85.63±0.09
TABLE V: Ablation of the programming-rate response factor for the 1024-hidden-neuron, batch-128 configuration. The constant-rate condition removes the resistance, current, and boundary-window dependence together. Values are final test accuracy in percent, reported as mean ± standard deviation over five matched seeds.
Fig. 6: Test accuracy versus STDP coefficient-asymmetry magnitude ρ for the A+ - and A− -dominant conditions of Eq. ( 21 ): (a) MNIST and (b) Fashion-MNIST. Error bars denote one standard deviation over three seeds.
Fig. 7: Final fc1 effective-weight distributions under controlled STDP coefficient-asymmetry magnitude ρ . Each panel shows the mean fraction of fc1 synapses in each bin of the conductance-derived forward weight Wfc1 of Eq. ( 17 ) over three seeds for ρ=1.0 , 1.5 , 3.0 , and 5.0 : (a) MNIST A+ -dominant, (b) MNIST A− -dominant, (c) Fashion-MNIST A+ -dominant, and (d) Fashion-MNIST A− -dominant. The vertical axis is logarithmic; empty bins are not shown.
Fig. 8: Test accuracy under independent pixel-intensity inversion ( xi→1−xi ) at pflip={0,6.67,13.33,20,30}% . Error bars denote one standard deviation over five independently trained models.
Fig. 9: Classification accuracy under (a) endpoint stuck-at faults present throughout training and evaluation and (b) device-parameter variation in RON , ROFF , VTH+ , and VTH− . Variation levels denote the relative standard deviation of the Gaussian perturbation before clipping. Error bars denote one standard deviation over five seeds.
Experiment
Condition
MNIST
Fashion-MNIST
Timing
Accuracy (%)
Change (pp)
Accuracy (%)
Change (pp)
Pixel-flip input noise
pflip=0
95.21±0.17
—
85.86±0.20
—
After training
Pixel-flip input noise
pflip=6.67%
61.71±0.43
−33.50
73.09±0.32
−12.77
After training
Pixel-flip input noise
pflip=13.33%
39.10±0.41
−56.11
56.26±0.68
−29.60
After training
Pixel-flip input noise
pflip=20%
26.61±0.73
−68.60
41.17±0.82
−44.69
After training
Pixel-flip input noise
pflip=30%
16.84±0.35
−78.37
24.51±0.49
−61.35
After training
TABLE VI: Summary of robustness experiments. Each clean reference is the zero-perturbation result of the corresponding experiment; the two endpoint-fault references are the nominal Hybrid population of Table IV . Values are mean ± standard deviation in percent over five independently trained models (three for write noise). Post-training endpoint faults were injected into the final-epoch clean-trained models of the training-time fault experiment without retraining. Changes are relative to the clean reference within each experiment family.
Advanced Computing and Microelectronics Unit, Indian Statistical Institute, Kolkata 700108, India · Balasore Alloys Limited, Balgopalpur, Odisha 756020, India
School of Electrical and Electronic Engineering, The University of Sheffield, S1 3JD Sheffield, U.K. · Donghai Laboratory, Zhoushan 316021, China · Engineering Research Center of Oceanic Sensing Technologyand Equipment, Ministry of Education, Zhoushan 316021, China +1