Swanada:跨 12 种文字的编码器能力路由 Conformer CTC 与 30 MB 以下端侧语音识别
Swanada: Split-Encoder Capability-Routed Conformer CTC and Sub-30 MB On-Device Speech Recognition Across Twelve Scripts
AI 导读
Swanada 是一个开源端侧流式语音识别系统,覆盖梵语、印度英语及十种印度语言共 12 种文字,可在浏览器 WebAssembly、NodeJS 和 Python 上运行。
正文 · 原文
Abstract:Client-side automatic speech recognition (ASR) across Indic and Classical scripts eliminates cloud transcription costs, network tail latency, and server-side audio retention, yet neural exports face four systems bottlenecks in browsers and mobile runtimes: (1) monolithic per-language Conformer checkpoints require ~177 MiB per script (> 2.1 GiB across 12 scripts), exhausting CacheStorage quotas; (2) static relative positional encoding tables embed 10.2-20.5 MB of FP32 constants while 1x1 Conv1d layers trigger slow or unsupported ConvInteger kernels in WebAssembly SIMD; (3) sliding-window CTC flickers on boundary tokens; and (4) mobile WebAudio pipelines suffer 44.1/48 kHz sample-rate mismatches and silent AudioWorklet stalls under iOS WKWebView.
We present Swanada, an open-source 16 kHz streaming ASR system spanning Classical Sanskrit, Indian English, and ten Indian languages (sa, en, hi, kn, mr, bn, ta, te, ml, gu, pa, or) across browser WebAssembly, this http URL, and Python. Swanada pairs capability-routed shared INT8 Conformer encoders (a 17-layer 177.38 MiB Studio tier at $d = 512$ for desktop/servers and a distilled 14-layer 25.35 MiB Mobile tier at $d = 256$ for phones) with twelve hot-swappable 515.0 KiB native-script linear CTC heads ($257 \times 512$), cutting 12-language storage by $11.6\times$ (183.4 MiB) and $67.8\times$ (31.39 MiB; 25.85 MiB first load). Runtime protobuf tail surgery exposes the shared representation in $< 2$ ms, while dynamic positional synthesis, MatMul pointwise convolutions, and post-quantization QInt8 head calibration preserve sub-30 MB accuracy. Across $N = 480$ held-out and $N = 1,280$ open public test clips (FLEURS, LibriSpeech, GLOBE, AMI, wild Sanskrit), Swanada achieves 5.43% held-out and 8.87% 12-language open CER on Studio (18.56% and 19.23% on Mobile) at $0.0097\times$-$0.0264\times$ RTF, with 30.6 ms median TTFT and 0.00% committed-prefix churn.
| Comments: | 7 pages, 2 figures, 3 tables. Open-source browser, NodeJS, and Python implementation with interactive demo at this https URL and this https URL |
| Subjects: | Sound (cs.SD); Artificial Intelligence (cs.AI) |
| ACM classes: | I.2.7; H.5.5; D.3.4 |
| Cite as: | arXiv:2611.13814 [cs.SD] |
| (or arXiv:2611.13814v1 [cs.SD] for this version) | |
| https://doi.org/10.48550/arXiv.2611.13814 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Hemanth Hegadehallli Madhavarao [view email]
[v1]
Tue, 10 Nov 2026 09:43:36 UTC (133 KB)
来源:arXiv cs.AI · arxiv.org