scimeatlas

Research map / Vision-language and multimodal / CLIP and zero-shot

CLeVeR: Multi-modal Contrastive Learning for Vulnerability Code Representation

Jiayuan Li, Lei Cui, Sen Zhao, Yun Yang, Lun Li, Hongsong Zhu

ACL 2025Vision-language and multimodal › CLIP and zero-shotapproach: Attribute-based zero-shot learningopen problems in this approach16 citations (OpenAlex)

Chinese Academy of Sciences · University of Chinese Academy of Sciences · Beijing University of Posts and Telecommunications

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
8improved
2hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

This paper tried a common change: Add a contrastive loss

add contrastive learning (CLIP) with descriptions to CodeBERT · RealData · F1 (%): 56.45 -> 61.83 Improved

What 1,804 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use CLeVeR instead of the best prior methodvulnerability detection · RealDataF1 (%): 60.97 -> 72.82Improved
add contrastive learning (CLIP) with descriptions to CodeBERT (ablation)CodeBERT baseline · RealDataF1 (%): 56.45 -> 61.83Improved
add a generative model on descriptions instead of contrastive learning (ablation)CodeBERT baseline · RealDataF1 (%): 56.45 -> 59.22Improved
add the Adapter (ablation)CLeVeR · RealDataF1 (%): 68.56 -> 72.82Improved
add the Representation Refinement module (ablation)CLeVeR · RealDataF1 (%): 63.20 -> 72.82Improved
add the Description Simulator (ablation)CLeVeR · RealDataF1 (%): 65.87 -> 72.82Improved
zero-shot inference via description prompts instead of fine-tuned linear probeCLeVeR · RealDataF1 (%): 72.82 -> 65.89Hurt
set lambda1 to 0 (use only refined code representation, no original [CLS]) (ablation)CLeVeR · RealData / VCLData-ftF1 / weighted-F1Hurt
set lambda0 to 0.3 instead of 0.25 (ablation)CLeVeR · detection vs classificationF1 / weighted-F1: +0.03% weighted-F1 (classification), -1.75% F1 (detection)Mixed
use CLeVeR instead of LLM-based detectorsvulnerability detection · RealDataF1 (%): 60.96 -> 72.82 (vs best LLM-based, VSP)Improved
train classification with only 1% of dataCLeVeR · VCLData-ft top-10 CWEweighted-F1 (%): 74.87 at 1% vs 80.34 at 100%Improved

Open problems in attribute-based zero-shot learning

How can zero-shot attribute and CLIP methods work without hand tuning, outside seen domains and across backbones?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy