EN — Studies of in-context learning find that prompt format, the chosen training examples, and their order can change performance from near-random guessing to near state-of-the-art. Zhao et al. attribute the variance to majority-label bias (unbalanced label distribution), recency bias (repeating the last label), and common-token bias. Practical fixes include selecting examples by embedding similarity or diversity, randomizing order, and calibrating output probabilities.
中文 — 上下文学习研究发现,提示格式、所选训练示例及其顺序可使性能从接近随机猜测波动到接近最先进水平。Zhao 等人将这种方差归因于多数标签偏差(标签分布不均)、近因偏差(重复末尾标签)和常见 token 偏差。实际对策包括按嵌入相似度或多样性选示例、随机化顺序,以及校准输出概率。
Related: