Long-context LLMs Struggle with Long In-context Learning. Li, T., Zhang, G., Do, Q. D., Yue, X., & Chen, W. June, 2024. arXiv:2404.02060 [cs]
Paper doi abstract bibtex Large Language Models (LLMs) have made significant strides in handling long sequences. Some models like Gemini could even to be capable of dealing with millions of tokens. However, their performance evaluation has largely been confined to metrics like perplexity and synthetic tasks, which may not fully capture their true abilities in more challenging, real-world scenarios. We introduce a benchmark (LongICLBench) for long in-context learning in extreme-label classification using six datasets with 28 to 174 classes and input lengths from 2K to 50K tokens. Our benchmark requires LLMs to comprehend the entire input to recognize the massive label spaces to make correct predictions. We evaluate on 15 long-context LLMs and find that they perform well on less challenging classification tasks with smaller label space and shorter demonstrations. However, they struggle with more challenging task like Discovery with 174 labels, suggesting a gap in their ability to process long, context-rich sequences. Further analysis reveals a bias towards labels presented later in the sequence and a need for improved reasoning over multiple pieces of information. Our study reveals that long context understanding and reasoning is still a challenging task for the existing LLMs. We believe LongICLBench could serve as a more realistic evaluation for the future long-context LLMs.
@misc{liLongcontextLLMsStruggle2024,
title = {Long-context {LLMs} {Struggle} with {Long} {In}-context {Learning}},
url = {http://arxiv.org/abs/2404.02060},
doi = {10.48550/arXiv.2404.02060},
abstract = {Large Language Models (LLMs) have made significant strides in handling long sequences. Some models like Gemini could even to be capable of dealing with millions of tokens. However, their performance evaluation has largely been confined to metrics like perplexity and synthetic tasks, which may not fully capture their true abilities in more challenging, real-world scenarios. We introduce a benchmark (LongICLBench) for long in-context learning in extreme-label classification using six datasets with 28 to 174 classes and input lengths from 2K to 50K tokens. Our benchmark requires LLMs to comprehend the entire input to recognize the massive label spaces to make correct predictions. We evaluate on 15 long-context LLMs and find that they perform well on less challenging classification tasks with smaller label space and shorter demonstrations. However, they struggle with more challenging task like Discovery with 174 labels, suggesting a gap in their ability to process long, context-rich sequences. Further analysis reveals a bias towards labels presented later in the sequence and a need for improved reasoning over multiple pieces of information. Our study reveals that long context understanding and reasoning is still a challenging task for the existing LLMs. We believe LongICLBench could serve as a more realistic evaluation for the future long-context LLMs.},
language = {en},
urldate = {2026-01-07},
publisher = {arXiv},
author = {Li, Tianle and Zhang, Ge and Do, Quy Duc and Yue, Xiang and Chen, Wenhu},
month = jun,
year = {2024},
note = {arXiv:2404.02060 [cs]},
keywords = {Computer Science - Artificial Intelligence, Computer Science - Computation and Language},
}
Downloads: 0
{"_id":"gvtc65aapEA5Jtzh4","bibbaseid":"li-zhang-do-yue-chen-longcontextllmsstrugglewithlongincontextlearning-2024","author_short":["Li, T.","Zhang, G.","Do, Q. D.","Yue, X.","Chen, W."],"bibdata":{"bibtype":"misc","type":"misc","title":"Long-context LLMs Struggle with Long In-context Learning","url":"http://arxiv.org/abs/2404.02060","doi":"10.48550/arXiv.2404.02060","abstract":"Large Language Models (LLMs) have made significant strides in handling long sequences. Some models like Gemini could even to be capable of dealing with millions of tokens. However, their performance evaluation has largely been confined to metrics like perplexity and synthetic tasks, which may not fully capture their true abilities in more challenging, real-world scenarios. We introduce a benchmark (LongICLBench) for long in-context learning in extreme-label classification using six datasets with 28 to 174 classes and input lengths from 2K to 50K tokens. Our benchmark requires LLMs to comprehend the entire input to recognize the massive label spaces to make correct predictions. We evaluate on 15 long-context LLMs and find that they perform well on less challenging classification tasks with smaller label space and shorter demonstrations. However, they struggle with more challenging task like Discovery with 174 labels, suggesting a gap in their ability to process long, context-rich sequences. Further analysis reveals a bias towards labels presented later in the sequence and a need for improved reasoning over multiple pieces of information. Our study reveals that long context understanding and reasoning is still a challenging task for the existing LLMs. We believe LongICLBench could serve as a more realistic evaluation for the future long-context LLMs.","language":"en","urldate":"2026-01-07","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Li"],"firstnames":["Tianle"],"suffixes":[]},{"propositions":[],"lastnames":["Zhang"],"firstnames":["Ge"],"suffixes":[]},{"propositions":[],"lastnames":["Do"],"firstnames":["Quy","Duc"],"suffixes":[]},{"propositions":[],"lastnames":["Yue"],"firstnames":["Xiang"],"suffixes":[]},{"propositions":[],"lastnames":["Chen"],"firstnames":["Wenhu"],"suffixes":[]}],"month":"June","year":"2024","note":"arXiv:2404.02060 [cs]","keywords":"Computer Science - Artificial Intelligence, Computer Science - Computation and Language","bibtex":"@misc{liLongcontextLLMsStruggle2024,\n\ttitle = {Long-context {LLMs} {Struggle} with {Long} {In}-context {Learning}},\n\turl = {http://arxiv.org/abs/2404.02060},\n\tdoi = {10.48550/arXiv.2404.02060},\n\tabstract = {Large Language Models (LLMs) have made significant strides in handling long sequences. Some models like Gemini could even to be capable of dealing with millions of tokens. However, their performance evaluation has largely been confined to metrics like perplexity and synthetic tasks, which may not fully capture their true abilities in more challenging, real-world scenarios. We introduce a benchmark (LongICLBench) for long in-context learning in extreme-label classification using six datasets with 28 to 174 classes and input lengths from 2K to 50K tokens. Our benchmark requires LLMs to comprehend the entire input to recognize the massive label spaces to make correct predictions. We evaluate on 15 long-context LLMs and find that they perform well on less challenging classification tasks with smaller label space and shorter demonstrations. However, they struggle with more challenging task like Discovery with 174 labels, suggesting a gap in their ability to process long, context-rich sequences. Further analysis reveals a bias towards labels presented later in the sequence and a need for improved reasoning over multiple pieces of information. Our study reveals that long context understanding and reasoning is still a challenging task for the existing LLMs. We believe LongICLBench could serve as a more realistic evaluation for the future long-context LLMs.},\n\tlanguage = {en},\n\turldate = {2026-01-07},\n\tpublisher = {arXiv},\n\tauthor = {Li, Tianle and Zhang, Ge and Do, Quy Duc and Yue, Xiang and Chen, Wenhu},\n\tmonth = jun,\n\tyear = {2024},\n\tnote = {arXiv:2404.02060 [cs]},\n\tkeywords = {Computer Science - Artificial Intelligence, Computer Science - Computation and Language},\n}\n\n\n\n\n\n\n\n","author_short":["Li, T.","Zhang, G.","Do, Q. D.","Yue, X.","Chen, W."],"key":"liLongcontextLLMsStruggle2024","id":"liLongcontextLLMsStruggle2024","bibbaseid":"li-zhang-do-yue-chen-longcontextllmsstrugglewithlongincontextlearning-2024","role":"author","urls":{"Paper":"http://arxiv.org/abs/2404.02060"},"keyword":["Computer Science - Artificial Intelligence","Computer Science - Computation and Language"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/saurabhr","dataSources":["nxjWwW7fWbb5tfpKz"],"keywords":["computer science - artificial intelligence","computer science - computation and language"],"search_terms":["long","context","llms","struggle","long","context","learning","li","zhang","do","yue","chen"],"title":"Long-context LLMs Struggle with Long In-context Learning","year":2024}