arXiv:2610.29815eess.ASOct 2026

Manuscript Offprint

arXiv:2610.29815

NeuroCodec: EEG-Guided Latent-Domain Generative Model for High-Fidelity Target Speaker Extraction

Julian Silva, Jaliya Kodithuwakku, Navindu Sirimanna, Shaveen Herath, Wageesha N. Manamperi, Joshua P. Kulasingham

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

Julian Silva D◯\textcircled{D}, Jaliya Kodithuwakku D◯\textcircled{D}, Navindu Sirimanna D◯\textcircled{D}, Shaveen Herath D◯\textcircled{D}, Wageesha N. Manamperi D◯\textcircled{D}, Member, IEEE, and Joshua P. Kulasingham D◯\textcircled{D}, Member, IEEE

Abstract—Driven by recent advancements in hearing assistive devices, target speaker extraction (TSE) in multi-talker environments has drawn significant attention. To address this, hearing technologies identify attention using neural signals recorded via electroencephalography (EEG) to guide TSE, enabling neurosteered auditory attention decoding. However, most existing techniques rely on time-frequency masking, which suffers from low fidelity in spectro-temporally overlapping regions and is often restricted to narrowband audio. In contrast, we introduce NeuroCodec, which, to the best of our knowledge, is the first generative EEG-guided TSE framework operating in the latent space of a neural audio codec. Specifically, NeuroCodec models spatial EEG dependencies via graph convolutions and fuses cross-modal EEG and speech representations through attention mechanisms and Mamba-based temporal modeling. We further introduce a six-phase training curriculum that progressively incorporates latent reconstruction, multi-scale spectral, and adversarial objectives to ensure stable, high-fidelity speech generation. Experiments on the public Cocktail Party and KUL datasets show NeuroCodec outperforms baselines, across several perceptual metrics. A listening experiment with 20 participants validated that NeuroCodec offers greater perceptual accuracy, achieving a mean score of 82.24 compared with 49.63 for M3ANet. Additionally, the proposed method is seen to enable 44.1 kHz reconstruction with spectral content extending up to 20 kHz, further supporting the perceptual results. Finally, we extend NeuroCodec with a causal streaming formulation suited for real-time processing, providing a basis for hearing assistive devices.

Index Terms—Target speaker extraction, audio codec, generative speech reconstruction, electroencephalography (EEG), hearing assistive devices

I. INTRODUCTION

IN complex, multi-talker acoustic environments, the human auditory system exhibits a remarkable capacity to isolate a target speech stream while suppressing interfering voices and background noise, an ability commonly referred to as selective auditory attention in a “cocktail party” scenario [1], [2]. However, this selective auditory attention is severely compromised in listeners with hearing impairments [3], leading to degraded speech intelligibility and elevated cognitive load [4], [5]. While advanced hearing aid technologies and digital acoustic prostheses have successfully restored broad auditory accessibility for millions of individuals, enabling these devices to operate effectively in dynamic, multi-speaker scenes remains a critical hurdle. For modern speech enhancement systems, one fundamental challenge lies not merely in isolating overlapping speech audio, but in decoding the listener’s attention to determine which speaker to extract from the acoustic mixture.

Target Speaker Extraction (TSE) aims to address this problem by isolating a desired speaker from a speech mixture using auxiliary information about the target speaker [6]. Recent approaches exploit a variety of cues, including acoustic embeddings, directional or binaural spatial cues [7], [8], and visual signals [9], [10], to guide the extraction process and improve robustness in challenging acoustic environments. Although these approaches have achieved strong extraction performance, they rely on external reference information that may be unavailable or unreliable in dynamic real-world environments.

An alternative approach is to decode the attentional target from the listener's brain activity, which has been shown to be strongly correlated with the attended speech signal. Several studies in the field of auditory neuroscience have demonstrated that the electroencephalography (EEG) signal tracks the attended speech, which is also called neural speech tracking [11], [12]. Consequently, EEG serves as a direct, non-invasive, and robust indicator of attention, enabling TSE without relying on restrictive external cues. While early computational approaches leveraged this neural-acoustic correlation solely to detect the attended speaker [13] without speech extraction, a task known as Auditory Attention Decoding (AAD), recent advances have established integrated neuro-steered TSE frameworks [14]–[17]. By utilizing the continuous EEG signal as the reference cue, these systems directly isolate and reconstruct the attended speech waveform from the multi-talker acoustic mixture [18].

Neuro-steered TSE can be categorized into two main processing paradigms: offline and online extraction. Offline neurosteered TSE processes complete audio-EEG sequence before producing the target speech, allowing the model to exploit full temporal context during extraction. Early work, such as brain-informed speech separation (BISS) [18], used an EEG-decoded speech envelope to guide TSE. The brain-assisted speech enhancement network (BASEN) [19] later introduced convolutional cross-attention for direct EEG-guided speech enhancement, while NeuroHeed [15] employed self-attention-based EEG encoding and an end-to-end extraction framework. NeuroHeed+ [17] extended this approach through joint auditory attention detection and extraction. NeuroSpex+ [16] further improves extraction through dual-task training on speech-envelope and waveform objectives and is evaluated

J. Silva, J. Kodithuwakku, N. Sirimanna, S. Herath, W. N. Manamperi, and J. P. Kulasingham are with the Department of Electronic and Telecommunication Engineering, University of Moratuwa, Katubedda 10400, Sri Lanka (e-mail: silvalijp.21@uom.lk; kodithuwakkujn.21@uom.lk; sirimannantw.21@uom.lk; herathbhmksb.21@uom.lk; wageesham@uom.lk; pranjeevank@uom.lk).

Corresponding author: J. P. Kulasingham.

under a subject-independent (SI) setting, where test subjects are unseen during training. Although SI evaluation is more challenging than subject-dependent (SD) testing, it provides a rigorous measure of cross-subject generalization for practical deployment. More recently, M3ANet [14] incorporated graph-based EEG modeling and GroupMamba blocks.

Despite these architectural advances, the inherent reliance on offline processing renders these models unsuitable for real-time deployment in hearing assistive devices that require continuous, low-latency operation. To bridge this gap, online processing paradigms handle the input audio stream using short, overlapping causal windows. NeuroHeed [15] introduced an online formulation for causal neuro-steered TSE, while CA-NeuroSpex [20] more recently explored a related causal setting. However, causal neuro-steered extraction remains highly challenging, with existing online systems generally showing lower performance than their offline counterparts [15].

Taken together, prior work leaves two main gaps. First, existing EEG-guided TSE systems still rely on discriminative mixture-domain mask prediction [14], [15]. When target and interfering speech overlap, an inaccurate mask may retain components of the interfering speaker, resulting in speaker leakage. Second, because prior systems have been evaluated at limited audio sampling rates, at a maximum of 8 kHz or 14.7 kHz [14], [15], their ability to reconstruct wider-band attended speech has not been established. This narrowband constraint yields an output with a muffled, robotic acoustic quality that fails to meet the perceptual naturalness required for real-world applications.

Generative approaches have recently shown promising performance in speech enhancement and for TSE conditioned on acoustic or visual cues [21]–[23]. However, these models are computationally intensive, rely on slow iterative generation, and typically benefit from large-scale training data. These requirements are particularly challenging for EEG-guided TSE, where paired EEG-speech datasets are limited and low-latency processing is desirable. To address these constraints, neural audio codecs such as SoundStream [24], EnCodec [25], and the Descript Audio Codec (DAC) [26], offer an alternative by using Residual Vector Quantization (RVQ) to compress high-rate audio into compact, low-frame-rate representations that can be reconstructed by a learned decoder. Predicting these target speech latents fundamentally transforms the extraction task from discriminative mixture-domain mask estimation to direct, generative latent synthesis.

In this paper, we propose NeuroCodec, a generative neuro-steered TSE framework that addresses the limitations of time-frequency mask estimation using a generative neural audio codec. Specifically, the framework predicts target speech representations within the latent space of a frozen, pretrained DAC [26]. This generative formulation aims to reduce masking-related artifacts such as spectral holes and residual speaker leakage, while enabling substantially wider-band reconstruction. Unlike prior neuro-steered systems limited to an output bandwidth of approximately 4-7 kHz, NeuroCodec reconstructs spectral content up to 20 kHz. Cross-modal attention and Mamba-based temporal modeling fuse EEG and mixture audio representations at the compact codec frame rate. To the best of our knowledge, there has not been prior work on generative EEG-guided TSE frameworks. Moreover, we present OnlineNeuroCodec, a causal streaming extension tailored for real-time hearing assistive devices.

Our main contributions are as follows:

  • A generative EEG-guided target speech extraction framework, NeuroCodec, that predicts target speech in the latent space of a neural audio codec, featuring a six-phase training curriculum to stabilize latent, spectral, and adversarial objectives while mitigating traditional time-frequency masking artifacts.

  • A causal streaming extension, OnlineNeuroCodec, incorporating previous target-latent estimates through an auditory attractor to enable real-time, neuro-steered extraction.

  • A comprehensive experimental evaluation under the SI setting on the Cocktail Party [27] and KUL [13] datasets, featuring objective evaluations, ablation studies, streaming benchmarks, spectrogram analysis, and a perceptual listening study demonstrating reconstruction of spectral content up to approximately 20 kHz.

The remainder of the paper is organized as follows. Section II introduces the proposed NeuroCodec framework, Section III presents OnlineNeuroCodec, the causal extension for online streaming. Section IV describes the implementation details and datasets, Section V presents the results and discussion, and Section VI is the conclusion.

References (43)