Enhancing In-Context Learning via Implicit Demonstration Augmentation
Zhou, Xiaoling, Ye, Wei, Wang, Yidong, Jiang, Chaoya, Lee, Zhemg, Xie, Rui, Zhang, Shikun
–arXiv.org Artificial Intelligence
The emergence of in-context learning (ICL) enables large pre-trained language models (PLMs) to make predictions for unseen inputs without updating parameters. Despite its potential, ICL's effectiveness heavily relies on the quality, quantity, and permutation of demonstrations, commonly leading to suboptimal and unstable performance. In this paper, we tackle this challenge for the first time from the perspective of demonstration augmentation. Specifically, we start with enriching representations of demonstrations by leveraging their deep feature distribution. We then theoretically reveal that when the number of augmented copies approaches infinity, the augmentation is approximately equal to a novel logit calibration mechanism integrated with specific statistical properties. This insight results in a simple yet highly efficient method that significantly improves the average and worst-case accuracy across diverse PLMs and tasks. Moreover, our method effectively reduces performance variance among varying demonstrations, permutations, and templates, and displays the capability to address imbalanced class distributions.
arXiv.org Artificial Intelligence
Jun-27-2024
- Country:
- North America
- United States
- Michigan (0.04)
- Washington > King County
- Seattle (0.14)
- Tennessee > Davidson County
- Nashville (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Georgia > Fulton County
- Atlanta (0.04)
- Canada
- Ontario > Toronto (0.04)
- Quebec > Montreal (0.04)
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- United States
- Europe
- Asia
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- China
- Hong Kong (0.04)
- Tianjin Province > Tianjin (0.04)
- Middle East > UAE
- Africa
- Rwanda > Kigali
- Kigali (0.04)
- Kenya
- Nairobi Province (0.04)
- Nairobi City County > Nairobi (0.04)
- Rwanda > Kigali
- North America
- Genre:
- Research Report > New Finding (0.93)
- Industry:
- Leisure & Entertainment (0.95)
- Technology: