---
title: "Large-Scale Contrastive Language-Audio Pretraining with"
description: "Contrastive language-audio pretraining links sounds to descriptions and improves audio retrieval and classification with captions and feature fusion."
canonical: "https://research.elamur.ai/free/en/papers/wu-2023-large-scale-contrastive-language-audio/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/wu-2023-large-scale-contrastive-language-audio/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / Large-Scale Contrastive Language-Audio Pretraining with Feature Fusion and Keyword-to-Caption Augmentation

# Large-Scale Contrastive Language-Audio Pretraining with Feature Fusion and Keyword-to-Caption Augmentation

Paper · 2023 · Yusong Wu, Ke Chen, Tianyu Zhang et al.

**Authors:** Yusong Wu, [Ke Chen](https://md.research.elamur.ai/free/en/authors/ke-chen/), [Tianyu Zhang](https://md.research.elamur.ai/free/en/authors/tianyu-zhang/), Yuchen Hui, [Taylor Berg-Kirkpatrick](https://md.research.elamur.ai/free/en/authors/taylor-berg-kirkpatrick/) and Shlomo Dubnov · **Year:** 2023 · **Venue:** IEEE International Conference on Acoustics Speech and Signal Processing · **Licence:** [CC BY 4.0 (arXiv)](https://creativecommons.org/licenses/by/4.0/)

[**439** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4372260310|W6925056539|W6950316704) · [Cited by **86** papers in our library of the 163,136 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/wu-2023-large-scale-contrastive-language-audio/cited-by/) · [IEEE International Conference on Acoustics Speech and Signal Processing](https://openalex.org/S4363607879) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://arxiv.org/pdf/2211.06687)
- [DOI 10.1109/icassp49357.2023.10095969](https://doi.org/10.1109/icassp49357.2023.10095969)
- [arXiv 2211.06687](https://arxiv.org/abs/2211.06687)
- [OpenAlex](https://openalex.org/W4372260310)

Citations: OpenAlex, 2026-10-14.

## Summary

A recording can contain several recognizable sounds, and people can describe the same recording in several valid ways. Building an audio system for a particular task frequently means collecting new annotations that fit that task. This paper asks how far a more reusable approach can go. The authors train an audio encoder and a text encoder together, using recordings and their descriptions as examples of what goes together. The encoders turn their inputs into vectors, or lists of numbers, that can be compared directly. A description can then serve as a search query for recordings, and a written class name can help classify a sound.

The authors release LAION-Audio-630K, a collection of 633,526 audio–text pairs spanning 4,325.39 hours. They also bring AudioSet into training by turning its event labels into captions. A simple template provides one way to do this. The proposed keyword-to-caption procedure uses T5 to compose sentences from the labels. On the audio side, the authors address a different problem. A short excerpt may miss an event elsewhere in a long recording, while encoding every excerpt separately takes more work. Their feature fusion method combines a coarse view of the full recording with short excerpts from its early, middle and late portions. The combination happens inside the audio encoder, so its later layers process a single feature representation.

In text-to-audio retrieval, the paper reports R@1 of 36.7% on AudioCaps and 18.2% on Clotho. R@1 counts how often the matching recording comes first. The authors report improvements over earlier methods on most retrieval metrics, with an important qualification about training data. Broader training data helped on Clotho, while adding AudioSet helped on AudioCaps and lowered performance on Clotho. Feature fusion was particularly helpful on Clotho, which includes longer recordings, and showed a similar benefit in a separate Freesound experiment.

The authors also test whether the representation can support tasks beyond search. They report new state-of-the-art zero-shot classification results on ESC-50, VGGSound and Urbansound8K after removing identified overlaps with the training collection. Here, zero-shot means choosing among written class prompts without fitting a classifier on labeled examples from the target task. The strongest result reported after supervised adaptation improves on the earlier VGGSound result and nearly matches the top result on FSD50K. The authors make both the dataset and their CLAP implementation publicly available.

## Deep dive: Large-Scale Contrastive Language-Audio Pretraining with Feature Fusion and Keyword-to-Caption Augmentation

Contrastive language-audio pretraining links sounds to descriptions and improves audio retrieval and classification with captions and feature fusion. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What descriptions can teach an audio encoder

A system trained to recognize a fixed set of sound events ordinarily receives examples labeled for that purpose. A search system faces a related problem with a different form of input. Its user describes a sound, and the system has to decide which recording fits the description. The paper starts from the cost of collecting sufficiently detailed annotations for individual audio tasks. If audio and language already describe some of the same events, their correspondence offers a source of supervision that can be shared across tasks.

An event label and a caption provide different kinds of evidence. A label supplies a category name from a pre-defined inventory. A caption gives the encoder a piece of ordinary language to associate with a recording. The paper's premise is that multiple descriptions of the same event can convey related meanings even when their wording differs. An encoder trained on these pairings can produce an audio representation that supports comparisons with language, and the same audio representation can also supply features to a conventional classifier.

This premise still requires a way to turn correspondence into a training signal. A collection tells the system which text was attached to which recording. Contrastive learning uses that assignment to create a choice within a group of examples. For a given recording, the associated description should score well against other descriptions in the group. The same reasoning applies in reverse when the description is the query. The comparison supplies a training signal even when the collection has been assembled from sources whose descriptions were written for different purposes.

The paper takes its starting point from contrastive language–image pretraining. In the authors' account, CLIP uses the association between an image and its text as positive evidence and treats the other pairings in the training comparison as negative. The image and text encoders learn to produce compatible vectors. The authors point to CLIP's recognition results on variants of ImageNet, as well as search and caption-related uses, to motivate testing the same general arrangement with audio. [CLIP](https://md.research.elamur.ai/free/en/papers/radford-2021-learning-transferable-visual-models-natural/)

#### What earlier audio work had established

Several of the earlier systems described in the paper already used learned relationships between sound and language for search. One line of work paired PANN on the audio side with BERT on the text side and compared objectives for retrieval. Further work considered HTSAT and RoBERTa among the encoder options. These efforts had already made encoder selection an empirical question. The present paper asks how the candidate audio and text components perform when compared within a common pretraining setup. [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/) · [RoBERTa](https://md.research.elamur.ai/free/en/papers/liu-2019-roberta-robustly-optimized-bert-pretraining/)

The authors also describe previous work that carried audio representations into classification. Other systems, including AudioCLIP and Wav2CLIP, put more emphasis on aligning audio with images or on using image and language alongside audio. In the present study the training comparison directly pairs sound with written descriptions. That choice lets the authors test the same learned relationship by searching a catalog of sounds and by searching a set of class prompts.

The authors identify gaps in the earlier studies that shaped their experiments. Training collections were relatively small in their account, so enlarging the pool of descriptions was a priority. They also wanted a fuller comparison of audio and text encoders. Finally, much of the retrieval work left open how useful the resulting audio vectors would be for downstream tasks. Testing classification in both a prompt-based setting and a supervised setting gives those two uses distinct experimental protocols.

#### Why data size and recording length pose different problems

Adding recordings helps only if there is text to pair with them. Some collections already have descriptions that can be used directly. AudioSet supplies event labels, which identify sounds but give the training procedure a different style of text. The authors could insert those labels into a fixed sentence pattern or use them as inputs to a caption generator. This makes the form of the supervision a design choice alongside the choice of which collections to use.

Recording length presents a separate obstacle. A short recording can be fitted to a fixed input by repetition and padding. A long recording can contain recognizable events spread over time, so a short crop gives the encoder evidence from just one interval. The conventional alternative described in the paper processes several chunks or frames and aggregates the resulting embeddings. The work grows with the number of chunks when each goes through the encoder before aggregation. The authors single out variable duration as a concern for audio encoders based on the [transformer](https://md.research.elamur.ai/free/en/concepts/transformer/).

Feature fusion addresses where the work is done and what information survives to that point. A coarse whole-recording view can span events that occur far apart. Local excerpts can retain more detail from particular parts of the recording. By combining these views early, the method can use a fixed number of inputs to its initial layers and let the rest of the encoder work on a combined representation. The resulting design makes it possible to compare duration handling alongside the effects of collecting and rewriting the training text.

### The method, step by step

#### How a recording and its description become a training pair

CLAP has separate processing paths for sound and text. The audio path receives a numerical description of how the recording's frequency content changes over time. The text path receives the caption as tokens, the units into which the text encoder divides its input. Each encoder produces a vector in its own format. A small learned projection on each side maps those vectors into a common space, where a score between a recording and a sentence has the same meaning across examples.

The shared space is learned from the training pairs. A description associated with a recording provides a target for that recording's row of comparisons. The recording provides a target for the description's row in the reverse comparison. Once training is complete, the scoring procedure can be used with new text and new audio. The query determines which side stays fixed and which side supplies the candidates.

From paired recordings and descriptions to contrastive training The steps in order.

#### Assembling the training collections

The authors build LAION-Audio-630K by downloading recordings and associated descriptions from 8 publicly accessible sources. The full collection has 633,526 pairs and a total duration of 4,325.39 hours. It includes recordings of human activity, natural sounds and sound effects. The authors describe it as the largest publicly available collection of paired audio and text known to them at the time. That statement concerns the released collection. The training experiments use it alongside other sources or in comparisons with other training configurations.

The smaller training pool comes from AudioCaps and Clotho, with about 55K training pairs between them. LAION-Audio-630K provides a broader pool of around 630K pairs. AudioSet is larger in audio count, with 1.9 million samples, but starts with labels for the recordings. After generating text where needed, the authors describe the combined pool as reaching 2.5 million captioned audio samples. The pair count for the release, the approximate size used to describe its role in training, and the count for the combined collection refer to different quantities.

For the releases drawn from Freesound, the appendix notes that individual recordings have Creative Commons licenses set by their uploaders. Some require attribution, and some restrict commercial reuse. The release includes the license for each sample. This detail matters for understanding a collection assembled from existing material. The audio and its description arrive as a training pair, while the conditions attached to that recording still apply at the level of the individual item.

The authors preprocess the audio into mono FLAC at 48kHz. Mono gives the audio path a single channel, and the sample rate specifies how densely the waveform is recorded in time. The paper also describes excluding overlaps with evaluation data during dataset preparation. For the zero-shot classification benchmarks it specifies which side of the comparison is filtered: the authors remove identified overlapping items from the evaluation collections and score the remaining examples.

#### Turning tags into sentences

A recording with a caption already supplies the text input. A tag-only recording needs a conversion. The template option surrounds the event labels with a fixed phrase and lists them in the resulting caption. Every training example can then enter the same paired format, even though the linguistic context around the labels remains mostly constant. This version serves both as a way to include more recordings and as a baseline for the learned captioning procedure.

The keyword-to-caption option feeds the tags to a pretrained T5 system that generates a sentence from them. The input to T5 is the set of keywords associated with the recording. The output is the text that the contrastive procedure compares with that recording. T5 supplies a way to express the existing labels in sentence form. Its position in the pipeline is before the text encoder, so the generating system and the system that embeds captions have distinct jobs. [T5](https://md.research.elamur.ai/free/en/papers/raffel-2019-exploring-limits-transfer-learning-unified/)

The authors edit some generated wording before training. For example, their post-processing can turn gender-specific references to a human into the neutral noun *person*. They also exclude recordings shorter than 2 seconds when applying keyword-to-caption augmentation. Their reason is that very short clips often contain a single event, and they found that the generated caption could fit that event poorly. For the AudioSet condition using generated captions, those captions supply the text and the template versions are left out. The procedure therefore changes the text assigned to a label-only recording and includes a duration-based filtering decision.

#### Building inputs for the audio encoder

The audio encoder operates on a mel spectrogram, a time-by-frequency representation of the recording. To construct it, the authors compute short-time Fourier transforms, which describe frequency content within successive windows, and use mel frequency bands for the resulting input. The reported window size is 1024 and the hop size is 480. The window determines how much signal contributes to an analysis frame, while the hop determines how far the analysis moves before the next frame.

The fixed-duration input is 10 seconds. The paper gives the resulting encoder input as 1024 time positions by 64 mel bins. Here, time positions are the rows of the input representation, whereas the bins describe frequency content. Though the paper also writes the time dimension as T in this shape, it uses T for duration in seconds when describing the fusion rule. The distinction matters because the duration comparison selects the processing branch before the features go through the encoder.

The fixed size is straightforward for recordings at the target duration. For a shorter recording, the authors repeat the recording and add zeros to fill the remaining time. Their example begins with a 3-second clip. Repetition supplies 9 seconds of signal and a 1-second pad fills the rest. The encoder receives an input of the expected size, with repetitions of actual sound and a final silent interval. In the training condition without feature fusion, recordings longer than the target duration are randomly cropped to a 10-second segment.

#### Representing a long recording at two resolutions

For a recording whose duration T exceeds the target duration d of 10 seconds, the authors form a global view and local views. The global view is a downsampled representation of the content across the entire recording, compressed to the target length. The local views are randomly selected 10-second clips, taken from the early, middle and late thirds. The local inputs preserve details within those intervals, and the global input lets information from across the recording reach the same computation.

The initial audio layer processes the views before they are merged. A two-dimensional convolution combines the local features, with a stride of 3 along time. A convolution moves a learned filter over its input, and the stride controls the displacement between applications. The purpose of this layer is to turn the local outputs into a single feature representation suitable for combining with the global feature. At that point the encoder still has access to both sources of information separately.

The paper uses attentional feature fusion, abbreviated AFF, to decide how much of each source to keep. Its fusion network is a two-branch convolutional network that derives a coefficient from the global and merged local features. The authors' rule for combining them is:

```
Xᵃ_fusion = α Xᵃ_global + (1 − α) Xᵃ_local
```

Xᵃ_fusion is the combined audio feature, where the superscript a identifies the audio branch. Xᵃ_global comes from the compressed whole-recording view, and Xᵃ_local comes from the convolution that combines the sampled excerpts. α is the coefficient learned from both inputs by AFF. Multiplication by α weights the global feature, and multiplication by its complement, 1 − α, weights the local feature. The plus sign adds the weighted contributions into the representation sent onward through the encoder.

This arrangement puts the merge earlier than an approach that encodes each chunk completely and then averages the output embeddings. Most layers see one representation per recording. The number and size of the inputs to the encoder's initial layers are also fixed under the long-recording rule. That is the architectural basis for the authors' claim about handling varying durations at constant computation time. Operations that first obtain and prepare the full recording remain a distinct part of processing.

#### Choosing the encoders and aligning their outputs

On the audio side, the authors compare PANN and HTSAT. PANN is based on convolutional neural networks and is described as having 7 downsampling blocks and 7 upsampling blocks. HTSAT uses 4 groups of Swin transformer blocks. The authors take the output just before the final layer in each audio encoder. The resulting vector has 2048 dimensions for PANN and 768 for HTSAT. This use of an intermediate representation lets the contrastive objective operate on audio features before the original encoder's final classification output. [Swin Transformer](https://md.research.elamur.ai/free/en/papers/liu-2021-swin-transformer-hierarchical-vision-transformer/)

On the text side, the candidates are the CLIP text transformer, BERT and RoBERTa. The CLIP text encoder has an output dimension of 512, while BERT and RoBERTa each return a 768-dimensional output. In the training setup, captions have a maximum length of 77 tokens. The tokens provide the sequence that the chosen text encoder processes. Its output vector is then passed to the text projection.

Each projection is a 2-layer multilayer perceptron, meaning a short stack of learned transformations. It uses a rectified linear unit, or ReLU, as its activation function. Regardless of the original length of the audio or text vector, the projected representation has 512 dimensions. The point of the projection is to learn a compatible coordinate system for comparing the outputs. Equal dimensionality makes a pairwise score possible, and the contrastive training determines how the coordinates should be used.

```
Eᵃᵢ = MLPₐ(fₐ(Xᵃᵢ))
```

The index i identifies a training pair. Xᵃᵢ is its audio input, and the superscript a denotes audio. The function fₐ is the audio encoder. MLPₐ is the learned audio projection applied to that encoder's output. Eᵃᵢ is the resulting audio embedding, a vector in the shared space of dimension D, where D is 512.

```
Eᵗᵢ = MLPₜ(fₜ(Xᵗᵢ))
```

Xᵗᵢ is the text associated with the same pair i, and the superscript t denotes text. The function fₜ is the text encoder. MLPₜ is its learned projection, and Eᵗᵢ is the resulting text embedding. Its dimensionality is the same D as for the audio embedding. Each branch has its own encoder and projection parameters even though the projected vectors are compared in the same space.

#### Training on comparisons in both directions

A training batch contains paired recordings and descriptions. The embeddings allow every recording in the batch to be compared with every caption in that batch. The score for the observed pairing should be high relative to the scores for the other candidates. Holding the caption fixed instead produces the reverse comparison, where the paired audio competes with the other recordings. The objective gives both directions a role in learning the vectors.

```
L = (1 / (2N)) Σᵢ₌₁ᴺ [
  log(exp(Eᵃᵢ · Eᵗᵢ / τ) / Σⱼ₌₁ᴺ exp(Eᵃᵢ · Eᵗⱼ / τ))
  + log(exp(Eᵗᵢ · Eᵃᵢ / τ) / Σⱼ₌₁ᴺ exp(Eᵗᵢ · Eᵃⱼ / τ))
]
```

L denotes the objective written in the paper. N is the batch size during training. The outer sum, marked by Σ, uses i from 1 through N to visit each pair. The inner sums use j over that same range to visit the candidates on the other side. Eᵃ and Eᵗ denote projected audio and text embeddings, with their subscripts identifying individual examples. The centered dot is the vector dot product, and τ is the learned temperature that scales those scores before exponentiation. The function exp exponentiates a scaled score, and log takes the logarithm of the corresponding ratio. The factor 1 / (2N) averages over the two directions and the N pairs.

In the first ratio, the numerator uses the matched text for the audio query, and the denominator includes that text and all other texts in the batch. The next ratio does the same for a text query competing over audio candidates. A larger share of either denominator for the paired item leads to a larger logarithmic term. As printed, the expression therefore has the sign of a log-likelihood to maximize. A loss minimized by gradient descent would use its negative. The equation shows the intended relative scoring, while the paper leaves that sign convention unresolved in its description of the update.

The optimization uses Adam with β₁ set to 0.99 and β₂ set to 0.9. These parameters govern the moving estimates used by the optimizer when it updates the network. The learning rate starts with a warm-up phase and then follows a cosine decay, with a base learning rate of 10⁻⁴. The authors report 45 epochs of training. An epoch is a pass through the training collection, so a common epoch count still means different numbers of examples processed per pass when the collection changes.

Batch size also changes with the training material. The reported sizes are 768 for AudioCaps plus Clotho, 2304 for a training set containing LAION-Audio-630K and 4608 for a training set containing AudioSet. This setting controls how many pairs participate in each update and how many candidate matches are in the denominators of the contrastive objective. The larger training conditions thus change both the examples available over an epoch and the size of the comparison used during an update.

#### Using the representation after training

For text-to-audio search, a text query is embedded and compared with the candidate audio embeddings. Candidates are ranked by cosine similarity, which compares the directions of the vectors. In the reverse direction the audio embedding stays fixed and the captions are ranked. The same learned representation supports either query direction, although the experiment's relevance judgments differ according to whether the query is a caption or a recording.

For zero-shot classification, the candidates are prompts formed from class names. Each prompt expresses the class as a sound description. The system compares an audio embedding with the embeddings of those prompts and chooses the class of the closest prompt. This turns classification into a search over a known candidate list. The class descriptions can be specified at evaluation time, which is the source of the method's flexibility.

For supervised classification, the audio vector instead feeds a learned output layer for a fixed set of categories. The authors adapt the audio encoder on the target task with labeled examples. This is [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/): it starts from the pretrained representation and updates it for a specific task. The experiment asks whether audio features acquired by matching sound to language provide a useful starting point when the target labels are available.

### Experiments and results

#### How retrieval is scored

The retrieval experiments start by comparing audio and text encoders on AudioCaps and Clotho. The authors then use the selected encoder pair to examine training sources, generated captions and feature fusion. They report scores in both retrieval directions and use the results to select configurations for classification. In the search comparisons with earlier work, the paper discusses MMT, CLAP-HTSAT and prior cross-modal metric learning, and follows earlier retrieval studies in its scoring procedure.

Recall at a given rank counts how frequently a relevant item appears within that part of the ranked list. R@1 measures success at the first position. R@5 and R@10 give credit if there is a relevant item within the corresponding cutoff. A recording moved up from deep in the list can improve recall at a wider cutoff while leaving the score at the first position unchanged. The paper also uses mean average precision, abbreviated mAP, to account for how relevant returns are distributed in the ranking.

AudioCaps and Clotho associate five reference descriptions with each recording. For text-to-audio evaluation, every description is used as a query in its own right. This gives each wording an opportunity to retrieve the matching recording. Even if the system retrieves a recording for one of its descriptions, it can still miss on others. The averaged score therefore measures performance over the descriptions as queries, including the variation among descriptions associated with the same audio.

In audio-to-text recall, the scoring rule uses the best rank achieved by any of the five reference texts for that recording. The relevant event is finding an acceptable description within the cutoff. Audio-to-text average precision also gives credit for retrieving other relevant descriptions near the top. The paper gives the cutoff calculation as follows:

```
mAP@10 = (1 / R) Σᵣ₌₁¹⁰ [P(r) × rel(r)]
```

mAP@10 denotes mean average precision at the cutoff of 10, and the displayed sum gives the relevant precision contributions for a ranked query. The symbol r is the rank within the list, ranging from 1 to 10. P(r) is precision at that rank, meaning the share of retrieved items up to that point that are relevant. The term rel(r) is a binary indicator of relevance for the item at rank r, so the product contributes only at ranks occupied by relevant items. R is the normalization factor in the displayed expression. The paper's accompanying explanation defines the rank-dependent terms and leaves R implicit. The mean summarizes the query scores.

In the separate Freesound evaluation, each audio sample has one corresponding text. The paper uses the usual recall and mAP procedure for that pairing structure. The difference from AudioCaps and Clotho affects how one reads both directions of retrieval. With several references, an audio query can succeed through any of several captions. With a single reference, the matching criterion for an audio query is tied to the one caption associated with that sample.

#### Choosing an encoder pair before scaling training

The encoder comparison uses only AudioCaps and Clotho for training, about 55K audio–text pairs. Both encoders are initialized from pretrained checkpoints. PANN and HTSAT are each used with the candidate text encoders, and the authors report the best mAP@10 results for audio-to-text and text-to-audio search. This first experiment holds the training source fixed while changing the components that produce the embeddings.

HTSAT is stronger than PANN when paired with BERT or RoBERTa in the comparisons described by the authors. RoBERTa performs better than BERT, and the CLIP text transformer gives the weakest results. The authors select HTSAT with RoBERTa for the larger training runs. The selection follows the retrieval results under the compact training setup and gives the later comparisons a common audio and text backbone.

The paper also compares learning behavior and reports more overfitting with the CLIP text transformer than with RoBERTa. Overfitting is a loss of generalization when training has adapted too closely to the examples seen during learning. Here the authors use the convergence trends to help explain why the CLIP text branch yields weaker retrieval results. The diagnosis concerns its use in this paired audio–text experiment.

#### Retrieval with broader training data

The next experiment changes which audio is available during training and how label-only recordings are described. Training with LAION-Audio-630K improves Clotho retrieval compared with the AudioCaps-plus-Clotho training condition, while the corresponding AudioCaps result fails to improve. The authors describe this as a tradeoff between evaluation collections. The effect matters because a single aggregate claim about scaling would hide which recordings get easier to retrieve and which become harder.

Adding AudioSet shifts the pattern again. The paper reports improved AudioCaps retrieval when AudioSet enters training with either templated or generated text, and lower Clotho performance. Generated captions outperform the template alternative on most of the reported metrics. Feature fusion brings its clearest benefit on Clotho, where many of the recordings can make use of the long-input procedure. The changes affect the same basic retrieval mechanism, but broader audio coverage, different descriptions and different audio inputs can each change the ranking.

The authors report that their best results surpass earlier methods on most retrieval metrics. For text queries they highlight an R@1 of 36.7% on the AudioCaps evaluation set and 18.2% on the Clotho evaluation set. These are headline scores for the paper's system under two benchmark conditions. Each has its own recordings and query texts, so the comparison shows reported performance by benchmark. Numerical gains over an earlier system require a comparison within the same benchmark and under the same metric.

CLAP text-to-audio R@1 on the AudioCaps and Clotho evaluation sets The reported first-rank recall is higher on AudioCaps than on Clotho.

**The numbers**

| System or setting | R@1 % |
| --- | --- |
| CLAP on AudioCaps (this paper) | 36.7 |
| CLAP on Clotho | 18.2 |

The broad pattern in the retrieval results is more informative than an ordering of the benchmark scores. On AudioCaps, additional recordings from a source that the authors consider acoustically similar are associated with stronger search performance. On Clotho, broader sourced audio and a mechanism that processes longer inputs are associated with gains. Freesound supplies an additional evaluation in which long inputs occur and shows the same direction of benefit from feature fusion as Clotho.

#### Classifying sounds by matching prompts

The zero-shot classification experiment uses three of the strongest configurations from the preceding experiments. It evaluates ESC-50, VGGSound and Urbansound8K. The authors construct one prompt from each class label using a common sentence pattern. For each test recording, the resulting list of sentences becomes the text candidate set. Audio-to-text similarity produces an ordering over classes, and the class of the highest-ranked prompt is the prediction.

The metric is top-1 accuracy, the share of evaluation recordings assigned the correct class on that first choice. The authors identify overlapping samples between the training material and the zero-shot evaluation collections. They remove those samples from evaluation and compute accuracy on the remaining recordings. The restriction gives the experiment a clearer interpretation as transfer to recordings outside the identified training overlap.

The authors report new state-of-the-art zero-shot results on all three datasets. They describe the gains from keyword-to-caption augmentation as particularly marked on VGGSound and Urbansound8K, and they report that feature fusion improves classification performance as well as enabling a more complete treatment of long inputs. These findings concern transfer through the written class prompts. Accuracy is measured over a class list supplied for each benchmark, so the classifier is being tested on how well it can choose a member of that list.

#### Fine-tuning the audio encoder with target labels

The supervised experiment adapts the audio encoder on FSD50K and VGGSound. Its target is an audio classifier trained with task labels, which provides a different test of the pretrained representation. A good result can reflect features that remain useful after adaptation even if they would be hard to access through a particular class prompt. Conversely, the experiment measures the quality of the adapted system, with target supervision contributing to the result.

The paper specifies mAP for FSD50K. The authors report that their best supervised VGGSound result exceeds the previous state of the art, while the FSD50K result is close to the best earlier result. The different outcomes are useful when judging the breadth of the transfer claim. The same pretraining method can supply a competitive starting point on both tasks, with the strongest relative result reported on VGGSound.

The authors leave ESC-50 and Urbansound8K out of the supervised experiment because potential leakage would make comparisons with earlier results difficult to interpret. Those datasets serve as tests in the filtered zero-shot setting. Therefore, for ESC-50 and Urbansound8K the reported evidence is about choosing among class prompts, whereas FSD50K supplies evidence for supervised adaptation. VGGSound is used in both protocols.

### What the ablations show

#### The best component choice depends on the pairing

An ablation changes part of a system to learn which part accounts for a result. The paper's encoder grid serves this purpose at the level of component choice. Because the training collection is held to AudioCaps and Clotho, the observed ordering can guide the choice of a starting architecture. The paper specifically describes HTSAT's advantage over PANN with RoBERTa and BERT. That qualification is useful because pairing an audio encoder with a different text encoder can change the contrastive learning problem.

Selection by mAP@10 in both directions also helps explain why the authors carry HTSAT–RoBERTa forward. An encoder can preserve enough information to find descriptions for clips and enough to retrieve clips for descriptions, yet the relevance criteria and candidate lists in those directions differ. The paper uses a common comparison to choose the architecture for the subsequent search experiments. It does not rank the components over the full range of downstream tasks under separate training conditions.

The convergence analysis suggests another reason to treat the pairing as a unit. A transformer taken from a system already trained to align language with images might seem a plausible fit for another cross-modal task. In the paper's audio experiment, however, the CLIP text transformer exhibits more overfitting, and its retrieval scores are weak. The authors' analysis connects the learning behavior with generalization in this setup. The change in text branch also changes the checkpoint, the representations available at initialization and the way they adapt to the paired data.

#### Training data composition matters alongside scale

The comparison involving LAION-Audio-630K tests the effect of a larger and differently sourced collection. Clotho benefits while AudioCaps does not improve. The authors suggest that AudioCaps contains sound similar to the AudioSet material used to pretrain the audio encoder's checkpoint. Wider training sources can shift the learned representation toward examples found in Clotho and away from the distribution that suited AudioCaps. This is an explanation offered for the observed results, with similarity of the audio sources playing the proposed role.

Adding AudioSet gives the explanation a further test. AudioCaps improves and Clotho declines in the reported comparison. In the appendix, Freesound also scores better with the training combination of AudioCaps, Clotho and LAION-Audio-630K than with the combination that additionally includes AudioSet. This recurrence supports the paper's reading that source composition matters. It also shows why the training pool with the most recordings cannot simply be assumed to give the strongest result on every collection.

Several changes occur together when training scales. The amount of audio changes, the distribution of sounds changes, and the sources differ in the text available for each recording. The batch sizes also vary, which changes the number of alternatives in the objective. The ablation supports a statement about the performance of the resulting training configurations. Isolating the effect of sample count would require comparing otherwise matched draws from a common source distribution with the relevant training settings held fixed.

#### Caption wording changes the training signal

When AudioSet is added, a template and a T5-generated sentence provide competing ways to turn labels into training text. In the template branch, the label strings occupy the same grammatical frame from sample to sample. In the generated branch, the system has to align audio with captions formed from the keywords. The reported advantage of generated captions on most retrieval metrics suggests that the text given to the encoder matters beyond the mere presence of a text field.

The classification comparisons point in the same direction on VGGSound and Urbansound8K. The authors interpret the gains as evidence that the additional captions enrich the shared representation. One way to read that interpretation is that the association between audio and language becomes easier to use for new class prompts. The experiments measure better task scores, however, and the paper does not present a separate measurement that identifies which changes in wording account for those scores.

The captioning comparison also bundles several choices. The generated output is edited, short clips are filtered under the stated augmentation rule, and the template captions are removed from the augmented training condition. The results establish the performance of this captioning procedure as a whole. The individual contributions of sentence variation, the editing rules and the clip-length filter remain open within that result.

#### Longer recordings give fusion room to help

The fusion comparison changes what the audio encoder can use from a recording. A random 10-second training crop presents one interval. The fusion path adds coarse information about the whole recording and samples local evidence across its span. When a dataset contains longer audio, these paths can supply meaningfully different evidence. When a recording already fits the input window, there is less opportunity for the long-recording path to change what the encoder sees.

The paper reports that the retrieval benefit is particularly evident on Clotho. The appendix tests the same design decision on Freesound, which also includes recordings that exceed the input window. Retrieval improves with fusion there as well. This additional comparison extends the finding to another evaluation collection with the relevant duration property, while retaining a similar tradeoff over whether to add AudioSet to training.

The experiment evaluates the complete fusion path. That path includes the global view, sampling local excerpts at separated positions, merging the local features, and learning how to combine the result with the global features. The paper's results associate the combined design with improved retrieval. They do not assign the gain to one of its operations. For instance, the comparisons leave open how much of the gain a global view alone would capture, or how an average of the same features would compare with learned weights.

Taken together, the ablations show different conditions under which the changes help. Encoder choice matters within a shared retrieval setup. Caption construction matters when labels are turned into text for contrastive training. Fusion shows a repeatable benefit on the evaluations that include long recordings. Training sources affect which target collections benefit. The result is a set of design findings tied to particular data and tasks, with the Freesound experiment supplying a separate check on the duration-related finding.

### Limitations

#### Limits the authors identify

The authors explicitly flag overlap with the classification data. They remove known overlaps for the zero-shot experiments, so the accuracy claims refer to the remaining samples. For supervised ESC-50 and Urbansound8K, they judge that potential leakage would make results hard to compare with previous methods and omit those experiments. That decision sets a clear boundary on the supervised claim. The study provides supervised evidence from VGGSound and FSD50K and supplies the filtered zero-shot evidence for the other collections.

The paper also identifies a limit of keyword-to-caption augmentation at short durations. The authors found that clips shorter than 2 seconds could match generated descriptions poorly and excluded those clips when applying the procedure. The caption generator sees the keywords, so the quality of a generated sentence depends on what those words capture about the audio. A sentence can be fluent while evoking more than the tags support. The duration rule is the authors' practical response to the mismatch they observed in short samples.

The authors describe the different responses of AudioCaps and Clotho as a tradeoff. Additional training audio from a particular source can help one evaluation and hurt another. The choice of training pool therefore has to be read in relation to the test material. The paper closes by naming larger training collections and transfer to tasks such as audio synthesis and separation as future work. Its reported downstream evidence covers search and classification.

#### Limits visible in the experimental setup

The negative candidates in the contrastive objective are defined by pair membership. If a description belongs to a different recording in the batch, it competes in the denominator even when it could also describe the query audio. This follows directly from the pairing rule. It matters because the authors' motivation rests in part on the fact that different descriptions can refer to similar events. The objective teaches the system to retrieve the documented match under its training procedure, with semantic equivalences among differently paired examples left implicit.

The retrieval benchmarks apply a related convention at evaluation. They use the recorded matches as relevance judgments. Multiple captions for one recording broaden the available references, and the two retrieval directions use those references differently. A high ranking for a plausible alternative only receives credit when the benchmark marks it relevant. The figures therefore quantify how well the system recovers known pairings, which is a concrete test with narrower scope than judgments about every possible acceptable search result.

Fusion gives long recordings a route into a fixed-size audio encoder. That requirement constrains what can be retained. The global path compresses the recording, and the local path samples from selected portions. A brief event may fall outside those portions and be weakly represented in the global features. The retrieval gains show that fusion helps under the reported conditions. The setup leaves open how faithfully it preserves sparse events in much longer inputs or whether it retains the order and relationship of every event needed for a harder task.

The efficiency claim also has a specific scope. The architecture bounds the number of views sent into the initial encoder layers and merges them before later layers. This gives a basis for expecting less encoder work than processing every chunk fully. The paper describes the method in these architectural terms. Wall-clock measurements across durations would address a broader question about end-to-end processing, including the work of preparing the global view.

Zero-shot prompts provide a test of whether class names can access the learned representation. The experiment uses a common wording pattern, so the reported results also reflect that prompt design. Sensitivity to alternate wording or descriptions of the same class remains a separate question. In the supervised experiment, target-task adaptation contributes to the score. Its success shows that the pretrained encoder can be useful under fine-tuning, while the relative contributions of initialization and later task-specific training are left open.

Finally, the caption post-processing is illustrated by a specific lexical substitution. The paper gives no evaluation of how frequently generated descriptions faithfully preserve the tags, how the edits alter the represented events, or how the process behaves across other kinds of wording. The observed benefits are retrieval and classification outcomes for the augmentation pipeline. A claim about systematic properties of the generated descriptions would require a different measurement.

### What came after

The later citing work spans generation, search and audio understanding. The connection differs across those areas. CLAP treats the relationship between a written description and a recording as something that can be represented and scored. A generation system, a retrieval system and a reasoning benchmark place different demands on that relationship. The later titles establish those directions of work, while the citation establishes that each work refers to the paper.

AudioLDM moves from matching audio and descriptions to generating audio from written input using latent diffusion. In CLAP's retrieval setting a description selects among existing recordings. In text-to-audio generation, the description specifies a sound to produce. The connection between the papers is the use of language to express what an audio result should contain. Generation puts that connection to work on a different kind of output. [AudioLDM](https://md.research.elamur.ai/free/en/papers/liu-2023-audioldm-text-audio-generation-latent/)

UniSonate also studies generation from text instructions, with speech, music and sound effects under one system. This broadens the question of what can be specified in language across types of sound. ImmersiveTTS takes a more focused direction: it studies environment-aware text-to-speech with a multimodal diffusion transformer and domain-specific representation alignment. Both cite the CLAP paper, and their stated tasks place language–audio relationships inside systems that produce sound. [UniSonate](https://md.research.elamur.ai/free/en/papers/qiang-2026-unisonate-unified-model-speech-music/) · [ImmersiveTTS](https://md.research.elamur.ai/free/en/papers/yun-2026-immersivetts-environment-aware-text-speech/)

Omni-Embed-Audio returns to audio–text retrieval. Its stated approach uses multimodal large language systems to obtain robust retrieval. It shares CLAP's central task of finding correspondence across sound and language, while addressing it through a different class of encoder. *Ask in Any Modality* surveys a broader retrieval setting in which the query and evidence can use different modalities and retrieval can support generation. Audio–text matching fits within that setting as one form of cross-modal search. [Omni-Embed-Audio](https://md.research.elamur.ai/free/en/papers/yoo-2026-omni-embed-audio-leveraging-multimodal/) · [Ask in Any Modality](https://md.research.elamur.ai/free/en/papers/abootorabi-2025-ask-any-modality-comprehensive-survey/)

Other citing work extends the questions posed to audio systems. GAMA studies audio understanding and complex reasoning. MMAU frames audio understanding and reasoning as a multitask benchmark. Those directions add a demand beyond ranking a matching description: a system may have to use evidence from a recording to respond to a task. They place the problem of learning a useful audio representation in a setting where what the system can infer from the representation matters as well. [GAMA](https://md.research.elamur.ai/free/en/papers/ghosh-2024-gama-large-audio-language-model/) · [MMAU](https://md.research.elamur.ai/free/en/papers/sakshi-2024-mmau-massive-multi-task-audio/)

*Revisiting Audio-language Pretraining for Learning General-purpose Audio Representation* takes up the original question of what audio–language pretraining can teach the audio encoder for use across tasks. *Towards Fine-Grained and Multi-Granular Contrastive Language-Speech Pre-training* focuses on speech and makes the granularity of alignment part of the research question. In the CLAP paper, the contrastive match is between a recording and its associated text. Finer-grained alignment asks how much can be gained by giving the learning procedure correspondences at more specific levels. [Revisiting Audio-language Pretraining](https://md.research.elamur.ai/free/en/papers/tseng-2026-revisiting-audio-language-pretraining-learning/) · [Towards Fine-Grained and Multi-Granular Contrastive Language-Speech Pre-training](https://md.research.elamur.ai/free/en/papers/yang-2026-fine-grained-multi-granular-contrastive/)

RespiraMFM applies contrastive audio–language alignment to respiratory disease identification. Its stated target is a specific domain, whereas the CLAP study evaluates broad sound retrieval and several audio classification datasets. That later direction asks what paired audio and language can contribute when the distinctions of interest come from a particular application. Alongside the generation and retrieval work, it shows how the question of which audio and text should correspond can be posed for very different purposes. [RespiraMFM](https://md.research.elamur.ai/free/en/papers/siam-2026-respiramfm-multimodal-foundation-model-contrastive/)

## Cite

Cite as Yusong Wu, Ke Chen, Tianyu Zhang, Yuchen Hui, Taylor Berg-Kirkpatrick and Shlomo Dubnov. 2023. Large-Scale Contrastive Language-Audio Pretraining with Feature Fusion and Keyword-to-Caption Augmentation. IEEE International Conference on Acoustics Speech and Signal Processing.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1109/icassp49357.2023.10095969](https://doi.org/10.1109/icassp49357.2023.10095969) · [arXiv 2211.06687](https://arxiv.org/abs/2211.06687)

```bibtex
@inproceedings{wu2023large,
  title = {{Large-Scale Contrastive Language-Audio Pretraining with Feature Fusion and Keyword-to-Caption Augmentation}},
  author = {Yusong Wu, Ke Chen, Tianyu Zhang, Yuchen Hui, Taylor Berg-Kirkpatrick and Shlomo Dubnov},
  booktitle = {IEEE International Conference on Acoustics Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10095969},
  eprint = {2211.06687},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/icassp49357.2023.10095969}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
