arXiv:2610.16858cs.SDOct 2026

Manuscript Offprint

arXiv:2610.16858

What Makes Codec Tokens Effective for Target Speaker Extraction? A Semantic-Acoustic Disentanglement Perspective

Wang Xiang, Bang Zeng, Ming Li

Abstract

Target speaker extraction (TSE) aims to recover a target speaker's speech from a speech mixture using an enrollment utterance. Recent codec-based generative approaches formulate TSE as conditional speech token generation and achieve promising perceptual quality. However, most existing systems rely on unified codec tokens that entangle linguistic content, speaker characteristics, and acoustic details, forcing a single model to jointly handle target selection, content semantic, and acoustic reconstruction. In this paper, we investigate whether disentangled semantic–acoustic codec representations are better suited to TSE. We first show that simply replacing unified codec tokens with semantic-acoustic tokens is insufficient and can even degrade performance when both remain handled by a unified generative model. Motivated by this observation, we propose a task-aware discriminative–generative framework, where a discriminative branch extracts target-related semantic information, while a generative branch predicts coarse acoustic tokens and refines them under semantic guidance. This specialization separates what is said from how it sounds while coordinating both factors in a factorized codec space. Experiments on Libri2Mix show that our method reduces dWER from 0.388 to 0.118 compared with a unified-codec baseline, while maintaining competitive perceptual quality and speaker consistency. Ablation studies confirm that the gains arise from task-aware semantic–acoustic modeling rather than representation disentanglement alone.

Introduction

Target speaker extraction (TSE) aims to recover the speech of a target speaker from a multi-speaker mixture with the assistance of an enrollment utterance (Wang et al. 2019; Xu et al. 2020; Zmolikova et al. 2023; Ge et al. 2020). Unlike conventional speech separation methods (Fan et al. 2025), which estimate all sources in a mixture (Luo and Mesgarani 2019; Luo, Chen, and Yoshioka 2020; Subakan et al. 2021), TSE only extracts the speaker specified by the enrollment speech, making it particularly suitable for human-centric applications such as hearing assistance, virtual assistant, and multi-party spoken interaction.

Most existing TSE systems follow a discriminative paradigm, directly estimating the target waveform, spectrum, or time-frequency mask from the mixture and enrollment speech (Wang et al. 2019; Ge et al. 2020; Wang et al. 2024; Zeng and Li 2025; He et al. 2024; Wang, Le Roux, and Her-

Figure

Figure 1: Motivation for task-aware semantic–acoustic codec-token modeling. (a) Unified codec-token modeling entangles linguistic content, speaker characteristics, and acoustic details within a single generative model. (b) Representation-level disentanglement alone remains insufficient when semantic and acoustic token streams are still handled by a unified modeling paradigm. (c) Our task-aware framework assigns discriminative modeling to target semantics and generative modeling to acoustic reconstruction, aligning each token stream with its distinct role in TSE.

shey 2018; Chen, Luo, and Mesgarani 2017; Wang and Chen 2018). Benefiting from strong target-conditioned feature extraction, these methods are generally effective at interference suppression and target-speaker control (Wang, Li, and Toda 2024; Delcroix et al. 2020; Hao et al. 2020). However, they are commonly optimized with deterministic signal-level objectives, which may not fully capture the perceptual distribution of natural speech. Consequently, even when interference is successfully removed, the extracted speech may remain distorted, over-smoothed, or limited in fine-grained acoustic details.

Generative TSE provides a complementary solution by modeling the distribution of target speech rather than a single deterministic estimate(Richter et al. 2023a; Lu et al. 2022). Recent approaches have explored diffusion models, varia-

∗^{*}Corresponding author.

tional models, and codec-token language models for speech enhancement and extraction (Richter et al. 2023b; Pascual, Bonafonte, and Serrà 2017; Tang, Zeng, and Li 2024; Zhang et al. 2025; Wang et al. 2023b). In particular, codec-based systems formulate TSE as conditional sequence generation: the target speech is encoded into discrete neural codec tokens, predicted by a language model, and reconstructed by a codec decoder(Tang, Zeng, and Li 2025). These results establish codec tokens as a promising interface between target-conditioned speech processing and generative sequence modeling.

Nevertheless, existing codec-token TSE systems largely adopt unified codec representations, in which linguistic content, speaker characteristics, prosody, and acoustic details are encoded in the same token space, forcing a single model to simultaneously handle target selection, content preservation, speaker consistency, and acoustic reconstruction. A natural alternative is to use a disentangled codec that separates semantic and acoustic representations. However, representation-level disentanglement does not necessarily yield modeling-level disentanglement. If semantic and acoustic streams are still jointly handled by a single generative model, their distinct roles are effectively coupled again during prediction. Indeed, our controlled comparison shows that directly replacing the unified codec in a generative TSE model with disentangled codec tokens does not consistently improve performance. This observation suggests that the effectiveness of codec tokens depends not only on how speech is represented, but also on whether the modeling strategy is aligned with the structure of that representation.

This distinction is particularly important for TSE because the task contains two complementary but fundamentally different objectives. First, the system must determine what is said by the target speaker, requiring robust target selection, interference rejection, and linguistic-content preservation. Errors in this aspect lead to word deletions, substitutions, hallucinations, or leakage from interfering speakers. Second, the system must reconstruct how it sounds, including naturalness, timbre, prosody, and fine-grained acoustic details. These two objectives impose different modeling requirements: target selection and content preservation require reliable target-conditioned estimation, whereas acoustic reconstruction involves modeling speaker characteristics and fine-grained speech details. Handling both streams with a single generative model couples their distinct roles during prediction and may prevent the model from fully exploiting the semantic–acoustic structure.

Motivated by this analysis, we propose a task-aware semantic–acoustic discriminative–generative framework for TSE. The target speech is represented by separate semantic and acoustic tokens. A discriminative extractor first estimates the target speech, from which a frozen semantic tokenizer derives a target-related semantic representation for target selection and content preservation. In parallel, a decoder-only language model predicts coarse acoustic tokens from the mixture and enrollment representations. A semantic-conditioned refiner then uses the coarse acoustic tokens and the semantic representation to recover the complete acoustic embedding. The semantic and refined acoustic embeddings are combined in the codec space and decoded to reconstruct the target waveform. Our approach coordinates the two paradigms directly in a factorized codec space. Figure 1 summarizes the distinction among unified codec-token modeling, disentangled representation but unified modeling, and the proposed task-aware disentangled modeling.

Experiments demonstrate that the proposed framework achieves a stronger balance among perceptual quality, intelligibility, and speaker consistency than unified-codec generation and naive unified modeling of disentangled token. Ablation studies further show that the improvement does not arise from codec replacement alone, but from matching semantic and acoustic representations with suitable modeling paradigms. We additionally analyze how split and joint optimization, as well as autoregressive and non-autoregressive inference, affect the collaboration between the two tokens.

Our main contributions are summarized as follows:

• We investigate what makes codec tokens effective for target speaker extraction from a semantic–acoustic disentanglement perspective. Our study reveals that representation-level disentanglement alone is insufficient: directly replacing unified codec with factorized semantic and acoustic tokens may even degrade TSE performance when the two streams remain handled by a unified generative model. Effective codec-token TSE requires not only structured representations, but also a modeling strategy aligned with their distinct roles.

• Guided by this finding, we propose a task-aware discriminative–generative framework for semantic–acoustic codec modeling. A discriminative branch extracts target-related semantic information for reliable speaker selection and content preservation, while a generative branch predicts coarse acoustic tokens and refines them under semantic guidance to recover naturalness, speaker characteristics, and fine-grained acoustic details.

• We design controlled comparisons among unified-codec modeling, unified generative modeling of disentangled token, and task-aware disentangled modeling. The results validate our central finding: the effectiveness of codec tokenization for TSE hinges on matching its representation structure with appropriate task-specific modeling, rather than relying on semantic–acoustic disentanglement at the representation-level alone.

References (41)