用大模型拆解复杂指令,让音频生成更精准
Audio-Agent: Leveraging LLMs For Audio Generation, Editing and Composition
- 用GPT-4拆解文本为原子指令,调用扩散模型逐步生成音频
- 支持多事件、变长、变音量音频,对复杂描述响应更准确
- 无需训练时间戳检测器,轻量微调LLM实现视频配乐
我们提出Audio-Agent,一个基于文本或视频输入的音频生成、编辑与创作的多模态框架。传统文本到音频(TTA)方法通常单次推理,面对复杂文本条件时难以生成高质量音频。本文方法利用预训练的TTA扩散网络作为音频生成代理,与GPT-4协同工作:由GPT-4将文本条件分解为具体、原子化的指令,并调用代理生成音频。该机制可生成与复杂多事件文本或视频高度对齐的高质量音频,支持变长和变音量输出。对于视频到音频(VTA)任务,现有方法需训练时间戳检测器以同步视频事件与音频,过程繁琐。我们提出更简单方案:微调预训练大语言模型(如Gemma2-2B-it),使其同时输出语义与时间信息,桥接视频与音频模态。整体框架在不增加显著训练开销的前提下,实现了对TTA与VTA任务的完整覆盖。
原文摘要 · Abstract (English)
We introduce Audio-Agent, a multimodal framework for audio generation, editing and composition based on text or video inputs. Conventional approaches for text-to-audio (TTA) tasks often make single-pass inferences from text descriptions. While straightforward, this design struggles to produce high-quality audio when given complex text conditions. In our method, we utilize a pre-trained TTA diffusion network as the audio generation agent to work in tandem with GPT-4, which decomposes the text condition into atomic, specific instructions and calls the agent for audio generation. In doing so, Audio-Agent can generate high-quality audio that is closely aligned with the provided text or video exhibiting complex and multiple events, while supporting variable-length and variable-volume generation. For video-to-audio (VTA) tasks, most existing methods require training a timestamp detector to synchronize video events with the generated audio, a process that can be tedious and time-consuming. Instead, we propose a simpler approach by fine-tuning a pre-trained Large Language Model (LLM), e.g., Gemma2-2B-it, to obtain both semantic and temporal conditions that bridge the video and audio modality. Consequently, our framework contributes a comprehensive solution for both TTA and VTA tasks without substantial computational overhead in training.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。