scimeatlas

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

Evaluating Harmful Memorization in LLM Code Generation

Lizhe Zhang, Wentao Chen, Li Zhong, Letian Peng, Zilong Wang, Jingbo Shang

EMNLP 2026Large language models › Instruction and fine-tuningapproach: Safety alignment after fine-tuningopen problems in this approach

University of California, San Diego

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

14measured effects
5improved
5no clear effect
4hurt

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 changedWhereMeasuredEffect
scale up Qwen-2.5-Instruct from 0.5B to 32BQwen-2.5-Instruct · MBPP+HMI: 0.0722 -> 0.0000Improved
scale up Qwen-2.5-Instruct to 32BQwen-2.5-Instruct · BigCodeBenchHMI: 0.1444 (1.5B) -> 0.1143 (32B)No clear effect
use code-specialized Qwen-2.5-Coder instead of InstructQwen-2.5 · BigCodeBenchSim(Trew): 0.2670 -> 0.3237Hurt
use Coder instead of Instruct modelsQwen-2.5 · BigCodeBenchHMI: 0.1142 -> 0.1367No clear effect
semantics-preserving prompt rewording instead of semantic rewrite (ablation)benchmark prompts · MBPP+mean RAD: 0.118 -> 0.000Improved
semantics-preserving prompt rewording instead of semantic rewrite (ablation)benchmark prompts · BigCodeBenchmean RAD: 0.459 -> 0.054Improved
replace similarity function (n-gram, Jaccard, MinHash, embedding cosine) (ablation)HMI · MBPP+ and BigCodeBenchHMI trendNo clear effect
vary AST/edit similarity weighting (ablation)HMI · MBPP+ and BigCodeBenchHMINo clear effect
apply SFTQwen-2.5-7B and Coder-7B · BigCodeBenchAcc(Tori)Improved
apply SFTQwen-2.5-7B and Coder-7B · BigCodeBenchHMIHurt
use PPO instead of SFTQwen-2.5-7B and Coder-7B · BigCodeBenchHMIImproved
train SFT longer (Early to Late checkpoint) (ablation)Qwen-2.5-Coder-7B · BigCodeBenchHMI: 0.1537 -> 0.2216 (acc 35.96% -> 42.54%)Hurt

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