AudioJailbreak is a benchmark framework specifically designed for evaluating the security of Audio Language Models (Audio LLMs). This project tests model defenses against malicious requests through various audio perturbation techniques.
Note: This project aims to improve the security of audio language models. Researchers should use this tool responsibly.
AudioJailbreak provides a comprehensive evaluation framework for testing the robustness of audio language models against adversarial attacks. Our method incorporates carefully designed perturbations in audio inputs to test model security mechanisms. Key features include:
git clone https://github.com/PbRQianJiang/AudioJailbreak.git
cd AudioJailbreak
conda env create -f environment.yaml
conda activate Audiojailbreak
Link: https://huggingface.co/datasets/NEUQ-LIS-LAB/AudioJailbreak
Important Notice: This repository contains code only. All audio data and preprocessed/inference result JSONL files are hosted on Hugging Face.
Dataset includes:
audio/)convert/question)inference/response)eval/xx), where xx is model nametext/)(Github struct)
AudioJailbreak/
βββ audio/ # Audio processing tools (actual audio files on Hugging Face)
βββ convert/ # Data conversion & formatting (actual JSONL files on Hugging Face)
βββ eval/ # Evaluation scripts & metrics
βββ inference/ # Model inference & adversarial testing
βββ script/ # Speech conversion scripts
βββ experiment/ # Threshold experiment configurations
βββ text/ # Text processing utilities
Link: https://huggingface.co/datasets/NEUQ-LIS-LAB/AudioJailbreak
# Generate adversarial samples with Bayesian optimization
python infer/xx.py # Replace xx with model name
# Generate adversarial samples with Bayesian optimization
python infer/APT_BO_diva.py
# Single model evaluation
python eval_utils/eval.py
# Batch evaluation
bash eval_utils/auto.sh
# Generate evaluation report
python eval/all_average.py
Our benchmark uses multiple metrics to assess model security:
If you use AudioJailbreak in your research, please cite our paper:
This project is licensed under Apache License 2.0.
Note: This project aims to improve the security of audio language models. Researchers must use this tool responsibly.
22 commits
AudioJailbreak is a benchmark framework specifically designed for evaluating the security of Audio Language Models (Audio LLMs). This project tests model defenses against malicious requests through various audio perturbation techniques.
Note: This project aims to improve the security of audio language models. Researchers should use this tool responsibly.
AudioJailbreak provides a comprehensive evaluation framework for testing the robustness of audio language models against adversarial attacks. Our method incorporates carefully designed perturbations in audio inputs to test model security mechanisms. Key features include:
git clone https://github.com/PbRQianJiang/AudioJailbreak.git
cd AudioJailbreak
conda env create -f environment.yaml
conda activate Audiojailbreak
Link: https://huggingface.co/datasets/NEUQ-LIS-LAB/AudioJailbreak
Important Notice: This repository contains code only. All audio data and preprocessed/inference result JSONL files are hosted on Hugging Face.
Dataset includes:
audio/)convert/question)inference/response)eval/xx), where xx is model nametext/)(Github struct)
AudioJailbreak/
βββ audio/ # Audio processing tools (actual audio files on Hugging Face)
βββ convert/ # Data conversion & formatting (actual JSONL files on Hugging Face)
βββ eval/ # Evaluation scripts & metrics
βββ inference/ # Model inference & adversarial testing
βββ script/ # Speech conversion scripts
βββ experiment/ # Threshold experiment configurations
βββ text/ # Text processing utilities
Link: https://huggingface.co/datasets/NEUQ-LIS-LAB/AudioJailbreak
# Generate adversarial samples with Bayesian optimization
python infer/xx.py # Replace xx with model name
# Generate adversarial samples with Bayesian optimization
python infer/APT_BO_diva.py
# Single model evaluation
python eval_utils/eval.py
# Batch evaluation
bash eval_utils/auto.sh
# Generate evaluation report
python eval/all_average.py
Our benchmark uses multiple metrics to assess model security:
If you use AudioJailbreak in your research, please cite our paper:
This project is licensed under Apache License 2.0.
Note: This project aims to improve the security of audio language models. Researchers must use this tool responsibly.
22 commits