[Paper Review] Real-Time Sound Event Localization and Detection: Deployment Challenges on Edge Devices
This paper investigates real-time sound event localization and detection (SELD) on edge devices, revealing that feature extraction and low-latency inference significantly impact performance and efficiency. Using a Raspberry Pi 3, it demonstrates that MelGCC and SALSA-Mel features incur high computational overhead—up to 43.4% of real-time window duration—while SALSA-Lite enables faster inference with comparable performance, highlighting the need for optimized feature design in real-time SELD systems.
Sound event localization and detection (SELD) is critical for various real-world applications, including smart monitoring and Internet of Things (IoT) systems. Although deep neural networks (DNNs) represent the state-of-the-art approach for SELD, their significant computational complexity and model sizes present challenges for deployment on resource-constrained edge devices, especially under real-time conditions. Despite the growing need for real-time SELD, research in this area remains limited. In this paper, we investigate the unique challenges of deploying SELD systems for real-world, real-time applications by performing extensive experiments on a commercially available Raspberry Pi 3 edge device. Our findings reveal two critical, often overlooked considerations: the high computational cost of feature extraction and the performance degradation associated with low-latency, real-time inference. This paper provides valuable insights and considerations for future work toward developing more efficient and robust real-time SELD systems
Motivation & Objective
- To identify and analyze the key challenges in deploying real-time sound event localization and detection (SELD) systems on resource-constrained edge devices.
- To evaluate the trade-offs between computational cost, inference latency, and SELD performance in real-time scenarios.
- To investigate the impact of different input features and deep neural network architectures on real-time inference efficiency.
- To provide practical insights for designing efficient, low-latency SELD systems suitable for real-world IoT and wearable applications.
Proposed method
- Deployed multiple SELD models—including SELDNet and ResNet-18—on a Raspberry Pi 3 using ONNX for inference execution.
- Used a multi-threaded real-time inference pipeline with configurable audio recording window $T_r$, processing window $T_w$, and $n$ consecutive audio blocks.
- Measured processing latency over 1000 iterations with fixed $T_r = 1$ s, $n = 2$, and $T_w = 2$ s to evaluate system responsiveness.
- Analyzed computational complexity of feature extraction methods: Mel spectrograms ($O(MF)$), NIPD in SALSA-Lite ($O(MF)$), and GCC-PHAT ($O(M^2F)$).
- Compared feature sets including MelGCC, SALSA-Lite, and SALSA-Mel, assessing their impact on MAC operations, parameter count, and processing latency.
- Evaluated performance degradation under reduced $T_w$ and analyzed the trade-off between temporal context and latency.
Experimental results
Research questions
- RQ1What are the primary computational bottlenecks in real-time SELD inference on edge devices?
- RQ2How does reducing the input window duration ($T_w$) affect SELD performance and latency?
- RQ3To what extent does feature extraction contribute to overall processing latency in real-time SELD systems?
- RQ4Can computationally efficient features like SALSA-Lite maintain high SELD performance while reducing latency compared to more complex features?
- RQ5What trade-offs exist between model complexity, inference latency, and detection accuracy in real-time edge deployment?
Key findings
- Feature extraction accounted for up to 43.4% of the total $T_r = 1$ s window duration, making it a dominant computational bottleneck in real-time SELD.
- Reducing the input window $T_w$ from 4 to 2 seconds degraded SELD performance by nearly 10%, indicating a significant trade-off between latency and accuracy.
- Despite higher dimensionality, SALSA-Lite reduced processing latency significantly compared to MelGCC and SALSA-Mel due to lower algorithmic complexity.
- The computational cost of GCC-PHAT, which scales as $O(M^2F)$, was substantially higher than SALSA-Lite’s $O(MF)$, making it less suitable for real-time systems.
- More complex models like ResNet-18 could partially mitigate performance loss from shorter $T_w$ but at the cost of increased processing latency and MAC operations.
- The study confirms that post-processing latency is negligible and can be combined with inference latency, simplifying system analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.