mlsanityData to 14 Oct 2026

Language Models can Exploit Cross-Task In-context Learning for Data-Scarce Novel Tasks

arXiv 2405.10548 ↗First posted 17 May 2024cs.CLcited by 13

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have transformed NLP with their remarkable In-context Learning (ICL) capabilities. Automated assistants based on LLMs are gaining popularity; however, adapting them to novel tasks is still challenging. While colossal models excel in zero-shot performance, their computational demands limit widespread use, and smaller language models struggle without context. This paper investigates whether LLMs can generalize from labeled examples of predefined tasks to novel tasks. Drawing inspiration from biological neurons and the mechanistic interpretation of the Transformer architecture, we explore the potential for information sharing across tasks. We design a cross-task prompting setup with three LLMs and show that LLMs achieve significant performance improvements despite no examples from the target task in the context. Cross-task prompting leads to a remarkable performance boost of 107% for LLaMA-2 7B, 18.6% for LLaMA-2 13B, and 3.2% for GPT 3.5 on average over zero-shot prompting, and performs comparable to standard in-context learning. The effectiveness of generating pseudo-labels for in-task examples is demonstrated, and our analyses reveal a strong correlation between the effect of cross-task examples and model activation similarities in source and target input tokens. This paper offers a first-of-its-kind exploration of LLMs' ability to solve novel tasks based on contextual signals from different task examples.

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

Builds on

26 of 40 references.

References · 26

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  6. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  7. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  8. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  9. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  10. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
  11. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  12. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
14 more
  1. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
  2. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 724
  3. 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
  4. 2023In-Context Learning Creates Task Vectorscited by 312
  5. 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
  6. 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 216
  7. 2023Symbol tuning improves in-context learning in language modelscited by 75
  8. 2023Multilingual LLMs are Better Cross-lingual In-context Learners with Alignmentcited by 71
  9. 2022Z-ICL: Zero-Shot In-Context Learning with Pseudo-Demonstrationscited by 70
  10. 2019Natural Language Understanding with the Quora Question Pairs Datasetcited by 51
  11. 2021STraTA: Self-Training with Task Augmentation for Better Few-shot Learningcited by 33
  12. 2022Task Compass: Scaling Multi-task Pre-training with Task Prefixcited by 14
  13. 2023Several categories of Large Language Models (LLMs): A Short Surveycited by 7
  14. 2021Efficient and robust multi-task learning in the brain with modular latent primitivescited by 4

Built on by

Cited by year

Citing papers per year: 2024: 4; 2025: 9.

13 papers.

Sort:

By area: