Disentangling Latent Shifts of In-Context Learning Through Self-Training
<|reference_start|>Disentangling Latent Shifts of In-Context Learning Through Self-Training: In-context learning (ICL) has become essential in natural language processing, particularly with autoregressive large language models capable of learning from demonstrations provided within the prompt. However, ICL faces challenges with stability and long contexts, especially as the number of demonstrations grows, leading to poor generalization and inefficient inference. To address these issues, we introduce STICL (Self-Training ICL), an approach that disentangles the latent shifts of demonstrations from the latent shift of the query through self-training. STICL employs a teacher model to generate pseudo-labels and trains a student model using these labels, encoded in an adapter module. The student model exhibits weak-to-strong generalization, progressively refining its predictions over time. Our empirical results show that STICL improves generalization and stability, consistently outperforming traditional ICL methods and other disentangling strategies across both in-domain and out-of-domain data.<|reference_end|>
@article{jukić2024disentangling,
    title={Disentangling Latent Shifts of In-Context Learning Through Self-Training},
    author={Josip Juki'c, Jan v{S}najder},
    journal={arXiv preprint arXiv:2410.01508},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.01508},
    primaryClass={cs.CL cs.LG}
}