Skip to content
프로젝트

소개

복잡한 추론 작업을 위해 특별히 설계된 텍스트 및 오디오 주석 샘플 6,446개로 구성된 Audio Logical Reasoning(ALR) 데이터셋을 소개합니다. 이를 바탕으로 오디오 언어 모델(ALM)에 두 모달리티에 걸친 심층적인 추론 능력을 부여하도록 설계된 규칙 기반 강화 학습(RL) 알고리즘 SoundMind를 제안합니다.

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
0

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

SoundMind: RL-Incentivized Logic Reasoning for Audio-Language Models [EMNLP 2025 Main Conference (Oral)]

License: MIT arXiv Hugging Face Spaces Dropbox

This repository is the official implementation of SoundMind: RL-Incentivized Logic Reasoning for Audio-Language Models (EMNLP 2025). We introduce SoundMind-RL, a novel rule-based reinforcement learning framework that empowers large-scale audio-language models with advanced logical reasoning capabilities across both audio and textual modalities. To enable such training, we build the SoundMind dataset, an Audio Logical Reasoning (ALR) benchmark comprising 6,446 high-quality samples annotated with chain-of-thought reasoning in both audio and text forms.

Task Figure

Dataset Download

To download our dataset, please visit this link: Hugging Face.

Alternatively, you can also download it from Dropbox.

Run the following command:

wget -c "https://www.dropbox.com/scl/fi/irtbrnmk5e0ecvv8fyrum/audio_dataset.zip?rlkey=p1ebkt9h1bkyjsq3fo2bp667v&st=gxr542e2&dl=1" -O audio_dataset.zip

The dataset contains train, test, and validation splits with corresponding text descriptions and metadata stored as JSON files. All annotation files are located in the dataset-annotation-json folder in this GitHub.

Requirements

Recommended Hardware

8× NVIDIA H800 80GB or 8× NVIDIA H100 80GB GPUs.

Codebase and Compatibility

Our codebase is based on verl. If you are already familiar with verl, you should be able to quickly get started with this repository.

Environment Setup (Recommended: Anaconda)

  • Python: Version >= 3.9
  • CUDA: Version >= 12.1

For training and inference engines to utilize better and faster hardware support, CUDA/cuDNN and other dependencies are required, and some of the dependencies are easy to be overridden when installing other packages.

We need to install the following prerequisites:

  • CUDA: Version >= 12.4
  • cuDNN: Version >= 9.8.0
# change directory to anywhere you like, in verl source code directory is not recommended
wget https://developer.download.nvidia.com/compute/cudnn/9.8.0/local_installers/cudnn-local-repo-ubuntu2204-9.8.0_1.0-1_amd64.deb
dpkg -i cudnn-local-repo-ubuntu2204-9.8.0_1.0-1_amd64.deb
cp /var/cudnn-local-repo-ubuntu2204-9.8.0/cudnn-*-keyring.gpg /usr/share/keyrings/
apt-get update
apt-get -y install cudnn-cuda-12

Create and activate a new conda environment:

conda create -n alr python==3.10
conda activate alr

Install verl:

bash scripts/install_vllm_sglang_mcore.sh
pip install --no-deps -e .

Please make sure that the installed packages are not overridden during the installation of other packages.

The packages worth checking are:

  • torch and torch series
  • vLLM
  • SGLang
  • pyarrow
  • tensordict

For Qwen2.5-Omni, we need to update some additional library versions.

pip install transformers==4.52.3
pip install accelerate
pip install qwen-omni-utils[decord] -U

Preprocessing Data

Our project and code rely on Audio Logical Reasoning (ALR) dataset.

Generate Parquet Format Dataset

  • Option 1: Two modal inputs are used
cd ./examples/data_preprocess
python alr.py
  • Option 2: Only texts are used
cd ./examples/data_preprocess
python alr_text.py
  • Option 3: Only audio is used
cd ./examples/data_preprocess
python alr_audio.py

Checkpoint Download

To download our model checkpoint, please visit this link: Checkpoint Link

Run the following command:

wget -c "https://www.dropbox.com/scl/fi/f24wyecnycfu6g6ip10ac/qwen2_5_omni_logic.zip?rlkey=xlixctyr8cbfpv85arhka0b8c&st=wd5rlh9b&dl=1" -O qwen2_5_omni_logic.zip

RL-Training & Evaluation

If you don't want to use the pre-trained model we provided, you can use the official version. You can change the model path implementation in download_qwen25omni.py and main_grpo.sh.

Run the following command:

python download_qwen25omni.py
bash main_grpo.sh

✏️ Citation

If you think this project is helpful, please feel free to leave a star⭐️ and cite our paper:

@article{diao2025soundmind,
  title={SoundMind: RL-Incentivized Logic Reasoning for Audio-Language Models},
  author={Diao, Xingjian and Zhang, Chunhui and Kong, Keyi and Wu, Weiyi and Ma, Chiyu and Ouyang, Zhongyu and Qing, Peijun and Vosoughi, Soroush and Gui, Jiang},
  journal={arXiv preprint arXiv:2506.12935},
  year={2025}
}

관련 프로젝트 살펴보기

불러오는 중…