Research analysis · Signal acquisition

Cosmic-ray physicists solved a detection problem that MEA designers still have

Radio antennas hunting air showers face the same measurement problem as a high-density microelectrode array watching a quiet neural culture: rare, near-threshold events buried in heavy, nonstationary interference, with a hard budget on false alarms. A new engineering paper shows that a jointly trained denoiser and classifier, small enough to fit in 1,205 parameters, triples detection at the strictest false-positive operating point compared with a classifier alone, and runs at 12.7 microseconds latency and 0.502 W of dynamic power on an entry-level FPGA.

Source: Hardware-efficient neural networks for FPGA-based radio triggering of extensive air showers, arXiv preprint by Vesselin Dimitrov, September 2026. Primary source. Read: full HTML text of the preprint, all tables and figures.

What the work claims

This is an engineering methods paper, not a discovery claim: a hybrid digital trigger for autonomous radio detection of extensive air showers, built as a lightweight convolutional denoiser followed by a compact classifier, both trained quantization-aware and implemented in fixed point on a Xilinx Zynq-7000 Z-7020 FPGA1. The quantitative claims are specific. On a benchmark of simulated air-shower pulses embedded in measured radio-frequency interference, the hybrid trigger reaches an area under the ROC curve of 0.991, and at a false-positive rate of 10^-4 it recovers a true-positive rate of about 0.36, against about 0.12 for a classifier without the denoiser and about 0.03 for a classical peak-envelope threshold on the Hilbert amplitude. At the looser operating point of 10^-2 false positives, the margins are 0.96, 0.89 and roughly 0.1 respectively1. The whole model carries 1,205 trainable parameters, and post-implementation RTL validation reproduces the software ROC curve, with an RTL AUC of about 0.992 against about 0.992 in the Keras reference (the evaluation section quotes 0.991 for both neural variants; the discrepancy is at the third decimal and immaterial, but it is visible in the text).

What makes the claim bold is the operating point. Most published accuracy gains live at moderate false-positive rates; this work optimizes the tail, where a false alarm costs an autonomous station real trigger bandwidth, and where most instrument designers in every field quietly lose their signal.

How it works

The pipeline operates on 128-sample raw ADC traces sampled at 250 MS/s through a 30 to 80 MHz band, quantized as signed 12-bit integers. Background noise was recorded on the University of Siegen campus with a butterfly antenna, low-noise amplifier and oscilloscope, in a site deliberately chosen for strong transient and narrow-band interference. Air-shower pulses come from CoREAS/CORSIKA Monte Carlo simulations folded with the Pierre Auger Observatory's antenna and electronics response using AERA event geometries. Signal-to-noise ratio, defined as the mean squared Hilbert-envelope amplitude over noise variance, is centered around 3 and spans roughly 0.1 to 15: the design point is near-threshold detection, not comfortable detection1.

Two 1D convolutional networks are trained jointly as a single composite model. The denoiser (607 parameters) maps the noisy trace to a cleaned estimate; the classifier (598 parameters) scores the cleaned trace. Joint training is the load-bearing idea: the total loss is a weighted sum of the denoiser's mean-squared error and the classifier's binary cross-entropy, so the denoiser receives gradient pressure to preserve exactly the waveform features the classifier finds informative, rather than the features a generic denoiser would keep. Training data is 150,000 traces split evenly across background, pure signal and signal-in-noise classes, with separate 30,000-trace sets for hyperparameter search and 150,000 held-out traces for validation plus a 1,000,000-trace background-only sample for low false-positive estimation1.

For hardware, the models are exported with hls4ml, synthesized in Vitis HLS 2024.1, placed with Vivado 2024.1, and validated at RTL level with cocotb testbenches that stream real traces through the fixed-point datapath and compare logits against the Keras model. Quantization is quantization-aware training with high-granularity quantization: each layer carries its own fixed-point format, for example ap_fixed<23,18> for the hybrid classifier with a granularity parameter beta of 2.5 x 10^-6, rather than a single global bit width. The reported implementation occupies 19,042 LUTs, 31,336 flip-flops, 55.5 block RAMs and 17 DSPs on the Z-7020, achieves 161 MHz, and processes about 78,740 traces per second at 0.502 W dynamic power, with the initiation interval equal to the 12.7 microsecond inference latency1. Two deployment details matter for anyone porting this: the models consume raw ADC values with no input normalization, and the denoiser's output is explicitly not intended as a precision reconstruction, only as a trigger and feature-extraction intermediate.

Where a skeptic should push

The most load-bearing assumption is that simulated signals embedded in measured noise predict on-sky behavior. Only the noise half of the benchmark is measured; the pulses are Monte Carlo with detector folding. That is a reasonable and standard construction in this community, and it is exactly the construction most likely to overstate performance if the simulation mis-models the weak-pulse population. The author flags the related caveat himself: the benchmark is intentionally tuned to the weak-signal regime, so absolute AUC values depend on the signal mixture and should not be quoted as universal1.

Second, the power figure is dynamic power only. A Zynq-7020 in a field station draws considerably more once static power, I/O and the surrounding acquisition chain are counted, and 0.502 W should be read as the marginal cost of the inference block, not the station budget. Third, the classical Hilbert-envelope baseline (AUC 0.629) is weak; a well-tuned matched filter would close part of the gap, though the low-false-positive tail is where learned features genuinely tend to win. Fourth, this is a single-author preprint. The RTL-level cocotb validation is a real strength rarely seen in this literature, and it directly addresses the usual fixed-point accuracy excuse, but the work has not been through external review. Treat the specific numbers as well-documented and internally consistent, not as community-confirmed.

The MEA front end, after the denoiser

Strip the domain away and this is a spike-detection paper. A microelectrode array in a quiet or pharmacologically suppressed culture has the same structure as a radio station in RFI: rare suprathreshold events, a long tail of near-threshold events that carry real information, and an acquisition chain whose practical sensitivity is set not by amplifier noise but by how many false positives per electrode-hour the downstream system can absorb. The numbers translate better than the physics suggests. At 25 kHz MEA sampling, a 128-sample window is 5 ms of data, comfortably spanning a spike; 12.7 microseconds of inference latency is irrelevant at biological timescales; and a 1,205-parameter model is so small that one shared inference block could service many channels, or one per-channel block could live inside the headstage at sub-watt marginal cost. The egress wall that dominates high-density array design is largely a false-positive wall, and this paper attacks exactly that.

The genuine opportunity is the joint training result, not the network size. A denoiser trained to reconstruct the waveform erases exactly the small-amplitude features a detector needs; a denoiser trained against the detector's loss preserves them. MEA signal chains that denoise generically (median filters, template subtractors, common-average references) then detect on the cleaned trace are doing the first thing, badly, with a hand-set filter. The paper's blueprint of a coupled loss, per-layer fixed-point formats assigned by high-granularity quantization, and raw-ADC inputs with no normalization is a directly transferable recipe for co-designing the detector with the converter that feeds it.

The threat is symmetric and deserves weight. A learned trigger is a learned prior on what a signal looks like, and tissue violates priors silently: development, plating density, pharmacology and electrode drift all move the spike and noise distributions while the model keeps its training-day opinion, and the first symptom is an inflated false-positive rate in chronic recordings, precisely the quantity nobody re-audits. The classical threshold is honest about being wrong; a neural trigger can be confidently wrong at 3 A.M. on day forty. There is a second, subtler trap: because the denoised waveform is not a reconstruction, any feature extracted from it, spike amplitude, waveform shape, anything a sorter or a quantitative firing-rate study consumes downstream, is biased in ways the trigger paper never had to care about and an MEA paper would. A denoiser placed at the front end must be quarantined from the science stream, which in practice means two code paths and a calibration story most vendors do not want to fund.

The bottom line

Established: a jointly trained denoiser-classifier of about 1,200 parameters, in fixed point, validated at RTL level, roughly triples near-threshold detection rate at a false-positive rate of 10^-4 relative to a classifier alone, and beats classical envelope thresholding by about an order of magnitude, on simulated signals in measured interference, at 12.7 microseconds and 0.5 W of dynamic FPGA power. Hypothesis: that the same architecture, retrained, lifts the usable detection floor of microelectrode arrays in chronic, low-activity recordings. What would confirm it is unglamorous: labeled near-threshold spikes from real MEA recordings across multiple days and preparations, with true-positive rate quoted at a fixed false-alarm budget per electrode-hour. Until that exists, the design recipe is sound and the domain transfer is not demonstrated. For array teams, the correct next step is small: port the coupled-loss training to a public spike dataset, fix the false-alarm budget first, and treat the trigger output as a flag, never as data.

Frequently asked questions

What is a trigger in this context?

A real-time decision, made on the acquisition device, about whether a raw ADC trace probably contains a signal of interest. A good trigger lets the system keep weak events and discard empty data without shipping everything off-chip; its quality is measured by the true-positive rate at a very low false-positive rate, not by headline accuracy.

Why pair a denoiser with a classifier instead of just classifying the raw trace?

Because the two tasks want different things from the same waveform. A denoiser trained on reconstruction loss removes small features as if they were noise; a denoiser trained jointly with the classifier keeps the features the classifier uses. In the paper, the coupled loss is why the hybrid reaches a true-positive rate of about 0.36 at 10^-4 false positives versus about 0.12 for the standalone classifier.

How large is the neural network?

Remarkably small: 607 trainable parameters in the denoiser and 598 in the classifier, both 1D convolutional networks on 128-sample traces. The entire fixed-point implementation fits in about 19,000 lookup tables on a Zynq-7000 Z-7020, a low-cost FPGA, with 12.7 microsecond latency.

Does fixed-point hardware lose accuracy compared with the float model?

Not measurably in this work. The hls4ml-synthesized ROC curve closely follows the Keras curve, and RTL simulation with cocotb reproduces an AUC of about 0.992 against about 0.992 in software. Quantization-aware training with per-layer precision formats is what buys that equivalence.

Would this transfer directly to microelectrode array spike detection?

The architecture, scale, latency and power budget all transfer plausibly; the benchmark does not. The paper's signals are simulated and its noise is radio interference, while tissue noise is nonstationary across days. The honest status is: a strong design template awaiting validation on real electrode recordings at a fixed false-alarm budget.

What is the main risk of putting a learned detector at the array front end?

Silent degradation. A learned model encodes the signal statistics of its training data, and as tissue or electrodes drift, its false-positive rate can inflate without any alarm. Any deployment needs periodic re-validation against a trusted threshold detector, and the denoised waveform should never feed scientific measurements, only detection flags.

References

  1. V. Dimitrov. Hardware-efficient neural networks for FPGA-based radio triggering of extensive air showers. arXiv:2609.16973, 2026. https://arxiv.org/abs/2609.16973v1. Accessed 2026-10-16.