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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteur principal: Sela, Omer
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911503867707392
author Sela, Omer
author_facet Sela, Omer
contents 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
format Preprint
id arxiv_https___arxiv_org_abs_2603_03203
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle No Memorization, No Detection: Output Distribution-Based Contamination Detection in Small Language Models
Sela, Omer
Artificial Intelligence
Computation and Language
68T05, 68T50
I.2.7; I.2.6
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
title No Memorization, No Detection: Output Distribution-Based Contamination Detection in Small Language Models
topic Artificial Intelligence
Computation and Language
68T05, 68T50
I.2.7; I.2.6
url https://arxiv.org/abs/2603.03203