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 条
  • [1] Real-Time Inference of Neural Networks on FPGAs for Motor Control Applications
    Schindler, Tobias
    Dietz, Armin
    2020 10TH INTERNATIONAL ELECTRIC DRIVES PRODUCTION CONFERENCE (EDPC), 2020, : 318 - 323
  • [2] Real-Time Audio Multicasting on Bluetooth Network
    Pinkumphi, Sayam
    Phonphoem, Anan
    ECTI-CON: 2009 6TH INTERNATIONAL CONFERENCE ON ELECTRICAL ENGINEERING/ELECTRONICS, COMPUTER, TELECOMMUNICATIONS AND INFORMATION TECHNOLOGY, VOLS 1 AND 2, 2009, : 958 - 961
  • [3] An efficient fire detection system based on deep neural network for real-time applications
    Gupta, Hitesh
    Nihalani, Neelu
    SIGNAL IMAGE AND VIDEO PROCESSING, 2024, 18 (8-9) : 6251 - 6264
  • [4] A novel deep neural network architecture for real-time water demand forecasting
    Salloom, Tony
    Kaynak, Okyay
    He, Wei
    JOURNAL OF HYDROLOGY, 2021, 599
  • [5] A NEURAL NETWORK-BASED HOWLING DETECTION METHOD FOR REAL-TIME COMMUNICATION APPLICATIONS
    Chen, Zhipeng
    Hao, Yiya
    Chen, Yaobin
    Chen, Gong
    Ruan, Liang
    2022 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2022, : 206 - 210
  • [6] A neural network approach for the real-time detection of faults
    Yahya Chetouani
    Stochastic Environmental Research and Risk Assessment, 2008, 22 : 339 - 349
  • [7] A neural network approach for the real-time detection of faults
    Chetouani, Yahya
    STOCHASTIC ENVIRONMENTAL RESEARCH AND RISK ASSESSMENT, 2008, 22 (03) : 339 - 349
  • [8] Real-time deblurring network for face AR applications
    Lee, Juhwan
    Lee, Jongha
    Yoo, Sangwook
    19TH INTERNATIONAL CONFERENCE ON CONTENT-BASED MULTIMEDIA INDEXING, CBMI 2022, 2022, : 91 - 96
  • [9] Enhanced Neural Architecture for Real-Time Deep Learning Wavefront Sensing
    Li, Jianyi
    Liu, Qingfeng
    Tan, Liying
    Ma, Jing
    Chen, Nanxing
    SENSORS, 2025, 25 (02)
  • [10] Real-time identification of the draft system using neural network
    Soon Yong Chun
    Han Jo Bae
    Seon Mi Kim
    Moon W. Suh
    P. Grady
    Won Seok Lyoo
    Won Sik Yoon
    Sung Soo Han
    Fibers and Polymers, 2006, 7 : 62 - 65