LNE-Blocking: An Efficient Framework for Contamination Mitigation Evaluation on Large Language Models

Ruijie Hou, Yueyang Jiao, Hanxu Hu, Yingming Li, Wai Lam +2 more
9/18/2025
cs.CL

Official code: RuijieH/LNE-Blocking (1 star, last commit 2025-09-23).

Abstract

The problem of data contamination is now almost inevitable during the development of large language models (LLMs), with the training data commonly integrating those evaluation benchmarks even unintentionally. This problem subsequently makes it hard to benchmark LLMs fairly. Instead of constructing contamination-free datasets (quite hard), we propose a novel framework, \textbf{LNE-Blocking}, to restore model performance prior to contamination on potentially leaked datasets. Our framework consists of two components: contamination detection and disruption operation. For the prompt, the framework first uses the contamination detection method, \textbf{LNE}, to assess the extent of contamination in the model. Based on this, it adjusts the intensity of the disruption operation, \textbf{Blocking}, to elicit non-memorized responses from the model. Our framework is the first to efficiently restore the model's greedy decoding performance. This comes with a strong performance on multiple datasets with potential leakage risks, and it consistently achieves stable recovery results across different models and varying levels of data contamination. We release the code at https://github.com/RuijieH/LNE-Blocking to facilitate research.

View on arXivView PDF

Code Implementations(1)

Implemetation of the paper "LNE-Blocking: An Efficient Framework for Contamination Mitigation Evaluation on Large Language Models".

10Shell, PythonSep 9, 20251 years ago

Similar Papers

Cite this paper

@article{hou2025lneblocking,
  title  = {LNE-Blocking: An Efficient Framework for Contamination Mitigation Evaluation on Large Language Models},
  author = {Ruijie Hou and Yueyang Jiao and Hanxu Hu and Yingming Li and Wai Lam and Huajian Zhang and Hongyuan Lu},
  year   = {2025},
  eprint = {2509.15218},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.15218v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.15218.svg)](https://codeofpaper.com/paper/2509.15218)

Discussion