Detect, Attend and Extract: Keyword Guided Target Speaker Extraction

IJCAI-ECAI 2026 · Oral & Poster
Oral Session: Aug 19 · 11:30-12:30 · Focke-Wulf
Poster: Aug 19 · 16:30-18:00 · Boards 5.2-5.5
Haoyu Li1,2,*, Yu Xi2,*, Yidi Jiang3, Shuai Wang1,6,†, Kate Knill4, Mark Gales4, Haizhou Li5,6, Kai Yu2,†
1School of Intelligence Science and Technology, Nanjing University, Suzhou, China
2X-LANCE Lab, MoE Key Lab of Artificial Intelligence, School of Computer Science, Shanghai Jiao Tong University, Shanghai, China
3National University of Singapore, Singapore
4ALTA Institute, Machine Intelligence Lab, Department of Engineering, University of Cambridge, UK
5The Chinese University of Hong Kong, Shenzhen, China
6Shenzhen Loop Area Institute, Shenzhen, China
*Equal contribution. †Corresponding authors.

Paper Overview

Background
Research Background
Figure 1: Research Background
An illustration of the application scenario and objectives of the proposed DAE-TSE framework. In multi-talker scenarios, DAE-TSE aims to extract the speech of the target speaker who uttered the given keywords, such as ``Hey Siri," from the mixture.

Abstract

Target speaker extraction (TSE) aims to extract the speech of a target speaker from mixtures containing multiple competing speakers. Conventional TSE systems predominantly rely on speaker cues, such as pre-enrolled speech, to identify and isolate the target speaker. However, in many practical scenarios, clean enrollment utterances are unavailable, limiting the applicability of existing approaches. In this work, we propose DAE-TSE, a keyword-guided TSE framework that specifies the target speaker through distinct keywords they utter. By leveraging keywords (i.e., partial transcriptions) as cues, our approach provides a flexible and practical alternative to enrollment-based TSE. DAE-TSE follows the Detect-Attend-Extract (DAE) paradigm: it first detects the presence of the given keywords, then attends to the corresponding speaker based on the keyword content, and finally extracts the target speech. Experimental results demonstrate that DAE-TSE outperforms standard TSE systems that rely on clean enrollment speech. To the best of our knowledge, this is the first study to utilize partial transcription as a cue for specifying the target speaker in TSE, offering a flexible and practical solution for real-world scenarios. Our code and demo page are now publicly available.

Method

Overview of the proposed DAE-TSE framework
DAE-TSE Overview
Figure 1: Overview of the proposed DAE-TSE framework
The left panel depicts the architecture of the Keyword-guided Cue Encoder (KCE), which is jointly optimized via ASR and SV losses and processes the mixture speech and keywords to yield target-speaker cue embeddings. The right panel shows the DAE-TSE training pipeline leveraging the pretrained KCE, which extracts the target speech from mixture inputs guided by cue embedding.

The proposed DAE-TSE follows a three-stage detect-attend-extract formulation: the KCE first detects the presence of keywords; if confirmed, it attends to the target speaker; finally, the TSE backbone extracts the target speaker's speech.

  1. Detect. DAE-TSE first detects the presence of keywords and pinpoints their temporal span through a lightweight search of the mixture. If the keyword is absent in the detection stage, the system outputs silence; otherwise, it proceeds. The cross-attention mechanism between speech and transcriptions naturally establishes frame-level correspondences between the acoustic sequence and the text-based keywords, effectively transforming detection and localization into a search problem. Leveraging this property, we develop a lightweight dynamic programming algorithm that traverses the attention matrix to efficiently detect keyword presence and localize their temporal positions in the mixture. The algorithm processes the phoneme-level cross-attention map from the final KCE layer to compute the maximal path score, the start and trigger frame indices, and a detection flag determined by thresholding against a predefined threshold. With a computational complexity that scales linearly with the keyword length and the number of speech frames, the procedure efficiently handles typical keyword lengths.
  2. Attend. If keyword presence is confirmed, the DAE-TSE encoder extracts a fixed-dimension speaker embedding through speech-text cross-attention and pooling, as described above.
  3. Extract. With the speaker embedding obtained, the TSE backbone extracts the speech of the target speaker from the mixture.
Keyword Presence Detection and Temporal Localization
Keyword Presence Detection and Temporal Localization
Figure 2: Keyword Presence Detection and Temporal Localization
Cross-attention heatmaps for a positive sample (left, keywords present in the mixture) and a negative sample (right, keywords absent). The X-axis represents speech frame indices, and the Y-axis corresponds to the phoneme sequence of the keyword.

In-Domain Samples

5 test cases demonstrating keyword-guided target speaker extraction on LibriMix data.
Each case contains a LibriMix mixture, complete transcriptions, ground-truth audio, enrollment keywords, and extracted outputs.

1
Test Case 1
Mixed Speech (Input)
1 Speaker 1
Complete Transcription
"Ruth was glad to hear that Philip had made a push into"
Ground-Truth Audio Reference
Enrollment Keywords
"Philip"
Extracted Output
2 Speaker 2
Complete Transcription
"the rest of you off a viking he had three ships"
Ground-Truth Audio Reference
Enrollment Keywords
"the rest of you"
Extracted Output
2
Test Case 2
Mixed Speech (Input)
1 Speaker 1
Complete Transcription
"but the dusk deepening in the schoolroom covered over his thoughts the bell rang"
Ground-Truth Audio Reference
Enrollment Keywords
"the bell rang"
Extracted Output
2 Speaker 2
Complete Transcription
"the modest fellow would have liked fame thrust upon him for some worthy achievement it might"
Ground-Truth Audio Reference
Enrollment Keywords
"fame thrust upon him"
Extracted Output
3
Test Case 3
Mixed Speech (Input)
1 Speaker 1
Complete Transcription
"I like to talk to Karl about New York and what a fellow can do there"
Ground-Truth Audio Reference
Enrollment Keywords
"New York"
Extracted Output
2 Speaker 2
Complete Transcription
"on Saturday mornings when the sodality met in the chapel to recite the"
Ground-Truth Audio Reference
Enrollment Keywords
"Saturday mornings"
Extracted Output
4
Test Case 4
Mixed Speech (Input)
1 Speaker 1
Complete Transcription
"he keeps the thou shalt not commandments first rate hen lord does"
Ground-Truth Audio Reference
Enrollment Keywords
"thou shalt not"
Extracted Output
2 Speaker 2
Complete Transcription
"the attendance was unexpectedly large and the girls were delighted"
Ground-Truth Audio Reference
Enrollment Keywords
"the girls"
Extracted Output
5
Test Case 5
Mixed Speech (Input)
1 Speaker 1
Complete Transcription
"I dunno and can't say how you fine gentlemen define wickedness or"
Ground-Truth Audio Reference
Enrollment Keywords
"you fine gentlemen"
Extracted Output
2 Speaker 2
Complete Transcription
"Sit down, please," said Gates in a cheerful and pleasant voice; "there's a bench here."
Ground-Truth Audio Reference
Enrollment Keywords
"said Gates"
Extracted Output

Out-of-Domain Samples

1 test case demonstrating keyword-guided target speaker extraction on out-of-domain data.
Each case contains a mixture, enrollment keywords, and extracted output. Ground-truth and speech enrollment are not available.

Note: These samples demonstrate the model's generalization capability on unseen data. Ground-truth audio and text are not available for out-of-domain samples.
1
Test Case 1
Mixed Speech (Input)
1 Enrollment & Extraction
Enrollment Keywords
"why you bully me"
Extracted Output

BibTeX

@article{li2026detect,
    title={Detect, Attend and Extract: Keyword Guided Target Speaker Extraction},
    author={Li, Haoyu and Xi, Yu and Jiang, Yidi and Wang, Shuai and Knill, Kate and Gales, Mark and Li, Haizhou and Yu, Kai},
    journal={arXiv preprint arXiv:2602.07977},
    year={2026}
}