Papers › VampNet: Music Generation via Masked Acoustic Token Modeling

VampNet: Music Generation via Masked Acoustic Token Modeling

10 Jul 2023arXiv:2307.04686archive 2025-07-28

Hugo Flores Garcia, Prem Seetharaman, Rithesh Kumar, Bryan Pardo

We introduce VampNet, a masked acoustic token modeling approach to music synthesis, compression, inpainting, and variation. We use a variable masking schedule during training which allows us to sample coherent music from the model by applying a variety of masking approaches (called prompts) during inference. VampNet is non-autoregressive, leveraging a bidirectional transformer architecture that attends to all tokens in a forward pass. With just 36 sampling passes, VampNet can generate coherent high-fidelity musical waveforms. We show that by prompting VampNet in various ways, we can apply it to tasks like music compression, inpainting, outpainting, continuation, and looping with variation (vamping). Appropriately prompted, VampNet is capable of maintaining style, genre, instrumentation, and other high-level aspects of the music. This flexible prompting capability makes VampNet a powerful music co-creation tool. Code and audio samples are available online.

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

Code

Syntology Ran 13 of 16 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · fixture could not drive it; 12 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hugofloresgarcia/vampnet officialmentioned in paperpytorchMIT 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; 13 ran; 0 honoured the contract we drafted; 3 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 · fixture could not drive it
12ran
3unverified

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 hugofloresgarcia/vampnet. “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.

apply_mask hugofloresgarcia/vampnet/vampnet/mask.py official repository ran MIT (permissive) · 7c70f983bb9174e5 · report
codebook_flatten hugofloresgarcia/vampnet/vampnet/util.py official repository ran fingerprinted MIT (permissive) · 6e733e2a7236425e · report
empty_mask hugofloresgarcia/vampnet/vampnet/mask.py official repository ran MIT (permissive) · 68f9cadae338bfc7 · report
empty_mask hugofloresgarcia/vampnet/vampnet/newmask.py official repository ran MIT (permissive) · 63736890909701b0 · report
full_mask hugofloresgarcia/vampnet/vampnet/mask.py official repository ran MIT (permissive) · 46c5a316df2a5de0 · report
full_mask hugofloresgarcia/vampnet/vampnet/newmask.py official repository ran MIT (permissive) · 54cd9fe8295768a8 · report
get_activation hugofloresgarcia/vampnet/vampnet/modules/activations.py official repository ran MIT (permissive) · e265b3209a0c853d · report
gumbel_noise_like hugofloresgarcia/vampnet/vampnet/modules/transformer.py official repository ran fingerprinted MIT (permissive) · 1ebbad268c6bb8f4 · report
gumbel_sample hugofloresgarcia/vampnet/vampnet/modules/transformer.py official repository ran MIT (permissive) · 1a3c2fe46aeb41b8 · report
num_params hugofloresgarcia/vampnet/vampnet/modules/layers.py official repository ran MIT (permissive) · 48689cd65df839d6 · report
sample_from_logits hugofloresgarcia/vampnet/vampnet/modules/transformer.py official repository ran MIT (permissive) · 25f0a1537ac7bc61 · report
scalar_to_batch_tensor hugofloresgarcia/vampnet/vampnet/util.py official repository ran MIT (permissive) · 590bc0634533f773 · report
snake hugofloresgarcia/vampnet/vampnet/modules/layers.py official repository ran · fixture could not drive it MIT (permissive) · f247e4748f379a76 · report
looper_process_block hugofloresgarcia/vampnet/token_telephone/tt.py official repository unverified MIT (permissive) · cf675ebed67c112d · report
mkdir hugofloresgarcia/vampnet/vampnet/beats.py official repository unverified MIT (permissive) · 843cfb3ab9041539 · report
parallelize hugofloresgarcia/vampnet/vampnet/util.py official repository unverified MIT (permissive) · e1ca978c93c552a0 · report

Tasks

Music CompressionMusic Generation

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