SpecRNet
A lightweight spectrogram-based network that detects audio DeepFakes.
Audio and speech · 63 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Audio and speech
- Parameters
- 278K
- Operations
- 63
- Framework
- PyTorch
- Recurrent
- No
- Published
- IEEE International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom) (arXiv 2022)
- Cited by
- 32 (as of 28 October 2026)
- Authors
- Piotr Kawa, Marcin Plata, Piotr Syga
- Source
- GitHub: piotrkawa/specrnet
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20542
- Graph hash
- cfd3ae3625b12f8fd6a406cc4b3f84070f53000231034e91d03e0a9f18caad6c
- Skeleton hash
- 0bdad7ac0bc686ae58ad48a6c0d7720a99d3602d6a34f3113b117e2d617a3e48
- Architecture hash
- 8d695216aa411632d86c7af017f3a12de8e061b2249d38936eace694231a070e
- Diagram SHA-256
- 2e84dc240a66860f96407f3af5034781c44e1971edb4b9fd9838f1fd0932d5fc
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
SpecRNet is a small neural network for audio DeepFake detection, that is, for telling whether an utterance was generated with deep neural networks. Its authors aimed to lower the inference time and computational requirements of detection, so that it can serve online multimedia services checking large volumes of uploads and also ordinary people evaluating material on their own devices.
The backbone is inspired by RawNet2, but where RawNet2 operates on a one-dimensional raw audio signal, SpecRNet processes two-dimensional spectrogram information, specifically linear frequency cepstral coefficients (LFCC). After an initial batch normalization and SeLU activation, the model is composed of 3 residual blocks, each followed by max pooling and an FMS attention block. It ends with two bidirectional GRU layers and two fully connected layers, and returns a single value in the range [0, 1] that is thresholded to mark the input as fake or bona fide.
On the WaveFake dataset the paper reports an equal error rate of 0.1549 for SpecRNet, close to the 0.1399 of LCNN and well below the 4.5973 of RawNet2. The paper counts 277,963 trainable parameters for SpecRNet, almost 2 times fewer than LCNN and about 60 times fewer than RawNet2. It also reports up to about 40% improvement in inference speed in relation to LCNN, with comparable detection results.
Key idea. SpecRNet is a lightweight audio DeepFake detector that the paper reports performing comparably to LCNN while taking up to about 40% less time per audio sample.
- SpecRNet
- audio deepfake detection
- audio DeepFake detector
- fake speech detection
- LFCC
- spectrogram classifier
- lightweight deepfake detection
- WaveFake
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{kawa2022specrnetfasteraccessibleaudio,
title={SpecRNet: Towards Faster and More Accessible Audio DeepFake Detection},
author={Piotr Kawa and Marcin Plata and Piotr Syga},
year={2022},
eprint={2210.06105},
archivePrefix={arXiv},
primaryClass={cs.SD},
url={https://arxiv.org/abs/2210.06105},
}