How Contaminated Is Your Benchmark? Measuring Dataset Leakage in Large Language Models with Kernel Divergence
Hyeong Kyu Choi, Maxim Khanov, Hongxin Wei, Yixuan Li
摘要
Dataset contamination, where evaluation datasets overlap with pre-training corpora, inflates performance metrics and undermines the reliability of model evaluations. Measuring dataset contamination thus becomes essential to ensure that performance evaluations genuinely reflect a model's ability to generalize to unseen data, rather than relying on memorized examples. To address this problem, we propose Kernel Divergence Score (KDS), a novel method that evaluates dataset contamination by computing the divergence between the kernel similarity matrix of sample embeddings, before and after fine-tuning on the benchmark dataset. Leveraging the insight that fine-tuning affects unseen samples more significantly than seen ones, KDS provides a reliable measure of contamination. Through extensive experiments on controlled contamination scenarios, KDS demonstrates a near-perfect correlation with contamination levels and outperforms existing baselines. Additionally, we perform comprehensive ablation studies to analyze the impact of key design choices, providing deeper insights into the components and effectiveness of KDS. These ablations highlight the importance of leveraging fine-grained kernel-based information and confirm the reliability of the proposed framework across diverse datasets and settings. Code is released in https: //github.com/deeplearning-wisc/ kernel-divergence-score.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Membership Inference Attacks on Tokenizers of Large Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
- Membership Inference Attacks on Tokenizers of Large Language Models 引用了 ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
- Membership Inference Attacks on Tokenizers of Large Language Models 引用了 Membership Inference Attacks From First Principles
- Membership Inference Attacks on Tokenizers of Large Language Models 引用了 Extracting Training Data from Large Language Models
- ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models 引用了 Membership Inference Attacks Against Machine Learning Models
- Membership Inference Attacks From First Principles 引用了 Membership Inference Attacks Against Machine Learning Models
- Membership Inference Attacks From First Principles 引用了 ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
- Membership Inference Attacks From First Principles 引用了 Extracting Training Data from Large Language Models
- Extracting Training Data from Large Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
引用它的顶会 Paper2
它引用的 Paper14
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
- Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski 等USENIX Security 2021 · 2,866 次引用
- ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning ModelsAhmed Salem, Yang Zhang, Mathias Humbert, Pascal Berrang 等NDSS 2019 · 1,141 次引用
- Membership Inference Attacks From First PrinciplesNicholas Carlini, Steve Chien, Milad Nasr, Shuang Song 等S&P 2022 · 1,049 次引用
相关 Paper
- Fine-tuning can Help Detect Pretraining Data from Large Language ModelsHengxiang Zhang, Songxin Zhang, Bingyi Jing, Hongxin WeiICLR 2025
- Controllable Contamination Detection for Reliable LLM Evaluation with Statistical GuaranteesZheng Zhang, Qi Liu, Siyuan Liang, Ning Li 等ACL 2026
- Knowledge Distillation as Decontamination? Revisiting the "Data Laundering" Concern in Classification TasksHengyu Luo, Raúl Vázquez, Timothee Mickus, Filip Ginter 等ICLR 2026
- Detecting Data Contamination in LLMs via In-Context LearningMichal Zawalski, Meriem Boubdir, Klaudia Balazy, Besmira Nushi 等ICLR 2026 · 8 次引用
- KIEval: A Knowledge-grounded Interactive Evaluation Framework for Large Language ModelsZhuohao Yu, Chang Gao, Wenjin Yao, Yidong Wang 等ACL 2024
