Search arXiv⌕ Search

arXiv · 2610.24622

Fluxion: A Differentiable DSP Runtime from Training GPU to Real-Time Edge

Abstract

Native real-time audio engines meet audio deadlines but are hard to connect to machine-learning workflows, while tensor frameworks integrate with machine learning but process audio as offline batches without timing guarantees; runtime layers built on them inherit the host's scheduling and deployment footprint. This paper presents Fluxion, a Rust audio DSP runtime for cascaded second-order sections, FIR filters, and delay-line effects. Fluxion implements the parts that are specific to DSP: closed-form filter design, forward kernels, analytic adjoints for the recursion, and stability checks. It relies on existing libraries for the autodiff graph, GPU code generation (tested here on CUDA), and array interchange. One graph algebra is lowered to a differentiable training engine and to an allocation-free real-time engine; between them, a trained graph is checked for stability and frozen into a versioned artifact that an edge device checks again before playback. We compare Fluxion with six framework-hosted and native baselines under one float32 protocol. Among the systems that compute the exact recursion, Fluxion has the highest GPU throughput when data stays on the device and the highest throughput on most CPU workloads, while its CPU training step is slower than those of torchaudio and GRAFX. Its test suite checks the audio thread for allocations with an instrumented allocator, and we report measured latency tails. Fluxion is open source at \url{https://github.com/matteospanio/fluxion}.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Matteo Spanio, Antonio Rodà. 2026-10-17. Fluxion: A Differentiable DSP Runtime from Training GPU to Real-Time Edge. https://arxiv.org/abs/2610.24622

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Beyond the Flat-Spike: Adaptive Sparse CCA for Decaying and Unbalanced Signals

Sparse Canonical Correlation Analysis (SCCA) is a fundamental statistical tool for identifying linear relationships in high-dimensional, multi-view data. While minimax theory establishes an optimal sample complexity scaling additively with the sparsity levels of the canonical vectors, computationally efficient algorithms typically suffer from a suboptimal multiplicative dependence. This computational-statistical gap is intrinsically tied to worst-case ``flat'' signal assumptions. In practice, however, multi-view signals frequently exhibit structured energy concentration, such as a power-law decay. To exploit this structural concentration and bypass the worst-case bottleneck, we propose Bilateral Spectral Energy Pursuit (Bi-SEP). Operating directly on the cross-covariance matrix, Bi-SEP is a stagewise adaptive algorithm that utilizes a proxy refinement step to dynamically track and capture cross-view signal energy. Theoretically, we establish a profile-adaptive sample complexity bound governed by the coupled energy profiles of the two views. Notably, under power-law decay models, we reveal a synergistic phase transition: the optimal linear sample complexity is attainable provided that the aggregate decay rate of the two views is sufficiently large. This result demonstrates that a highly concentrated signal in one view allows the model to accommodate a completely flat signal in its partner. Numerical experiments validate our theoretical findings, illustrating the advantages of Bi-SEP in structured, non-flat signal regimes.

eess.SP↗

On the Detection Optimality and Exact BER Analysis of NOMA

Non-orthogonal multiple access (NOMA) detection using successive interference cancellation (SIC) and joint multiuser maximum likelihood (JML) has been extensively studied, although their presumed optimality for individual-user bit error rate (BER) minimization is unestablished. Moreover, existing BER analyses overlook the SIC-induced statistical changes. This letter derives optimal per-user maximum a posteriori (MAP) detectors, identifies when the near-user detector reduces to conventional SIC, and proves the equivalence of conventional SIC and JML. An exact average BER analysis accounting for SIC-induced statistical changes is presented. The results show that the proposed detector achieves modest but consistent BER gains at low-to-moderate signal-to-noise ratio (SNR).

eess.SP↗

Holographic Beamforming for Range-Doppler Sidelobe Suppression in OFDM-ISAC

This paper investigates range--Doppler (RD) sidelobe suppression in an integrated sensing and communications system with a reconfigurable holographic surface (RHS). We jointly design the digital feed precoders and RHS amplitudes to minimize the expected integrated RD sidelobe level over random communication symbols, subject to target-illumination and communication constraints. We then develop an alternating successive convex approximation method that updates the feed and RHS variables through convex quadratic subproblems. Numerical results show that the proposed design consistently reduces normalized RD sidelobe levels across different apertures and configurations, and improves sensing weak-target detectability.

eess.SP↗