{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/contrastive-learning-of-general-purpose-audio","title":"Contrastive Learning of General-Purpose Audio Representations","arxiv_id":"2010.10915","date":"2020-10-21","proceeding":null,"authors":["Aaqib Saeed","David Grangier","Neil Zeghidour"],"abstract":"We introduce COLA, a self-supervised pre-training approach for learning a general-purpose representation of audio. Our approach is based on contrastive learning: it learns a representation which assigns high similarity to audio segments extracted from the same recording while assigning lower similarity to segments from different recordings. We build on top of recent advances in contrastive learning for computer vision and reinforcement learning to design a lightweight, easy-to-implement self-supervised model of audio. We pre-train embeddings on the large-scale Audioset database and transfer these representations to 9 diverse classification tasks, including speech, music, animal sounds, and acoustic scenes. We show that despite its simplicity, our method significantly outperforms previous self-supervised systems. We furthermore conduct ablation studies to identify key design choices and release a library to pre-train and fine-tune COLA models.","url_abs":"https://arxiv.org/abs/2010.10915v1","url_pdf":"https://arxiv.org/pdf/2010.10915v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"contrastive-learning-of-general-purpose-audio","repo_url":"https://github.com/google-research/google-research/tree/master/cola","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"tf","reach":null},{"paper_slug":"contrastive-learning-of-general-purpose-audio","repo_url":"https://github.com/SarthakYadav/audax/tree/master/recipes/cola","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"jax","reach":null}],"tasks":[{"task_slug":null,"task_name":"CoLA"},{"task_slug":"contrastive-learning","task_name":"Contrastive Learning"},{"task_slug":"speaker-identification","task_name":"Speaker Identification"},{"task_slug":"spoken-command-recognition","task_name":"Spoken Command Recognition"}],"methods":[{"method_slug":"cola","method_name":"COLA"},{"method_slug":"contrastive-learning","method_name":"Contrastive Learning"}],"datasets_introduced":[],"methods_introduced":[{"slug":"cola","name":"COLA","full_name":"COLA"}],"results":[{"leaderboard":"/sota/speaker-identification-on-voxceleb1","task":"Speaker Identification","dataset":"VoxCeleb1","model":"COLA","rank_in_archive_order":12,"of":12,"metrics":{"Accuracy":"37.7","Top-1 (%)":"37.7"},"uses_additional_data":true},{"leaderboard":"/sota/spoken-command-recognition-on-speech-command","task":"Spoken Command Recognition","dataset":"Speech Command v2","model":"COLA","rank_in_archive_order":4,"of":4,"metrics":{"Accuracy":"95.5"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2010.10915","mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}