paper-with-me

Papers

SrDetection: A Self-Referential Framework for Data Leakage Detection in Code Large Language Models

2026-06-29 · 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 arxiv

Evaluating code large language models (Code LLMs) requires reliable detection of data leakage, where benchmark performance is artificially inflated by exposure to benchmark data during pre-training. Existing approaches either assume access to proprietary training corpora, rely on brittle heuristics such as timestamp filtering, or use external reference sets with manually tuned, non-generalizable thresholds. To address these limitations, we introduce \textbf{SrDetection}, a unified \textbf{s}elf-\textbf{r}eferential leakage detection framework for both gray-box (access to model logits) and black-box (access to model outputs) settings. SrDetection generates semantically equivalent variants of a benchmark sample and detects leakage by contrasting the model's behavior on the original versus its variants, flagging cases where the original is disproportionately easier for the model. We further design a controlled leakage detection testbed and evaluate SrDetection in this environment. Across different models and training stages, SrDetection improves average F1 by 21.52 points in the gray-box setting and 14.46 points in the black-box setting over strong baselines, demonstrating robust, threshold-independent leakage detection. Finally, a gray-box study of 15 widely used Code LLMs on four popular benchmarks reveals benchmark-specific leakage patterns beyond prior overlap-based analyses\footnote{\footnotesize Source code and data are available at https://github.com/SMinL/SrDetectionCode

📄 PDF Abstract BibTeX arXiv:2606.29815

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Hypernetworks That Evolve Themselves

2025-12-18 · Joachim Winther Pedersen, Erwan Plantec, Eleni Nisioti, Marcello Barylli 외 arxiv

How can neural networks evolve themselves without relying on external optimizers? We propose Self-Referential Graph HyperNetworks, systems where the very machinery of variation and inheritance is embedded within the netw…

Reinforcement Learning

When Models Examine Themselves: Vocabulary-Activation Correspondence in Self-Referential Processing

2026-02-11 · Zachary Pedram Dadfar arxiv

Large language models produce rich introspective language when prompted for self-examination, but whether this language reflects internal computation or sophisticated confabulation has remained unclear. We show that self…

Eliminating Meta Optimization Through Self-Referential Meta Learning

2022-12-29 · Louis Kirsch, Jürgen Schmidhuber

Meta Learning automates the search for learning algorithms. At the same time, it creates a dependency on human engineering on the meta-level, where meta learning algorithms need to be designed. In this paper, we investig…

Meta-Learning

A Modern Self-Referential Weight Matrix That Learns to Modify Itself

2022-02-11 · Kazuki Irie, Imanol Schlag, Róbert Csordás, Jürgen Schmidhuber

The weight matrix (WM) of a neural network (NN) is its program. The programs of many traditional NNs are learned through gradient descent in some error function, then remain fixed. The WM of a self-referential NN, howeve…

Few-Shot Learning

Cycles in Causal Learning

2020-07-24 · Katie Everett, Ian Fischer

In the causal learning setting, we wish to learn cause-and-effect relationships between variables such that we can correctly infer the effect of an intervention. While the difference between a cyclic structure and an acy…