TLDR: This research paper explores optimizing voice-to-voice (V-2-V) communication for real-time AI agents, focusing on reducing latency while maintaining voice quality. The authors identify the Text-to-Speech (TTS) component, specifically Residual Vector Quantization (RVQ) iterations in the CSM-1B model, as the main bottleneck. They demonstrate that reducing RVQ iterations significantly lowers processing time and improves responsiveness, especially on GPU, though it can slightly decrease audio quality. The study also uses OpenAI’s Whisper for ASR and GPT-4o-mini for LLM, and suggests future optimizations like CUDA Kernels for RVQ.
In the rapidly evolving landscape of artificial intelligence, conversational agents are becoming increasingly sophisticated, moving beyond text-based interactions to embrace real-time voice communication. A recent research paper, “i-LAVA: Insights on Low Latency Voice-2-Voice Architecture for Agents,” delves into the critical challenge of achieving low-latency, end-to-end voice-to-voice (V-2-V) communication for these AI agents. Authored by Aditya Choudhary and Anupam Purwar, this work explores how to optimize V-2-V systems for real-time applications, ensuring high-quality interactions while significantly reducing processing delays.
The core of any V-2-V system involves several key components: Automatic Speech Recognition (ASR), which converts spoken words into text; Text-to-Speech (TTS), which transforms text back into natural-sounding voice; and dialog management, which handles the flow of conversation. The researchers identified the TTS component as the primary bottleneck in achieving real-time performance, particularly when aiming for life-like voice generation complete with natural pauses and emotional nuances.
The experimented V-2-V architecture leverages the CSM-1b model, a sophisticated system capable of understanding both the tone and context of a conversation by analyzing previous audio and text exchanges. This contextual awareness allows the agent to generate more accurate and human-like speech. A significant part of the optimization effort focused on the Residual Vector Quantization (RVQ) iterations within the TTS decoder. While crucial for voice quality, these iterations are sequential and can add considerable latency.
Also Read:
- Boosting Speech Generation Efficiency with Frame-Stacked Local Transformers
- Rethinking LLM Performance: Why System-Optimal Trumps Compute-Optimal in Test-Time Scaling
Optimizing for Speed and Quality
The research explored various strategies to reduce the processing time. One key approach involved decreasing the number of RVQ iterations, which directly impacts the speed of voice generation. This reduction, however, comes with a trade-off: a potential decrease in the quality of the generated voice. To mitigate this, the team also experimented with optimizing the code to run more efficiently on hardware, specifically by generating Kernels via JIT Compilation using torch.compile for the model’s backbone and decoder.
The end-to-end pipeline designed by the researchers integrates OpenAI’s whisperv3-large-turbo model for fast audio transcription and gpt-4o-mini as the intermediate Large Language Model (LLM) for balanced intelligence and low latency. The TTS component, powered by CSM-1B, utilizes RVQ to efficiently encode audio data. The system was evaluated on both CPU (Apple M4 Max) and GPU (NVIDIA L4) environments, demonstrating significant speedups on GPU.
Key findings revealed that reducing RVQ iterations dramatically improved compute times and the latency to generate the first audio chunk, making the system more responsive. For instance, the GPU environment achieved a Real Time Factor (RTF) of less than 1 (meaning it processes audio faster than real-time) even without reducing RVQ iterations for one-shot generation, and even lower with reductions. The CPU environment, however, required a reduction to 16 RVQ iterations to achieve a usable RTF below 1. While audio quality, measured by Signal to Noise Ratio (SNR), generally decreased with fewer RVQ iterations, the impact might be acceptable for certain applications like telephone-based customer support where speech quality expectations are different.
The study also highlighted that LLM response generation time remains a significant bottleneck for truly real-time conversations, indicating areas for future research. The authors suggest further optimization of the RVQ process by generating CUDA Kernels for native GPU execution and exploring more efficient models to replace the current Llama backbone and decoder in CSM-1B. This ongoing work promises to bring us closer to seamless, human-like voice interactions with AI agents.
For more in-depth technical details, you can read the full research paper here: i-LAVA: Insights on Low Latency Voice-2-Voice Architecture for Agents.


