Language Models can Exploit Cross-Task In-context Learning for Data-Scarce Novel Tasks
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
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
14 more
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 724
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2023In-Context Learning Creates Task Vectorscited by 312
- 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
- 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 216
- 2023Symbol tuning improves in-context learning in language modelscited by 75
- 2023Multilingual LLMs are Better Cross-lingual In-context Learners with Alignmentcited by 71
- 2022Z-ICL: Zero-Shot In-Context Learning with Pseudo-Demonstrationscited by 70
- 2019Natural Language Understanding with the Quora Question Pairs Datasetcited by 51
- 2021STraTA: Self-Training with Task Augmentation for Better Few-shot Learningcited by 33
- 2022Task Compass: Scaling Multi-task Pre-training with Task Prefixcited by 14
- 2023Several categories of Large Language Models (LLMs): A Short Surveycited by 7
- 2021Efficient and robust multi-task learning in the brain with modular latent primitivescited by 4
Built on by
Citing papers per year: 2024: 4; 2025: 9.
13 papers.
Sort:
By area:
- 2024Towards Understanding Multi-Task Learning (Generalization) of LLMs via Detecting and Exploring Task-Specific Neuronscited by 25
- 2024DAWN-ICL: Strategic Planning of Problem-solving Trajectories for Zero-Shot In-Context Learningcited by 6
- 2025Enhancing Cross-task Transfer of Large Language Models via Activation Steeringcited by 6
- 2025DICE: Dynamic In-Context Example Selection in LLM Agents via Efficient Knowledge Transfercited by 5
- 2025Understanding the Effects of Domain Finetuning on LLMscited by 4
- 2025Unraveling Indirect In-Context Learning Using Influence Functionscited by 3
- 2025Spoken Language Understanding on Unseen Tasks With In-Context Learningcited by 2
- 2025ExpeTrans: LLMs Are Experiential Transfer Learnerscited by 2
- 2025Facilitating Cognitive Accessibility with LLMs: A Multi-Task Approach to Easy-to-Read Text Generationcited by 2
- 2024AMR-RE: Abstract Meaning Representations for Retrieval-Based In-Context Learning in Relation Extractioncited by 1
- 2025CrossICL: Cross-Task In-Context Learning via Unsupervised Demonstration Transfercited by 1
- 2025From Cross-Task Examples to In-Task Prompts: A Graph-Based Pseudo-Labeling Framework for In-context Learningcited by 1
1 more
- 2024Generating Diverse Negations from Affirmative Sentencescited by 0
- 2025From Cross-Task Examples to In-Task Prompts: A Graph-Based Pseudo-Labeling Framework for In-context Learning28 Oct 2025
- 2025Understanding the Effects of Domain Finetuning on LLMs10 Oct 2025
- 2025Facilitating Cognitive Accessibility with LLMs: A Multi-Task Approach to Easy-to-Read Text Generation1 Oct 2025
- 2025DICE: Dynamic In-Context Example Selection in LLM Agents via Efficient Knowledge Transfer31 Jul 2025
- 2025Enhancing Cross-task Transfer of Large Language Models via Activation Steering17 Jul 2025
- 2025CrossICL: Cross-Task In-Context Learning via Unsupervised Demonstration Transfer30 May 2025
- 2025ExpeTrans: LLMs Are Experiential Transfer Learners29 May 2025
- 2025Spoken Language Understanding on Unseen Tasks With In-Context Learning12 May 2025
- 2025Unraveling Indirect In-Context Learning Using Influence Functions1 Jan 2025
- 2024Generating Diverse Negations from Affirmative Sentences30 Oct 2024
- 2024DAWN-ICL: Strategic Planning of Problem-solving Trajectories for Zero-Shot In-Context Learning26 Oct 2024
- 2024Towards Understanding Multi-Task Learning (Generalization) of LLMs via Detecting and Exploring Task-Specific Neurons9 Jul 2024
- 2024Towards Understanding Multi-Task Learning (Generalization) of LLMs via Detecting and Exploring Task-Specific Neuronscited by 25
- 2024DAWN-ICL: Strategic Planning of Problem-solving Trajectories for Zero-Shot In-Context Learningcited by 6
- 2025Understanding the Effects of Domain Finetuning on LLMscited by 4
- 2025Unraveling Indirect In-Context Learning Using Influence Functionscited by 3
- 2025Spoken Language Understanding on Unseen Tasks With In-Context Learningcited by 2
- 2025ExpeTrans: LLMs Are Experiential Transfer Learnerscited by 2
- 2025Facilitating Cognitive Accessibility with LLMs: A Multi-Task Approach to Easy-to-Read Text Generationcited by 2
- 2024AMR-RE: Abstract Meaning Representations for Retrieval-Based In-Context Learning in Relation Extractioncited by 1
- 2025CrossICL: Cross-Task In-Context Learning via Unsupervised Demonstration Transfercited by 1
- 2025From Cross-Task Examples to In-Task Prompts: A Graph-Based Pseudo-Labeling Framework for In-context Learningcited by 1
- 2024Generating Diverse Negations from Affirmative Sentencescited by 0
- 2025From Cross-Task Examples to In-Task Prompts: A Graph-Based Pseudo-Labeling Framework for In-context Learning28 Oct 2025
- 2025Understanding the Effects of Domain Finetuning on LLMs10 Oct 2025
- 2025Facilitating Cognitive Accessibility with LLMs: A Multi-Task Approach to Easy-to-Read Text Generation1 Oct 2025
- 2025CrossICL: Cross-Task In-Context Learning via Unsupervised Demonstration Transfer30 May 2025
- 2025ExpeTrans: LLMs Are Experiential Transfer Learners29 May 2025
- 2025Spoken Language Understanding on Unseen Tasks With In-Context Learning12 May 2025
- 2025Unraveling Indirect In-Context Learning Using Influence Functions1 Jan 2025
- 2024Generating Diverse Negations from Affirmative Sentences30 Oct 2024
- 2024DAWN-ICL: Strategic Planning of Problem-solving Trajectories for Zero-Shot In-Context Learning26 Oct 2024
- 2024Towards Understanding Multi-Task Learning (Generalization) of LLMs via Detecting and Exploring Task-Specific Neurons9 Jul 2024
- 2024AMR-RE: Abstract Meaning Representations for Retrieval-Based In-Context Learning in Relation Extraction14 Jun 2024