paper-with-me

홈 › Papers

Exploring Demonstration Ensembling for In-context Learning

2023-08-17 · Muhammad Khalifa, Lajanugen Logeswaran, Moontae Lee, Honglak Lee, Lu Wang

In-context learning (ICL) operates by showing language models (LMs) examples of input-output pairs for a given task, i.e., demonstrations. The standard approach for ICL is to prompt the LM with concatenated demonstrations followed by the test input. This approach suffers from some issues. First, concatenation offers almost no control over the contribution of each demo to the model prediction. This can be sub-optimal when some demonstrations are irrelevant to the test example. Second, due to the input length limit of some transformer models, it might be infeasible to fit many examples into the context, especially when dealing with long-input tasks. In this work, we explore Demonstration Ensembling (DENSE) as an alternative to simple concatenation. DENSE predicts outputs using subsets (i.e., buckets) of the demonstrations and then combines the output probabilities resulting from each subset to produce the final prediction. We study different ensembling methods using GPT-j and experiment on 12 language tasks. Our experiments show weighted max ensembling to outperform vanilla concatenation by as large as 2.4 average points. Code available at https://github.com/mukhal/icl-ensembling.

📄 PDF Abstract BibTeX arXiv:2308.08780

Code (1)

mukhal/icl-ensembling 공식 구현

Tasks

In-Context Learning

Similar Papers 제목 키워드 기반

TEGEE: Task dEfinition Guided Expert Ensembling for Generalizable and Few-shot Learning

2024-03-07 · Xingwei Qu, Yiming Liang, Yucheng Wang, Tianyu Zheng 외

Large Language Models (LLMs) exhibit the ability to perform in-context learning (ICL), where they acquire new tasks directly from examples provided in demonstrations. This process is thought to operate through an implici…

Continual LearningDefinition ExtractionFew-Shot LearningIn-Context Learning+1

One ACT Play: Single Demonstration Behavior Cloning with Action Chunking Transformers

2023-09-18 · Abraham George, Amir Barati Farimani

Learning from human demonstrations (behavior cloning) is a cornerstone of robot learning. However, most behavior cloning algorithms require a large number of demonstrations to learn a task, especially for general tasks t…

Chunking

Divide, Reweight, and Conquer: A Logit Arithmetic Approach for In-Context Learning

2024-10-14 · Chengsong Huang, Langlin Huang, Jiaxin Huang

In-Context Learning (ICL) emerges as a key feature for Large Language Models (LLMs), allowing them to adapt to new tasks by leveraging task-specific examples without updating model parameters. However, ICL faces challeng…

In-Context LearningMMLU

ARES: A Reading Comprehension Ensembling Service

2020-10-01 · EMNLP 2020 11 · Anthony Ferritto, Lin Pan, Rishav Chakravarti, Salim Roukos 외

We introduce ARES (A Reading Comprehension Ensembling Service): a novel Machine Reading Comprehension (MRC) demonstration system which utilizes an ensemble of models to increase F1 by 2.3 points. While many of the top le…

Machine Reading ComprehensionNatural QuestionsQuestion AnsweringReading Comprehension

Exploring In-Context Learning of Textless Speech Language Model for Speech Classification Tasks

2023-10-19 · Ming-Hao Hsu, Kai-Wei Chang, Shang-Wen Li, Hung-Yi Lee

Ever since the development of GPT-3 in the natural language processing (NLP) field, in-context learning (ICL) has played an essential role in utilizing large language models (LLMs). By presenting the LM utterance-label d…

Few-Shot LearningIn-Context LearningLanguage ModelingLanguage Modelling