ryysayhi commited on
Commit
a55c68b
·
verified ·
1 Parent(s): ff91f24

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +117 -3
README.md CHANGED
@@ -1,3 +1,117 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 🎶 AudioGenie: A Training-Free Multi-Agent Framework for Diverse Multimodality-to-Multiaudio Generation
2
+
3
+ [![arXiv](https://img.shields.io/badge/arXiv-2505.22053-brightgreen.svg?style=flat-square)](https://arxiv.org/pdf/2505.22053)
4
+ [![githubio](https://img.shields.io/badge/GitHub.io-Project-blue?logo=Github&style=flat-square)](https://audiogenie.github.io/)
5
+ [![Hugging Face Dataset](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Dataset-blue)](https://huggingface.co/datasets/ryysayhi/MA-Bench)
6
+ [![github](https://img.shields.io/badge/GitHub-Code-blue?logo=Github&style=flat-square)](https://github.com/ryysayhi/AudioGenie)
7
+
8
+
9
+ **This is the official repository for "[AudioGenie: A Training-Free Multi-Agent Framework for Diverse Multimodality-to-Multiaudio Generation](https://arxiv.org/pdf/2505.22053)".**
10
+
11
+
12
+ ## ✨ Abstract
13
+
14
+ Multimodality-to-Multiaudio (MM2MA) generation faces significant challenges in synthesizing diverse and contextually aligned audio types (e.g., sound effects, speech, music, and songs) from multimodal inputs (e.g., video, text, images), owing to the scarcity of high-quality paired datasets and the lack of robust multi-task learning frameworks. Recently, multi-agent system shows great potential in tackling the above issues. However, directly applying it to MM2MA task presents three critical challenges: (1) inadequate fine-grained understanding of multimodal inputs (especially for video), (2) the inability of single models to handle diverse audio events, and (3) the absence of self-correction mechanisms for reliable outputs.
15
+ To this end, we propose AudioGenie, a novel training-free multi-agent system featuring a dual-layer architecture with a generation team and a supervisor team. For the generation team, a fine-grained task decomposition and an adaptive Mixture-of-Experts (MoE) collaborative entity are designed for detailed comprehensive multimodal understanding and dynamic model selection, and a trial-and-error iterative refinement module is designed for self-correction. The supervisor team ensures temporal-spatial consistency and verifies outputs through feedback loops. Moreover, we build MA-Bench, the first benchmark for MM2MA tasks, comprising 198 annotated videos with multi-type audios.
16
+ Experiments demonstrate that our AudioGenie achieves state-of-the-art (SOTA) or comparable performance across 9 metrics in 8 tasks. User study further validates the effectiveness of our method in terms of quality, accuracy, alignment, and aesthetic.
17
+
18
+
19
+ ## ✨ Method
20
+
21
+ <p align="center">
22
+ <img src="pic/generation.png" width="98%"/>
23
+ </p>
24
+
25
+ <p align="center"><strong>Overview of the AudioGenie Framework.</strong></p>
26
+
27
+
28
+ ## 🚀 News
29
+ - **2025-10**: MA-Bench has been released!
30
+ - **2025-07**: AudioGenie has been accepted by ACM MM 2025! We look forward to seeing you in Dublin, Ireland!
31
+
32
+
33
+
34
+ ## 🔮 MA-Bench
35
+
36
+ The dataset has been released on [Hugging Face](https://huggingface.co/datasets/ryysayhi/MA-Bench).
37
+
38
+ <p align="center">
39
+ <img src="pic/dataset.png" width="98%"/>
40
+ </p>
41
+
42
+ <p align="center"><strong>Statistics of video categories within our MA-Bench.</strong></p>
43
+
44
+
45
+ ## 🛠️ Environment Setup
46
+
47
+ - Create Anaconda Environment:
48
+
49
+ ```bash
50
+ git clone https://github.com/ryysayhi/AudioGenie.git
51
+ cd AudioGenie
52
+ conda create -n AudioGenie python=3.10
53
+ conda activate AudioGenie
54
+ pip install -r requirements.txt
55
+ ```
56
+ - Install ffmpeg:
57
+
58
+ ```bash
59
+ sudo apt-get install ffmpeg
60
+ ```
61
+
62
+
63
+ ## 📀 Establish Tool Library
64
+
65
+ - In the `/bin` folder, we provide four examples: [MMAudio](https://github.com/hkchengrex/MMAudio), [CosyVoice](https://github.com/FunAudioLLM/CosyVoice), [InspireMusic](https://github.com/FunAudioLLM/FunMusic), [DiffRhythm](https://github.com/ASLP-lab/DiffRhythm).
66
+ You can clone each project and install it following its own guide. Then set:
67
+
68
+ ```bash
69
+ export MMAUDIO_HOME=<PATH_TO_MMAUDIO>
70
+ export COSYVOICE_HOME=<PATH_TO_COSYVOICE>
71
+ export INSPIREMUSIC_HOME=<PATH_TO_INSPIREMUSIC>
72
+ export DIFFRHYTHM_HOME=<PATH_TO_DIFFRHYTHM>
73
+
74
+ export MMAUDIO_CONDA=mmaudio
75
+ export COSYVOICE_CONDA=cosyvoice
76
+ export INSPIREMUSIC_CONDA=inspiremusic
77
+ export DIFFRHYTHM_CONDA=diffrhythm
78
+ ```
79
+ - To extend the library, add your preferred speech / song / music / sound-effect models by defining a `ToolSpec` in `tools.py`, and add a matching `run_model.py` in `/bin`.
80
+
81
+
82
+ ## 🎯 Infer
83
+ We use Gemini as the MLLM in this repo. You can swap it for another MLLM (e.g., Qwen2.5-VL, which we used in the paper).
84
+ - Set your API key for Gemini in `run.py` (or export it as an env var):
85
+ ```bash
86
+ os.environ['GEMINI_API_KEY'] = 'Your_Gemini_Api_Key'
87
+ # or in shell:
88
+ # export GEMINI_API_KEY=Your_Gemini_Api_Key
89
+ ```
90
+
91
+ - Run the inference script:
92
+ ```bash
93
+ python AudioGenie/run.py \
94
+ --video <PATH_TO_VIDEO or omit> \
95
+ --image <PATH_TO_IMAGE or omit> \
96
+ --text "<YOUR_TEXT or omit>" \
97
+ --outdir <OUTPUT_DIR>
98
+ ```
99
+
100
+
101
+ ## 📭 Contact
102
+
103
+ If you have any comments or questions, feel free to contact me (yrong854@connect.hkust-gz.edu.cn).
104
+
105
+
106
+ ## 📚 Citation
107
+
108
+ If you find our work useful, please consider citing:
109
+
110
+ ```
111
+ @article{rong2025audiogenie,
112
+ title={AudioGenie: A Training-Free Multi-Agent Framework for Diverse Multimodality-to-Multiaudio Generation},
113
+ author={Rong, Yan and Wang, Jinting and Lei, Guangzhi and Yang, Shan and Liu, Li},
114
+ journal={arXiv preprint arXiv:2505.22053},
115
+ year={2025}
116
+ }
117
+ ```