Lost in the Passage: Passage-level In-context Learning Does Not Necessarily Need a "Passage"

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sun, Hao, Tang, Chenming, Li, Gengyang, Wu, Yunfang
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916781588742144
author Sun, Hao
Tang, Chenming
Li, Gengyang
Wu, Yunfang
author_facet Sun, Hao
Tang, Chenming
Li, Gengyang
Wu, Yunfang
contents By simply incorporating demonstrations into the context, in-context learning (ICL) enables large language models (LLMs) to yield awesome performance on many tasks. In this study, we focus on passage-level long-context ICL for generation tasks and find that LLMs cannot learn the intrinsic relationship between the demonstration passage and the generation output. We conduct experiments with different LLMs on two typical generation tasks including single-document question answering and distractor generation, demonstrating that even a completely meaningless demonstration passage with 1/4 length achieves much better performance than the original full passage. Analysis via attention and information flow reveals that LLMs pay little attention to passages compared to other components in the prompt and little information flows from the passage to other parts of the demonstration, which further confirms our finding. Additionally, experiments on context compression indicate that compression approaches proven effective on other long-context tasks are not suitable for passage-level ICL, since simply using shorter meaningless demonstration passages already achieves competitive performance.
format Preprint
id arxiv_https___arxiv_org_abs_2502_10634
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Lost in the Passage: Passage-level In-context Learning Does Not Necessarily Need a "Passage"
Sun, Hao
Tang, Chenming
Li, Gengyang
Wu, Yunfang
Computation and Language
By simply incorporating demonstrations into the context, in-context learning (ICL) enables large language models (LLMs) to yield awesome performance on many tasks. In this study, we focus on passage-level long-context ICL for generation tasks and find that LLMs cannot learn the intrinsic relationship between the demonstration passage and the generation output. We conduct experiments with different LLMs on two typical generation tasks including single-document question answering and distractor generation, demonstrating that even a completely meaningless demonstration passage with 1/4 length achieves much better performance than the original full passage. Analysis via attention and information flow reveals that LLMs pay little attention to passages compared to other components in the prompt and little information flows from the passage to other parts of the demonstration, which further confirms our finding. Additionally, experiments on context compression indicate that compression approaches proven effective on other long-context tasks are not suitable for passage-level ICL, since simply using shorter meaningless demonstration passages already achieves competitive performance.
title Lost in the Passage: Passage-level In-context Learning Does Not Necessarily Need a "Passage"
topic Computation and Language
url https://arxiv.org/abs/2502.10634