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 条
  • [41] Neural network based real-time heart sound monitor using a wireless wearable wrist sensor
    Shi, W. Y.
    Chiao, J. -C.
    ANALOG INTEGRATED CIRCUITS AND SIGNAL PROCESSING, 2018, 94 (03) : 383 - 393
  • [42] Neural network based real-time heart sound monitor using a wireless wearable wrist sensor
    W. Y. Shi
    J.-C. Chiao
    Analog Integrated Circuits and Signal Processing, 2018, 94 : 383 - 393
  • [43] Neural Network Based Real-time Heart Sound Monitor Using a Wireless Wearable Wrist Sensor
    Shi, W. Y.
    Chiao, J. -C.
    2016 IEEE DALLAS CIRCUITS AND SYSTEMS CONFERENCE (DCAS), 2016,
  • [44] FastPET: Near Real-Time Reconstruction of PET Histo-Image Data Using a Neural Network
    Whiteley, William
    Panin, Vladimir
    Zhou, Chuanyu
    Cabello, Jorge
    Bharkhada, Deepak
    Gregor, Jens
    IEEE TRANSACTIONS ON RADIATION AND PLASMA MEDICAL SCIENCES, 2021, 5 (01) : 65 - 77
  • [45] Neural Supersampling for Real-time Rendering
    Xiao, Lei
    Nouri, Salah
    Chapman, Matt
    Fix, Alexander
    Lanman, Douglas
    Kaplanyan, Anton
    ACM TRANSACTIONS ON GRAPHICS, 2020, 39 (04):
  • [46] Closed Loop Dynamic Fuzzy Neural Network For Real-Time Lifetime Forecasting
    Li, Wenwang
    Zheng, Gaofeng
    Zheng, Jianyi
    RESEARCH IN MATERIALS AND MANUFACTURING TECHNOLOGIES, PTS 1-3, 2014, 835-836 : 1074 - +
  • [47] Research on Real-time Monitoring for Milling Cutter Wear Based on Neural Network
    Huang Zhigang
    PROCEEDINGS OF THE 14TH YOUTH CONFERENCE ON COMMUNICATION, 2009, : 189 - 191
  • [48] Real-time positioning error compensation for a turning machine using neural network
    Vinod, Prakash
    Reddy, Narendra T.
    Sajin, S.
    Kumar, Shashi P., V
    Narendranath, S.
    INTERNATIONAL CONFERENCE ON ADVANCES IN MANUFACTURING AND MATERIALS ENGINEERING (ICAMME 2014), 2014, 5 : 2293 - 2300
  • [49] A Deep Neural Network Technique for Detecting Real-Time Drifted Twitter Spam
    Abdelwahab, Amira
    Mostafa, Mohamed
    APPLIED SCIENCES-BASEL, 2022, 12 (13):
  • [50] REAL-TIME IMPLEMENTATION OF PROPAGATOR BEARING ESTIMATION ALGORITHM BY USE OF A NEURAL NETWORK
    LUO, FL
    BAO, Z
    ZHAO, XP
    IEEE JOURNAL OF OCEANIC ENGINEERING, 1992, 17 (04) : 320 - 325