PDR: 一种用于LLM预训练数据检测的即插即用位置衰减框架
PDR: A Plug-and-Play Positional Decay Framework for LLM Pre-training Data Detection
AI总结:
PDR是一种无需训练的即插即用框架,通过位置衰减重加权提升LLM预训练数据检测的鲁棒性与准确性。
摘要:
在大型语言模型(LLM)中检测预训练数据对于审计数据隐私和版权合规至关重要,但在黑盒、零样本设置中,由于计算资源和训练数据稀缺,这一任务仍然具有挑战性。尽管现有基于似然的方法已显示出潜力,但它们通常使用均匀权重聚合令牌级分数,从而忽略了自回归生成中的内在信息论动态。在本文中,我们假设并实证验证了记忆信号倾向于偏向高熵初始令牌,其中模型不确定性最高,并随着上下文积累而衰减。为了利用这一语言特性,我们引入了位置衰减重加权(PDR),一种无需训练的即插即用框架。PDR明确重新加权令牌级分数,以放大早期位置的Distinct信号,同时抑制后期的噪声。广泛实验表明,PDR作为一种稳健的先验,通常可以增强多种基准上的先进方法。
英文摘要:
Detecting pre-training data in Large Language Models (LLMs) is crucial for auditing data privacy and copyright compliance, yet it remains challenging in black-box, zero-shot settings where computational resources and training data are scarce. While existing likelihood-based methods have shown promise, they typically aggregate token-level scores using uniform weights, thereby neglecting the inherent information-theoretic dynamics of autoregressive generation. In this paper, we hypothesize and empirically validate that memorization signals are heavily skewed towards the high-entropy initial tokens, where model uncertainty is highest, and decay as context accumulates. To leverage this linguistic property, we introduce Positional Decay Reweighting (PDR), a training-free and plug-and-play framework. PDR explicitly reweights token-level scores to amplify distinct signals from early positions while suppressing noise from later ones. Extensive experiments show that PDR acts as a robust prior and can usually enhance a wide range of advanced methods across multiple benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。