scimeatlas

Research map / Large language models / Language, safety and interpretability

Train in Vain: Functionality-Preserving Poisoning to Prevent Unauthorized Use of Code Datasets

Yuan Xiao, Jiaming Wang, Yuchen Chen, Wei Song, Jun Sun, Shiqing Ma, Yanzhou Mu, Juan Zhai, Chunrong Fang, Jin Song Dong, Zhenyu Chen

ACL 2026Large language models › Language, safety and interpretabilityapproach: Jailbreak attacks and defensesopen problems in this approach1 citations (OpenAlex)

Nanjing University · University of New South Wales · Singapore Management University · University of Massachusetts Amherst · National University of Singapore

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

12measured effects
7no clear effect
5hurt

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
fine-tune on 10% FunPoison-poisoned data instead of clean dataDeepSeek-Coder-1.3B · HumanEval-X Java, T=0.0Pass@1: 0.38 -> 0.20Hurt
place templates in executed paths (FunPoison) rather than always-false branches (ablation)DeepSeek-Coder-1.3B · HumanEval-X Java, T=0.0Pass@1: 0.38 -> 0.20Hurt
DeadBranchInsertion at 50% and 100% poisoning (ablation)DeepSeek-Coder-1.3B · HumanEval-X Java, T=0.0Pass@1: 0.38 -> 0.34 / 0.35No clear effect
apply FunPoison at 10% on CodeLlama-7BCodeLlama-7B · HumanEval-X, T=0.0Pass@1: 0.31 -> 0.23Hurt
apply FunPoison at 10% on CodeLlama-7B-InstructCodeLlama-7B-Instruct · HumanEval-X, T=0.0Pass@1: 0.38 -> 0.30Hurt
apply FunPoison at 10% on MBPPDeepSeek-Coder-1.3B · MBPP, T=0.0Pass@1: 0.41 -> 0.16Hurt
use CoProtector CSR comment reversalDeepSeek-Coder-1.3B · HumanEval-X, DeltaPass@1DeltaPass@1No clear effect
use CoProtector CC, CR or CS at partial poisoningDeepSeek-Coder-1.3B · HumanEval-X, DeltaPass@1DeltaPass@1No clear effect
purify poisoned data with KillBadCode or DeCoMaFunPoison (10%) · HumanEval-XPass@1: recall 0.41 / 0.54; effective rate 7.9% / 8.2%No clear effect
apply clang-format to poisoned dataFunPoison · HumanEval-XPass@1No clear effect
use CodeBERT supervised detector against FunPoison at 50% poisoningFunPoison · detectionaccuracy: accuracy 10.39%, FPR 100%No clear effect
inject FunPoison into 10% of Apache Commons Lang functionsApache Commons Lang · 57,764 unit teststests passed: 57,764 passed, no failuresNo clear effect

Open problems in jailbreak attacks and defenses

How can jailbreak attacks and defenses be tested on real deployed models, in more languages, with judges that can be trusted?

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