mlsanityData to 14 Oct 2026

Feature-Adaptive and Data-Scalable In-Context Learning

arXiv 2405.10738 ↗First posted 17 May 2024cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

In-context learning (ICL), which promotes inference with several demonstrations, has become a widespread paradigm to stimulate LLM capabilities for downstream tasks. Due to context length constraints, it cannot be further improved in spite of more training data, and general features directly from LLMs in ICL are not adaptive to the specific downstream task. In this paper, we propose a feature-adaptive and data-scalable in-context learning framework (FADS-ICL), which can leverage task-adaptive features to promote inference on the downstream task, with the supervision of beyond-context samples. Specifically, it first extracts general features of beyond-context samples via the LLM with ICL input form one by one, and introduces a task-specific modulator to perform feature refinement and prediction after fitting a specific downstream task. We conduct extensive experiments on FADS-ICL under varying data settings (4~128 shots) and LLM scale (0.8~70B) settings. Experimental results show that FADS-ICL consistently outperforms previous state-of-the-art methods by a significant margin under all settings, verifying the effectiveness and superiority of FADS-ICL. For example, under the 1.5B and 32 shots setting, FADS-ICL can achieve +14.3 average accuracy from feature adaptation over vanilla ICL on 10 datasets, with +6.2 average accuracy over the previous state-of-the-art method, and the performance can further improve with increasing training data. Code and data are publicly available at urlhttps://github.com/jiahaozhenbang/FADS-ICL.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 13 of its 27 references that are in the map. First posted on arXiv 17 May 2024.

Builds on

13 of 27 references.

References · 13

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  3. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  4. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
  5. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  6. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
  7. 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
  8. 2021MetaICL: Learning to Learn In Contextcited by 454
  9. 2021Meta-learning via Language Model In-context Tuningcited by 164
  10. 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 161
  11. 2022An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labelscited by 89
  12. 2022Revisiting Parameter-Efficient Tuning: Are We Really There Yet?cited by 76
1 more
  1. 2023kNN Prompting: Beyond-Context Learning with Calibration-Free Nearest Neighbor Inferencecited by 47

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.