scimeatlas

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

Syntax-Aware Detection of Training Data Contamination in Code LLMs

Jiazheng Zhang, Cheng Liu, Long Cheng, Xiaowei Li, Huawei Li

EMNLP 2026Large language models › Language, safety and interpretabilityapproach: Data and hallucination detectionopen problems in this approach0 citations (OpenAlex)

Chinese Academy of Sciences · University of Chinese Academy of Sciences · North China Electric Power University

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

12measured effects
7improved
1no 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
use syntax-aware token-probability features instead of Syntax-aware TF-IDF features (ablation)LightGBM detector · Python, StarCoderBaseAUC: 0.509 -> 0.668Improved
use syntax-aware token-probability features instead of FastText surface features (ablation)LightGBM detector · Python, OpenCoder-8B-InstructAUC: 0.622 -> 0.963Improved
aggregate log probs per syntactic type instead of uniform Min-10% over all tokens (ablation)detector · Python, StarCoderBaseAUC: 0.556 -> 0.668Improved
add normalized log prob to absolute log prob features (combined) (ablation)syntax-aware detector · Python, four modelsAUC: StarCoderBase 0.668 -> 0.678; OctoCoder 0.707 -> 0.752; MagiCoder-DS 0.850 -> 0.864; OpenCoder-8B 0.963 -> 0.963Improved
use learned syntax-aware detector instead of SynpruneOurs · Python, StarCoderBasemacro AUC: 66.1 -> 74.8Improved
use learned syntax-aware detector instead of RecallOurs · C++, StarCoderBasemacro AUC: 66.9 -> 72.8Improved
apply Type-III code transformation instead of Original codeOurs · Python, StarCoderBaseAUC: 76.5 -> 73.6Hurt
apply Type-III code transformation instead of Original codeRecall · Python, StarCoderBaseAUC: 67.2 -> 59.7Hurt
apply Type-III code transformation instead of Original codeOurs · Magicoder-CL-7B, PythonAUC: 91.9 -> 87.8Hurt
switch from Python to C++Ours · StarCoderBasemacro AUC: 74.8 -> 72.8Hurt
increase classifier training samples from 100 to 1,000 (ablation)LightGBM detector · StarCoder and Magicoder AUCAUCImproved
increase classifier training samples beyond 1,000 (ablation)LightGBM detector · StarCoder and Magicoder AUCAUCNo clear effect

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems this paper states

Open problems in data and hallucination detection

Can hallucinations and training-data use be detected without model internals, across languages, long outputs and larger models?

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