Lune

ICLR2025顶会

Fine-tuning can Help Detect Pretraining Data from Large Language Models

Hengxiang Zhang, Songxin Zhang, Bingyi Jing, Hongxin Wei

摘要

In the era of large language models (LLMs), detecting pretraining data has been increasingly important due to concerns about fair evaluation and ethical risks. Current methods differentiate members and non-members by designing scoring functions, like Perplexity and Min-k%. However, the diversity and complexity of training data magnifies the difficulty of distinguishing, leading to suboptimal performance in detecting pretraining data. In this paper, we first explore the benefits of unseen data, which can be easily collected after the release of the LLM. We find that the perplexities of LLMs shift differently for members and non-members, after fine-tuning with a small amount of previously unseen data. In light of this, we introduce a novel and effective method termed Fine-tuned Score Deviation (FSD), which improves the performance of current scoring functions for pretraining data detection. In particular, we propose to measure the deviation distance of current scores after fine-tuning on a small amount of unseen data within the same domain. In effect, using a few unseen data can largely decrease the scores of all non-members, leading to a larger deviation distance than members. Extensive experiments demonstrate the effectiveness of our method, significantly improving the AUC score on common benchmark datasets across various models. Our code is available at https://github.com/ml-stat-Sustech/ Fine-tuned-Score-Deviation .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • LoRA: Low-Rank Adaptation of Large Language Models 引用了 Language Models are Few-Shot Learners
  • How does Bayesian Sampling help Membership Inference Attacks? 引用了 Membership Inference Attacks Against Machine Learning Models
  • How does Bayesian Sampling help Membership Inference Attacks? 引用了 Provable Training Data Identification for Large Language Models
  • Provable Training Data Identification for Large Language Models 引用了 How does Bayesian Sampling help Membership Inference Attacks?
  • How does Bayesian Sampling help Membership Inference Attacks? 引用了 Extracting Training Data from Large Language Models
  • How Contaminated Is Your Benchmark? Measuring Dataset Leakage in Large Language Models with Kernel Divergence 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • How Contaminated Is Your Benchmark? Measuring Dataset Leakage in Large Language Models with Kernel Divergence 引用了 Membership Inference Attacks Against Machine Learning Models
  • How Contaminated Is Your Benchmark? Measuring Dataset Leakage in Large Language Models with Kernel Divergence 引用了 Extracting Training Data from Large Language Models
  • Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling 引用了 Language Models are Few-Shot Learners
  • Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling 引用了 Extracting Training Data from Large Language Models
  • Provable Training Data Identification for Large Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
  • Provable Training Data Identification for Large Language Models 引用了 Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • Provable Training Data Identification for Large Language Models 引用了 Extracting Training Data from Large Language Models
  • Detecting Data Contamination from Reinforcement Learning Post-training for Large Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
  • Extracting Training Data from Large Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
  • Extracting Training Data from Large Language Models 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Detecting Data Contamination from Reinforcement Learning Post-training for Large Language ModelsYongding Tao, Tian Wang, Yihong Dong, Huanyu Liu 等ICLR 2026 · 5 次引用
  2. How does Bayesian Sampling help Membership Inference Attacks?Zhenlong Liu, Wenyu Jiang, Feng Zhou, Hongxin WeiICML 2026 · 3 次引用
  3. ICAS: Detecting Training Data from Autoregressive Image Generative ModelsHongyao Yu, Yixiang Qiu, Yiheng Yang, Hao Fang 等ACM MM 2025 · 2 次引用
  4. How Contaminated Is Your Benchmark? Measuring Dataset Leakage in Large Language Models with Kernel DivergenceHyeong Kyu Choi, Maxim Khanov, Hongxin Wei, Yixuan LiICML 2025
  5. Provable Training Data Identification for Large Language ModelsZhenlong Liu, Hao Zeng, Weiran Huang, Hongxin WeiICML 2026

它引用的 Paper15

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
  3. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
  4. Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski 等USENIX Security 2021 · 2,866 次引用
  5. Pythia: A Suite for Analyzing Large Language Models Across Training and ScalingStella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley 等ICML 2023 · 1,822 次引用

相关 Paper

  1. Identifying Pre-training Data in LLMs: A Neuron Activation-Based Detection FrameworkHongyi Tang, Zhihao Zhu, Yi YangEMNLP 2025
  2. Pretraining Data Detection for Large Language Models: A Divergence-based Calibration MethodWeichao Zhang, Ruqing Zhang, Jiafeng Guo, Maarten de Rijke 等EMNLP 2024 · 7 次引用
  3. Is Fine-tuning Needed? Pre-trained Language Models Are Near Perfect for Out-of-Domain DetectionRheeya Uppaal, Junjie Hu, Yixuan LiACL 2023 · 9 次引用
  4. Controllable Contamination Detection for Reliable LLM Evaluation with Statistical GuaranteesZheng Zhang, Qi Liu, Siyuan Liang, Ning Li 等ACL 2026
  5. Detecting Pretraining Data from Large Language ModelsWeijia Shi, Anirudh Ajith, Mengzhou Xia, Yangsibo Huang 等ICLR 2024 · 365 次引用
黄昏的海面,两侧是细线勾勒的悬崖