scimeatlas

Research map / Large language models / Instruction and fine-tuning

Generalization-Enhanced Code Vulnerability Detection via Multi-Task Instruction Fine-Tuning

Xiaohu Du, Ming Wen, Jiahao Zhu, Zifan Xie, Bin Ji, Huijun Liu, Xuanhua Shi, Hai Jin

ACL 2024Large language models › Instruction and fine-tuningapproach: Safety alignment after fine-tuningopen problems in this approach111 citations (OpenAlex)

Huazhong University of Science and Technology · National University of Defense Technology

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

12measured effects
8improved
3hurt
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 reconstruction / auxiliary loss

add more auxiliary task samples (longer context) · ReVeal · F1: 64.52 -> 67.00 Improved

What 1,286 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
add multi-task learning (localization and interpretation tasks) (ablation)VulLLM (CodeLlama-13B) · six datasets avg.F1: 60.35 -> 66.54Improved
add data augmentation (random identifier substitution) (ablation)VulLLM (CodeLlama-13B) · six datasets avg.F1: 64.56 -> 66.54Mixed
add data augmentation (ablation)VulLLM (CodeLlama-13B) · ReVealF1: 65.65 -> 64.52Hurt
add data augmentation (ablation)VulLLM (CodeLlama-13B) · DevignF1: 65.08 -> 71.63Improved
use VulLLM instead of UniXcoderVulLLM (CodeLlama-13B) · six datasets avg.F1: 61.61 -> 66.54Improved
use VulLLM instead of UniXcoder on unseen datasetsVulLLM (CodeLlama-13B) · Dataset_2 avg.F1: 59.09 -> 64.16Improved
use VulLLM instead of UniXcoder under MHM attackVulLLM (CodeLlama-13B) · MHM attackF1: 22.73 -> 36.64Improved
use VulLLM instead of UniXcoder under WIR-Random attackVulLLM (CodeLlama-13B) · WIR-Random attackF1: 3.30 -> 21.08Improved
use CodeLlama-13B base instead of StarCoder-15BVulLLM · six datasets avg.F1: 58.67 -> 66.54Improved
add more auxiliary task samples (longer context)VulLLM (CodeLlama-13B) · ReVealF1: 64.52 -> 67.00Improved
add more auxiliary task samples (longer context)VulLLM (CodeLlama-13B) · DiverseVulF1: 70.99 -> 68.68Hurt
increase LoRA rank beyond 16VulLLM · six datasets avg.F1Hurt

Open problems in safety alignment after fine-tuning

Do safety defenses against harmful fine-tuning hold on larger models and against adaptive attacks?

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