Insufficient task description can impair in-context learning: A study from information perspective

Meidai Xuanyuan, Tao Yang, Jingwen Fu, Sicheng Zhao, Yuwang Wang

Abstract

Transformers have demonstrated remarkable performance in a wide range of applications, making in-context learning an essential technique. In-context learning primarily relies on two types of information: in-context examples and task description. While previous research has extensively investigated the influence of in-context examples on learning behavior, the role of task description has not been adequately explored, despite their practical significance. In this paper, we present a study examining the impact of task description on the in-context learning performance of transformers. We devise a synthetic experiment setting, making the information of task description controllable. Through a series of well-designed experiments, we systematically vary task description information and assess the resulting effects on model performance across multiple tasks. Our findings reveal the double-side roles of task description: insufficient task description will lead the model to ignore in-context examples, resulting a poor in-context performance; once the information in task description surpasses a certain threshold, the impact of task description transfers from negative to positive, and a performance emergence can be observed. We further conduct the tasks on GPT-4 and observe a similar double-side impact. In conclusion, this study contributes to a deeper understanding of the in-context learning from a task description perspective.
BibTeX
@article{xuanyuan2025insufficient,
  author = {Meidai Xuanyuan and Tao Yang and Jingwen Fu and Sicheng Zhao and Yuwang Wang},
  title = {{Insufficient task description can impair in-context learning: A study from information perspective}},
  journal = {Information Fusion},
  year = {2025},
  doi = {10.1016/j.inffus.2025.103116},
}

Loading related content...

Figure