Research map / Large language models / Instruction and fine-tuning
Boosting Vulnerability Detection of LLMs via Curriculum Preference Optimization with Synthetic Reasoning Data
Xin-Cheng Wen, Yijun Yang, Cuiyun Gao, Yang Xiao, Deheng Ye
Tencent · The Chinese University of Hong Kong · Chinese Academy of Sciences
Read the paperPlace an idea next to itCheck your own paper ↗
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 ReVD (BVD data, T-SFT, COPO) to the base model | Qwen2.5-Coder-7B-Instruct · PrimeVul | accuracy: 49.77 -> 58.05 | Improved |
| add ReVD to the base model | Qwen2.5-Coder-7B-Instruct · SVEN | accuracy: 52.31 -> 63.72 | Improved |
| add ReVD to the base model | Llama-3.1-8B-Instruct · PrimeVul | F1: best prior 55.90 vs 54.91 | Hurt |
| add ReVD to the base model | StarCoder2-7B · SVEN | F1: best prior 56.76 vs 53.96 | Hurt |
| add bi-directional reasoning data and triplet SFT (ablation) | ReVD on Qwen2.5-Coder-7B-Instruct · PrimeVul | accuracy: 51.03 -> 58.05 | Improved |
| add bi-directional reasoning data and triplet SFT (ablation) | ReVD on Llama-3.1-8B-Instruct and StarCoder2-7B · PrimeVul and SVEN | accuracy: 50.00 -> 56.21 (Llama, PrimeVul); 50.00 -> 55.63 (StarCoder2, PrimeVul) | Improved |
| add COPO preference optimization (ablation) | ReVD on Qwen2.5-Coder-7B-Instruct · SVEN | accuracy: 54.21 -> 63.72 | Improved |
| add COPO preference optimization (ablation) | ReVD on Llama-3.1-8B-Instruct · PrimeVul | F1: 59.79 -> 54.91 | Hurt |
| add COPO preference optimization (ablation) | ReVD on StarCoder2-7B · PrimeVul | accuracy: 52.87 -> 55.63 | Improved |
| add task-level curriculum (use three decomposed tasks) (ablation) | COPO on StarCoder2-7B · PrimeVul | accuracy: 51.26 -> 55.63 | Improved |
| add instance-level curriculum (type-based selection) (ablation) | COPO on Qwen2.5-Coder-7B-Instruct · PrimeVul | accuracy: 57.47 -> 58.05 | No clear effect |
| increase COPO rounds beyond 3 (ablation) | ReVD · PrimeVul and SVEN | accuracy | Hurt |
Open problems this paper states
- “Uses only 7B and 8B LLMs due to computing constraints.” → Larger models were not tested, mostly for lack of compute. (an open problem in safety alignment after fine-tuning)
Open problems in safety alignment after fine-tuning
Do safety defenses against harmful fine-tuning hold on larger models and against adaptive attacks?
- Larger models were not tested, mostly for lack of compute. · 27 papers state it
- Defenses are tested against few attacks and not against adaptive ones. · 15 papers state it
- Safety is scored by one LLM judge or classifier that may be biased. · 15 papers state it
Closest papers by meaning
- CTX-Coder: Cross-Attention Architectures Empower LLMs for Long-Context Vulnerability Detection (AAAI 2026 · similarity 0.90)
- SecCodePRM: A Process Reward Model for Code Security (ICML 2026 · similarity 0.88)
- ProSec: Fortifying Code LLMs with Proactive Security Alignment (ICML 2025 · similarity 0.88)
- IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilities (ICLR 2025 · similarity 0.87)
- CoRe: Benchmarking LLMs’ Code Reasoning Capabilities through Static Analysis Tasks (NeurIPS 2025 · similarity 0.86)
- DyCodeEval: Dynamic Benchmarking of Reasoning Capabilities in Code Large Language Models Under Data Contamination (ICML 2025 · similarity 0.86)
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.