TL;DR
CoFi-Agent introduces a hybrid edge-cloud architecture that bridges the "perception gap" in edge audio systems by combining a fast local perception pass with conditional cloud-guided refinement. By triggering on-device tools like automated speech recognition (ASR) and targeted re-listening only when uncertainty is detected, it nearly doubles the accuracy of a local 7B Audio-LLM on complex reasoning tasks. Crucially, raw audio never leaves the edge device, optimizing both computational efficiency and acoustic privacy.
What Problem Does This Paper Address?
Deploying Audio-Language Models (Audio-LLMs) on resource-constrained edge infrastructure (like smart-home hubs or security gateways) forces a difficult trade-off between computational efficiency and perception depth.
Standard edge deployments rely on a "single-pass" paradigm: the model processes the audio waveform once to generate a static answer. However, for complex queries requiring multi-step reasoning—such as deciphering overlapping speakers, identifying event ordering, or catching a faint, brief utterance—lightweight local models suffer from "passive perception." They generate generic summaries and miss critical, localized evidence.
Naively fixing this by constantly offloading raw audio to the cloud or running intensive tool pipelines introduces severe bottlenecks: high latency, massive bandwidth consumption, privacy risks, and even "tool noise" (e.g., an ASR tool hallucinating words during periods of near-silence).
Methods
The authors propose CoFi-Agent (Tool-Augmented Coarse-to-Fine Agent), a hybrid architecture that implements a "semantic cascade"—exiting early for easy queries and saving heavy compute for the difficult tail end of the data distribution.
The workflow operates in distinct stages:
- Stage 0: Edge Coarse Perception: Every audio query first runs through a compact, local 7B Audio-LLM (
Qwen2-Audio-7B-Instruct) on the edge device to generate an initial answer and a brief rationale. - Adaptive Confidence Gate: A cloud-side controller (
GPT-4o) evaluates the local model's response for ambiguity, hedging, or logical inconsistencies. If the local model is confident, it takes the Fast Path and exits early. If it is uncertain, it triggers the Investigate Path. - Stage 1: Cloud-Guided Refinement Planning: For uncertain cases, an on-device segment proposer breaks the audio into regions of interest (ROIs) using energy-based segmentation or sliding windows. The cloud controller reviews the metadata (timestamps only) and issues a targeted plan, selecting a specific ROI and a focused sub-query.
- Stage 2: On-Device Tool Execution: The edge device executes the cloud's plan locally using two main tools:
- Temporal Re-listening: Re-invoking the local Audio-LLM specifically on the chosen ROI.
- On-Device ASR: Running
Whisper-smalllocally to extract precise text transcripts from the audio. - Evidence Integration: The cloud reasoner receives only the compact, symbolic text evidence (transcripts and tool summaries) to render a final verdict. Raw audio remains safely isolated on-premise.
Datasets
The architecture was evaluated using the MMAR benchmark, a challenging dataset consisting of 1,000 samples designed to test deep reasoning across speech, audio, music, and sound mixtures. Each sample includes an audio clip, a natural-language question, and multiple-choice options.
Key Insights and Ideas
- Dynamic Inference Beats Static Budgets: Traditional edge optimization focuses on static compression (quantization, pruning). CoFi-Agent shifts the focus to dynamic inference, proving that a lightweight perceptual check can successfully filter out easy samples (38.2% in their experiments) before wasting heavy cloud or tool compute.
- Always-On Tools Can Degrade Performance: Indiscriminately running tools like ASR on every sample actually injects noise into straightforward audio clips (such as near-silence), which can corrupt the reasoning of downstream models. Conditional activation avoids this pitfall.
- Privacy via Data Minimization: By transmitting only symbolic text representations (transcripts) to the cloud rather than raw waveforms, the system inherently protects biometric markers like voiceprints. Furthermore, text-only formats allow for efficient on-device PII (Personally Identifiable Information) redaction before upload.
Key Results
Evaluated on the MMAR benchmark, CoFi-Agent demonstrated a substantial leap in performance:
- Accuracy Boost: It improved accuracy from 27.20% (the single-pass local baseline) to 53.60% (with Adaptive Gating + ASR).
- Superior Efficiency Trade-off: CoFi-Agent achieved higher accuracy and lower average latency (9.617 seconds) compared to an always-on investigation pipeline (51.70% accuracy at 11.058 seconds), as illustrated in the accuracy-efficiency trade-off curve.
- Routing Distribution: Under the adaptive confidence gate, 38.2% of queries were resolved via the Fast Path, while 61.8% escalated to the cloud. Among those escalated, many only required a single tool (27.4% re-listen only, 19.7% ASR only), validating the efficiency of the routing mechanism.
Limitations and Future Work
The authors highlighted three primary failure modes:
- Extreme Noise: In environments with a Signal-to-Noise Ratio (SNR) below 0 dB, local ASR tools like Whisper produce corrupted transcripts, misleading the cloud reasoner.
- Heuristic Limitations: The current segment proposer uses simple heuristics and can occasionally miss brief, decisive events in long audio clips (> 1 minute).
- Knowledge Mismatches: Queries requiring external real-world knowledge not present within the audio signal remain unresolvable by perception alone.
Future Directions: The team aims to replace the prompt-based confidence gate with a learnable gating mechanism, jointly train the segment proposer alongside the reasoning module, and adapt this coarse-to-fine architecture for bandwidth-constrained edge video applications.
Summary updated