Always-On Speech for a Small Robot with Complex-Valued Transformers: Constant-State Born Attention for Streaming Denoising and Command Spotting
We build two small complex-valued transformers with Born attention in the CNet framework, train them end to end from the waveform, and run them as constant-state streams on a CPU: a denoiser of 721k complex parameters and command spotters of 123k (r28, the 35-word benchmark model) and 306k (r21, the robot's 17-class model). The causal Born operator has an exact recurrence, so a trained model is rebuilt as a one-frame-per-hop twin that, on the tested clips from a reset state, reproduces the windowed model to a maximum absolute error of 1.3×10⁻⁶ (spotter posterior) and 1.5×10⁻⁵ (the deployed denoiser's spectrum), with a state that does not grow with time: 4.1 MiB and 5.2 ms of forward pass per 16 ms hop for the denoiser, 334 KiB and 0.65 ms per 10 ms hop for r28, on one laptop core, with up to 32 ms of framing latency. Streamed hop by hop with a fixed input gain at the data's level, the denoiser scores PESQ 2.60, STOI 0.922 and SI-SDR 17.7 dB on VoiceBank-DEMAND (noisy: 1.97, 0.921, 8.5 dB), within 0.02 PESQ and 0.1 dB of its offline windowed inference, and for the plain-MSE model carrying the attention state across two-second windows is worth +0.6 dB over resetting it. On a 15.2-minute synthetic stream of noisy continuous audio, r21, trained with rejection classes, gives 80% recall with six false accepts for a seven-command set at 20 dB SNR and 74% with two at 10 dB, at thresholds chosen on that stream; on the 35-word Speech Commands v2 benchmark r28, with a pooled readout and a convolution front end, reaches 95.1% test accuracy in 40 epochs, 0.9 points below Res15 at a similar parameter count and 2.5 below the best of the baselines we tabulate; the denoiser is 0.3–0.6 PESQ short of the published causal models. Under the shared recipe Born attention is ahead of a complex gated-linear-attention baseline at every matched epoch on spotting and at 48 of 50 on denoising, and removing it costs 15 points before the attention-free run's gradient guard first fired and 16 over all 40 epochs. Preprint, not peer reviewed; all results are single-seed. Code and demo: https://github.com/crasmarum/CNet (folder voice_demo).
Authors
- Marcel Crâşmaru
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-26
- DOI
- https://doi.org/10.5281/zenodo.24557235
- Primary Topic
- Speech Recognition and Synthesis
- Type
- preprint