# AffectCodec: Emotion-Preserving Neural Speech Codec with Block-Diagonal Residual FSQ

Source: [AffectCodec: Emotion-Preserving Neural Speech Codec with Block-Diagonal Residual FSQ](<https://www.sota2.com/research/paper/6a13d75f6f71c5ae7dc9e720>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-05-26T05:00:05.667Z

Authors: Zhaoyang Meng, Zhengyao Ma, Kecan Mao, Yingming Gao, Ya Li

Published: 2026-05-22T08:37:38.000Z

## Abstract

Neural speech codecs have become the discrete interface between raw audio and speech language models, yet they remain optimized primarily for acoustic reconstruction fidelity, which leaves emotion-relevant cues vulnerable to being discarded during quantization, limiting the affective capacity of downstream models. We trace this degradation to two mechanisms: reconstruction-driven bit allocation under limited bitrate and cross-stream leakage in concatenation-based codecs, where acoustic gradients can overwrite nominally emotion-reserved dimensions. We propose AffectCodec, an emotion-preserving neural speech codec built on Block-Diagonal Residual Finite Scalar Quantization (BD-RFSQ). By imposing block-diagonal input and output projections over emotion and acoustic subspaces, BD-RFSQ transforms bit allocation from implicit and loss-driven to explicit and structurally guaranteed, while still preserving a flat token interface for downstream speech language models. AffectCodec further combines this structurally constrained quantizer with multi-granularity emotion conditioning and multi-rate training, enabling robust affect preservation at low bitrates. Experiments across multiple emotional speech benchmarks show that AffectCodec substantially improves emotion preservation, especially in the low-bitrate regime, while maintaining competitive acoustic quality and intelligibility. These results suggest that structurally protected quantization is an effective principle for preserving emotion-relevant information and may provide a general route toward attribute-aware neural speech compression.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Emotion Preservation on IEMOCAP](<https://www.sota2.com/research/sota/emotion-preservation-on-iemocap.md>): Emotion Preservation; IEMOCAP; MEDR: 0.85.

- [Emotion Preservation on CREMA-D](<https://www.sota2.com/research/sota/emotion-preservation-on-crema-d.md>): Emotion Preservation; CREMA-D; MEDR: 1.19.

- [Emotion Preservation on ESD](<https://www.sota2.com/research/sota/emotion-preservation-on-esd.md>): Emotion Preservation; ESD; MEDR: 2.2.

- [Neural Audio Compression on IEMOCAP](<https://www.sota2.com/research/sota/neural-audio-compression-on-iemocap.md>): Neural Audio Compression; IEMOCAP; ViSQOL: 4.18.

- [Neural Audio Compression on CREMA-D](<https://www.sota2.com/research/sota/neural-audio-compression-on-crema-d.md>): Neural Audio Compression; CREMA-D; ViSQOL Score: 4.06.

- [Neural Audio Compression on ESD](<https://www.sota2.com/research/sota/neural-audio-compression-on-esd.md>): Neural Audio Compression; ESD; ViSQOL: 4.44.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2605.23373>)

[PDF](<https://arxiv.org/pdf/2605.23373.pdf>)
