FltLM: An Intergrated Long-Context Large Language Model for Effective Context Filtering and Understanding

Jingyang Deng, Zhengyang Shen, Boyang Wang, Lixin Su, Suqi Cheng +4 more
10/9/2024
cs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

The development of Long-Context Large Language Models (LLMs) has markedly advanced natural language processing by facilitating the process of textual data across long documents and multiple corpora. However, Long-Context LLMs still face two critical challenges: The lost in the middle phenomenon, where crucial middle-context information is likely to be missed, and the distraction issue that the models lose focus due to overly extended contexts. To address these challenges, we propose the Context Filtering Language Model (FltLM), a novel integrated Long-Context LLM which enhances the ability of the model on multi-document question-answering (QA) tasks. Specifically, FltLM innovatively incorporates a context filter with a soft mask mechanism, identifying and dynamically excluding irrelevant content to concentrate on pertinent information for better comprehension and reasoning. Our approach not only mitigates these two challenges, but also enables the model to operate conveniently in a single forward pass. Experimental results demonstrate that FltLM significantly outperforms supervised fine-tuning and retrieval-based methods in complex QA scenarios, suggesting a promising solution for more accurate and reliable long-context natural language understanding applications.

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. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

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

Cite this paper

@article{deng2024fltlm,
  title  = {FltLM: An Intergrated Long-Context Large Language Model for Effective Context Filtering and Understanding},
  author = {Jingyang Deng and Zhengyang Shen and Boyang Wang and Lixin Su and Suqi Cheng and Ying Nie and Junfeng Wang and Dawei Yin and Jinwen Ma},
  year   = {2024},
  eprint = {2410.06886},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.06886v1}
}

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

Discussion