paper-with-me

Papers

CLAP: Learning Transferable Binary Code Representations with Natural Language Supervision

2024-02-26 · Hao Wang, Zeyu Gao, Chao Zhang, Zihan Sha, Mingyang Sun, Yuchen Zhou, Wenyu Zhu, Wenju Sun, Han Qiu, Xi Xiao

Binary code representation learning has shown significant performance in binary analysis tasks. But existing solutions often have poor transferability, particularly in few-shot and zero-shot scenarios where few or no training samples are available for the tasks. To address this problem, we present CLAP (Contrastive Language-Assembly Pre-training), which employs natural language supervision to learn better representations of binary code (i.e., assembly code) and get better transferability. At the core, our approach boosts superior transfer learning capabilities by effectively aligning binary code with their semantics explanations (in natural language), resulting a model able to generate better embeddings for binary code. To enable this alignment training, we then propose an efficient dataset engine that could automatically generate a large and diverse dataset comprising of binary code and corresponding natural language explanations. We have generated 195 million pairs of binary code and explanations and trained a prototype of CLAP. The evaluations of CLAP across various downstream tasks in binary analysis all demonstrate exceptional performance. Notably, without any task-specific training, CLAP is often competitive with a fully supervised baseline, showing excellent transferability. We release our pre-trained model and code at https://github.com/Hustcw/CLAP.

📄 PDF Abstract BibTeX arXiv:2402.16928

Code (2)

hustcw/clap 공식 구현 pytorch
pwc-1/Paper-8/tree/main/clap mindspore

Tasks

Representation LearningTransfer Learning

Similar Papers 제목 키워드 기반

CLAP-ART: Automated Audio Captioning with Semantic-rich Audio Representation Tokenizer

2025-06-01 · Daiki Takeuchi, Binh Thien Nguyen, Masahiro Yasuda, Yasunori Ohishi 외

Automated Audio Captioning (AAC) aims to describe the semantic contexts of general sounds, including acoustic events and scenes, by leveraging effective acoustic features. To enhance performance, an AAC method, EnCLAP, e…

Audio captioningLanguage ModelingLanguage ModellingQuantization

Do Audio-Language Models Understand Linguistic Variations?

2024-10-21 · Ramaneswaran Selvakumar, Sonal Kumar, Hemant Kumar Giri, Nishit Anand 외

Open-vocabulary audio language models (ALMs), like Contrastive Language Audio Pretraining (CLAP), represent a promising new paradigm for audio-text retrieval using natural language queries. In this paper, for the first t…

Contrastive LearningNatural Language QueriesRetrievalText Retrieval+1

ClapFM-EVC: High-Fidelity and Flexible Emotional Voice Conversion with Dual Control from Natural Language and Speech

2025-05-20 · Yu Pan, Yanni Hu, Yuguang Yang, Jixun Yao 외

Despite great advances, achieving high-fidelity emotional voice conversion (EVC) with flexible and interpretable control remains challenging. This paper introduces ClapFM-EVC, a novel EVC framework capable of generating …

Voice Conversion

CLAPNQ: Cohesive Long-form Answers from Passages in Natural Questions for RAG systems

2024-04-02 · Sara Rosenthal, Avirup Sil, Radu Florian, Salim Roukos

Retrieval Augmented Generation (RAG) has become a popular application for large language models. It is preferable that successful RAG systems provide accurate answers that are supported by being grounded in a passage wit…

FormLong Form Question AnsweringNatural QuestionsQuestion Answering+3

Text2FX: Harnessing CLAP Embeddings for Text-Guided Audio Effects

2024-09-27 · Annie Chu, Patrick O'Reilly, Julia Barnett, Bryan Pardo

This work introduces Text2FX, a method that leverages CLAP embeddings and differentiable digital signal processing to control audio effects, such as equalization and reverberation, using open-vocabulary natural language …