EditGen: Harnessing Cross-Attention Control for Instruction-Based Auto-Regressive Audio Editing

Vassilis Sioros, Alexandros Potamianos, Giorgos Paraskevopoulos
7/15/2025
cs.SDcs.AIeess.AS

Official code: billsioros/EditGen (3 stars, Apache-2.0, last commit 2026-04-27).

Abstract

In this study, we investigate leveraging cross-attention control for efficient audio editing within auto-regressive models. Inspired by image editing methodologies, we develop a Prompt-to-Prompt-like approach that guides edits through cross and self-attention mechanisms. Integrating a diffusion-based strategy, influenced by Auffusion, we extend the model's functionality to support refinement edits, establishing a baseline for prompt-guided audio editing. Additionally, we introduce an alternative approach by incorporating MUSICGEN, a pre-trained frozen auto-regressive model, and propose three editing mechanisms, based on Replacement, Reweighting, and Refinement of the attention scores. We employ commonly-used music-specific evaluation metrics and a human study, to gauge time-varying controllability, adherence to global text cues, and overall audio realism. The automatic and human evaluations indicate that the proposed combination of prompt-to-prompt guidance with autoregressive generation models significantly outperforms the diffusion-based baseline in terms of melody, dynamics, and tempo of the generated audio. Our code is available at https://github.com/billsioros/EditGen

View on arXivView PDF

Code Implementations(1)

billsioros/EditGenOfficial100%
Apache-2.0

EditGen: Harnessing Cross Attention Control for Instruction-Based auto-regressive Audio Editing

30Python, Jupyter NotebookFeb 1, 20255 months agoApache-2.0
audio-editingmusic-generationprompt-to-prompt

Similar Papers

Cite this paper

@article{sioros2025editgen,
  title  = {EditGen: Harnessing Cross-Attention Control for Instruction-Based Auto-Regressive Audio Editing},
  author = {Vassilis Sioros and Alexandros Potamianos and Giorgos Paraskevopoulos},
  year   = {2025},
  eprint = {2507.11096},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.11096v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.11096.svg)](https://codeofpaper.com/paper/2507.11096)

Discussion