The Needle-in-a-haystack (NIAH) test is a general task used to assess language models' (LMs') abilities to recall particular information from long input context. This framework however does not provide a means of analyzing what factors, beyond context length, contribute to LMs' abilities or inabilities to separate and recall needles from their haystacks. To provide a systematic means of assessing what features contribute to LMs' NIAH capabilities, we developed a synthetic benchmark called DENIAHL (Data-oriented Evaluation of NIAH for LLM's). Our work expands on previous NIAH studies by ablating NIAH features beyond typical context length including data type, size, and patterns. We find stark differences between GPT-3.5 and LLaMA 2-7B's performance on DENIAHL, and drops in recall performance when features like item size are increased, and to some degree when data type is changed from numbers to letters. This has implications for increasingly large context models, demonstrating factors beyond item-number impact NIAH capabilities.
Hidden in the Haystack: Smaller Needles are More Difficult for LLMs to Find
Center for Alzheimer’s Disease and Related Dementias, NIA, NIH(阿尔茨海默病及相关痴呆症研究中心,国家老龄化研究所,国家卫生研究院);DataTecnica LLC(DataTecnica公司);Johns Hopkins University(约翰霍普金斯大学);Laboratory of Neurogenetics, NIA, NIH(神经遗传学实验室,国家老龄化研究所,国家卫生研究院)
Looking for a Needle in a Haystack: A Comprehensive Study of Hallucinations in Neural Machine Translation
Instituto de Telecomunicações(电信研究所);Instituto Superior Técnico(高等技术学院);LUMLIS (Lisbon ELLIS Unit)(LUMLIS(里斯本ELLIS单元));University of Edinburgh(爱丁堡大学);Unbabel(Unbabel公司)
Fudan University(复旦大学);OpenGVLab(开放视觉实验室);Shanghai AI Laboratory(上海人工智能实验室);Tsinghua University(清华大学);The Chinese University of Hong Kong(香港中文大学);The University of Hong Kong(香港大学);Nanjing University(南京大学);SenseTime Research(商汤科技研究院)
Analyzing Big Data with Dynamic Quantum Clustering
SLAC National Accelerator Laboratory(SLAC国家加速器实验室);Utrecht University(乌得勒支大学);Princeton University(普林斯顿大学);CNRS(法国国家科学研究中心);CEMES(材料结构与研究中心);Tel Aviv University(特拉维夫大学);Geophysical Institute of Israel(以色列地球物理研究所)
NeedleInATable: Exploring Long-Context Capability of Large Language Models towards Long-Structured Tables
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)
NeMo: Needle in a Montage for Video-Language Understanding
The Chinese University of Hong Kong(香港中文大学);Phoenix TV(凤凰电视台);Stanford University(斯坦福大学);University of Liverpool(利物浦大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校)
Needle in a Haystack: An Analysis of High-Agreement Workers on MTurk for Summarization
New York University(纽约大学);ADAPT Centre, DCU(都柏林城市大学ADAPT中心);IBM Research(IBM研究院);Google(谷歌);Google Research(谷歌研究院);Yale University(耶鲁大学);trivago N.V.(途易集团);University of Edinburgh(爱丁堡大学);Allen Institute for AI(艾伦人工智能研究所)
U-NIAH: Unified RAG and LLM Evaluation for Long Context Needle-In-A-Haystack
Shanghai Research Institute for Intelligent Autonomous Systems, Tongji University(同济大学上海智能自主系统研究院);School of Computer Science, Fudan University(复旦大学计算机科学技术学院);College of Artificial Intelligence, Nanjing University of Aeronautics and Astronautics(南京航空航天大学人工智能学院);College of Design and Innovation, Tongji University(同济大学设计与创新学院)
LongGuard: Mechanistic Analysis and Training-Free Mitigation of Long-Context Failure in Safety Guardrails
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院)
Beyond Homogeneous Attention: Memory-Efficient LLMs via Fourier-Approximated KV Cache
School of Computer Science, Fudan University(复旦大学计算机科学学院);Shanghai Innovation Institute(上海创新研究院);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Shanghai AI Lab(上海AI实验室)
A Controllable Examination for Long-Context Language Models
University of Edinburgh(爱丁堡大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Nanjing University(南京大学);Alibaba Group(阿里巴巴集团);University of Amsterdam(阿姆斯特丹大学)
SEGMENT+: Long Text Processing with Short-Context Language Models
Fudan University(复旦大学);Columbia University(哥伦比亚大学);MYbank, Ant Group(蚂蚁集团MYbank);School of Computer Science, Fudan University(复旦大学计算机科学学院);School of Data Science, Fudan University(复旦大学数据科学学院)