TL;DR
ETR-AMR introduces a "post-fusion" refinement stage to the Audio Moment Retrieval (AMR) pipeline, cleaning up fused audio-text features before they reach the temporal localization module. By combining time-frame gating and learnable frequency-domain reweighting, the model significantly improves its ability to find specific audio events in long, noisy recordings, outperforming existing benchmarks by up to 10% in recall.
What Problem Does This Paper Address?
Audio Moment Retrieval (AMR) is the task of finding a specific segment in a long audio recording based on a natural-language query (e.g., "a dog barks while a car passes by"). Unlike standard sound event detection, which looks for predefined categories, AMR must handle free-form text and "needle-in-a-haystack" scenarios where a 5-second event is buried in a 6-minute recording.
The authors identify a major gap in current state-of-the-art models: most research focuses on better audio-text fusion (how to mix the modalities). However, once the features are fused, they are typically passed directly to a localization decoder. In long recordings, these fused features remain "polluted" by background noise, silence, and acoustically similar but semantically irrelevant events. This makes it difficult for the model to predict precise start and end boundaries.
Methods
The authors propose ETR-AMR, which inserts an Event-aware Time-frequency Refinement (ETR) module after the initial fusion but before the final localization. The framework consists of three stages:
- Audio-Text Interaction: Uses a pretrained CLAP (Contrastive Language-Audio Pretraining) model to extract features, followed by a cross-modal attention mechanism to fuse the text query with audio frames.
- Event-aware Time-frequency Refinement (ETR): This is the core novelty, consisting of two sub-mechanisms:
- Time Frame Gating: A lightweight module that uses a learnable global context vector, the fused features, and the text query to calculate a relevance score for every audio frame. This suppresses "dead air" and irrelevant segments.
- Frequency Refinement: The gated features are transformed into the time-frequency domain via Short-Time Fourier Transform (STFT). A learnable weighting matrix $W$ is applied to emphasize frequency patterns specific to the target event (e.g., the high-frequency click of a camera) while dampening background-dominant frequencies. The features are then converted back via Inverse STFT.
- Temporal Moment Localization: The refined, "cleaner" features are fed into a DETR-based (Detection Transformer) encoder-decoder to predict the final timestamps.
Datasets
The model was evaluated on four diverse AMR benchmarks:
- CASTELLA: The primary benchmark; a large-scale, human-annotated dataset with long-duration recordings (up to 360s).
- Clotho-Moment: An open-domain benchmark based on everyday acoustic events.
- UnAV-100 subset: Focuses on complex, real-world scenes with multiple overlapping sound sources.
- TUT-Sound Events 2017: A dataset adapted from sound event detection, featuring complex acoustic environments.
Key Insights and Ideas
- Refinement > Fusion: The paper argues that even perfect fusion isn't enough if the resulting representation is noisy. Post-fusion refinement acts as a "semantic filter" that prepares the data for the localization task.
- The Power of the Spectral Domain: While most AMR models operate purely on temporal embeddings, ETR-AMR shows that returning to the frequency domain (via STFT) allows the model to exploit the unique spectral signatures of different sounds, which is often lost in compressed embeddings.
- Duration Matters: The ETR strategy is particularly effective for medium-to-long audio moments. In long clips, irrelevant acoustic patterns accumulate over time; the ETR module effectively "prunes" this accumulation.
- Plug-and-Play: Because ETR is a post-fusion strategy, it can be integrated into existing DETR-based AMR frameworks with negligible computational overhead.
Key Results
The ETR-AMR model achieved state-of-the-art results, particularly on the high-quality CASTELLA dataset:
- Recall (R1@50%): Improved from 19.30% (AM-DETR) to 29.40%.
- mAP-avg: Increased from 6.41% to 12.63%.
- Duration Analysis: For moments lasting 40-50 seconds, the addition of ETR improved R1@50% from 10.00% to 24.00%, demonstrating its strength in long-form retrieval.
- Qualitative Visualization: Visualizations showed that without ETR, models often attend to non-target regions (IoU = 0.000), whereas ETR-AMR aligns closely with ground-truth boundaries.
Limitations and Future Work
The authors noted that ETR-AMR performed slightly worse than baselines on the TUT-Sound Events 2017 dataset. They attribute this to the dataset's nature: it features very short, class-oriented events with high overlap. In such dense environments, the temporal refinement might be less effective than fine-grained event detection methods.
Future work could involve exploring more sophisticated gating mechanisms or adaptive frequency refinement that changes based on the specific category of the text query.
Summary updated