English
Related papers

Related papers: DENIAHL: In-Context Features Influence LLM Needle-…

200 papers

The Needle In A Haystack (NIAH) task has been widely used to evaluate the long-context question-answering capabilities of Large Language Models (LLMs). However, its reliance on simple retrieval limits its effectiveness. To address this…

Computation and Language · Computer Science 2025-04-08 Yidong Wang

Evaluating the ability of large language models (LLMs) to process lengthy contexts is critical, especially for retrieving query-relevant information embedded within them. We introduce Sequential-NIAH, a benchmark specifically designed to…

Computation and Language · Computer Science 2025-09-23 Yifei Yu , Qian-Wen Zhang , Lingfeng Qiao , Di Yin , Fang Li , Jie Wang , Zengxi Chen , Suncong Zheng , Xiaolong Liang , Xing Sun

The needle-in-a-haystack (NIAH) test, which examines the ability to retrieve a piece of information (the "needle") from long distractor texts (the "haystack"), has been widely adopted to evaluate long-context language models (LMs). However,…

Computation and Language · Computer Science 2024-08-08 Cheng-Ping Hsieh , Simeng Sun , Samuel Kriman , Shantanu Acharya , Dima Rekesh , Fei Jia , Yang Zhang , Boris Ginsburg

Recent large language models (LLMs) support long contexts ranging from 128K to 1M tokens. A popular method for evaluating these capabilities is the needle-in-a-haystack (NIAH) test, which involves retrieving a "needle" (relevant…

Computation and Language · Computer Science 2025-07-10 Ali Modarressi , Hanieh Deilamsalehy , Franck Dernoncourt , Trung Bui , Ryan A. Rossi , Seunghyun Yoon , Hinrich Schütze

Recent advancements in Large Language Models (LLMs) have expanded their context windows to unprecedented lengths, sparking debates about the necessity of Retrieval-Augmented Generation (RAG). To address the fragmented evaluation paradigms…

Computation and Language · Computer Science 2025-03-04 Yunfan Gao , Yun Xiong , Wenlong Wu , Zijing Huang , Bohan Li , Haofen Wang

The proliferation of Large Language Models (LLMs) highlights the critical importance of conducting thorough evaluations to discern their comparative advantages, limitations, and optimal use cases. Particularly important is assessing their…

Computation and Language · Computer Science 2024-04-16 Daniel Machlab , Rick Battle

With the rapid advancement of multimodal large language models (MLLMs), their evaluation has become increasingly comprehensive. However, understanding long multimodal content, as a foundational ability for real-world applications, remains…

Computer Vision and Pattern Recognition · Computer Science 2024-10-11 Weiyun Wang , Shuibo Zhang , Yiming Ren , Yuchen Duan , Tiantong Li , Shuo Liu , Mengkang Hu , Zhe Chen , Kaipeng Zhang , Lewei Lu , Xizhou Zhu , Ping Luo , Yu Qiao , Jifeng Dai , Wenqi Shao , Wenhai Wang

Modern long-context large language models (LLMs) perform well on synthetic "needle-in-a-haystack" (NIAH) benchmarks, but such tests overlook how noisy contexts arise from biased retrieval and agentic workflows. We argue that haystack…

Computation and Language · Computer Science 2025-10-13 Mufei Li , Dongqi Fu , Limei Wang , Si Zhang , Hanqing Zeng , Kaan Sancak , Ruizhong Qiu , Haoyu Wang , Xiaoxin He , Xavier Bresson , Yinglong Xia , Chonglin Sun , Pan Li

Processing structured tabular data, particularly large and lengthy tables, constitutes a fundamental yet challenging task for large language models (LLMs). However, existing long-context benchmarks like Needle-in-a-Haystack primarily focus…

Computation and Language · Computer Science 2025-10-29 Lanrui Wang , Mingyu Zheng , Hongyin Tang , Zheng Lin , Yanan Cao , Jingang Wang , Xunliang Cai , Weiping Wang

While recent large language models (LLMs) demonstrate remarkable abilities in responding to queries in diverse languages, their ability to handle long multilingual contexts is unexplored. As such, a systematic evaluation of the long-context…

Computation and Language · Computer Science 2024-08-20 Amey Hengle , Prasoon Bajpai , Soham Dan , Tanmoy Chakraborty

Large language models (LLMs) are increasingly capable of processing long inputs and locating specific information within them, as evidenced by their performance on the Needle in a Haystack (NIAH) test. However, while models excel at…

Computation and Language · Computer Science 2025-06-16 Harvey Yiyun Fu , Aryan Shrivastava , Jared Moore , Peter West , Chenhao Tan , Ari Holtzman

We introduce Lifelong ICL, a problem setting that challenges long-context language models (LMs) to learn a sequence of language tasks through in-context learning (ICL). We further introduce Task Haystack, an evaluation suite dedicated to…

Computation and Language · Computer Science 2024-12-04 Xiaoyue Xu , Qinyuan Ye , Xiang Ren

Recent reports suggest that LLMs can handle increasingly long contexts. However, many existing benchmarks for context understanding embed substantial query-irrelevant content, which shifts evaluation toward retrieving relevant snippets…

Computation and Language · Computer Science 2026-01-05 Hyeonseok Moon , Heuiseok Lim

Current large language models (LLMs) often perform poorly on simple fact retrieval tasks. Here we investigate if coupling a dynamically adaptable external memory to a LLM can alleviate this problem. For this purpose, we test Larimar, a…

Computation and Language · Computer Science 2024-07-15 Elliot Nelson , Georgios Kollias , Payel Das , Subhajit Chaudhury , Soham Dan

We propose a scalable, multifactorial experimental framework that systematically probes LLM sensitivity to subtle semantic changes in pairwise document comparison. We analogize this as a needle-in-a-haystack problem: a single semantically…

Computation and Language · Computer Science 2026-04-22 Sinan G. Aksoy , Alexandra A. Sabrio , Erik VonKaenel , Lee Burke

Multimodal Large Language Models (MLLMs) have shown significant promise in various applications, leading to broad interest from researchers and practitioners alike. However, a comprehensive evaluation of their long-context capabilities…

Machine Learning · Computer Science 2025-02-12 Hengyi Wang , Haizhou Shi , Shiwei Tan , Weiyi Qin , Wenyuan Wang , Tunyu Zhang , Akshay Nambi , Tanuja Ganu , Hao Wang

Current long-context benchmarks primarily focus on retrieval-based tests, requiring Large Language Models (LLMs) to locate specific information within extensive input contexts, such as the needle-in-a-haystack (NIAH) benchmark. Long-context…

Computation and Language · Computer Science 2024-10-25 Xiang Liu , Peijie Dong , Xuming Hu , Xiaowen Chu

Long-context LLM agents must access the right evidence from large environments and use it faithfully. However, the popular Needle-in-a-Haystack (NIAH) evaluation mostly measures benign span localization. The needle is near-unique, and the…

Computation and Language · Computer Science 2026-01-29 Tianwei Lin , Zuyi Zhou , Xinda Zhao , Chenke Wang , Xiaohong Li , Yu Chen , Chuanrui Hu , Jian Pei , Yafeng Deng

Recent advances in long-context language models (LCLMs), designed to handle extremely long contexts, primarily focus on utilizing external contextual information, often leaving the influence of language models' parametric knowledge…

Computation and Language · Computer Science 2026-02-09 Yu Fu , Haz Sameen Shahgir , Hui Liu , Xianfeng Tang , Qi He , Yue Dong

Large language models (LLMs) face significant challenges with needle-in-ahaystack tasks, where relevant information ("the needle") must be drawn from a large pool of irrelevant context ("the haystack"). Previous studies have highlighted…

‹ Prev 1 2 3 10 Next ›