TL;DR
GigaEdge Spench is an open-source, cross-platform SDK designed for real-time speech enhancement on everything from high-end servers to mobile devices and web browsers. By combining neural denoising with a modular digital signal processing (DSP) pipeline, it provides a practical framework for deploying high-quality audio enhancement that balances computational cost with perceptual clarity.
What Problem Does This Paper Address?
While the research community has produced numerous high-performing neural speech enhancement models, bridging the gap between a "research script" and a "production system" remains a significant hurdle. Real-world applications like videoconferencing require more than just a model; they need a system that handles streaming audio chunks, manages internal states across multiple concurrent streams, performs sample-rate conversion, and integrates with platform-specific audio APIs.
Furthermore, these systems must operate under tight "computational budgets." On a typical user device, audio processing must share CPU cycles with demanding video codecs without causing audio dropouts or excessive battery drain. GigaEdge Spench addresses these deployment challenges by providing a unified C++ core that supports various runtimes (ONNX Runtime, TensorFlow Lite) and platforms (Android, iOS, WebAssembly).
Methods
The core of GigaEdge Spench is the Enhancement Channel, a configurable pipeline that allows developers to mix and match different processing stages.
Key technical features include:
- Model/Context Separation: Unlike some implementations where each stream requires a separate model instance, Spench allows multiple independent stream contexts to share a single model instance and inference session. This significantly reduces memory overhead on servers.
- Temporal Frame Grouping: The SDK can process several consecutive audio frames in a single inference call. This "chunking" improves throughput by reducing the fixed overhead of calling the neural network backend.
- Hybrid Modeling: The release includes a "Hybrid" 48 kHz model that combines a discriminative enhancer (based on a modified FullSubNet) with a generative component trained via a GAN procedure. This approach aims to restore speech details that pure discriminative models might suppress as noise.
- Modular DSP: Beyond neural denoising, the SDK includes traditional blocks like Automatic Gain Control (AGC), dynamic range compression, noise gates, and acoustic echo cancellation (AEC) via SpeexDSP.
Datasets
The authors evaluated their pre-trained models using EARS–WHAM v2, an external benchmark containing 886 matched noisy/clean file pairs. This served as an "out-of-distribution" test, as the models were trained on separate internal datasets that did not include EARS recordings.
Key Insights and Ideas
- Throughput vs. Latency: One of the paper's most practical findings is that larger processing chunks (e.g., 128ms vs 16ms) significantly increase total throughput. While larger chunks introduce more "collection latency," they allow the CPU to work more efficiently.
- The "Hybrid" Advantage: The authors found that their Hybrid model didn't just improve noise suppression; it specifically boosted scores related to speech signal quality and discontinuity. This suggests that the generative component helps "heal" the speech signal rather than just cleaning the background.
- Arithmetic Isn't Destiny: The paper highlights that simple MAC (multiply-accumulate) counts are insufficient to predict real-world performance. Factors like internal hop sizes, DSP overhead, and how the SDK handles data movement across the JavaScript/WebAssembly boundary (in browsers) play a massive role in actual capacity.
- WebAssembly is Production-Ready: Even though WebAssembly execution was 1.8x to 3.3x slower than native C++, all tested configurations still ran significantly faster than real-time, proving that high-quality neural enhancement is viable in modern browsers.
Key Results
The authors compared Spench against established baselines like RNNoise and DPDFNet2.
- Real-Time Performance: All native and Web configurations processed audio faster than real-time. In native execution with 16ms chunks, the SDK used only 0.65% to 9.89% of the audio duration for processing.
- Capacity: On an Intel Core Ultra 5 laptop, the 8 kHz INT8 model supported nearly 600 concurrent streams. The 48 kHz Hybrid model supported 56 streams, which was 3.73x more than the DPDFNet2 reference while maintaining competitive quality scores.
- Quality: The 48 kHz Hybrid model showed a clear advantage over the Discriminative-only version, raising DNSMOS P.808 scores by 0.26 and NISQA MOS by 0.51.
Limitations and Future Work
While the SDK is robust, the authors acknowledge several areas for further exploration:
- Subjective Validation: The study relies heavily on objective MOS predictors (DNSMOS, SIGMOS, NISQA). While these are industry standards, they don't always perfectly capture human listener preferences.
- Training Ecosystem: The current release focuses on the deployment SDK and pre-trained models; the specific tools for training, quantization, and model conversion are not yet part of the open-source release.
- Hardware Diversity: Performance was measured on a single modern laptop environment (WSL2/Ubuntu). Future work is needed to characterize performance across a broader range of low-end mobile chipsets and different browser engines.
Summary updated