scimeatlas

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

Refinement-Integrated Reasoning Elicits Better Generalization of LLM-Based Code Vulnerability Detection

Xianda Du, Pei Ke, Enping Hu, Guannan Li, Jinyu Guo, Ke Qin

EMNLP 2026Large language models › Instruction and fine-tuningapproach: Safety alignment after fine-tuningopen problems in this approach0 citations (OpenAlex)

University of Electronic Science and Technology of China · Ubiquitous Intelligence and Trusted Services Key Laboratory of Sichuan Province

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

12measured effects
10improved
1no clear effect
1hurt

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: Chain-of-thought prompting

add reasoning chains (CoT) to the SFT training data · All-dataset average · F1: 54.58 -> 57.57 Improved

What 2,675 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 reasoning chains (CoT) to the SFT training data (ablation)SFT on CodeLlama-7B · All-dataset averageF1: 54.58 -> 57.57Improved
add refinement to guide reasoning-chain synthesis for fine-tuning (ablation)SFT-CoT on CodeLlama-7B · All-dataset averageF1: 57.57 -> 67.40Improved
add DPO without refinement after fine-tuning (ablation)RIRE (ID 3) · All-dataset averageF1: 67.40 -> 68.20Improved
add refinement to hierarchical preference optimization (ablation)RIRE (ID 4) · All-dataset averageF1: 68.20 -> 68.62Improved
use RIRE instead of VulLLMCodeLlama-7B · All-dataset averageF1: 63.42 -> 68.62Improved
use RIRE instead of VulLLMCodeLlama-7B · Unseen averageF1: 62.29 -> 70.59Improved
use RIRE instead of VulLLMCodeLlama-7B · Seen datasets (DiverseVul, Devign)MCC: 35.38 -> 28.12 (DiverseVul), 27.13 -> 15.43 (Devign)Hurt
use RIRE instead of VulLLMCodeLlama-7B · BigVul and JulietMCC: 22.33 -> 25.63 (BigVul), 7.61 -> 62.19 (Juliet)Improved
use RIRE (7B) instead of GPT-4oCodeLlama-7B vs closed-source LLM · JulietF1: 74.21 -> 79.77Improved
increase Qwen2.5-Coder size from 1.5B to 7BRIRE · five datasets averageF1Improved
compare RIRE with GPT-4o explanations (human evaluation, seen datasets)RIRE · human evaluationcorrectness win rate: 50.8% win vs 12.5% loseImproved
compare RIRE with SFT-CoT explanations on unseen datasets (human evaluation)RIRE · human evaluationcorrectness: 33.9% win vs 21.7% loseNo clear effect

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