Convert Only What Persists: Gene-Circuit Gating of ADC Readout in Analog In-Memory Networks

Analog in-memory computing does a neural network's matrix multiplications inside the memory array. Weights are stored as device conductances, and the multiply-accumulate happens through Ohm's and Kirchhoff's laws. This avoids the "memory wall," the energy spent moving weights between separate memory and processor. The saving is real but largely moves elsewhere. Every column's analog result must still be digitized by an analog-to-digital converter (ADC), and these converters can account for up to 87.8% of energy and 75.2% of chip area (Memristor-based adaptive ADC). That readout step is also where noise does the most harm. A large study of analog accelerators found that noise injected at the output interface degrades accuracy far more than noise in the stored weights (Rasch et al.). The same study noted, without testing it, that recurrent networks tolerate analog noise unusually well, and suggested their recurrence acts as a "natural temporal filter."

Cells face a similar problem and have a known solution. In a coherent feed-forward loop, a gene-circuit motif, a regulator switches on a target only when two signals agree: its direct signal, and a slower signal that has had time to build up through an intermediate gene. Brief fluctuations therefore never reach the output, and only sustained changes do. MicroRNA-27 uses this delay logic to stop noisy Hox mRNA bursts from being translated, which keeps a sharp motor-neuron boundary (MicroRNA filters Hox temporal transcription noise). We propose placing a trainable version of this motif at each crossbar column in streaming workloads such as keyword spotting. A column is digitized only when its output has changed by a meaningful amount and that change has persisted. Otherwise the digital side reuses the last converted value. The gate makes two decisions at once: it filters output noise before digitization, and it skips conversions that carry no new information.

Core Claim

In streaming inference, the same weights are applied frame after frame. Each column's output over successive frames therefore forms a time series in which the signal is correlated across frames and the read and sensing noise is largely not. The claim is that a per-column persistence gate, trained jointly with the network under realistic analog noise, gives a better trade-off between accuracy and ADC conversion count than two alternatives. One is converting every frame, with or without hardware-aware training. The other is a single-timescale event trigger, meaning a low-pass filter followed by a change threshold. The second part of the claim is that the gate lets a purely feed-forward frame-wise network recover most of the noise robustness Rasch et al. attributed to recurrence, without the sequential state loops that recurrence requires.

The gate for column $j$ at frame $t$ keeps a held value $h_{j,t}$, which is the last converted output, and a slow "evidence" variable $s_{j,t}$ that plays the role of the intermediate gene:

$$s_{j,t} = \alpha_j s_{j,t-1} + (1-\alpha_j)\,\mathbf{1}\big[|y_{j,t} - h_{j,t-1}| > \theta_j\big],$$

$$\text{convert at } t \iff |y_{j,t} - h_{j,t-1}| > \theta_j \ \text{ and } \ s_{j,t} > \beta_j .$$

Here $y_{j,t}$ is the analog column output, $\theta_j$ is the change threshold (the direct branch), $\alpha_j$ sets how quickly evidence accumulates (the delay of the intermediate branch), and $\beta_j$ is the joint-activation threshold. A single-timescale event trigger is the special case $\beta_j \to 0$. That makes the key ablation exact: the only difference from the motif is the AND of two timescales. In hardware, $s$ is a leaky capacitor charged by a 1-bit comparator. We will count the comparator's energy against the gate rather than treat it as free.

Research Program

We will build the gate as a differentiable layer. The indicator functions get straight-through gradients, and a penalty on the expected conversion rate lets the network trade accuracy against ADC use during training. The gate goes on top of an analog-crossbar forward pass that simulates programming noise, read noise, conductance drift, and ADC/DAC quantization, using the statistical PCM models of the IBM Analog Hardware Acceleration Kit (AIHWKit) employed by Rasch et al.. The parameters $\theta_j$, $\alpha_j$, and $\beta_j$ are learned per column. In the biological motif, the correct delay depends on how fast the input signal changes. Different columns carry features with very different temporal statistics, and a single global setting is the obvious thing that should fail.

To avoid a purely empirical design, we will use the generalized Wiener-Kolmogorov analysis of push-pull signaling motifs (Cellular Signaling Networks Function as Generalized WK Filters) as an analysis tool. That work shows the best filtering bandwidth depends on the input's characteristic frequency relative to its noise, and it bounds the minimal relative error through a dimensionless ratio. We will measure each column's clean-signal spectrum and read-noise variance from the simulator. From these we compute the optimal linear filter and its error bound, and we check two things. First, whether the learned $\alpha_j$ track the predicted optimal bandwidths. Second, how far the nonlinear gate's reconstruction error sits from the linear bound. If the learned gates ignore the bound, the biological framing is mostly decoration, and we will say so.

The main risk comes from the biology itself. Noise filtering in development costs speed (Kong et al.), and the gate adds latency measured in frames. Our delay is set in frames of about 10 ms, not in crossbar cycles, so it does not touch the single-cycle multiply. It can, however, delay a decision, so we report decision latency as a primary metric next to accuracy and energy.

Baselines

The naive reference point is direct mapping. A network trained digitally is placed on the simulated crossbar, and every column is converted every frame. It shows the raw effect of analog noise and the full ADC bill.

The strongest robustness competitor is hardware-aware training (HAT) as in Rasch et al., which trains with injected hardware noise and converts every frame. They report that HAT brought five of eleven workloads within 1% of floating point and recovered WideResNet-16 from 25% to 20% error. We give HAT the same architecture, the same noise model, and the same hyperparameter-search budget as our method. Our gated models are also trained with HAT, so any gain is attributable to the gate. A recurrent HAT baseline (LSTM of matched parameter count) tests Rasch et al.'s hypothesis directly: if the gated feed-forward network matches the LSTM's robustness, the "natural temporal filter" can be built without recurrence.

The strongest conversion-saving competitor is early-decision spiking keyword spotting, ED-sKWS. On SC-100 it reports a 0.08% accuracy drop relative to an adaptive LIF baseline while using about 61% of timesteps and 52% of energy, with decisions roughly 38% earlier. We will map its network onto the same simulated crossbar and count its ADC conversions under the same energy model. Its savings come from stopping the whole network early. Ours come from skipping individual columns, so the two can also be combined, and we test the combination.

The ablations isolate the motif. The first is the single-timescale event trigger, a tuned low-pass filter plus change threshold ($\beta = 0$), with per-column parameters and the same training. The second is the full gate with parameters shared globally rather than per column. The third is the gate with only its filtering role active (always convert, but read the low-passed value), which separates noise suppression from conversion skipping. Adaptive Lloyd-Max ADC thresholds (Q-cell ADC) change how each conversion is quantized, not how many conversions occur. We include them stacked with and without the gate, costed at the reported 12.58 fJ per conversion, rather than as a rival.

Beating the baselines means one of two outcomes over the full accuracy-versus-conversion curve, including comparator and hold-capacitor energy and swept across plausible comparator-to-ADC energy ratios. Either the gate matches HAT-every-frame accuracy within 0.5 points with at least half the conversions, or it gives higher accuracy than HAT at equal conversion count. In both cases it must also beat the single-timescale trigger by a margin larger than seed variance.

Why not just…?

Why not just use hardware-aware training? HAT fixes weight sensitivity but, as Rasch et al. found, output noise remains the most damaging source. HAT also leaves every conversion in place. We treat HAT as the base layer rather than an alternative. The HAT-only baseline measures exactly what the gate adds on top.

Why not just low-pass filter and threshold the change, with one timescale? This is the real threat. A well-tuned first-order filter with a delta trigger already rejects much uncorrelated read noise. The argument for the two-timescale AND is specific: the gate switches on only after a change has persisted but switches off immediately, much as the cFFL delays activation without delaying shutdown. A single filter cannot reject brief spikes without also lagging on genuine sustained changes. Whether that asymmetry matters in practice is an empirical question. The $\beta=0$ ablation settles it. If the curves coincide, we will report that the useful ingredient is per-column learned filtering, not the motif.

Why not just read the column several times and average? Repeated reads reduce read noise but multiply conversions or integration time, which works against the goal. They also do nothing about noise that is correlated across reads within a frame. We include repeat-read averaging at 2 and 4 reads as a reference point on the energy axis.

Why not just use an LSTM, since recurrence already filters noise? Recurrent layers add sequential state updates and extra weights. More to the point, they do not reduce ADC conversions. The matched LSTM baseline shows whether our gate reaches its robustness while also cutting conversions.

Proposed Experiments

The primary benchmarks are Google Speech Commands v2 and SC-100, both used by ED-sKWS. SC-100 has the reported numbers above. For Google Speech Commands v2, no reported result was found on Lacuna, so we will establish our own floating-point and HAT references. We use frame-wise feed-forward networks (temporal convolution and MLP heads) and the ED-sKWS spiking network, all mapped onto AIHWKit PCM models. We evaluate at simulated drift of one hour, one day, one month, and one year, since drift shifts column outputs slowly and should be tracked without triggering extra conversions. Metrics are accuracy, ADC conversions per inference, total modeled energy including the gate, and decision latency in frames.

A secondary regression check uses Lorenz96 extrapolation, where Chen et al. reported lower MAE and DTW than a digital ResNet twin but no absolute values appear on Lacuna. It tests whether persistence gating distorts continuous-valued outputs, not just class decisions.

The decisive checks are three. First, the full gate must dominate the $\beta=0$ trigger on the accuracy-versus-conversion curve. Second, per-column gates must beat globally shared gates, and learned $\alpha_j$ should correlate with Wiener-Kolmogorov-predicted optimal bandwidths. Third, the gated feed-forward network must close most of the robustness gap to the recurrent HAT baseline under output-noise-dominated settings. If the first check fails, the contribution shrinks to learned event-triggered readout. If the third fails, Rasch et al.'s temporal-filter hypothesis does not transfer to explicit filters, which is itself worth reporting.