Papers › LEAF: A Learnable Frontend for Audio Classification

LEAF: A Learnable Frontend for Audio Classification

21 Jan 2021arXiv:2101.08596archive 2025-07-28

Neil Zeghidour, Olivier Teboul, Félix de Chaumont Quitry, Marco Tagliasacchi

Mel-filterbanks are fixed, engineered audio features which emulate human perception and have been used through the history of audio understanding up to today. However, their undeniable qualities are counterbalanced by the fundamental limitations of handmade representations. In this work we show that we can train a single learnable frontend that outperforms mel-filterbanks on a wide range of audio signals, including speech, music, audio events and animal sounds, providing a general-purpose learned frontend for audio classification. To do so, we introduce a new principled, lightweight, fully learnable architecture that can be used as a drop-in replacement of mel-filterbanks. Our system learns all operations of audio features extraction, from filtering to pooling, compression and normalization, and can be integrated into any neural network at a negligible parameter cost. We perform multi-task training on eight diverse audio classification tasks, and show consistent improvements of our model over mel-filterbanks and previous learnable alternatives. Moreover, our system outperforms the current state-of-the-art learnable frontend on Audioset, with orders of magnitude fewer parameters.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2101.08596")

Code

Syntology Ran 14 of 26 code samples harvested from 3 repositories linked to this paper; 12 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 5 ran · our draft was wrong; 2 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: community (archive-listed): 26 samples from 3 repositories, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

26 samples harvested; 14 ran; 1 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · violated contract
5ran · our draft was wrong
2ran · fixture could not drive it
4ran
12unverified

Licence: 2 of the 26 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

GaborConstraint SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) ran · metamorphic tier: invariant fingerprinted BSD-2-Clause (permissive) · 6e985a21ec9fa940 · report
GaborFilterbank cpjku/efficientleaf/model/leaf.py community (archive-listed) ran MIT (permissive) · a2fcbfa9f777c17f · report
PCEN cpjku/efficientleaf/model/leaf.py community (archive-listed) ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 3aaf38be4c3fb084 · report
SquaredModulus SarthakYadav/leaf-pytorch/leaf_pytorch/frontend.py community (archive-listed) ran fingerprinted no licence file found · pointer only · 889fadfc65f3beb7 · report
constant_init SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) ran · our draft was wrong BSD-2-Clause (permissive) · 9f0244a02ae7fba6 · report
gabor_filters SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) ran · fixture could not drive it fingerprinted BSD-2-Clause (permissive) · e04f1c11885e4803 · report
gabor_filters cpjku/efficientleaf/model/leaf.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 6a7777a3bb79d705 · report
gauss_windows cpjku/efficientleaf/model/leaf.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 660642538cf0749b · report
hz_to_leaf_param SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) ran · violated contract fingerprinted BSD-2-Clause (permissive) · cd18f02a2caf254f · report
leaf_truncated_init SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) ran · our draft was wrong BSD-2-Clause (permissive) · 0e0e40f60cb56b3c · report
leaf_uniform_init SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) ran · our draft was wrong BSD-2-Clause (permissive) · c1b960ad4b82d46e · report
mel_filter_params cpjku/efficientleaf/model/leaf.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · 787e3190e5d34e8e · report
simple_min_max_scale SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) ran · violated contract fingerprinted BSD-2-Clause (permissive) · c86acac67c0dd466 · report
squared_modulus_activation SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) ran · fixture could not drive it fingerprinted BSD-2-Clause (permissive) · 7089f92c384fd85f · report
ExponentialMovingAverage SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) unverified BSD-2-Clause (permissive) · b68e7781b9a3baa7 · report
GaborConv1D SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) unverified BSD-2-Clause (permissive) · edbd1816bc9a31c9 · report
GaborFilterHelper SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) unverified BSD-2-Clause (permissive) · 63085169c36eb6e3 · report
GaborInit SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) unverified BSD-2-Clause (permissive) · 5c70b74778f9633c · report
GaussianLowPassPooling SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) unverified BSD-2-Clause (permissive) · 869cfc21734ba1d4 · report
Leaf SarthakYadav/leaf-pytorch/leaf_pytorch/frontend.py community (archive-listed) unverified no licence file found · pointer only · 1e7e303c902bf303 · report
Leaf SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) unverified BSD-2-Clause (permissive) · d115cb81f2c624af · report
Leaf cpjku/efficientleaf/model/leaf.py community (archive-listed) unverified MIT (permissive) · 4507960a65ca7778 · report
PCENLayer SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) unverified BSD-2-Clause (permissive) · cf242b9bc664970f · report
gabor_impulse_response SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) unverified BSD-2-Clause (permissive) · a86dc35443b7ddfd · report
gabor_init SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) unverified BSD-2-Clause (permissive) · 5fc0b90b915410cb · report
gaussian_lowpass_kernel SarthakYadav/audax/audax/frontends/leaf.py community (archive-listed) unverified BSD-2-Clause (permissive) · 3201fcfbadfc8198 · report

Tasks

Audio ClassificationClassificationGeneral Classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections