arXiv:2610.13447cs.SDOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.13447

Oído: Open-Vocabulary Speech Recognition on a $5 Microcontroller without a Neural Accelerator

Daniel Varela Sánchez, Guillermo Martín-Coello Juárez

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Speech recognition on low-cost microcontrollers is, in practice, limited to keyword spotting or a fixed list of commands. We present Oído, an inference engine that runs open-vocabulary English speech recognition entirely on an ESP32-S3 (240 MHz dual-core Xtensa LX7, 512 KB of SRAM, 8 MB of PSRAM, 16 MB of flash, no neural accelerator). Oído executes a 13 M-parameter Conformer-CTC model with int8 weights, per-frame dynamic int8 activations and int8 attention on the chip's SIMD instructions, with a schedule designed around flash and PSRAM bandwidth. On LibriSpeech test-clean/test-other the on-device arithmetic reaches 3.70%/8.23% word error rate (WER), within 0.12 points of full precision, and 3.33%/7.15% with an on-chip 1.3 M-parameter language model; a transducer head gives 2.99%/6.67% and an int4 variant fits in 8.3 MB. This is 2.3–2.8× fewer errors than the vendor's recognizer on the same chip, and fewer than Whisper tiny.en and Moonshine tiny in full precision on a laptop, including in real noise and reverberation. Measured on a physical board, the firmware runs at 1.97× the duration of the audio on one core, with transcripts identical to an instruction-exact emulator: accurate, but not yet real time (a 4 s command is transcribed about 8.7 s after it ends). The two-core schedule gives wrong results on silicon and is disabled. A streaming variant shows partial text while the speaker talks and delivers the final text 4.1–11.1 s after clips of 3.6–10.6 s (7.2–22.4 s in utterance mode) at 4.86%/11.03% WER; a Spanish model makes 34–60% fewer errors than multilingual Whisper tiny. Code and models are released.

1 Introduction

Voice is the natural interface for speakers, appliances, toys, wearables and vehicles, but most of these devices are built around microcontrollers that cost a few dollars and cannot run the speech recognizers used on phones and servers. Today such products either stream audio to the cloud, paying for inference for the lifetime of every unit and exposing users' audio, or they recognize a small, fixed set of wake words and commands on device [45]. Even the most capable vendor solution for the popular ESP32-S3 accepts only predefined command lists [14].

Accurate small speech models do exist. A 10–15 M-parameter Conformer [20, 30] reaches 2.7–3.7% WER on LibriSpeech test-clean, better than Whisper tiny [35], which has three times as many parameters. The obstacle to running such a model on a microcontroller is not only its arithmetic. Flash is read through a small cache at tens of MB/s, and a model of this size occupies most of the flash and more than all of the on-chip SRAM. In addition, existing microcontroller run-times [10] target static graphs with small activations, not an attention model that runs over whole utterances.

This paper shows that such a model fits and runs on a commodity microcontroller with no neural accelerator, accurately but, so far, slower than real time. Our contributions:

• An int8 inference engine for Conformer speech recognition on the ESP32-S3. It loses 0.02 and 0.12 absolute WER points on LibriSpeech test-clean and test-other relative to full precision, without retraining (Section 5.1).

• A bandwidth-aware execution schedule: utterance-level row blocking, K-split accumulation and a batched front end. It reduces the modelled weight traffic from flash and PSRAM by 2.4×2.4\times, and a set of kernel optimizations removes 9% of executed instructions (Section 5.3).

• On-chip decoding with a recurrent language model, and an RNN-T head whose joint network is evaluated for several frames at once while remaining exactly equivalent to greedy search (Section 5.4).

• A streaming mode: a Conformer fine-tuned for chunked attention and noise-robust, and an engine that caches int8 keys, values and convolution state per layer so that only the last partial chunk remains when the speaker stops. We measure on silicon what it buys at the chip’s present speed (Sections 5.5 and 7.3).

• An evaluation on seven test sets, fourteen noise and reverberation conditions, voice-command latency and memory, against laptop-class models and the vendor’s on-chip recognizer (Section 7).

The engine, firmware, tools and models are open source. 1^{1}

1^{1}https://github.com/lokutor-ai/oido; models at https://huggingface.co/lokutor-ai.

Figure

Figure 1: Oído on the ESP32-S3: pipeline and memory placement. Weights are streamed from flash or PSRAM once per 64-frame block. The activations of the current block and the int32 accumulation tiles stay in on-chip SRAM.

References (36)