# Query-by-example Spoken Term Detection using Attention-based Multi-hop Networks

arXiv: https://arxiv.org/abs/1709.00354 · HTML: https://mlsanity.com/paper/1709.00354/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 1 Sep 2017.

## Built on by (most cited first, 4 of 4)

- [Query-by-Example Keyword Spotting system using Multi-head Attention and Softtriple Loss](https://mlsanity.com/paper/2102.07061/) (2021)
- [SpeechDPR: End-to-End Spoken Passage Retrieval for Open-Domain Spoken Question Answering](https://mlsanity.com/paper/2401.13463/) (2024)
- [Cross-Lingual Query-by-Example Spoken Term Detection: A Transformer-Based Approach](https://mlsanity.com/paper/2410.04091/) (2024)
- [INSPIRE: A Benchmark for Instruction-Aware Speech Retrieval](https://mlsanity.com/paper/2608.16203/) (2026)

## Abstract (arXiv)

Retrieving spoken content with spoken queries, or query-by- example spoken term detection (STD), is attractive because it makes possible the matching of signals directly on the acoustic level without transcribing them into text. Here, we propose an end-to-end query-by-example STD model based on an attention-based multi-hop network, whose input is a spoken query and an audio segment containing several utterances; the output states whether the audio segment includes the query. The model can be trained in either a supervised scenario using labeled data, or in an unsupervised fashion. In the supervised scenario, we find that the attention mechanism and multiple hops improve performance, and that the attention weights indicate the time span of the detected terms. In the unsupervised setting, the model mimics the behavior of the existing query-by-example STD system, yielding performance comparable to the existing system but with a lower search time complexity.
