mlsanityData to 7 Oct 2026

IM-Context: In-Context Learning for Imbalanced Regression Tasks

arXiv 2405.18202 ↗First posted 28 May 2024cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Regression models often fail to generalize effectively in regions characterized by highly imbalanced label distributions. Previous methods for deep imbalanced regression rely on gradient-based weight updates, which tend to overfit in underrepresented regions. This paper proposes a paradigm shift towards in-context learning as an effective alternative to conventional in-weight learning methods, particularly for addressing imbalanced regression. In-context learning refers to the ability of a model to condition itself, given a prompt sequence composed of in-context samples (input-label pairs) alongside a new query input to generate predictions, without requiring any parameter updates. In this paper, we study the impact of the prompt sequence on the model performance from both theoretical and empirical perspectives. We emphasize the importance of localized context in reducing bias within regions of high imbalance. Empirical evaluations across a variety of real-world datasets demonstrate that in-context learning substantially outperforms existing in-weight learning methods in scenarios with high levels of imbalance.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 36 of its 50 references that are in the map. First posted on arXiv 28 May 2024.

Builds on

36 of 50 references.

References · 36

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 987
  7. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  8. 2022Transformers learn in-context by gradient descentcited by 714
  9. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  10. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
  11. 2021Deep Long-Tailed Learning: A Surveycited by 416
  12. 2019Deep Evidential Regressioncited by 354
24 more
  1. 2021Transformers Can Do Bayesian Inferencecited by 338
  2. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
  3. 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
  4. 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
  5. 2022Emergent Analogical Reasoning in Large Language Modelscited by 239
  6. 2020Rethinking the Value of Labels for Improving Class-Imbalanced Learningcited by 216
  7. 2023One Step of Gradient Descent is Provably the Optimal In-Context Learner with One Layer of Linear Self-Attentioncited by 168
  8. 2021Delving into Deep Imbalanced Regressioncited by 157
  9. 2023Birth of a Transformer: A Memory Viewpointcited by 154
  10. 2023The mechanistic basis of data dependence and abrupt learning in an in-context classification taskcited by 115
  11. 2024Why Tabular Foundation Models Should Be a Research Prioritycited by 103
  12. 2021Self-Supervised Aggregation of Diverse Experts for Test-Agnostic Long-Tailed Recognitioncited by 95
  13. 2022Balanced MSE for Imbalanced Visual Regressioncited by 89
  14. 2024Is Cosine-Similarity of Embeddings Really About Similarity?cited by 89
  15. 2023PFNs4BO: In-Context Learning for Bayesian Optimizationcited by 70
  16. 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functionscited by 68
  17. 2023Statistical Foundations of Prior-Data Fitted Networkscited by 59
  18. 2022RankSim: Ranking Similarity Regularization for Deep Imbalanced Regressioncited by 52
  19. 2022Moving Window Regression: A Novel Approach to Ordinal Regressioncited by 44
  20. 2021PcDGAN: A Continuous Conditional Diverse Generative Adversarial Network For Inverse Designcited by 30
  21. 2021Improving Contrastive Learning on Imbalanced Seed Data via Open-World Samplingcited by 30
  22. 2023A Unified Perspective for Loss-Oriented Imbalanced Learning via Localizationcited by 24
  23. 2023ConR: Contrastive Regularizer for Deep Imbalanced Regressioncited by 19
  24. 2024DirMixE: Harnessing Test Agnostic Long-tail Recognition with Hierarchical Label Variationscited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 4.

7 papers.