mlsanityData to 7 Oct 2026

Disentangling Latent Shifts of In-Context Learning with Weak Supervision

arXiv 2410.01508 ↗First posted 2 Oct 2024cs.CL cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

In-context learning (ICL) enables large language models to perform few-shot learning by conditioning on labeled examples in the prompt. Despite its flexibility, ICL suffers from instability -- especially as prompt length increases with more demonstrations. To address this, we treat ICL as a source of weak supervision and propose a parameter-efficient method that disentangles demonstration-induced latent shifts from those of the query. An ICL-based teacher generates pseudo-labels on unlabeled queries, while a student predicts them using only the query input, updating a lightweight adapter. This captures demonstration effects in a compact, reusable form, enabling efficient inference while remaining composable with new demonstrations. Although trained on noisy teacher outputs, the student often outperforms its teacher through pseudo-label correction and coverage expansion, consistent with the weak-to-strong generalization effect. Empirically, our method improves generalization, stability, and efficiency across both in-domain and out-of-domain tasks, surpassing standard ICL and prior disentanglement methods.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 32 of its 42 references that are in the map. First posted on arXiv 2 Oct 2024.

Builds on

32 of 42 references.

References · 32

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  7. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  8. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  9. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
  10. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  11. 2022Editing Models with Task Arithmeticcited by 1,076
  12. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
20 more
  1. 2022Large Language Models Can Self-Improvecited by 656
  2. 2023In-Context Learning Creates Task Vectorscited by 302
  3. 2023Function Vectors in Large Language Modelscited by 292
  4. 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 240
  5. 2023Transformers as Algorithms: Generalization and Stability in In-context Learningcited by 220
  6. 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 218
  7. 2020Theoretical Analysis of Self-Training with Deep Networks on Unlabeled Datacited by 179
  8. 2023The Learnability of In-Context Learningcited by 126
  9. 2024Knowledge Fusion of Large Language Modelscited by 110
  10. 2020Lipschitz constant estimation of Neural Networks via sparse polynomial optimizationcited by 87
  11. 2024Self-Taught Evaluatorscited by 70
  12. 2023How Many Demonstrations Do You Need for In-context Learning?cited by 52
  13. 2023In-Context Learning Learns Label Relationships but Is Not Conventional Learningcited by 48
  14. 2024Theoretical Analysis of Weak-to-Strong Generalizationcited by 46
  15. 2022The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns via Spotlights of Attentioncited by 45
  16. 2022Why neural networks find simple solutions: the many regularizers of geometric complexitycited by 38
  17. 2023Task Arithmetic with LoRA for Continual Learningcited by 31
  18. 2024Batch-ICL: Effective, Efficient, and Order-Agnostic In-Context Learningcited by 20
  19. 2024Exploring Context Window of Large Language Models via Decomposed Positional Vectorscited by 18
  20. 2023Scaling In-Context Demonstrations with Structured Attentioncited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.