
BioLingual
Multimodal1,220 ops153.5M params
A contrastive model that embeds audio and text in a shared space for zero-shot audio classification.
Multimodal · 1,220 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
CLAP is a contrastive language-audio pretraining model: it learns an audio representation by combining audio data with natural language descriptions. An audio encoder and a text encoder process their inputs separately, and 2-layer MLPs with ReLU activation map both outputs into 512 dimensions. The model can be used for zero-shot audio classification or for extracting audio and text features.
The paper tried two audio encoders, PANN and HTSAT, and three text encoders, the CLIP transformer, BERT and RoBERTa, and took HTSAT with RoBERTa as its best setting. HTSAT is a transformer-based model with 4 groups of swin-transformer blocks. Training is contrastive between paired audio and text embeddings, with a learnable temperature that scales the loss.
For audio of variable length the paper adds feature fusion, which combines coarse global information with randomly sampled local information; without it, audio longer than 10 seconds is randomly chunked to a 10-second segment. The authors also released LAION-Audio-630K, a collection of 633,526 audio-text pairs.
Key idea. The paper builds a contrastive language-audio pretraining model with feature fusion and keyword-to-caption augmentation, and releases LAION-Audio-630K, a collection of 633,526 audio-text pairs.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{wu2024largescalecontrastivelanguageaudiopretraining,
title={Large-scale Contrastive Language-Audio Pretraining with Feature Fusion and Keyword-to-Caption Augmentation},
author={Yusong Wu and Ke Chen and Tianyu Zhang and Yuchen Hui and Marianna Nezhurina and Taylor Berg-Kirkpatrick and Shlomo Dubnov},
year={2024},
eprint={2211.06687},
archivePrefix={arXiv},
primaryClass={cs.SD},
url={https://arxiv.org/abs/2211.06687},
}