Asymmetric Phase Coding Audio Watermarking

Guang Yang, Fengchen Liu, Amir Ghasemian, Zhong Wang, Ninareh Mehrabi, Homa HosseinmardiNeurIPS 2026

TL;DR

Most modern audio watermarks hide a tiny ID tag that anyone with the open-source model can forge, while file-level cryptographic signatures get wiped out the moment an audio clip is compressed into an MP3. Asymmetric Phase Coding (APC) bridges this gap by weaving a full, cryptographically verifiable Ed25519 digital signature directly into the audio waveform itself. Requiring zero neural network training or GPUs, it lets anyone with a public key verify who signed an audio clip offline in a couple of milliseconds—even after the file has been cropped, resampled, or chewed up by lossy compression.

What Problem Does This Paper Address?

As synthetic voices become indistinguishable from human recordings, passive "deepfake detectors" are struggling to keep up with new generators. The proactive alternative is watermarking: embedding a hidden token at the moment of capture or creation.

However, existing approaches have a glaring blind spot when it comes to non-repudiation (cryptographic proof of origin):

  • Neural watermarks (like AudioSeal or WavMark) train deep networks to hide 16-to-40-bit symmetric payloads. Because they lack public-key cryptography, anyone with access to the released watermark generator can mint a valid mark, and attributing a clip requires looking up that tiny payload in a centralized registry.
  • Provenance manifests (like C2PA) attach true digital signatures to a file's metadata. Unfortunately, social platforms strip metadata on upload, and re-encoding a WAV to an MP3 alters the bitstream, breaking the cryptographic hash.

APC asks: Can we embed a true public-key cryptographic signature directly into the sound wave so that it survives real-world audio transport?

Methods

APC is a completely deterministic, training-free signal-processing layer built from classical cryptographic and coding primitives:

Figure 1: APC pipeline. The signer signs M with Kpriv (Ed25519), encodes len16(M)∥M∥S with a Reed–Solomon code with 30 parity bytes, and writes it into a phase channel and a magnitude-QIM channel of one STFT. The verifier needs only Kpub and accepts if either channel verifies. Dashed boxes show the optional content-bound mode: the signature also covers a feature w of the host, and the verifier checks the feature of the received audio against it (Section 5.8). A verified message means that the signed message is intact, not that the audio is authentic (Section 4).
  1. Cryptographic Payload & Error Correction: The signer signs a message (e.g., 49 bytes) with their private key using Ed25519 (producing a compact 64-byte signature) and wraps the bundle in a Reed–Solomon (RS) error-correcting code, yielding a ~1,160-bit codeword.
  2. Public-Key-Seeded STFT Layout: The host audio undergoes a non-overlapping Short-Time Fourier Transform (STFT), grouped into 8-frame blocks. Crucially, the exact frequency bins chosen to hold the data are shuffled pseudo-randomly using a hash of the public key. This allows "blind" extraction—the verifier doesn't need the original audio, just the public key.
  3. Dual-Channel Embedding: Why use one hiding spot when different distortions attack audio differently? APC writes the payload redundantly into two parallel channels:
  4. Phase Channel: Sets the phase of mid-frequency bins (1.29–6.46 kHz) to $\pm\pi/2$ in only the first frame of each 8-frame group. This survives resampling and filtering cleanly while minimizing audible distortion.
  5. Magnitude-QIM Channel: Lossy codecs like MP3 scramble phase information, so APC also uses Quantization Index Modulation (QIM) to nudge the log-magnitude difference between adjacent frequency bin pairs (2.15–7.32 kHz), averaged across all 8 frames.
  6. Header-Independent Verification: Rather than trusting an unauthenticated length header (which an attacker could easily corrupt), the verifier searches admissible message lengths and accepts if either channel yields a valid RS codeword with a mathematically valid Ed25519 signature. An optional content-bound mode also signs a low-frequency sketch of the audio itself to prevent attackers from transplanting a valid signature onto a different recording.

Datasets

Because APC is training-free, datasets are used strictly for evaluation:

  • Main Benchmark: A deterministic set of 1,905 10-second clips (resampled to 44.1 kHz) constructed from LibriSpeech test-clean.
  • Cross-Corpus Generality: 2,048 clips drawn from 18 subsets across 15 public corpora, spanning music, clean/lecture speech (e.g., TED-LIUM), overlapping headset/distant meeting mics (AMI), multilingual, vocoded speech, and 8 kHz simulated emergency telephone calls (SIMSAMU).

Key Insights and Ideas

  • Complementary Physics Beat Single-Channel Fragility: Phase coding is crisp under lossless editing and resampling, while relative bin magnitudes survive psychoacoustic lossy codecs (MP3, OGG, AAC). Running them in parallel—and only modifying a single frame per group in the phase channel—boosts perceptual audio quality (PESQ) by +0.43 while keeping codecs from erasing the signature.
  • The "Quality Gap" with Neural Watermarks is Mostly Payload Size: Neural marks report higher raw audio quality (PESQ ~4.49 vs. APC's 3.82), which looks like a win for deep learning. Yet when APC is dialed down from its massive 1,160-bit cryptographic payload to match AudioSeal's tiny 16-bit capacity, APC hits 4.20 PESQ—showing that the 72.5$\times$ larger payload accounts for nearly 11 dB of the signal-to-noise difference.
  • Closed-Form Predictability: Unlike black-box neural decoders, APC's failure boundaries are mathematically predictable from its frame layout—right down to the exact sample count (4.09 seconds minimum duration) and exact tail-cropping thresholds.
Figure 2: Spectrograms of a 10 s LibriSpeech test-clean clip (a) before and (b) after signing with APC (wideband profile, 49-byte message), and (c) the magnitude of their difference. All panels use the coder’s own analysis (2048-sample rectangular frames, no overlap) on one dB scale relative to the largest bin of (a). Tick marks on the top edge of (c) are group boundaries (8 frames, 0.37 s). The phase copy occupies groups 0–5 (first 2.23 s) and writes only the first frame of each group; the two magnitude copies occupy groups 0–20 (first 7.80 s). Frames after the last used group are unchanged.
  • Seamless Stacking: APC doesn't have to replace neural watermarks; it coexists with them. You can embed AudioSeal first and sign with APC second without degrading either system.

Key Results

  • Benchmark Robustness: Across 8 standard attacks on LibriSpeech (MP3/OGG at 128 kbps, FLAC, 16 kHz resampling, 8 kHz low-pass, 10%/20% cropping), APC verifies 98.3% to 99.8% of clips at an identity PESQ of 3.82 (SNR 21.4 dB). Across the 15 diverse speech and music corpora, verification holds between 97.1% and 99.4%.
  • Zero Forgeries: Across 544,128 wrong-key tests and thousands of unsigned clips, APC achieved a 0.0% false acceptance rate. Content-bound mode rejected 100% of payload transplants—even onto the closest-matching audio clip in a 5,607-clip pool.
  • Real-World Survival: Survives simulated social/podcast/broadcast chains (98.5–99.8%), five generations of MP3 transcoding (97.9%), up to 84% tail-zeroing, and neural speech enhancers like DNS64 (82.7–97.3%) and DeepFilterNet3 (62.0–87.0%).
  • Blazing Speed: On a single CPU core (no GPU), Python verifies a 10 s clip in 3.17 ms, and the Rust implementation signs in 2.62 ms and verifies in 1.51 ms.

Limitations and Future Work

  • Erasure vs. Forgery: Because the bin layout is derived from the public key, a motivated adversary who knows the key cannot forge a signature, but they can locate the bins and perturb them to erase the watermark with minimal quality loss.
  • Desynchronization & Neural Resynthesis: APC authenticates a bitstream through standard transport, not semantic sound. It breaks under pitch shifting, speed changes, room reverberation, over-the-air speaker recapture (the "analog hole"), and low-bitrate neural audio codecs/vocoder resynthesis.
  • Future Direction: The authors highlight stacking as the most promising path forward—applying a latent- or token-level neural watermark first to survive generative resynthesis, followed by APC as a fast, offline cryptographic signing layer for distribution.

Summary updated

Abstract

The proliferation of deepfake audio challenges voice-based authentication, and passive forensic detectors are sensitive to evolving generative models and to real-world channel distortions. We propose Asymmetric Phase Coding (APC), a training-free cryptographic signing layer for audio that anyone holding the public key can verify offline, designed as a compact and auditable provenance primitive that can stand alone or be stacked with learned watermarks. APC combines Ed25519 digital signatures (EdDSA, FIPS 186-5; 64-byte signatures) with Reed-Solomon error correction, pseudo-random STFT phase-bin selection, and a redundant quantization-index-modulation (QIM) code on log-magnitude differences of adjacent bin pairs, yielding a compact, non-repudiable, blind-extractable watermark. A successful verification proves who signed the embedded message and that the message is intact. On 1,905 LibriSpeech test-clean clips (10 s, 44.1 kHz) under eight attack configurations (identity, 10% and 20% end-cropping, 8 kHz low-pass, 16 kHz round-trip resampling, FLAC, MP3 at 128 kbps and OGG-Vorbis at 128 kbps), APC verifies between 98.3% and 99.8% of clips on every condition at an identity PESQ of 3.82 and accepts no wrong-key or unsigned clip. On 2,048 clips from 18 sets of 15 public corpora spanning music, meeting, telephone, multilingual and mostly vocoded speech, it verifies between 97.1% and 99.4%. It also survives platform processing chains, repeated MP3 and OGG coding at 128 kbps, cropping up to bounds predicted in closed form, integer time shifts through an optional decoder-side search, and the DNS64 and DeepFilterNet3 speech enhancers on most clips, and it verifies a signed 10 s clip in 3.17 ms on one CPU core. We compare APC with neural baselines (reproduced AudioSeal and WavMark, and published SilentCipher results), including a capacity-matched operating point, and show that it stacks with AudioSeal.
BibTeX
@inproceedings{yang2026asymmetric,
  author = {Guang Yang and Fengchen Liu and Amir Ghasemian and Zhong Wang and Ninareh Mehrabi and Homa Hosseinmardi},
  title = {{Asymmetric Phase Coding Audio Watermarking}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=nAf6IJ9PSz},
}
Figure