Research map / Label-efficient and robust learning / OOD and anomaly detection
Code Vulnerability Detection via Nearest Neighbor Mechanism
Qianjin Du, Xiaohui Kuang, Gang Zhao
Tsinghua University · National Key Laboratory of Science and Technology on Information System Security
Read the paperPlace an idea next to itCheck your own paper ↗
10measured effects
10improved
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add kNN mechanism and SCL | Devign · FFmpeg | F1: 62.18 -> 64.60 | Improved |
| add kNN mechanism and SCL | CodeBERT · FFmpeg | F1: 67.46 -> 70.15 | Improved |
| add kNN mechanism and SCL | GraphCodeBERT · FFmpeg | F1: 67.05 -> 69.43 | Improved |
| add kNN prediction only (ablation) | CodeBERT · FFmpeg | F1: 67.46 -> 69.32 | Improved |
| add kNN prediction only (ablation) | GraphCodeBERT · QEMU | F1: 70.01 -> 71.92 | Improved |
| add SCL only (ablation) | CodeBERT · QEMU | F1: 69.20 -> 70.08 | Improved |
| add SCL only (ablation) | Devign · FFmpeg | F1: 62.18 -> 62.78 | Improved |
| add SCL on top of kNN (ablation) | CodeBERT · FFmpeg | F1: 69.32 -> 70.15 | Improved |
| add SCL on top of kNN (ablation) | GraphCodeBERT · QEMU | F1: 71.92 -> 72.47 | Improved |
| add SCL on top of kNN (ablation) | Devign · QEMU | F1: 67.30 -> 67.81 | Improved |
Closest papers by meaning
- Applying Contrastive Learning to Code Vulnerability Type Classification (EMNLP 2024 · similarity 0.87)
- SecCodePRM: A Process Reward Model for Code Security (ICML 2026 · similarity 0.83)
- Suitable is the Best: Task-Oriented Knowledge Fusion in Vulnerability Detection (NeurIPS 2024 · similarity 0.81)
- RustMizan: A Compilable, Contamination-Aware Benchmarking Framework for Rust Vulnerabilities (NeurIPS 2026 · similarity 0.81)
- AdaCCD: Adaptive Semantic Contrasts Discovery Based Cross Lingual Adaptation for Code Clone Detection (AAAI 2024 · similarity 0.81)
- MTVHunter: Smart Contracts Vulnerability Detection Based on Multi-Teacher Knowledge Translation (AAAI 2025 · similarity 0.80)
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.
