← Lab /AI/ML

Trigger-neutralized scoring boosts backdoor attack success at very low poisoning rates

AI/ML Attack · Prototype · arXiv Threat model

The claim

TNCS achieves higher attack success rates than baselines with minimal poison samples and no clean-task degradation

Yu-Yu Lee, Ming-Feng Tsai, Tomohiro Morikawa, Chun-I Fan · arXiv Paper PDF

Published as: “Data-Efficient Backdoor Attacks on Code Models via Trigger-Neutralized Counterfactual Scoring”

So what

Attackers can embed effective backdoors in code models using only a handful of poisoned samples, making detection and mitigation substantially harder.

The five-minute version

TNCS achieves the highest attack success rate (ASR) among all tested methods, especially at a 0.1% poisoning ratio where it ranks first on all five trigger families, reaching up to 92.8% on identifier renaming. It improves ASR by 14-18 points over random selection while keeping clean-task performance within one point of an unpoisoned model. The evidence is strong across three CODEXGLUE tasks and five trigger families, though it falls short on the Insert AS family at 0.3% and on constant-unfolding at 0.1%. Overall, the paper shows that data-efficient backdoor sample selection is feasible for both classification and generation code models.

What they found 2

What undercuts it the paper’s own results

Stated limits 4

What’s new here 4

Threat model stated by the source

Adversarypoisoner
Capabilityinjects a small number of crafted training examples into public code repositories
Assumesvictim trains on publicly collected code data; the trigger is fixed and functionality-preserving

Artifacts & methods 12

Topics

backdoor attacksdata-efficient sample selectiontrigger-neutralized counterfactual scoringcode intelligencepoisoning ratioattack success ratecode generationmodel robustness
← Previous DeepAVR repairs 92.3% of vulnerabilities via multi-agent analysis