Abstract
Real-time speech services are highly sensitive to network packet loss, which often leads to significant audio degradation. Traditional solutions like Forward Error Correction (FEC) and Packet Loss Concealment (PLC) struggle to maintain semantic consistency during extended loss bursts or introduce excessive overhead. This paper presents Glaris, an error-resilient semantic communication framework. Glaris utilizes a generative latent space to perform semantic coding, reusing compression side-information as in-band protection. This approach achieves the robustness of joint source-channel coding (JSCC) while maintaining compatibility with standard digital network protocols. Experimental results demonstrate that Glaris significantly outperforms industry standards like Opus and state-of-the-art neural codecs in high-loss scenarios.
Introduction
The proliferation of real-time speech services, including 5G telephony and cloud-based conferencing, demands high reliability over unpredictable networks. Packet loss typically results in robotic or discontinuous audio. Existing methods generally fall into two categories: standard codecs (e.g., Opus) using traditional FEC/PLC, which may fail to preserve speech meaning during long outages; and semantic communication systems based on JSCC, which, while robust, often lack compatibility with existing network layers. Glaris bridges this gap by integrating generative latent priors into a transform coding framework, providing a "plug-and-play" solution with extreme resilience.
Methodology
Glaris employs a two-stage architecture designed for both high compression efficiency and error resilience.
Generative Latent Representation
The first stage utilizes a Vector Quantized-Variational Autoencoder (VQ-VAE) to map raw audio into a compact latent space. Instead of transmitting raw waveform samples, the system transmits "tokens" representing high-level semantic features. This ensures that even during partial data loss, the underlying structure of the speech remains accessible. The system is trained using a three-stage progressive pipeline, where the model is intentionally exposed to simulated packet loss to learn graceful recovery.
Error-Resilient Transform Coding and Side-Information Reuse
The second stage operates on these latent tokens. A critical innovation in Glaris is the reuse of the hyperprior—typically used in entropy models to describe data distribution—as a form of in-band FEC. This side-information provides a high-level summary of the speech frame. If the primary data packet is lost, the decoder uses this hyperprior to "hallucinate" the missing content with high semantic accuracy, a process referred to as side-information-based PLC.
By working in a latent space rather than the acoustic waveform space, Glaris focuses on maintaining the correct phonemes and word-level coherence. During inference, if side information is also lost, the model employs learned mask tokens to represent uncertainty, preventing error propagation from destabilizing the remaining sequence.
Experimental Results
The framework was evaluated using the LibriSpeech dataset for training and the Microsoft PLC Challenge 2022 traces for realistic packet loss simulation. Performance was also tested against COST2100 fading channel models to simulate 5G wireless environments.
Quality and Resilience
Glaris consistently outperformed industry standards. In scenarios with 30% packet loss, Glaris maintained significantly higher Perceptual Evaluation of Speech Quality (PESQ) scores compared to Opus and SoundStream. While traditional methods often result in audible "holes" or significant blurring, Glaris preserves the fine harmonic structures of the original speech.
Efficiency and Real-Time Performance
Beyond quality, Glaris addresses the practical limitations of semantic communication. While many JSCC models require specialized hardware or high bandwidth, Glaris achieves its resilience using only one-fourth of the bandwidth of comparable systems. Its computational efficiency allows for real-time processing on standard mobile CPUs, ensuring it can be integrated into existing 5G and VoIP applications without significant hardware upgrades.
Conclusion
Glaris represents a significant advancement in resilient speech communication. By combining generative AI with traditional transform coding principles, it offers a robust, semantically-consistent solution for high-loss network environments. Future work will explore extending this framework to multi-lingual support and multi-modal communication, as well as optimizing network scheduling for resilient packets.
Summary updated