arXiv:2609.39651cs.SDSep 2026

Manuscript Offprint

arXiv:2609.39651

Neural Audio Codec for Robust Audio Deepfake Detection

Jungwoo Kim, Joonyong Park, Junyoung Koh, Jong-Seok Lee

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Audio deepfake detectors are typically evaluated on uncompressed audio, although real-world audio often undergoes low-bitrate coding. In this work, we investigate how audio coding affects deepfake detection across codecs, bitrates, and detectors, finding higher errors at lower rates. A mixed-pair protocol isolates codec-induced changes in bona fide and spoof audio, revealing asymmetric, codec-dependent failures: low-rate DAC and EnCodec mainly degrade bona fide detection, whereas X-Codec shows a stronger spoof-side limitation. Motivated by these, we propose a forensic-preserving neural audio codec (FP-NAC), which fine-tunes a pretrained codec using a detector-guided objective while preserving its native hard quantization path and bitrate. On ASVspoof 2019 LA, FP-NAC reduces EER by up to 49.8 pp compared with the original DAC at 0.5 kbps while maintaining comparable reconstruction quality. Although supervised by only one detector, FP-NAC improves performance across multiple detectors, highlighting forensic transparency as a codec design objective alongside perceptual quality. Our codes are available at https://github.com/kjungwoo03/FP-NAC.

Index Terms— Audio Deepfake Detection, Neural Audio Codec

1. INTRODUCTION

The growing realism of synthetic speech has heightened concerns about deepfake misuse and motivated extensive research on audio deepfake detection [1, 2]. In practice, however, detectors often receive audio only after compression, transmission, or storage, rather than as a clean waveform. More broadly, physical AI and autonomous systems increasingly process continuous multimodal sensory streams for both human and machine consumption [3, 4]. Since machine-oriented coding can prioritize task-relevant information over exact signal fidelity, such settings further motivate low-bitrate and scalable coding under constrained bandwidth, latency, storage, and energy budgets [5, 6, 7]. Neural audio codecs (NACs) achieve high perceptual quality at very low bitrates [5, 8, 9, 10], but perceptual optimization does not necessarily preserve the forensic cues used for spoof detection.

Recent studies have begun to reveal interactions between NACs and audio deepfake detection. Since modern speech generation systems often rely on NAC tokens or decoders [11], codec artifacts can appear in both bona fide and synthetic audio, potentially confounding codec-specific signatures [12] with spoofing cues [13]. Conversely, codec token spaces have also been shown to contain information useful for identifying spoofed audio [14, 15, 16]. These findings suggest that NAC representations are entangled with forensic cues rather than serving solely as perceptual compression representations. Robustness studies have further shown that audio compression can substantially degrade detection performance, with neural codecs often causing severe performance drops even when perceptual quality remains high [17, 18, 19]. These observations suggest that neural audio coding is not forensically transparent, as it can introduce codec-specific signatures while simultaneously altering spoof-detection evidence.

However, existing studies largely characterize this interaction through aggregate detection performance, leaving it unclear how coding alters forensic evidence—whether it primarily shifts bona fide speech toward spoof-like representations, suppresses spoof-specific evidence, or affects both sides simultaneously. Existing mitigation is also predominantly detector-centric, requiring robustness to coding artifacts to be learned separately for each detector. This raises a fundamental question: How does audio coding distort the forensic evidence underlying deepfake detection, and can such evidence be preserved through codec design? We first introduce a mixed-pair evaluation protocol that separately probes codec-induced changes on bona fide and spoof trials. Our analysis reveals strongly asymmetric and codec-dependent failure patterns: among the codecs studied, acoustic codecs fail predominantly on bona fide trials, whereas the semantically oriented X-Codec exhibits a comparatively stronger spoof-side failure. To this end, we propose a forensic-preserving neural audio codec (FP-NAC), a detector-guided codec adaptation that substantially reduces low-bitrate detection error and maintains comparable reconstruction quality, with gains that transfer to held-out detectors.

Our contributions can be summarized as follows:

• We introduce a mixed-pair evaluation protocol for diagnosing codec-induced forensic failures and show that different neural codecs exhibit distinct, strongly asymmetric class (bona fide vs. spoof)-side failure patterns.

• We propose FP-NAC, a parameter-efficient adaptation framework that explicitly incorporates forensic preservation into neural audio coding while retaining the pretrained codec backbone.

• We conduct extensive evaluations and mechanistic analyses, showing substantial low-bitrate EER reductions and consistent transfer to held-out detectors while maintaining reconstruction quality.

References (27)