mlsanityData to 14 Oct 2026

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

arXiv 2506.12665 ↗First posted 14 Jun 2025cs.SD cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

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 built-in 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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 11 of its 33 references that are in the map. First posted on arXiv 14 Jun 2025.

Builds on

11 of 33 references.

References · 11

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2016WaveNet: A Generative Model for Raw Audiocited by 1,722
  3. 2016CNN Architectures for Large-Scale Audio Classificationcited by 704
  4. 2020DDSP: Differentiable Digital Signal Processingcited by 178
  5. 2018Wave-U-Net: A Multi-Scale Neural Network for End-to-End Audio Source Separationcited by 125
  6. 2021RAVE: A variational autoencoder for fast and high-quality neural audio synthesiscited by 73
  7. 2022A Lightweight Instrument-Agnostic Model for Polyphonic Note Transcription and Multipitch Estimationcited by 28
  8. 2021Efficient neural networks for real-time modeling of analog dynamic range compressioncited by 15
  9. 2024Sample Rate Independent Recurrent Neural Networks for Audio Effects Processingcited by 7
  10. 2021RTNeural: Fast Neural Inferencing for Real-Time Systemscited by 2
  11. 2023Pipeline for recording datasets and running neural networks on the Bela embedded hardware platformcited by 1

Built on by

Not cited yet.