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 条
  • [31] Reliability Analysis of Real-Time Multitasking Software Based on Neural Network
    Chen, Xiang
    Hou, Wei
    Zhang, Yong
    ADVANCED RESEARCH ON COMPUTER EDUCATION, SIMULATION AND MODELING, PT I, 2011, 175 : 347 - +
  • [32] Application of Neural-Network for real-time underwater signal classification
    Tu, CK
    Huang, HC
    PROCEEDINGS OF THE 1998 INTERNATIONAL SYMPOSIUM ON UNDERWATER TECHNOLOGY, 1998, : 253 - 257
  • [33] Real-time Driving Pattern Prediction Based on KPCA and Neural Network
    Xie, Liang
    Tao, Jili
    2019 1ST INTERNATIONAL CONFERENCE ON INDUSTRIAL ARTIFICIAL INTELLIGENCE (IAI 2019), 2019,
  • [34] A Smart Deep Convolutional Neural Network for Real-Time Surface Inspection
    Passos, Adriano G.
    Cousseau, Tiago
    Luersen, Marco A.
    COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2022, 41 (02): : 583 - 593
  • [35] Deep learning technique based real-time audio event detection experiment in a distributed system architecture
    Mondal, Sujoy
    Das, Abhirup
    COMPUTERS & ELECTRICAL ENGINEERING, 2022, 102
  • [36] TASNET: TIME-DOMAIN AUDIO SEPARATION NETWORK FOR REAL-TIME, SINGLE-CHANNEL SPEECH SEPARATION
    Luo, Yi
    Mesgarani, Nima
    2018 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2018, : 696 - 700
  • [37] Real-time Pedestrian Lane Detection for Assistive Navigation using Neural Architecture Search
    Ang, Sui Paul
    Phung, Son Lam
    Bouzerdoum, Abdesselam
    Thi Nhat Anh Nguyen
    Soan Thi Minh Duong
    Schira, Mark Matthias
    2020 25TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2021, : 8392 - 8399
  • [38] Inpainting of Depth Images Using Deep Neural Networks for Real-Time Applications
    Fischer, Roland
    Rosskamp, Janis
    Hudcovic, Thomas
    Schlegel, Anton
    Zachmann, Gabriel
    ADVANCES IN VISUAL COMPUTING, ISVC 2023, PT II, 2023, 14362 : 121 - 135
  • [39] An Embedded Inference Framework for Convolutional Neural Network Applications
    Bi, Sheng
    Zhang, Yingjie
    Dong, Min
    Min, Huaqing
    IEEE ACCESS, 2019, 7 : 171084 - 171094
  • [40] Real-time tracking-by-detection Framework for Traffic Applications via Deep Learning based Convolutional Neural Network
    Madah-Ul-Mustafa
    Yu, Zhu Liang
    JOURNAL OF ELECTRICAL SYSTEMS, 2020, 16 (03) : 381 - 392