TL;DR
This paper presents a rigorous, external comparison of three leading voice AI architectures—Pipecat, LiveKit, and OpenAI’s GPT-Live—within the high-stakes context of Spanish freight negotiations. The researchers found that while GPT-Live offers superior accuracy for numerical data and better handling of conversational nuances like backchannels, the "transport tax" of cloud processing and the latency of tool calls remain the primary bottlenecks for all systems.
What Problem Does This Paper Address?
Building a voice agent that can negotiate—specifically freight rates in Spanish—requires more than just a smart LLM. The agent must be fast enough to avoid "uncomfortable silence," accurate enough to handle specific monetary amounts, and socially intelligent enough to distinguish between a "backchannel" (like someone saying "uh-huh" while you speak) and a true interruption or agreement.
Most existing benchmarks rely on "self-reported" latency from the frameworks themselves, which often ignores the time audio spends traveling over the network. Furthermore, standard metrics like Word Error Rate (WER) often mask critical failures, such as mishearing a price, which can be catastrophic in a negotiation. This paper introduces an external, validated measurement harness to provide a "listener’s-side" view of performance.
Methods
The authors compared three architectures:
- Pipecat (Cascade): Orchestrates Deepgram (STT), GPT-4.1-mini (LLM), and ElevenLabs (TTS).
- LiveKit Agents (Cascade): Uses the same underlying providers as Pipecat but a different orchestration framework.
- GPT-Live (Native): OpenAI’s end-to-end speech-to-speech model (gpt-live-1) that bypasses separate STT/TTS stages.
To ensure a fair fight, the researchers built a measurement harness that played 47 pre-recorded lines of a human speaker (Mexican Spanish) across five negotiation scenarios (e.g., "Moderate Haggler," "Recognition Stress Test"). Latency was measured externally—from the moment the "caller" finished speaking to the moment the agent's audio was actually heard—rather than relying on internal logs.
Datasets
The study utilized a custom-built stimulus set:
- Audio Stimulus: 47 recorded lines in Mexican Spanish, processed to simulate telephone quality (8 kHz, $\mu$-law encoding, background noise).
- Scenarios: Five distinct negotiation scripts of eight turns each, designed to test specific technical hurdles like self-corrections ("Seventeen... no, eighteen") and aggressive bargaining.
- Validation Set: A simulated agent with a known, fixed delay was used to validate the accuracy of the measurement harness itself.
Key Insights and Ideas
- The "Transport Tax": Frameworks are optimistic. Pipecat and LiveKit underreported their own latency by 9% and 22%, respectively. Most of the wait time isn't processing; it's the audio's round trip through the cloud.
- WER is a Liar: While all models had low overall Word Error Rates, the "Error on Amounts" was the real differentiator. The cascades misheard prices ~13% of the time, whereas GPT-Live’s native speech processing dropped that error to 2.86%.
- The "Ok" Trap: In default configurations, cascades often treated a backchannel "ok" (intended to show the caller is listening) as a final agreement. This led to "ghost deals" where the agent registered a contract the human hadn't actually accepted.
- Tool Calls are the Real Bottleneck: Regardless of the architecture, calling a function (like checking a database for a price) added roughly 1 second of latency—more than the difference between any of the frameworks themselves.
Key Results
- Median Latency: GPT-Live was the fastest at 2,444.8 ms, followed by Pipecat at 2,616.0 ms, and LiveKit at 3,090.0 ms. However, the gap between GPT-Live and Pipecat was statistically narrow.
- Numerical Accuracy: GPT-Live significantly outperformed the cascades in understanding money, correctly identifying a corrected amount (e.g., changing 18,000 to 18,500) in 7 of 7 cases, while Pipecat often stuck with the first number it heard.
- Turn-Taking: GPT-Live felt more "fluid" because it often started responding with a filler (like "mm") while still processing a tool call, whereas cascades typically waited in silence until the full response was ready.
Limitations and Future Work
The study acknowledges several limitations: it used a single recorded speaker rather than a diverse population, and the tests were conducted over a stable internet connection rather than a real, lossy telephone network.
Future Work includes:
- Testing with multiple voices, accents, and varying noise levels.
- Implementing "safeguards" for cascades, such as requiring the agent to repeat an amount for confirmation before calling a price tool.
- Exploring faster LLMs for tool execution to reduce the 1-second "tool call penalty."
Summary updated