Saltar al contenido
ModelPublicadoExterno
Browse files

Rawnet2 Itw Robustness Specialist

This repository contains a fine-tuned :contentReference[oaicite:5]{index=5} checkpoint optimized for robustness against real-world audio degradation conditions.

TipoOtherVersiónBest aucCcalidad

Fuente del modelo

Tipo
Other
Tamaño del archivo
291 MB
Versión
vBest auc
Actualizado
31 oct 2026
Fuente
Hugging Face

Descripción de la fuente

RawNet2 — In-the-Wild Robustness Specialist (ITW)

This repository contains a fine-tuned :contentReference[oaicite:5]{index=5} checkpoint optimized for robustness against real-world audio degradation conditions.

The model was trained using heavy augmentation pipelines targeting:

  • codec artifacts
  • platform compression
  • noisy environments
  • variable channel conditions
  • social-media-distributed audio

This checkpoint serves as the robustness-specialized parent model within the :contentReference[oaicite:6]{index=6}.


Model Details

PropertyValue
ArchitectureRawNet2
Domain SpecializationIn-the-wild robustness
Training DatasetMüller ITW Dataset
InputRaw mono waveform
Sample Rate16 kHz
FrameworkPyTorch

Intended Use

This checkpoint is intended for:

  • real-world audio deepfake detection
  • robustness research
  • codec-resilient anti-spoofing
  • noisy environment evaluation
  • weight-merging experiments

Augmentation Pipeline

Training used aggressive augmentation strategies designed to simulate real-world distribution shift.

Augmentations

  1. Random offset crop/pad
  2. Gaussian channel noise
  3. MP3 compression simulation
  4. Telephone-band filtering
  5. Randomized channel degradation

These augmentations were specifically designed to improve robustness against:

  • TikTok compression
  • Instagram re-encoding
  • YouTube Shorts transcoding
  • mobile-recorded speech
  • noisy reposted media

Validation Performance

MetricValue
Validation AUC0.9983
Validation EER0.0107
Deepfake-Evals Generalization AUC0.4826

The large gap between validation and Deepfake-Evals performance highlights the significant distribution-shift challenge in real-world deepfake detection.


Repository Contents

FileDescription
best_auc.pthBest validation AUC checkpoint
latest.pthLatest training checkpoint
model.pyRawNet2 architecture definition

Usage

Load Checkpoint

import torch
from model import RawNet

model = RawNet()

checkpoint = torch.load(
    "best_auc.pth",
    map_location="cpu"
)

model.load_state_dict(checkpoint)
model.eval()

Relationship to MeGA-IA

This model serves as the:

Robustness-specialized parent model

inside the MeGA-IA genetic weight merging framework.

Its role is to contribute:

  • robustness priors
  • codec-invariant features
  • noise-tolerant representations
  • distribution-shift resilience

during genetic weight fusion.


Limitations

  • Validation metrics may overestimate real-world performance
  • Still vulnerable to unseen synthesis methods
  • Performance remains sensitive to extreme domain shift

Citation

If you use these weights, please cite:

@inproceedings{ahmad2026megaia,
  title     = {MeGA-IA: Genetic Algorithm-Driven Weight Merging for In-the-Wild Deepfake Detection},
  author    = {Ahmad, Awwab Ext},
  booktitle = {Proceedings of the 23rd International Bhurban Conference on Applied Sciences and Technology (IBCAST)},
  year      = {2026},
  note      = {Under Review}
}

Please also cite the ITW dataset work:

@inproceedings{muller2022itw,
  title     = {In-the-Wild Audio Deepfake Detection},
  author    = {Müller, Nicolas and others},
  booktitle = {Proceedings of IWBF},
  year      = {2022}
}
@inproceedings{jung2020rawnet2,
  title     = {RawNet2: Bootstrapping Raw Audio End-to-End Neural Network for Speaker Verification},
  author    = {Jung, Jee-weon and Kim, Heo-jin and Kwon, Yeun-ju and Jung, Jae-hak and Yu, Hsin-Min},
  booktitle = {Proceedings of Interspeech},
  year      = {2020}
}

License

This repository is released under the :contentReference[oaicite:7]{index=7}.

Weights are provided for research and benchmarking purposes.

Fuentes

1 fuente
Hugging FacePrincipalVersión 1aaadd81812b614b482d189eeb42e1b524787a5c
huggingface.co/ALLA1N/rawnet2-itw-robustness-specialist/tree/1aaadd81812b614b482d189eeb42e1b524787a5c

Verificado 31 oct

Download files

Artefactos del modelo

2 artefactos

best_auc.pth

pth · 291 MB · SHA-256 36427f122eb4…1998 · Hugging Face

Download file

latest.pth

pth · 291 MB · SHA-256 5041a9b58379…7b8c · Hugging Face

Download file

Extractos de fuentes

2 extractos

--- license: mit tags: - audio - deepfake - anti-spoofing - rawnet2 - in-the-wild - robustness - social-media - codec-robustness pipeline_tag: audio-classification base_model: - Jungjee/RawNet2 datasets: - muller-itw/in-the-wild language: - en library_name: pytorch model-index: - name: RawNet2 ITW Robustness Specialist results: - task: type: audio-classification name: Audio Deepfake Detection dataset: name: In-the-Wild Audio Deepfake Dataset type: muller-itw/in-the-wild metrics: - type: auc value: 0.9983 - type: eer value: 0.0107 pretty_name: "RawNet2 — In-the-Wild Robustness Specialist" --- # RawNet2 — In-the-Wild Robustness Specialist (ITW) This repository contains a fine-tuned :contentReference[oaicite:5]{index=5} checkpoint optimized for robustness against real-world audio degradation conditions. The model was trained using heavy augmentation pipelines targeting: - codec artifacts - platform compression - noisy environments - variable channel conditions - social-media-distributed audio This checkpoint serves as the robustness-specialized parent model within the :contentReference[oaicite:6]{index=6}. --- # Model Details | Property | Value | |---|---| | Architecture | RawNet2 | | Domain Specialization | In-the-wild robustness | | Training Dataset | Müller ITW Dataset | | Input | Raw mono waveform | | Sample Rate | 16 kHz | | Framework | PyTorch | --- # Intended Use This checkpoint is intended for: - real-world audio deepfake detection - robustness research - codec-resilient anti-spoofing - noisy environment evaluation - weight-merging experiments --- # Augmentation Pipeline Training used aggressive augmentation strategies designed to simulate real-world distribution shift. ## Augmentations 1. Random offset crop/pad 2. Gaussian channel noise 3. MP3 compression simulation 4. Telephone-band filtering 5. Randomized channel degradation These augmentations were specifically designed to improve robustness against: - TikTok compression - Instagram re-encoding - YouTube Shorts transcoding - mobile-recorded speech - noisy reposted media --- # Validation Performance | Metric | Value | |---|---| | Validation AUC | 0.9983 | | Validation EER | 0.0107 | | Deepfake-Evals Generalization AUC | 0.4826 | The large gap between validation and Deepfake-Evals performance highlights the significant distribution-shift challenge...

Source context: 0 downloads · 0 likes · Pipeline audio-classification · Library pytorch · Repo ALLA1N/rawnet2-itw-robustness-specialist