TACOS: Temporally-aligned Audio CaptiOnS for Language-Audio Pretraining

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Primus, Paul, Schmid, Florian, Widmer, Gerhard
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908360495857664
author Primus, Paul
Schmid, Florian
Widmer, Gerhard
author_facet Primus, Paul
Schmid, Florian
Widmer, Gerhard
contents Learning to associate audio with textual descriptions is valuable for a range of tasks, including pretraining, zero-shot classification, audio retrieval, audio captioning, and text-conditioned audio generation. Existing contrastive language-audio pretrained models are typically trained using global, clip-level descriptions, which provide only weak temporal supervision. We hypothesize that CLAP-like language-audio models - particularly, if they are expected to produce frame-level embeddings - can benefit from a stronger temporal supervision. To confirm our hypothesis, we curate a novel dataset of approximately 12,000 audio recordings from Freesound, each annotated with single-sentence free-text descriptions linked to a specific temporal segment in an audio recording. We use large language models to clean these annotations by removing references to non-audible events, transcribed speech, typos, and annotator language bias. We further propose a frame-wise contrastive training strategy that learns to align text descriptions with temporal regions in an audio recording and demonstrate that our model has better temporal text-audio alignment abilities compared to models trained only on global captions when evaluated on the AudioSet Strong benchmark. The dataset and our source code are available on Zenodo and GitHub, respectively.
format Preprint
id arxiv_https___arxiv_org_abs_2505_07609
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle TACOS: Temporally-aligned Audio CaptiOnS for Language-Audio Pretraining
Primus, Paul
Schmid, Florian
Widmer, Gerhard
Audio and Speech Processing
Machine Learning
Sound
Learning to associate audio with textual descriptions is valuable for a range of tasks, including pretraining, zero-shot classification, audio retrieval, audio captioning, and text-conditioned audio generation. Existing contrastive language-audio pretrained models are typically trained using global, clip-level descriptions, which provide only weak temporal supervision. We hypothesize that CLAP-like language-audio models - particularly, if they are expected to produce frame-level embeddings - can benefit from a stronger temporal supervision. To confirm our hypothesis, we curate a novel dataset of approximately 12,000 audio recordings from Freesound, each annotated with single-sentence free-text descriptions linked to a specific temporal segment in an audio recording. We use large language models to clean these annotations by removing references to non-audible events, transcribed speech, typos, and annotator language bias. We further propose a frame-wise contrastive training strategy that learns to align text descriptions with temporal regions in an audio recording and demonstrate that our model has better temporal text-audio alignment abilities compared to models trained only on global captions when evaluated on the AudioSet Strong benchmark. The dataset and our source code are available on Zenodo and GitHub, respectively.
title TACOS: Temporally-aligned Audio CaptiOnS for Language-Audio Pretraining
topic Audio and Speech Processing
Machine Learning
Sound
url https://arxiv.org/abs/2505.07609