IM-Context: In-Context Learning for Imbalanced Regression Tasks
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
- 2017Attention Is All You Needcited by 59,932
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 987
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
- 2021Deep Long-Tailed Learning: A Surveycited by 416
- 2019Deep Evidential Regressioncited by 354
24 more
- 2021Transformers Can Do Bayesian Inferencecited by 338
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
- 2022Emergent Analogical Reasoning in Large Language Modelscited by 239
- 2020Rethinking the Value of Labels for Improving Class-Imbalanced Learningcited by 216
- 2023One Step of Gradient Descent is Provably the Optimal In-Context Learner with One Layer of Linear Self-Attentioncited by 168
- 2021Delving into Deep Imbalanced Regressioncited by 157
- 2023Birth of a Transformer: A Memory Viewpointcited by 154
- 2023The mechanistic basis of data dependence and abrupt learning in an in-context classification taskcited by 115
- 2024Why Tabular Foundation Models Should Be a Research Prioritycited by 103
- 2021Self-Supervised Aggregation of Diverse Experts for Test-Agnostic Long-Tailed Recognitioncited by 95
- 2022Balanced MSE for Imbalanced Visual Regressioncited by 89
- 2024Is Cosine-Similarity of Embeddings Really About Similarity?cited by 89
- 2023PFNs4BO: In-Context Learning for Bayesian Optimizationcited by 70
- 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functionscited by 68
- 2023Statistical Foundations of Prior-Data Fitted Networkscited by 59
- 2022RankSim: Ranking Similarity Regularization for Deep Imbalanced Regressioncited by 52
- 2022Moving Window Regression: A Novel Approach to Ordinal Regressioncited by 44
- 2021PcDGAN: A Continuous Conditional Diverse Generative Adversarial Network For Inverse Designcited by 30
- 2021Improving Contrastive Learning on Imbalanced Seed Data via Open-World Samplingcited by 30
- 2023A Unified Perspective for Loss-Oriented Imbalanced Learning via Localizationcited by 24
- 2023ConR: Contrastive Regularizer for Deep Imbalanced Regressioncited by 19
- 2024DirMixE: Harnessing Test Agnostic Long-tail Recognition with Hierarchical Label Variationscited by 15
Built on by
Citing papers per year: 2025: 3; 2026: 4.
7 papers.
- 2025In-context Learning of Evolving Data Streams with Tabular Foundational Modelscited by 7
- 2025Local distribution-based adaptive oversampling for imbalanced regressioncited by 3
- 2026Retrieval-aligned Tabular Foundation Models Enable Robust Clinical Risk Prediction in Electronic Health Records Under Real-world Constraintscited by 2
- 2025Genomic Next-Token Predictors are In-Context Learnerscited by 1
- 2026Engineering Regression Without Real-Data Training: Domain Adaptation for Tabular Foundation Models Using Multi-Dataset Embeddingscited by 1
- 2026Convergent Emergence of In-Context Learning Across Modalitiescited by 0
- 2026Exposing Blind Spots in Deep Imbalanced Regression Evaluationcited by 0
- 2026Exposing Blind Spots in Deep Imbalanced Regression Evaluation21 Sep 2026
- 2026Convergent Emergence of In-Context Learning Across Modalities12 Sep 2026
- 2026Retrieval-aligned Tabular Foundation Models Enable Robust Clinical Risk Prediction in Electronic Health Records Under Real-world Constraints2 Apr 2026
- 2026Engineering Regression Without Real-Data Training: Domain Adaptation for Tabular Foundation Models Using Multi-Dataset Embeddings5 Mar 2026
- 2025Genomic Next-Token Predictors are In-Context Learners16 Nov 2025
- 2025Local distribution-based adaptive oversampling for imbalanced regression19 Apr 2025
- 2025In-context Learning of Evolving Data Streams with Tabular Foundational Models24 Feb 2025