Papers
Topics
Authors
Recent
Search
2000 character limit reached

SAQ-Decoder in SAC Speech Codec

Updated 5 July 2026
  • SAQ-Decoder is the decoding component of SAC that fuses discrete semantic and acoustic streams to produce a 16 kHz waveform.
  • It employs a ConvNeXt-based fusion prenet and mirrored decoder architecture to reconstruct both waveform and auxiliary features.
  • It balances reconstruction quality using multi-scale L1, VQ, and adversarial losses while ensuring semantic and speaker fidelity.

Searching arXiv for papers mentioning “SAQ-Decoder” and the SAC codec paper to ground the article in the relevant literature. SAQ-Decoder denotes the decoder component of SAC, a neural speech codec with semantic-acoustic dual-stream quantization, in which semantic and acoustic discrete token streams are fused and mapped back to a 16 kHz waveform. In the SAC formulation, the decoder is responsible not only for waveform reconstruction but also for auxiliary recovery of fine-grained continuous semantic features and estimation of speaker embeddings from the fused latent sequence. The design is motivated by the observation that existing speech codecs often struggle to balance high-quality reconstruction with semantically rich representations; SAC addresses this by disentangling semantic and acoustic modeling into two dedicated streams (Chen et al., 19 Oct 2025).

1. Definition and placement within SAC

Within SAC, the decoder operates downstream of two quantized streams. The semantic stream consists of quantized semantic embeddings SqS_q' at 50 Hz. The original semantic features ScS_c at 50 Hz are extracted by a frozen pre-trained speech tokenizer, then pooled to 12.5 Hz, quantized to tokens, embedded to SqS_q, and up-sampled back to 50 Hz via a small ConvNeXt adapter to produce SqS_q'. The acoustic stream consists of quantized acoustic embeddings AqA_q at either 25 Hz in the low-bitrate setting or 50 Hz in the high-bitrate setting, obtained by an Encodec-style encoder with temporal downsampling strides τ=(2,2,4,5,8)\tau=(2,2,4,5,8) or τ=(2,4,5,8)\tau=(2,4,5,8) and single-codebook quantization (Chen et al., 19 Oct 2025).

The decoder therefore sits at the convergence point of SAC’s dual-stream representation. Its immediate input is not raw discrete indices, but continuous vectors recovered from those indices: SqS_q' for semantics and AqA_q for acoustics. This arrangement is central to the codec’s claim that semantic and acoustic factors can be optimized for distinct roles while remaining jointly decodable.

2. Decoder architecture

The decoder begins with a fusion prenet. The semantic and acoustic streams are concatenated along the channel dimension to form UU, which is then passed through a ConvNeXt-based prenet. This prenet temporally upsamples to 50 Hz if needed and produces the fused feature sequence ScS_c0 (Chen et al., 19 Oct 2025).

The main waveform decoder is a mirrored decoder relative to the Encodec-style encoder. The fused sequence ScS_c1 is processed by a stack of convolutional layers interleaved with transposed-convolution upsampling layers. The deconvolution strides are ScS_c2, exactly inverting the encoder’s downsampling so that the final output is a 16 kHz waveform ScS_c3 (Chen et al., 19 Oct 2025).

Two auxiliary decoder-side heads are attached to the same fused representation. First, an auxiliary semantic decoder applies a small CNN to ScS_c4 in order to reconstruct fine-grained continuous semantic features ScS_c5 at 50 Hz. Second, an auxiliary speaker predictor summarizes ScS_c6 using temporal mean and standard deviation,

ScS_c7

and passes this statistic through a two-layer MLP, denoted “Proj,” to produce ScS_c8, an estimate of the speaker embedding (Chen et al., 19 Oct 2025).

This architecture makes the fused representation multi-purpose: it drives waveform synthesis, semantic feature reconstruction, and speaker inference. A plausible implication is that SAC does not treat speech reconstruction as a purely signal-level inversion problem, but as a jointly constrained reconstruction problem in waveform, semantic, and speaker spaces.

3. Mathematical objectives and training signals

The waveform reconstruction loss is defined as a multi-scale ScS_c9 objective on both linear- and log-scale spectrograms of SqS_q0 versus SqS_q1:

SqS_q2

The paper notes that no closed-form equation is given in the text and that the formulation follows DAC (Chen et al., 19 Oct 2025).

For the acoustic stream, vector quantization is trained with

SqS_q3

where SqS_q4 is the commitment weight, fixed at SqS_q5, SqS_q6 is the stop-gradient operator, and an additional codebook loss weight SqS_q7 scales the first term (Chen et al., 19 Oct 2025).

Adversarial supervision is provided by two discriminators, Multi-Period and Multi-Scale STFT, trained with least-squares GAN. The generator therefore also receives adversarial loss SqS_q8 and feature-matching loss SqS_q9, where the latter is an SqS_q'0 distance between discriminator feature maps (Chen et al., 19 Oct 2025).

The semantic auxiliary loss is

SqS_q'1

with SqS_q'2 predicted by the CNN decoder and SqS_q'3 given by the frozen tokenizer’s continuous semantic features. The speaker auxiliary loss is

SqS_q'4

where SqS_q'5 is the frozen ERes2Net speaker embedding (Chen et al., 19 Oct 2025).

These terms are combined into the generator objective

SqS_q'6

The reported weights are SqS_q'7, SqS_q'8, SqS_q'9, AqA_q0, AqA_q1, and AqA_q2 (Chen et al., 19 Oct 2025).

4. De-quantization, continuous reconstruction, and implementation parameters

The decoder’s de-quantization procedure is direct. In the semantic stream, each discrete token index AqA_q3 selects the AqA_q4-th row of the frozen semantic tokenizer’s codebook to produce embedding AqA_q5, after which a ConvNeXt upsampler yields AqA_q6. In the acoustic stream, each frame’s continuous embedding AqA_q7 is replaced by its nearest codebook entry AqA_q8 through AqA_q9 search in the learned single codebook of size τ=(2,2,4,5,8)\tau=(2,2,4,5,8)0. At decoding time, no further inverse quantization is needed, because τ=(2,2,4,5,8)\tau=(2,2,4,5,8)1 and τ=(2,2,4,5,8)\tau=(2,2,4,5,8)2 are already continuous vectors; these are concatenated and passed into the prenet (Chen et al., 19 Oct 2025).

Several decoder-side hyperparameters characterize the implementation. The semantic codebook size is τ=(2,2,4,5,8)\tau=(2,2,4,5,8)3, and the acoustic codebook size is also τ=(2,2,4,5,8)\tau=(2,2,4,5,8)4. Semantic features are pooled from 50 Hz to 12.5 Hz before quantization and restored to 50 Hz after upsampling. Acoustic features operate at 25 Hz for low bitrates and 50 Hz for high bitrates. The generator has approximately τ=(2,2,4,5,8)\tau=(2,2,4,5,8)5 million parameters, of which approximately τ=(2,2,4,5,8)\tau=(2,2,4,5,8)6 million are trainable, while the semantic tokenizer and speaker encoder remain frozen (Chen et al., 19 Oct 2025).

Training uses AdamW with τ=(2,2,4,5,8)\tau=(2,2,4,5,8)7, τ=(2,2,4,5,8)\tau=(2,2,4,5,8)8, initial learning rate τ=(2,2,4,5,8)\tau=(2,2,4,5,8)9, and exponential decay. The generator is pretrained for τ=(2,4,5,8)\tau=(2,4,5,8)0 steps before the discriminator is activated, and EMA is used (Chen et al., 19 Oct 2025).

Component Reported specification
Prenet ConvNeXt-based; exact number of layers not specified
Main decoder strides τ=(2,4,5,8)\tau=(2,4,5,8)1
Semantic codebook τ=(2,4,5,8)\tau=(2,4,5,8)2
Acoustic codebook τ=(2,4,5,8)\tau=(2,4,5,8)3
Acoustic frame rate 25 Hz or 50 Hz
Output 16 kHz waveform τ=(2,4,5,8)\tau=(2,4,5,8)4

A plausible implication is that the decoder is intentionally structured so that semantic and acoustic streams meet only after each has already been converted into a continuous latent trajectory, thereby simplifying the fusion problem to one of feature integration rather than symbolic sequence transduction.

5. Reconstruction quality and bitrate regimes

SAC evaluates reconstruction with STOI, PESQ-NB, PESQ-WB, UTMOS, Speaker SIM, and WER. At the high-bitrate setting, corresponding to a 62.5 Hz token rate and 875 bps, the reported scores are UTMOS τ=(2,4,5,8)\tau=(2,4,5,8)5, WER τ=(2,4,5,8)\tau=(2,4,5,8)6, SIM τ=(2,4,5,8)\tau=(2,4,5,8)7, PESQ-NB τ=(2,4,5,8)\tau=(2,4,5,8)8, PESQ-WB τ=(2,4,5,8)\tau=(2,4,5,8)9, and STOI SqS_q'0. The paper states that this UTMOS is the best among approximately 1 kbps codecs and even above ground-truth SqS_q'1, while the WER is close to ground truth SqS_q'2 (Chen et al., 19 Oct 2025).

At the low-bitrate setting, corresponding to a 37.5 Hz token rate and 525 bps, the reported scores are UTMOS SqS_q'3, WER SqS_q'4, SIM SqS_q'5, PESQ-NB SqS_q'6, PESQ-WB SqS_q'7, and STOI SqS_q'8 (Chen et al., 19 Oct 2025).

Under noisy conditions on LibriSpeech test-other, SAC is reported to still top UTMOS, with values SqS_q'9, maintain low WER at approximately AqA_q0, and retain SIM of approximately AqA_q1–AqA_q2 (Chen et al., 19 Oct 2025).

Setting Token rate / bitrate Key reported outcomes
High bitrate 62.5 Hz, 875 bps UTMOS 4.25, WER 2.35%, SIM 0.86
Low bitrate 37.5 Hz, 525 bps UTMOS 4.27, WER 2.53%, SIM 0.78
Noisy test-other not separately restated UTMOS 3.84/3.90, WER AqA_q35.8/6.4%, SIM AqA_q40.77–0.85

These results are presented as evidence that the decoder preserves perceptual quality and intelligibility across bitrate regimes and in noisy conditions. Because the decoder is the component that fuses the semantic and acoustic streams back into waveform space, the reported quality metrics also function as an empirical validation of the decoder design itself.

6. Ablations, disentanglement, controllability, and nomenclature

The paper’s ablation studies directly probe the decoder’s role in disentanglement. Removing the speaker loss by setting AqA_q5 causes SIM to drop from AqA_q6 to AqA_q7, while PESQ increases slightly. Removing the semantic loss by setting AqA_q8 has negligible effect on STOI, PESQ, UTMOS, and WER, which the paper interprets as confirming that the frozen semantic stream plus the dual-stream design already preserves semantics (Chen et al., 19 Oct 2025).

Semantic-only and acoustic-only reconstructions further characterize the decoder. When the acoustic stream AqA_q9 is masked, the semantic-only output yields WER UU0 versus SemantiCodec’s UU1, SIM UU2, and MSIM UU3, which the paper describes as indicating strong lexical preservation and clean timbre removal. When the semantic stream UU4 is masked, the acoustic-only output is noise-like and has zero intelligibility. Full reconstruction retains both high-fidelity timbre and semantics. The paper concludes that this confirms the decoder’s ability to fuse or ignore each stream cleanly (Chen et al., 19 Oct 2025).

These ablations suggest that the decoder is not merely combining two redundant latent codes. Rather, the semantic stream appears to carry lexical content in a form that remains intelligible even when speaker identity is largely removed, whereas the acoustic stream alone is insufficient for intelligible reconstruction. This suggests a decoder-level factorization of speech content and timbre that may be useful for controllable speech applications, a possibility explicitly noted in the SAC analysis (Chen et al., 19 Oct 2025).

The term “SAQ-Decoder” requires care because it is not unique across the 2025 arXiv literature. In the SAC paper, it refers to the decoder just described. However, the same label also appears in unrelated domains: as a simulated-annealing decoder for the XZZX code (Sakashita, 22 Sep 2025), and as a stabilizer-aware quantum error-correction decoder built from a dual-stream transformer and constraint-aware post-processing (Zenati et al., 9 Dec 2025). In speech codec literature, the relevant referent is the SAC decoder of semantic-acoustic dual-stream quantization (Chen et al., 19 Oct 2025).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to SAQ-Decoder.