NTUVictor's picture
Update dataset card for the TASLP publication
a8869b6 verified
|
Raw History Blame Contribute Delete
15.3 kB
---
license: mit
language:
- en
pretty_name: CodecFake+
task_categories:
- audio-classification
size_categories:
- 1M<n<10M
tags:
- audio
- speech
- deepfake-detection
- audio-deepfake-detection
- anti-spoofing
- neural-audio-codec
- codecfake
---
# CodecFake+: Codec-Based Resynthesized Data as a Proxy for Detecting CodecFake Speech
[![Paper](https://img.shields.io/badge/IEEE%20TASLP-2026-00629B.svg)](https://doi.org/10.1109/TASLPRO.2026.3692291)
[![arXiv](https://img.shields.io/badge/arXiv-2501.08238-b31b1b.svg)](https://arxiv.org/abs/2501.08238)
[![Audio Demo](https://img.shields.io/badge/Audio-Demo-2563eb.svg)](https://responsiblegenai.github.io/CodecFake-Plus-Dataset/)
[![GitHub](https://img.shields.io/badge/GitHub-Repository-181717.svg?logo=github)](https://github.com/ResponsibleGenAI/CodecFake-Plus-Dataset)
🎧 **[Listen to audio samples in our Audio Demo](https://responsiblegenai.github.io/CodecFake-Plus-Dataset/)**
**CodecFake+** is a large-scale dataset for detecting deepfake speech produced by codec-based speech generation (CoSG) systems. Most CoSG systems are not publicly available, so CodecFake+ uses codec re-synthesized speech (CoRS) from 31 open-source neural audio codecs as proxy training data, and evaluates detectors on audio collected from 17 CoSG systems. Codecs and CoSG systems are categorized by a three-part taxonomy: vector quantizer, auxiliary objective, and decoder type.
![Three CodecFake detection scenarios, each with a training stage and a testing stage: a traditional TTS/VC dataset, the previous CodecFake dataset, and the CodecFake+ dataset.](assets/codecfake_overview.png)
*CodecFake detection scenarios. (a) Traditional dataset: trained on conventional TTS/VC data, the model struggles with CodecFake detection. (b) Previous CodecFake dataset: a small-scale codec re-synthesis dataset for detecting EnCodec-based CodecFake. (c) CodecFake+: a large-scale dataset enables better CodecFake detection and supports multi-level analysis.*
## How the Papers Relate
CodecFake+ is one part of our research line on codec-based deepfake speech. This table shows where it fits: the Dataset & Detection papers cover how CodecFake speech is detected and how well detectors generalize, and the Source Tracing papers use CodecFake+ to trace how a fake was generated, from defining the tasks to advancing the methods.
**Dataset & Detection**
| Paper | Position | Contribution | Builds on |
|---|---|---|---|
| [Proxy-to-Wild](https://arxiv.org/abs/2606.07494) (ISCSLP 2026)<br>πŸ† Outstanding Paper | In-the-wild generalization | Domain-Shift Feature Augmentation; CoSG ExtEval | Extends CoSG Eval: 40 unseen models, long-form audio |
| **[CodecFake+](https://doi.org/10.1109/TASLPRO.2026.3692291) (TASLP 2026)**<br>[[arXiv]](https://arxiv.org/abs/2501.08238) | Large-scale benchmark | **This dataset:** CoRS, CoSG Eval, and the codec taxonomy | Extends CodecFake: 6 β†’ 21 codec types, 3 β†’ 17 CoSG systems, adds taxonomy |
| [CodecFake](https://doi.org/10.21437/Interspeech.2024-2093) (INTERSPEECH 2024) | Proof of concept | 6 codec types (15 codec models), 3 CoSG systems | β€” |
**Source Tracing**
| Paper | Position | Contribution | Builds on |
|---|---|---|---|
| [SASTNet](https://arxiv.org/abs/2506.07294) (ASRU 2025)<br>πŸ† Best Student Paper Nomination (Top 2.5%)<br>[[Code]](https://github.com/ResponsibleGenAI/CodecFake-Source-Tracing) [[Award]](https://xjchen.tech/docs/ASRU2025_BestStudentNom.pdf) | Advanced method | Semantic-Acoustic Source Tracing Network | Taxonomy-based source tracing tasks on CodecFake+ |
| [Taxonomy-based source tracing](https://arxiv.org/abs/2505.12994) (INTERSPEECH 2025)<br>[[ISCA]](https://www.isca-archive.org/interspeech_2025/chen25j_interspeech.html) [[Code]](https://github.com/ResponsibleGenAI/CodecFake-Source-Tracing) | Task definition | Source tracing tasks via the codec taxonomy | CodecFake+ dataset and taxonomy |
Source tracing [code](https://github.com/ResponsibleGenAI/CodecFake-Source-Tracing) and [model checkpoints](https://huggingface.co/CodecFake/CodecFake_Source_Tracing) are available separately.
## News
- **[2026.11]** πŸ† Our follow-up paper, [Mitigating Proxy-to-Wild Domain Gap in Deepfake Speech](https://arxiv.org/abs/2606.07494), received an **Outstanding Paper** award at ISCSLP 2026. It introduces the **CoSG ExtEval** evaluation set (coming soon).
- **[2026.05]** CodecFake+ was published in [*IEEE Transactions on Audio, Speech and Language Processing*](https://doi.org/10.1109/TASLPRO.2026.3692291). The earlier preprint title was "CodecFake+: A Large-Scale Neural Audio Codec-Based Deepfake Speech Dataset."
- **[2025.12]** πŸ† Our source tracing paper, [Towards Generalized Source Tracing for Codec-Based Deepfake Speech](https://arxiv.org/abs/2506.07294), received a **Best Student Paper Nomination (Top 2.5%)** at IEEE ASRU 2025. [[Award]](https://xjchen.tech/docs/ASRU2025_BestStudentNom.pdf)
- **[2025.10]** CoRS and CoSG dataset and corresponding label files have been uploaded.
- **[2025.09]** Released public audio samples of the CoRS subset.
## Dataset Overview
| Subset | Role | Bona fide | Spoof | Models | Paper | Status |
|---|---|---:|---:|---|---|---|
| **CoRS Train** | Train | 42,965 | 42,965 Γ— 31 | 31 codecs | [CodecFake+ (TASLP 2026)](https://doi.org/10.1109/TASLPRO.2026.3692291) | Available |
| **CoRS Validation** | Val | 735 | 735 Γ— 31 | 31 codecs | [CodecFake+ (TASLP 2026)](https://doi.org/10.1109/TASLPRO.2026.3692291) | Available |
| **CoRS Evaluation** | Eval | 755 | 755 Γ— 31 | 31 codecs | [CodecFake+ (TASLP 2026)](https://doi.org/10.1109/TASLPRO.2026.3692291) | Available |
| **CoSG Eval** | Eval | 866 | 931 | 17 CoSG systems | [CodecFake+ (TASLP 2026)](https://doi.org/10.1109/TASLPRO.2026.3692291) | Available |
| **CoSG ExtEval** | Ext. Eval | β€” | β€” | 40 CoSG systems | [Proxy-to-Wild (ISCSLP 2026)](https://arxiv.org/abs/2606.07494) | Coming soon |
- **CoRS:** VCTK speech from 110 speakers, re-synthesized by pre-trained neural audio codecs. The original VCTK speech is the bona fide class. Re-synthesized speech is a proxy for CoSG speech when training detectors.
- **CoSG Eval:** Audio collected from the official demo pages of CoSG systems, plus MaskGCT-E2, which is generated from the E2 TTS test set. Speaker prompts are the bona fide class and generated samples are the spoof class. The 17 systems cover 9 codec types.
- **CoSG ExtEval (coming soon):** An extended evaluation set with 40 unseen CoSG systems and long-form audio, introduced in [Proxy-to-Wild](https://arxiv.org/abs/2606.07494).
- All audio is 16 kHz.
## Download
| File | Size | Contents |
|---|---:|---|
| `Codecfake_plus_CoRS.part{0,1,2,3}` | about 100 GB in total | CoRS audio, split into four parts |
| `CodecFake_plus_CoSG.tar.xz` | about 244 MB | CoSG Eval audio |
| `CoRS_labels.txt` | about 62 MB | CoRS labels |
| `CoSG_labels.txt` | small | CoSG Eval labels |
### CoRS
Download all parts into the same directory:
```bash
wget -c https://huggingface.co/datasets/CodecFake/CodecFake_Plus_Dataset/resolve/main/Codecfake_plus_CoRS.part{0,1,2,3}
```
Then merge and extract:
```bash
# merge parts into a single archive
cat Codecfake_plus_CoRS.part* > Codecfake_plus_CoRS.tar.xz
# extract the full dataset
tar -xf Codecfake_plus_CoRS.tar.xz
```
(Optional) Remove the part files after extraction:
```bash
rm Codecfake_plus_CoRS.part*
```
### CoSG Eval
```bash
wget -c https://huggingface.co/datasets/CodecFake/CodecFake_Plus_Dataset/resolve/main/CodecFake_plus_CoSG.tar.xz
tar -xf CodecFake_plus_CoSG.tar.xz
```
### Label files
```bash
wget -c https://huggingface.co/datasets/CodecFake/CodecFake_Plus_Dataset/resolve/main/CoRS_labels.txt
wget -c https://huggingface.co/datasets/CodecFake/CodecFake_Plus_Dataset/resolve/main/CoSG_labels.txt
```
## Label Format
### `CoRS_labels.txt`
Each line contains 3 fields:
```
Speaker Filename Label
p225 p225_001.wav bonafide
p225 p225_001_DAC24.wav spoof
```
- Audio files are in `Codecfake_plus_CoRS/`.
- Bona fide files are named `<utterance>.wav`. Spoof files are named `<utterance>_<codec>.wav`.
- `Label` is `bonafide` or `spoof`.
The label file does not contain a split column. Use the speaker ID to assign the split:
| Split | Speakers |
|---|---|
| Validation | `p226`, `p229` |
| Evaluation | `p227`, `p228` |
| Train | All other speakers |
### `CoSG_labels.txt`
Each line contains 6 fields:
```
Model ClipID QUA AUX DEC Label
CLAMTTS CLAMTTS_1 Mvq None Freq Spoof
CLAMTTS CLAMTTS_24 Real Real Real bonafide
```
- Audio files are in `CoSG/`, named `<ClipID>.wav`.
- `Label` is `Spoof` or `bonafide`.
- Bona fide rows use `Real` in the `QUA`, `AUX`, and `DEC` fields.
### Taxonomy values
| Field | Value | Meaning |
|---|---|---|
| `QUA` (vector quantization) | `Mvq` | Multi-codebook vector quantization |
| | `Svq` | Single-codebook vector quantization |
| | `Scq` | Scalar quantization |
| `AUX` (auxiliary objective) | `Disent` | Disentanglement |
| | `Sem` | Semantic distillation |
| | `None` | No auxiliary objective |
| `DEC` (decoder type) | `Time` | Time-domain decoder |
| | `Freq` | Frequency-domain decoder |
### Known naming differences
The label files and audio archives are unchanged from their original release. Please note these differences when matching `CoRS_labels.txt` to audio files:
| Name in `CoRS_labels.txt` | Filename suffix in the archive |
|---|---|
| `xcodec_hubert_libirispeech` | `xcodec_hubert_librispeech` |
| `xocdec_hubert_general_audio` | `xcodec_hubert_general_audio` |
The CoRS archive also contains files with the suffixes `encodec_mel` and `maskgct`. They are not listed in `CoRS_labels.txt` and are not among the 31 codecs in the CoRS subset.
## Taxonomy of Models
<details>
<summary><b>31 neural audio codecs in CoRS</b></summary>
| Codec | Filename suffix | QUA | AUX | DEC |
|---|---|---|---|---|
| SpeechTokenizer | `SpeechTokenizer_hubert_avg` | Mvq | Sem | Time |
| DAC | `DAC24` | Mvq | None | Time |
| HiFi-Codec | `HiFi_Codec_16k_320d_large_universal` | Mvq | None | Time |
| EnCodec | `Encodec_6b24k` | Mvq | None | Time |
| EnCodec | `Encodec_24b24k` | Mvq | None | Time |
| SemantiCodec | `SemantiCodec_1.40kbps_16k` | Mvq | Sem | Freq |
| SemantiCodec | `SemantiCodec_0.70kbps_16k` | Mvq | Sem | Freq |
| SemantiCodec | `SemantiCodec_0.35kbps_16k` | Mvq | Sem | Freq |
| FunCodec | `FunCodec_en-libritts-16k-gr1nq32ds320` | Mvq | None | Freq |
| FunCodec | `FunCodec_zh_en-general-16k-nq32ds320` | Mvq | None | Time |
| FACodec | `FACodec_encodec-decoder-v2_16k` | Mvq | Disent | Time |
| LLM-Codec | `llm_codec` | Mvq | Sem | Time |
| WavTokenizer | `wavtokenizer_small_320_24k_4096` | Svq | None | Freq |
| WavTokenizer | `wavtokenizer_medium_320_24k_4096` | Svq | None | Freq |
| Language-Codec | `languagecodec` | Mvq | None | Freq |
| HILCodec | `hilcodec_speech` | Mvq | None | Time |
| Vocos | `vocos_encodec_6` | Mvq | None | Freq |
| Vocos | `vocos_encodec_12` | Mvq | None | Freq |
| SoCodec | `socodec_16384x4_120ms_16khz_chinese` | Mvq | Disent | Freq |
| SNAC | `snac_24khz` | Mvq | None | Time |
| SNAC | `snac_44khz` | Mvq | None | Time |
| X-Codec | `xcodec_hubert_librispeech` | Mvq | Sem | Time |
| X-Codec | `xcodec_hubert_general_audio` | Mvq | Sem | Time |
| AudioDec | `audiodec_24k_320d` | Mvq | None | Freq |
| BigCodec | `bigcodec` | Svq | None | Time |
| TiCodec | `ticodec_1g1r` | Svq | Disent | Time |
| TiCodec | `ticodec_1g2r` | Mvq | Disent | Time |
| TiCodec | `ticodec_1g4r` | Mvq | Disent | Time |
| Mimi | `mini` | Mvq | Sem | Time |
| Spectral Codecs | `spectralcodecs` | Scq | None | Freq |
| SQ-Codec | `sqcodec50dim9` | Scq | None | Time |
</details>
<details>
<summary><b>17 CoSG systems in CoSG Eval</b></summary>
| `Model` in labels | CoSG system | Codec | QUA | AUX | DEC | Bona fide | Spoof |
|---|---|---|---|---|---|---:|---:|
| `ELLAV` | ELLA-V | EnCodec | Mvq | None | Time | 8 | 8 |
| `VALLE` | VALL-E | EnCodec | Mvq | None | Time | 53 | 57 |
| `GPST` | GPST | EnCodec | Mvq | None | Time | 10 | 30 |
| `UNIAUDIO` | UniAudio | EnCodec | Mvq | None | Time | 11 | 11 |
| `TACOLM` | TacoLM | EnCodec | Mvq | None | Time | 8 | 8 |
| `SPEECHX` | SpeechX | EnCodec | Mvq | None | Time | 8 | 8 |
| `RALLE` | RALL-E | EnCodec | Mvq | None | Time | 5 | 5 |
| `VIOLA` | VioLA | EnCodec | Mvq | None | Time | 7 | 7 |
| `CLAMTTS` | CLaM-TTS | Mel-VAE | Mvq | None | Freq | 41 | 78 |
| `NS2` | NaturalSpeech 2 | SoundStream | Mvq | None | Time | 23 | 23 |
| `NS3` | NaturalSpeech 3 | FACodec | Mvq | Disent | Time | 32 | 32 |
| `USLM` | USLM | SpeechTokenizer | Mvq | Sem | Time | 5 | 5 |
| `SIMPLESPEECH1` | SimpleSpeech 1 | SQ-Codec | Scq | None | Time | 34 | 32 |
| `SIMPLESPEECH2` | SimpleSpeech 2 | SQ-Codec | Scq | None | Time | 31 | 31 |
| `TI1G1R` | VALL-E-T | TiCodec | Svq | Disent | Time | 6 | 6 |
| `SINGLECODEC` | VALL-E-S | Single-Codec | Svq | Disent | Freq | 8 | 14 |
| `MASKGCT` | MaskGCT-E2 | DAC-Vocos | Mvq | None | Freq | 576 | 576 |
</details>
## Citation
### Dataset
If you use CodecFake+ or CoSG ExtEval, please cite:
```bibtex
@article{chen2026codecfake+,
title = {{CodecFake+}: Codec-Based Resynthesized Data as a Proxy for Detecting {CodecFake} Speech},
author = {Chen, Xuanjun and Du, Jiawei and Wu, Haibin and Zhang, Lin and Lin, I-Ming and Chiu, I-Hsiang and Ren, Wenze and Tseng, Yuan and Tsao, Yu and Jang, Jyh-Shing Roger and Lee, Hung-yi},
journal = {IEEE Transactions on Audio, Speech and Language Processing},
volume = {34},
pages = {2929--2944},
year = {2026},
doi = {10.1109/TASLPRO.2026.3692291}
}
@inproceedings{chen2026mitigating,
title = {Mitigating Proxy-to-Wild Domain Gap in Deepfake Speech},
author = {Chen, Xuanjun and Wu, Yun-Shing and Lu, Wei-Chung and Lin, Claire and Wu, Haibin and Lee, Hung-yi and Jang, Jyh-Shing Roger},
booktitle = {Proceedings of the International Symposium on Chinese Spoken Language Processing (ISCSLP)},
year = {2026}
}
@inproceedings{wu24p_interspeech,
title = {{CodecFake: Enhancing Anti-Spoofing Models Against Deepfake Audios from Codec-Based Speech Synthesis Systems}},
author = {Haibin Wu and Yuan Tseng and Hung-yi Lee},
year = {2024},
booktitle = {{INTERSPEECH 2024}},
pages = {1770--1774},
doi = {10.21437/Interspeech.2024-2093},
issn = {2958-1796},
}
```
### Source Tracing
If you build on our source tracing work, please cite:
```bibtex
@inproceedings{chen2025towards,
title = {Towards Generalized Source Tracing for Codec-Based Deepfake Speech},
author = {Chen, Xuanjun and Lin, I-Ming and Zhang, Lin and Wu, Haibin and Lee, Hung-yi and Jang, Jyh-Shing Roger},
booktitle = {2025 IEEE Automatic Speech Recognition and Understanding Workshop (ASRU)},
pages = {1--8},
year = {2025},
doi = {10.1109/ASRU65441.2025.11434771}
}
@inproceedings{chen2025codec,
title = {Codec-Based Deepfake Source Tracing via Neural Audio Codec Taxonomy},
author = {Chen, Xuanjun and Lin, I-Ming and Zhang, Lin and Du, Jiawei and Wu, Haibin and Lee, Hung-yi and Jang, Jyh-Shing Roger},
booktitle = {{INTERSPEECH 2025}},
pages = {1538--1542},
year = {2025},
doi = {10.21437/Interspeech.2025-1297}
}
```