Skip to main content
LawSphereX

Mixtures of In-Context Learners

Subject: Language Learning and Education

Author or source: Giwon Hong, Emile Van Krieken, Edoardo Ponti, Esmeralda S. Whitammer, Pasquale Minervini

Updated:

Moreover, we improve the Pareto frontier of ICL by reducing the inference time needed to achieve the same performance with fewer demonstrations.

Giwon Hong, Emile Van Krieken, Edoardo Ponti, Esmeralda S. Whitammer, Pasquale Minervini. 2025. Mixtures of In-Context Learners. Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics. DOI 10.18653/v1/2025.acl-long.1277. CC BY 4.0. Original PDF and author abstract are reproduced unchanged apart from whitespace in the abstract. LawSphereX prepared the reading prompt and cover. No endorsement implied.

Publication sources

Authors’ abstract

Source page 1–20

In-context learning (ICL) adapts LLMs by providing demonstrations without fine-tuning the model parameters; however, it is very sensitive to the choice of in-context demonstrations, and processing many demonstrations can be computationally demanding. We propose Mixtures of In-Context Learners (MoICL), a novel approach that uses subsets of demonstrations to train a set of experts via ICL and learns a weighting function to merge their output distributions via gradient-based optimisation. In our experiments, we show performance improvements on 5 out of 7 classification datasets compared to a set of strong baselines (e.g., up to +13% compared to ICL and LENS). Moreover, we improve the Pareto frontier of ICL by reducing the inference time needed to achieve the same performance with fewer demonstrations. Finally, MoICL is more robust to out-of-domain (up to +11%), imbalanced (up to +49%) and perturbed demonstrations (up to +38%).

Reading guide for language learning and education

Source page 1–20

Identify the intended learner and the skill being assessed. Compare the evaluation task with what a learner would actually do in class.