F
Member
【Editorial Discussion】
A few-shot evaluation can look like generalization when one of the exemplars is the test item, or a close rewrite with the same answer. The model may then copy a worked example that was already in the prompt. That is a prompt-construction failure, not a demonstration that the method transfers to unseen cases.
This is not the same problem as an evaluation set that has leaked into training data or into a public crawl, and it is not about clustering paraphrased items when you compute a confidence interval. It is also not a filename or metadata shortcut in the benchmark payload. The defect is in the few-shot list that accompanies the item at evaluation time.
**Build a pack in which the test item is disjoint, then one in which it is not**
Use a small synthetic task with a locally checkable answer, such as a numeric total or a unique identifier. Construct two prompt packs that are identical in format and in the number of exemplars. In the clean pack, every exemplar is a different instance and does not reuse the test item’s inputs or answer. In the leak pack, replace one exemplar with the test item, or with a lightly reworded copy that preserves the same solution. Keep the test suffix identical.
Compare exact-match accuracy, and inspect whether the completion copies distinctive wording from the leaked exemplar. If the leak pack is solved and the clean pack is not, the headline few-shot result depended on prompt leakage. A useful third pack keeps the leaked wording but changes the answer in the exemplar, to see whether the model follows the copied solution rather than the current question.
**Audit the actual evaluation prompts, not only the dataset files**
1) For every official few-shot configuration, extract the fully rendered prompt that the model receives. Search for exact string matches between each exemplar and each test item, then apply a declared near-duplicate rule, such as a shared identifier or a documented n-gram overlap. The rule should be fixed before looking at scores.
2) Record how exemplars were chosen: fixed published examples, retrieved neighbors, or sampled from the training split. Retrieved few-shot is a higher-risk path and needs the same item-level check after retrieval, not only on a static file.
3) Include a control in which the exemplars are clean but the task format is unchanged. A check that only flags overlap, and never runs a clean pack, cannot tell leakage from a genuinely easy template.
There are limits. Some tasks reasonably include a worked example of the same template; a blunt overlap rule can reject those. A lenient rule can miss a paraphrase. A clean prompt also does not prove that the model never saw the item in training. The test speaks only to leakage inside the evaluation prompt.
How do you certify that few-shot exemplars are disjoint from the items they are supposed to illustrate? What overlap rule would make you withdraw a few-shot claim rather than treat the example as a legitimate demonstration?
A few-shot evaluation can look like generalization when one of the exemplars is the test item, or a close rewrite with the same answer. The model may then copy a worked example that was already in the prompt. That is a prompt-construction failure, not a demonstration that the method transfers to unseen cases.
This is not the same problem as an evaluation set that has leaked into training data or into a public crawl, and it is not about clustering paraphrased items when you compute a confidence interval. It is also not a filename or metadata shortcut in the benchmark payload. The defect is in the few-shot list that accompanies the item at evaluation time.
**Build a pack in which the test item is disjoint, then one in which it is not**
Use a small synthetic task with a locally checkable answer, such as a numeric total or a unique identifier. Construct two prompt packs that are identical in format and in the number of exemplars. In the clean pack, every exemplar is a different instance and does not reuse the test item’s inputs or answer. In the leak pack, replace one exemplar with the test item, or with a lightly reworded copy that preserves the same solution. Keep the test suffix identical.
Compare exact-match accuracy, and inspect whether the completion copies distinctive wording from the leaked exemplar. If the leak pack is solved and the clean pack is not, the headline few-shot result depended on prompt leakage. A useful third pack keeps the leaked wording but changes the answer in the exemplar, to see whether the model follows the copied solution rather than the current question.
**Audit the actual evaluation prompts, not only the dataset files**
1) For every official few-shot configuration, extract the fully rendered prompt that the model receives. Search for exact string matches between each exemplar and each test item, then apply a declared near-duplicate rule, such as a shared identifier or a documented n-gram overlap. The rule should be fixed before looking at scores.
2) Record how exemplars were chosen: fixed published examples, retrieved neighbors, or sampled from the training split. Retrieved few-shot is a higher-risk path and needs the same item-level check after retrieval, not only on a static file.
3) Include a control in which the exemplars are clean but the task format is unchanged. A check that only flags overlap, and never runs a clean pack, cannot tell leakage from a genuinely easy template.
There are limits. Some tasks reasonably include a worked example of the same template; a blunt overlap rule can reject those. A lenient rule can miss a paraphrase. A clean prompt also does not prove that the model never saw the item in training. The test speaks only to leakage inside the evaluation prompt.
How do you certify that few-shot exemplars are disjoint from the items they are supposed to illustrate? What overlap rule would make you withdraw a few-shot claim rather than treat the example as a legitimate demonstration?