Semantic Masking in a Needle-in-a-haystack Test for Evaluating Large Language Model Long-Text Capabilities. Shi, K. & Penn, G. In Zock, M., Inui, K., & Yuan, Z., editors, pages 16–23, Abu Dhabi, UAE, January, 2025. International Committee on Computational Linguistics.
Paper abstract bibtex In this paper, we introduce the concept of Semantic Masking, where semantically coherent surrounding text (the haystack) interferes with the retrieval and comprehension of specific information (the needle) embedded within it. We propose the Needle-in-a-Haystack-QA Test, an evaluation pipeline that assesses LLMs' long-text capabilities through question answering, explicitly accounting for the Semantic Masking effect. We conduct experiments to demonstrate that Semantic Masking significantly impacts LLM performance more than text length does. By accounting for Semantic Masking, we provide a more accurate assessment of LLMs' true proficiency in utilizing extended contexts, paving the way for future research to develop models that are not only capable of handling longer inputs but are also adept at navigating complex semantic landscapes.
@inproceedings{shi_semantic_2025,
address = {Abu Dhabi, UAE},
title = {Semantic {Masking} in a {Needle}-in-a-haystack {Test} for {Evaluating} {Large} {Language} {Model} {Long}-{Text} {Capabilities}},
url = {https://aclanthology.org/2025.wraicogs-1.2/},
abstract = {In this paper, we introduce the concept of Semantic Masking, where semantically coherent surrounding text (the haystack) interferes with the retrieval and comprehension of specific information (the needle) embedded within it. We propose the Needle-in-a-Haystack-QA Test, an evaluation pipeline that assesses LLMs' long-text capabilities through question answering, explicitly accounting for the Semantic Masking effect. We conduct experiments to demonstrate that Semantic Masking significantly impacts LLM performance more than text length does. By accounting for Semantic Masking, we provide a more accurate assessment of LLMs' true proficiency in utilizing extended contexts, paving the way for future research to develop models that are not only capable of handling longer inputs but are also adept at navigating complex semantic landscapes.},
urldate = {2025-03-24},
publisher = {International Committee on Computational Linguistics},
author = {Shi, Ken and Penn, Gerald},
editor = {Zock, Michael and Inui, Kentaro and Yuan, Zheng},
month = jan,
year = {2025},
pages = {16--23},
}
Downloads: 0
{"_id":"spgT6aAcqqTygFsaQ","bibbaseid":"shi-penn-semanticmaskinginaneedleinahaystacktestforevaluatinglargelanguagemodellongtextcapabilities-2025","author_short":["Shi, K.","Penn, G."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","address":"Abu Dhabi, UAE","title":"Semantic Masking in a Needle-in-a-haystack Test for Evaluating Large Language Model Long-Text Capabilities","url":"https://aclanthology.org/2025.wraicogs-1.2/","abstract":"In this paper, we introduce the concept of Semantic Masking, where semantically coherent surrounding text (the haystack) interferes with the retrieval and comprehension of specific information (the needle) embedded within it. We propose the Needle-in-a-Haystack-QA Test, an evaluation pipeline that assesses LLMs' long-text capabilities through question answering, explicitly accounting for the Semantic Masking effect. We conduct experiments to demonstrate that Semantic Masking significantly impacts LLM performance more than text length does. By accounting for Semantic Masking, we provide a more accurate assessment of LLMs' true proficiency in utilizing extended contexts, paving the way for future research to develop models that are not only capable of handling longer inputs but are also adept at navigating complex semantic landscapes.","urldate":"2025-03-24","publisher":"International Committee on Computational Linguistics","author":[{"propositions":[],"lastnames":["Shi"],"firstnames":["Ken"],"suffixes":[]},{"propositions":[],"lastnames":["Penn"],"firstnames":["Gerald"],"suffixes":[]}],"editor":[{"propositions":[],"lastnames":["Zock"],"firstnames":["Michael"],"suffixes":[]},{"propositions":[],"lastnames":["Inui"],"firstnames":["Kentaro"],"suffixes":[]},{"propositions":[],"lastnames":["Yuan"],"firstnames":["Zheng"],"suffixes":[]}],"month":"January","year":"2025","pages":"16–23","bibtex":"@inproceedings{shi_semantic_2025,\n\taddress = {Abu Dhabi, UAE},\n\ttitle = {Semantic {Masking} in a {Needle}-in-a-haystack {Test} for {Evaluating} {Large} {Language} {Model} {Long}-{Text} {Capabilities}},\n\turl = {https://aclanthology.org/2025.wraicogs-1.2/},\n\tabstract = {In this paper, we introduce the concept of Semantic Masking, where semantically coherent surrounding text (the haystack) interferes with the retrieval and comprehension of specific information (the needle) embedded within it. We propose the Needle-in-a-Haystack-QA Test, an evaluation pipeline that assesses LLMs' long-text capabilities through question answering, explicitly accounting for the Semantic Masking effect. We conduct experiments to demonstrate that Semantic Masking significantly impacts LLM performance more than text length does. By accounting for Semantic Masking, we provide a more accurate assessment of LLMs' true proficiency in utilizing extended contexts, paving the way for future research to develop models that are not only capable of handling longer inputs but are also adept at navigating complex semantic landscapes.},\n\turldate = {2025-03-24},\n\tpublisher = {International Committee on Computational Linguistics},\n\tauthor = {Shi, Ken and Penn, Gerald},\n\teditor = {Zock, Michael and Inui, Kentaro and Yuan, Zheng},\n\tmonth = jan,\n\tyear = {2025},\n\tpages = {16--23},\n}\n\n\n\n\n\n\n\n","author_short":["Shi, K.","Penn, G."],"editor_short":["Zock, M.","Inui, K.","Yuan, Z."],"key":"shi_semantic_2025","id":"shi_semantic_2025","bibbaseid":"shi-penn-semanticmaskinginaneedleinahaystacktestforevaluatinglargelanguagemodellongtextcapabilities-2025","role":"author","urls":{"Paper":"https://aclanthology.org/2025.wraicogs-1.2/"},"metadata":{"authorlinks":{}}},"bibtype":"inproceedings","biburl":"https://bibbase.org/zotero/abhishek-p","dataSources":["h7kKWXpJh2iaX92T5"],"keywords":[],"search_terms":["semantic","masking","needle","haystack","test","evaluating","large","language","model","long","text","capabilities","shi","penn"],"title":"Semantic Masking in a Needle-in-a-haystack Test for Evaluating Large Language Model Long-Text Capabilities","year":2025}