Research map / Large language models / Language, safety and interpretability
SrDetection: A Self-Referential Framework for Data Leakage Detection in Code Large Language Models
Shuaimin Li, Liyang Fan, Zeyang Li, Zhuoyue Wan, Yufang Lin, Shiwen Ni, Feiteng Fang, Hamid Alinejad-Rokny, Yuanfeng Song, Kun Jing, Chen Jason Zhang, Min Yang
Chinese Academy of Sciences · Shenzhen University · Shenzhen University of Advanced Technology · University of Science and Technology of China · The Hong Kong Polytechnic University · East China Normal University
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| use 10 semantics-preserving variants instead of 1 (ablation) | SrDetection (gray-box) · APPS testbed, Qwen2.5-7B, 5 epochs | F1-Macro (%): 33.44 -> 90.47 | Improved |
| use 10 variants instead of 3 (ablation) | SrDetection (gray-box) · APPS testbed, Llama-3.1-8B, 1 epoch | F1-Macro (%): 65.30 -> 69.99 | Improved |
| use 10 variants instead of 5 (ablation) | SrDetection (black-box) · APPS testbed, Qwen2.5-7B, 1 epoch | F1-Macro (%): 54.61 -> 53.02 | Hurt |
| use 10 variants instead of 5 (ablation) | SrDetection (black-box) · APPS testbed, Qwen2.5-7B, 5 epochs | F1-Macro (%): 78.67 -> 81.85 | Improved |
| increase continued pre-training from 1 to 5 epochs | SrDetection (gray-box) · APPS testbed, Qwen2.5-7B | F1-Macro (%): 74.76 -> 90.47 | Improved |
| increase continued pre-training from 1 to 5 epochs | SrDetection (black-box) · APPS testbed, Llama-3.1-8B | F1-Macro (%): 49.58 -> 78.51 | Improved |
| use SrDetection instead of best gray-box baseline (Min-K%++) | gray-box detection · APPS testbed, Qwen2.5-7B, 5 epochs | F1-Macro (%): 77.56 -> 90.47 | Improved |
| use SrDetection instead of VeilProbe | black-box detection · APPS testbed, Llama-3.1-8B, 1 epoch | F1-Macro (%): 51.48 -> 49.58 | Hurt |
| use SrDetection instead of VeilProbe | black-box detection · APPS testbed, Qwen2.5-7B, 5 epochs | F1-Macro (%): 50.78 -> 81.85 | Improved |
| vary code-to-web mixing ratio 1:1, 1:5, 1:10 (ablation) | SrDetection (gray-box) · APPS testbed, 1 epoch | F1-Macro (%) | No clear effect |
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?
- Needs internal states or token probabilities, so closed API models are out. · 19 papers state it
- Results come from small open models, not frontier or reasoning models. · 17 papers state it
- Tested only on English text in the detection setups. · 10 papers state it
Closest papers by meaning
- Training on the Benchmark Is Not All You Need (AAAI 2025 · similarity 0.90)
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.89)
- DyCodeEval: Dynamic Benchmarking of Reasoning Capabilities in Code Large Language Models Under Data Contamination (ICML 2025 · similarity 0.89)
- ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Grounding (ICLR 2025 · similarity 0.87)
- Time Travel in LLMs: Tracing Data Contamination in Large Language Models (ICLR 2024 · similarity 0.87)
- ConStat: Performance-Based Contamination Detection in Large Language Models (NeurIPS 2024 · similarity 0.87)
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.