Papers › PANNs: Large-Scale Pretrained Audio Neural Networks for Audio Pattern Recognition

PANNs: Large-Scale Pretrained Audio Neural Networks for Audio Pattern Recognition

21 Dec 2019arXiv:1912.10211links table onlyarchive 2025-07-28

Qiuqiang Kong, Yin Cao, Turab Iqbal, Yuxuan Wang, Wenwu Wang, Mark D. Plumbley

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

Audio pattern recognition is an important research topic in the machine learning area, and includes several tasks such as audio tagging, acoustic scene classification, music classification, speech emotion classification and sound event detection. Recently, neural networks have been applied to tackle audio pattern recognition problems. However, previous systems are built on specific datasets with limited durations. Recently, in computer vision and natural language processing, systems pretrained on large-scale datasets have generalized well to several tasks. However, there is limited research on pretraining systems on large-scale datasets for audio pattern recognition. In this paper, we propose pretrained audio neural networks (PANNs) trained on the large-scale AudioSet dataset. These PANNs are transferred to other audio related tasks. We investigate the performance and computational complexity of PANNs modeled by a variety of convolutional neural networks. We propose an architecture called Wavegram-Logmel-CNN using both log-mel spectrogram and waveform as input feature. Our best PANN system achieves a state-of-the-art mean average precision (mAP) of 0.439 on AudioSet tagging, outperforming the best previous system of 0.392. We transfer PANNs to six audio pattern recognition tasks, and demonstrate state-of-the-art performance in several of those tasks. We have released the source code and pretrained models of PANNs: https://github.com/qiuqiangkong/audioset_tagging_cnn.

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="1912.10211")

Code

Syntology Ran 2 of 16 code samples harvested from 2 repositories linked to this paper; 14 have no recorded run. Of those that ran: 2 ran with no contract checked.

By repository: official repository: 7 samples from 1 repository, 2 ran; community (archive-listed): 9 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yinkalario/General-Purpose-Sound-Recognition-Demo officialmentioned in papermentioned on GitHubpytorchGPL-3.0 report
qiuqiangkong/audioset_tagging_cnn officialmentioned in paperpytorchMIT report
YuanGongND/psla mentioned on GitHubpytorch report
google-research/leaf-audio mentioned on GitHubtf report
gudgud96/frechet-audio-distance mentioned on GitHubpytorch report
nttcslab/composing-general-audio-repr mentioned on GitHubpytorchNOASSERTION report

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

16 samples harvested; 2 ran; 0 honoured the contract we drafted; 14 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.

2ran
14unverified

Licence: 0 of the 16 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 2 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.

do_mixup qiuqiangkong/audioset_tagging_cnn/pytorch/pytorch_utils.py official repository ran fingerprinted MIT (permissive) · b488d4a95f800c00 · report
move_data_to_device qiuqiangkong/audioset_tagging_cnn/pytorch/pytorch_utils.py official repository ran MIT (permissive) · 6e703419174005ee · report
clip_bce qiuqiangkong/audioset_tagging_cnn/pytorch/losses.py official repository unverified MIT (permissive) · d051ddaa6aa3a0ee · report
collate_fn qiuqiangkong/audioset_tagging_cnn/utils/data_generator.py official repository unverified MIT (permissive) · 3e405654b0944236 · report
forward qiuqiangkong/audioset_tagging_cnn/pytorch/pytorch_utils.py official repository unverified MIT (permissive) · 3a101004e6f0c3e0 · report
get_loss_func qiuqiangkong/audioset_tagging_cnn/pytorch/losses.py official repository unverified MIT (permissive) · a79c3eb46da2b363 · report
read_black_list qiuqiangkong/audioset_tagging_cnn/utils/data_generator.py official repository unverified MIT (permissive) · 175ae0516204fc91 · report
count_parameters sithu31296/audio-tagging/utils/utils.py community (archive-listed) unverified MIT (permissive) · 2376b34dc0f7c346 · report
get_loss sithu31296/audio-tagging/utils/losses.py community (archive-listed) unverified MIT (permissive) · a70ac1a79860cc57 · report
get_model_size sithu31296/audio-tagging/utils/utils.py community (archive-listed) unverified MIT (permissive) · 93c4d29ae02a17c2 · report
get_optimizer sithu31296/audio-tagging/utils/optimizers.py community (archive-listed) unverified MIT (permissive) · e7ec50eb80597850 · report
get_scheduler sithu31296/audio-tagging/utils/schedulers.py community (archive-listed) unverified MIT (permissive) · d966b9be6af68778 · report
interpolate sithu31296/audio-tagging/models/cnn14.py community (archive-listed) unverified MIT (permissive) · 5b197f92e336b6c7 · report
mixup_augment sithu31296/audio-tagging/datasets/transforms.py community (archive-listed) unverified MIT (permissive) · 4510c24e528ea1bf · report
pad_framewise sithu31296/audio-tagging/models/cnn14.py community (archive-listed) unverified MIT (permissive) · 91592112bbcf4758 · report
test_model_latency sithu31296/audio-tagging/utils/utils.py community (archive-listed) unverified MIT (permissive) · 9251df088bafc792 · report

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Audio Classification AudioSet PANNs-CNN14 (Single) AUC 0.973 #41 of 51 Archive leaderboard report
Audio Classification AudioSet PANNs-CNN14 (Single) Test mAP 0.431 #41 of 51 Archive leaderboard report
Audio Classification AudioSet PANNs-CNN14 (Single) d-prime 2.732 #41 of 51 Archive leaderboard report
Audio Tagging AudioSet CNN14 mean average precision 0.431 #11 of 11 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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