KLANN
A compact black-box audio effect model that pairs small neural networks with differentiable biquad filters.
Audio and speech · 215 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Audio and speech
- Parameters
- 291
- Operations
- 215
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2024, IEEE Signal Processing Letters
- Cited by
- 3 (as of 27 October 2026)
- Authors
- Ville Huhtala, Lauri Juvela, Sebastian J. Schlecht
- Source
- GitHub: ville14/KLANN
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m17657
- Graph hash
- a4dcca1b5e059007d4f06687b15ccb539134e797a624d8ab3caa4844577e58cf
- Skeleton hash
- cf73d587d7377be0b953dffab4fc3c81c479ddaa5c830977421a02b08443fddd
- Architecture hash
- fe0a4e5b2436f7ccd16d9a69031e7dfa27dc0e5a0f5dabfc369f84ef299d5de1
- Diagram SHA-256
- c9d2474b965410dcd590713a07f6ac1bdafc96a14834427a3d6cd4b0cda720d3
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
KLANN, the Koopman-Linearised Audio Neural Network, is a structure for black-box modeling of audio effects. Convolutional and recurrent models can already model effects with long-term dynamics, but the paper notes that they require many parameters, which increases the processing time.
The model has three parts: a memoryless neural network that lifts the audio into a high-dimensional space, a set of differentiable biquad filters that model the approximately linearized dynamics, and a second memoryless network that maps the result back to audio. The nonlinear mappings are gated linear unit multilayer perceptrons (GLU MLP). The paper builds two networks on this structure. Of these, the parallel KLANN has only biquad filters in the lifted state space, making it fully linear. Because the biquad filters are the only part with memory, the paper describes both networks as interpretable.
All models in the paper are trained on three audio effects: a digital compressor, an analog compressor and a digital fuzz pedal. The authors report that their models use significantly fewer parameters than the deep neural network models they compare against while still producing perceptually convincing results. The small configuration has hidden layer sizes 3, 4 and 5 for the first GLU MLP and 5 biquad filters. Conditioning the network on variable control positions remains future work.
Key idea. KLANN lifts mono audio into a high-dimensional, approximately linear state space with a nonlinear mapping, then predicts within it using differentiable biquad filters.
- klann
- koopman-linearised audio neural network
- koopman network
- audio effect modeling
- black-box modeling
- differentiable biquad filters
- virtual analog
- compressor modeling
- fuzz pedal
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Huhtala_2024, title={KLANN: Linearising Long-Term Dynamics in Nonlinear Audio Effects Using Koopman Networks}, volume={31}, ISSN={1558-2361}, url={http://dx.doi.org/10.1109/LSP.2024.3389465}, DOI={10.1109/lsp.2024.3389465}, journal={IEEE Signal Processing Letters}, publisher={Institute of Electrical and Electronics Engineers (IEEE)}, author={Huhtala, Ville and Juvela, Lauri and Schlecht, Sebastian J.}, year={2024}, pages={1169–1173} }