paper-with-me

홈 › Papers

Long-context Language Models Cannot Retrieve Without Sufficient Steps

2024-10-06 · Yijiong Yu, Ma Xiufa, Fang Jianwei, Zhi Xu, Su Guangyao, Wang Jiancheng, Yongfeng Huang, Zhixiao Qi, Wei Wang, Weifeng Liu, Ran Chen, Ji Pei

Long-context language models (LCLMs), characterized by their extensive context window, are becoming popular. However, despite they are nearly perfect at standard long-context retrieval tasks, we find they are not good at all types of retrieval tasks. Specifically, we identify 2 basic cases, "multi-matching retrieval," and "logic-based retrieval", which are beyond LCLMs' ability boundary under normal settings. Later, we find these cases can be well addressed with a specific number of reasoning steps, guided by specific CoT prompts, but it may cost too much time. Thus we propose a critical viewpoint that there are currently no perfect solutions for current LCLMs to solve all types of retrieval tasks. Our work reveals some novel properties of retrieval tasks and LCLMs, proving that long-context handling still has a long way to go.

📄 PDF Abstract BibTeX arXiv:2410.04422

Code (1)

yuyijiong/hard_retrieval_for_llm 공식 구현 pytorch

Tasks

Retrieval

Similar Papers 제목 키워드 기반

RepoQA: Evaluating Long Context Code Understanding

2024-06-10 · Jiawei Liu, Jia Le Tian, Vijay Daita, Yuxiang Wei 외

Recent advances have been improving the context windows of Large Language Models (LLMs). To quantify the real long-context capabilities of LLMs, evaluators such as the popular Needle in a Haystack have been developed to …

Code Search

Parallel Context Windows for Large Language Models

2022-12-21 · Nir Ratner, Yoav Levine, Yonatan Belinkov, Ori Ram 외

When applied to processing long text, Large Language Models (LLMs) are limited by their context window. Existing efforts to address this limitation involve training specialized architectures, and cannot be easily applied…

In-Context LearningPlaying the Game of 2048Question AnsweringRetrieval

Micro-Macro Retrieval: Reducing Long-Form Hallucination in Large Language Models

2026-04-10 · Yujie Feng, Jian Li, Zhihan Zhou, Pengfei Xu 외 arxiv

Large Language Models (LLMs) achieve impressive performance across many tasks but remain prone to hallucination, especially in long-form generation where redundant retrieved contexts and lengthy reasoning chains amplify …

Reinforcement Learning

Expansion Span: Combining Fading Memory and Retrieval in Hybrid State Space Models

2024-12-17 · Elvis Nunez, Luca Zancato, Benjamin Bowman, Aditya Golatkar 외

The "state" of State Space Models (SSMs) represents their memory, which fades exponentially over an unbounded span. By contrast, Attention-based models have "eidetic" (i.e., verbatim, or photographic) memory over a finit…

RetrievalState Space Models

CompAct: Compressing Retrieved Documents Actively for Question Answering

2024-07-12 · Chanwoong Yoon, Taewhoo Lee, Hyeon Hwang, Minbyul Jeong 외

Retrieval-augmented generation supports language models to strengthen their factual groundings by providing external contexts. However, language models often face challenges when given extensive information, diminishing …

Multi-hop Question AnsweringQuestion AnsweringRetrievalRetrieval-augmented Generation