END: Early Noise Dropping for Efficient and Effective Context Denoising

Hongye Jin, Pei Chen, Jingfeng Yang, Zhengyang Wang, Meng Jiang +7 more
2/26/2025
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Large Language Models (LLMs) have demonstrated remarkable performance across a wide range of natural language processing tasks. However, they are often distracted by irrelevant or noisy context in input sequences that degrades output quality. This problem affects both long- and short-context scenarios, such as retrieval-augmented generation, table question-answering, and in-context learning. We reveal that LLMs can implicitly identify whether input sequences contain useful information at early layers, prior to token generation. Leveraging this insight, we introduce Early Noise Dropping (\textsc{END}), a novel approach to mitigate this issue without requiring fine-tuning the LLMs. \textsc{END} segments input sequences into chunks and employs a linear prober on the early layers of LLMs to differentiate between informative and noisy chunks. By discarding noisy chunks early in the process, \textsc{END} preserves critical information, reduces distraction, and lowers computational overhead. Extensive experiments demonstrate that \textsc{END} significantly improves both performance and efficiency across different LLMs on multiple evaluation datasets. Furthermore, by investigating LLMs' implicit understanding to the input with the prober, this work also deepens understanding of how LLMs do reasoning with contexts internally.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jin2025end,
  title  = {END: Early Noise Dropping for Efficient and Effective Context Denoising},
  author = {Hongye Jin and Pei Chen and Jingfeng Yang and Zhengyang Wang and Meng Jiang and Yifan Gao and Binxuan Huang and Xinyang Zhang and Zheng Li and Tianyi Liu and Huasheng Li and Bing Yin},
  year   = {2025},
  eprint = {2502.18915},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.18915v2}
}

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/2502.18915.svg)](https://codeofpaper.com/paper/2502.18915)

Discussion