Papers › BEATs: Audio Pre-Training with Acoustic Tokenizers

BEATs: Audio Pre-Training with Acoustic Tokenizers

18 Dec 2022arXiv:2212.09058archive 2025-07-28

Sanyuan Chen, Yu Wu, Chengyi Wang, Shujie Liu, Daniel Tompkins, Zhuo Chen, Furu Wei

The massive growth of self-supervised learning (SSL) has been witnessed in language, vision, speech, and audio domains over the past few years. While discrete label prediction is widely adopted for other modalities, the state-of-the-art audio SSL models still employ reconstruction loss for pre-training. Compared with reconstruction loss, semantic-rich discrete label prediction encourages the SSL model to abstract the high-level audio semantics and discard the redundant details as in human perception. However, a semantic-rich acoustic tokenizer for general audio pre-training is usually not straightforward to obtain, due to the continuous property of audio and unavailable phoneme sequences like speech. To tackle this challenge, we propose BEATs, an iterative audio pre-training framework to learn Bidirectional Encoder representation from Audio Transformers, where an acoustic tokenizer and an audio SSL model are optimized by iterations. In the first iteration, we use random projection as the acoustic tokenizer to train an audio SSL model in a mask and label prediction manner. Then, we train an acoustic tokenizer for the next iteration by distilling the semantic knowledge from the pre-trained or fine-tuned audio SSL model. The iteration is repeated with the hope of mutual promotion of the acoustic tokenizer and audio SSL model. The experimental results demonstrate our acoustic tokenizers can generate discrete labels with rich audio semantics and our audio SSL models achieve state-of-the-art results across various audio classification benchmarks, even outperforming previous models that use more training data and model parameters significantly. Specifically, we set a new state-of-the-art mAP 50.6% on AudioSet-2M for audio-only models without using any external data, and 98.1% accuracy on ESC-50. The code and pre-trained models are available at https://aka.ms/beats.

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

Code

Syntology Ran 3 of 18 code samples harvested from 1 repository linked to this paper; 15 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran · fixture could not drive it.

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

microsoft/unilm officialpytorch report
Yui010206/CREMA mentioned on GitHubpytorchBSD-3-Clause report
phuriches/genrepasd mentioned on GitHubpytorchMIT report
qingyuliu0521/icsd mentioned on GitHubpytorch 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

18 samples harvested; 3 ran; 0 honoured the contract we drafted; 15 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 · our draft was wrong
1ran · fixture could not drive it
15unverified

Licence: 0 of the 18 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 phuriches/genrepasd. “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.

gelu phuriches/genrepasd/beats/modules.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · f30ebf4e48b7e2d7 · report
l2norm phuriches/genrepasd/beats/quantizer.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · eca6cdf05972a95e · report
sample_vectors phuriches/genrepasd/beats/quantizer.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · ada1d74afbd92171 · report
calc_dist_matrix phuriches/genrepasd/run_genrep_dcase2020.py community (archive-listed) unverified MIT (permissive) · 3d14ae419c0d7642 · report
calc_dist_matrix phuriches/genrepasd/run_genrep_dcase2023.py community (archive-listed) unverified MIT (permissive) · 4ca327b55579e45c · report
csv_text_to_list phuriches/genrepasd/dcase2023_task2_evaluator/dcase2023_task2_evaluator.py community (archive-listed) unverified MIT (permissive) · a7f6845c12992bc0 · report
eval_score phuriches/genrepasd/run_genrep_dcase2020.py community (archive-listed) unverified MIT (permissive) · e0640949f9aea446 · report
gelu_accurate phuriches/genrepasd/beats/modules.py community (archive-listed) unverified MIT (permissive) · 4aa7333ffd7e18c6 · report
get_activation_fn phuriches/genrepasd/beats/modules.py community (archive-listed) unverified MIT (permissive) · 01233f4856456c5f · report
get_data_list phuriches/genrepasd/src/datasets/prepare_dcase2020.py community (archive-listed) unverified MIT (permissive) · 3054478e3ed187fa · report
get_data_list phuriches/genrepasd/src/datasets/prepare_dcase2023.py community (archive-listed) unverified MIT (permissive) · f87d24572787fc14 · report
get_filename_list phuriches/genrepasd/src/datasets/prepare_dcase2020.py community (archive-listed) unverified MIT (permissive) · 8a194b39e1e24723 · report
get_machines phuriches/genrepasd/dcase2023_task2_evaluator/dcase2023_task2_evaluator.py community (archive-listed) unverified MIT (permissive) · 8550a8f6ab58c11d · report
get_meta_list phuriches/genrepasd/src/datasets/prepare_dcase2020.py community (archive-listed) unverified MIT (permissive) · 81118c228b7322b3 · report
get_meta_list phuriches/genrepasd/src/datasets/prepare_dcase2023.py community (archive-listed) unverified MIT (permissive) · ed2f071daa13388b · report
get_section_ids phuriches/genrepasd/dcase2023_task2_evaluator/dcase2023_task2_evaluator.py community (archive-listed) unverified MIT (permissive) · 7ff1101f9d23c903 · report
kmeans phuriches/genrepasd/beats/quantizer.py community (archive-listed) unverified MIT (permissive) · b865ae3ee66b52d3 · report
trainDataPct phuriches/genrepasd/src/datasets/utils.py community (archive-listed) unverified MIT (permissive) · f975a9de7c08ff36 · report

Tasks

Audio ClassificationSelf-Supervised Learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Audio Classification AudioSet BEATs (Audio-only, Ensemble) Test mAP 0.506 #7 of 51 Archive leaderboard report
Audio Classification AudioSet BEATs (Audio-only, Single) Test mAP 0.486 #17 of 51 Archive leaderboard report
Audio Classification Balanced Audio Set BEATs Mean AP 38.9 #4 of 8 Archive leaderboard report
Audio Classification ESC-50 BEATs Accuracy (5-fold) 98.1 #5 of 29 Archive leaderboard report
Audio Classification ESC-50 BEATs PRE-TRAINING DATASET AudioSet #5 of 29 Archive leaderboard report
Audio Classification ESC-50 BEATs Top-1 Accuracy 98.1 #5 of 29 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.

Methods

AttentionDense ConnectionsLayer NormalizationLinear LayerMulti-Head AttentionResidual ConnectionSoftmaxVision Transformer

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