English

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

Computation and Language 2024-12-17 v3 Artificial Intelligence

Abstract

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 implicit task selection mechanism that involves extracting and processing task definitions from these demonstrations. However, critical questions remain: Which is more essential -- task extraction or definition? And how can these capabilities be further improved? To address these questions, we propose \textbf{TEGEE} (Task Definition Guided Expert Ensembling), a method that explicitly extracts task definitions and generates responses based on specific tasks. Our framework employs a dual 3B model approach, with each model assigned a distinct role: one focuses on task definition extraction, while the other handles learning from demonstrations. This modular approach supports the hypothesis that extracting task definitions is more vital than processing the task itself. Empirical evaluations show that TEGEE performs comparably to the larger LLaMA2-13B model. By leveraging a modular design, our approach extends traditional ICL from few-shot to many-shot learning, supporting an unlimited number of demonstrations and enhancing continual learning capabilities.

Keywords

Cite

@article{arxiv.2403.04233,
  title  = {TEGEE: Task dEfinition Guided Expert Ensembling for Generalizable and Few-shot Learning},
  author = {Xingwei Qu and Yiming Liang and Yucheng Wang and Tianyu Zheng and Tommy Yue and Xingyuan Bu and Lei Ma and Stephen W. Huang and Jiajun Zhang and Yinan Shi and Chenghua Lin and Jie Fu and Ge Zhang},
  journal= {arXiv preprint arXiv:2403.04233},
  year   = {2024}
}
R2 v1 2026-06-28T15:11:51.672Z