arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.03203cs.AIcs.CL
收藏

无记忆,无检测:基于输出分布的污染检测在小语言模型中

No Memorization, No Detection: Output Distribution-Based Contamination Detection in Small Language Models

Tel Aviv University(特拉维夫大学)

Omer Sela

AI总结:

本文研究了基于输出分布的污染检测方法CDD在小语言模型中的有效性,发现其在多数情况下表现不佳,而基于概率的方法更优。

摘要:

CDD,或通过输出分布进行污染检测,通过测量模型采样输出的尖峰性来识别数据污染。我们研究了在从70M到410M参数的小语言模型上,这种方法成功和失败的条件。通过在GSM8K、HumanEval和MATH上进行受控污染实验,我们发现CDD的有效性在很大程度上取决于微调是否产生逐字记忆。在我们测试的大多数条件下,即使数据可以被更简单的方法检测到污染,CDD的表现仍处于偶然水平。我们证明了基于概率的方法,特别是困惑度和Min-k%概率,在所有任何方法超过偶然水平的条件下均优于CDD,表明CDD基于尖峰性的方法在小语言模型的污染检测中是不足的。我们的代码可在https://github.com/Sela-Omer/Contamination-Detection-Small-LM获取。

英文摘要:

CDD, or Contamination Detection via output Distribution, identifies data contamination by measuring the peakedness of a model's sampled outputs. We study the conditions under which this approach succeeds and fails on small language models ranging from 70M to 410M parameters. Using controlled contamination experiments on GSM8K, HumanEval, and MATH, we find that CDD's effectiveness depends critically on whether fine-tuning produces verbatim memorization. In the majority of conditions we test, CDD performs at chance level even when the data is verifiably contaminated and detectable by simpler methods. We show that probability-based methods, specifically perplexity and Min-k\% Prob, outperform CDD in all conditions where any method exceeds chance, suggesting that CDD's peakedness-based approach is insufficient for contamination detection in small language models. Our code is available at https://github.com/Sela-Omer/Contamination-Detection-Small-LM

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑