Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ValueError
Message:      Invalid string class label ANC-Spoof@70fc8b514372faccab276c46efc387cd41f82d5a
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2951, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2474, in __iter__
                  example = _apply_feature_types_on_example(
                      example, self.features, token_per_repo_id=self.token_per_repo_id
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2391, in _apply_feature_types_on_example
                  encoded_example = features.encode_example(example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2192, in encode_example
                  return encode_nested_example(self, example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1472, in encode_nested_example
                  {k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
                      ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1495, in encode_nested_example
                  return schema.encode_example(obj) if obj is not None else None
                         ~~~~~~~~~~~~~~~~~~~~~^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1168, in encode_example
                  example_data = self.str2int(example_data)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1105, in str2int
                  output = [self._strval2int(value) for value in values]
                            ~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1126, in _strval2int
                  raise ValueError(f"Invalid string class label {value}")
              ValueError: Invalid string class label ANC-Spoof@70fc8b514372faccab276c46efc387cd41f82d5a

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

ANC-Spoof: Audio Neural Codec Spoof Dataset

Overview

ANC-Spoof (Audio Neural Codec Spoof Dataset) is a large-scale dataset designed to facilitate research on the robustness of Audio Deepfake Detection (ADD) systems against distortions introduced by neural audio codecs.

Neural audio codecs have recently emerged as important components in modern speech technology, serving both as efficient compression mechanisms and as resynthesis components in emerging audio generation systems. The transformations introduced by neural codecs can substantially alter the acoustic characteristics of both bona fide and spoofed speech, potentially affecting the reliability and generalization of existing audio deepfake detectors.

Unlike conventional post-hoc compression methods such as MP3, AAC, or Opus, neural codecs use learned encoder-decoder architectures to reconstruct speech waveforms. Furthermore, neural codecs increasingly play a dual role: they are used for legitimate speech compression and can also serve as the resynthesis stage in Audio Language Model (ALM)-based speech generation systems.

ANC-Spoof addresses this challenge by applying multiple neural audio codec algorithms to established audio deepfake detection benchmarks. For every original utterance, corresponding neural-codec-compressed versions are generated while preserving the original ground-truth label. This provides a controlled setting for studying whether an ADD system is sensitive to codec-induced artifacts rather than genuine characteristics of spoofed speech.

The dataset is constructed from three publicly available ADD benchmarks:

  • ASVspoof 2019 LA
  • Fake-or-Real (FoR)
  • In-the-Wild

Seven neural audio codecs are used to generate codec-compressed versions of the original audio:

  • BigCodec
  • DAC
  • Higgs Audio V2 Tokenizer
  • Mimi
  • SNAC
  • SpeechTokenizer
  • WavTokenizer

The resulting dataset contains both original (uncompressed) and neural codec-compressed speech, enabling systematic evaluation of ADD robustness under neural codec compression.

Motivation

Existing ADD research has primarily considered robustness against signal-level manipulations and conventional post-hoc compression. However, neural audio codecs introduce a fundamentally different type of transformation because their learned encoder-decoder architectures can substantially modify the acoustic representation of speech.

This creates an important robustness question:

Can an audio deepfake detector distinguish genuine spoofing artifacts from artifacts introduced solely by legitimate neural codec compression?

ANC-Spoof provides a controlled benchmark for investigating this question.

In particular, the dataset enables researchers to study whether detectors:

  1. Maintain reliable performance on neural-codec-compressed bona fide speech.
  2. Maintain reliable performance on neural-codec-compressed spoofed speech.
  3. Become overly dependent on codec-induced artifacts as a shortcut for detecting fake speech.
  4. Generalize across different neural audio codecs.
  5. Remain robust when encountering codecs that were not observed during training.

Dataset Composition

ANC-Spoof is constructed by applying seven neural codecs to three established ADD benchmarks.

For every selected utterance, the original audio is retained and seven codec-compressed counterparts are generated.

Dataset Split Original Compressed Total
ASVspoof 2019 LA Training 25,380 177,660 203,040
ASVspoof 2019 LA Validation 24,986 174,902 199,888
ASVspoof 2019 LA Evaluation 71,933 503,531 575,464
Fake-or-Real (FoR) Evaluation 4,634 32,438 37,072
In-the-Wild Evaluation 31,780 222,460 254,240
Total 158,713 1,110,991 1,269,704

Original refers to the uncompressed source utterances.

Compressed refers to the seven neural-codec-compressed versions generated from the corresponding original utterances.

Because seven codecs are applied to each original utterance, the number of compressed utterances is seven times the number of original utterances.

Dataset Structure

The dataset is organized according to the source benchmark and neural codec:

ANC-Spoof/
β”œβ”€β”€ ASVspoof2019/
β”‚   β”œβ”€β”€ Original/
β”‚   β”œβ”€β”€ BigCodec/
β”‚   β”œβ”€β”€ DAC/
β”‚   β”œβ”€β”€ HiggsV2/
β”‚   β”œβ”€β”€ Mimi/
β”‚   β”œβ”€β”€ SNAC/
β”‚   β”œβ”€β”€ SpeechTokenizer/
β”‚   β”œβ”€β”€ WavTokenizer/
β”‚   └── ...
β”‚
β”œβ”€β”€ InTheWild/
β”‚   β”œβ”€β”€ Original/
β”‚   β”œβ”€β”€ BigCodec/
β”‚   β”œβ”€β”€ DAC/
β”‚   β”œβ”€β”€ HiggsV2/
β”‚   β”œβ”€β”€ Mimi/
β”‚   β”œβ”€β”€ SNAC/
β”‚   β”œβ”€β”€ SpeechTokenizer/
β”‚   β”œβ”€β”€ WavTokenizer/
β”‚   └── ...
β”‚
└── FoR/
    β”œβ”€β”€ Original/
    β”œβ”€β”€ BigCodec/
    β”œβ”€β”€ DAC/
    β”œβ”€β”€ HiggsV2/
    β”œβ”€β”€ Mimi/
    β”œβ”€β”€ SNAC/
    β”œβ”€β”€ SpeechTokenizer/
    β”œβ”€β”€ WavTokenizer/
    └── ...
Downloads last month
522