ANIRA: An Architecture for Neural Network Inference in Real-Time Audio Applications

被引:1
|
作者
Ackva, Valentin [1 ]
Schulz, Fares [1 ]
机构
[1] Tech Univ Berlin, Audio Commun Grp, Berlin, Germany
来源
2024 IEEE 5TH INTERNATIONAL SYMPOSIUM ON THE INTERNET OF SOUNDS, IS2 2024 | 2024年
关键词
neural network; real-time audio; inference engine; audio effects; deep learning; digital signal processing;
D O I
10.1109/IS262782.2024.10704099
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Numerous tools for neural network inference are currently available, yet many do not meet the requirements of real-time audio applications. In response, we introduce anira, an efficient cross-platform library. To ensure compatibility with a broad range of neural network architectures and frameworks, anira supports ONNX Runtime, LibTorch, and TensorFlow Lite as backends. Each inference engine exhibits real-time violations, which anira mitigates by decoupling the inference from the audio callback to a static thread pool. The library incorporates builtin latency management and extensive benchmarking capabilities, both crucial to ensure a continuous signal flow. Three different neural network architectures for audio effect emulation are then subjected to benchmarking across various configurations. Statistical modeling is employed to identify the influence of various factors on performance. The findings indicate that for stateless models, ONNX Runtime exhibits the lowest runtimes. For stateful models, LibTorch demonstrates the fastest performance. Our results also indicate that for certain model-engine combinations, the initial inferences take longer, particularly when these inferences exhibit a higher incidence of real-time violations.
引用
收藏
页码:193 / 202
页数:10
相关论文
共 50 条
  • [21] Robust and Real-Time Visual Tracking with Triplet Convolutional Neural Network
    Kim, Jung Uk
    Kim, Hak Gu
    Ro, Yong Man
    PROCEEDINGS OF THE THEMATIC WORKSHOPS OF ACM MULTIMEDIA 2017 (THEMATIC WORKSHOPS'17), 2017, : 280 - 286
  • [22] Design of real-time rhythm tracking system based on neural network
    Sun, Yuanyuan
    Jin, Cong
    Zhao, Wei
    Wang, Nansu
    2018 5TH INTERNATIONAL CONFERENCE ON SYSTEMS AND INFORMATICS (ICSAI), 2018, : 356 - 360
  • [23] A real-time and accurate convolutional neural network for fabric defect detection
    Xueshen Li
    Yong Zhu
    Complex & Intelligent Systems, 2024, 10 : 3371 - 3387
  • [24] A real-time and accurate convolutional neural network for fabric defect detection
    Li, Xueshen
    Zhu, Yong
    COMPLEX & INTELLIGENT SYSTEMS, 2024, 10 (03) : 3371 - 3387
  • [25] Neural-network-based observer for real-time tipover estimation
    Meghdari, A
    Naderi, D
    Alam, MR
    MECHATRONICS, 2005, 15 (08) : 989 - 1004
  • [26] Real-time plasma horizontal displacement estimator based on the neural network
    Tang, Chouyao
    Zheng, Wei
    Xu, Xin
    Zhong, Yu
    Wu, Qiqi
    Zhang, Ming
    Rao, Bo
    Zhang, Xiaoqing
    Zhao, Qing
    Xu, Jiayu
    Wang, Nengchao
    Pan, Yuan
    FUSION ENGINEERING AND DESIGN, 2022, 182
  • [27] Efficient Real-Time Object Detection based on Convolutional Neural Network
    Abd Shehab, Mohanad
    Al-Gizi, Ammar
    Swadi, Salah M.
    2021 INTERNATIONAL CONFERENCE ON APPLIED AND THEORETICAL ELECTRICITY (ICATE), 2021,
  • [28] Detecting and Tracking Female Breasts Using Neural Network in Real-Time
    Eman, Mohammadi. N.
    Cabatuan, Melvin. K.
    Dadios, Elmer P.
    Lim, Laurence A. Gan
    2013 IEEE INTERNATIONAL CONFERENCE OF IEEE REGION 10 (TENCON), 2013,
  • [29] Age Estimation of Real-Time Faces Using Convolutional Neural Network
    Agbo-Ajala, Olatunbosun
    Viriri, Serestina
    COMPUTATIONAL COLLECTIVE INTELLIGENCE, PT I, 2019, 11683 : 316 - 327
  • [30] Real-Time Detection for Wheat Head Applying Deep Neural Network
    Gong, Bo
    Ergu, Daji
    Cai, Ying
    Ma, Bo
    SENSORS, 2021, 21 (01) : 1 - 13