Large Language Models Can be Lazy Learners: Analyze Shortcuts in In-Context Learning

Ruixiang Tang, Dehan Kong, Longtao Huang, Hui Xue

2023 · 28 citations · 31 references

DOIFull text

Open access

Concepts

TL;DR

Large language models can perform in‑context learning by conditioning on a few examples, yet the factors that determine their end‑task performance and robustness remain poorly understood. This study investigates whether LLMs rely on shortcuts or spurious correlations in prompts. Experiments show that LLMs act as lazy learners that exploit shortcuts, with larger models more prone to doing so, highlighting new robustness challenges and the need for better shortcut detection and mitigation.

Abstract

Large language models (LLMs) have recently shown great potential for in-context learning, where LLMs learn a new task simply by conditioning on a few input-label pairs (prompts). Despite their potential, our understanding of the factors influencing end-task performance and the robustness of in-context learning remains limited. This paper aims to bridge this knowledge gap by investigating the reliance of LLMs on shortcuts or spurious correlations within prompts. Through comprehensive experiments on classification and extraction tasks, we reveal that LLMs are “lazy learners” that tend to exploit such shortcuts. Additionally, we uncover a surprising finding that larger models are more likely to utilize shortcuts in prompts during inference. Our findings provide a new perspective on evaluating robustness in in-context learning and pose new challenges for detecting and mitigating the use of shortcuts in prompts.

References

31