Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Self-Generated In-Context Learning: Leveraging Auto-regressive Language Models as a Demonstration Generator (2206.08082v1)

Published 16 Jun 2022 in cs.CL

Abstract: Large-scale pre-trained LLMs (PLMs) are well-known for being capable of solving a task simply by conditioning a few input-label pairs dubbed demonstrations on a prompt without being explicitly tuned for the desired downstream task. Such a process (i.e., in-context learning), however, naturally leads to high reliance on the demonstrations which are usually selected from external datasets. In this paper, we propose self-generated in-context learning (SG-ICL), which generates demonstrations for in-context learning from PLM itself to minimize the reliance on the external demonstration. We conduct experiments on four different text classification tasks and show SG-ICL significantly outperforms zero-shot learning and is generally worth approximately 0.6 gold training samples. Moreover, our generated demonstrations show more consistent performance with low variance compared to randomly selected demonstrations from the training dataset.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (6)
  1. Hyuhng Joon Kim (10 papers)
  2. Hyunsoo Cho (28 papers)
  3. Junyeob Kim (7 papers)
  4. Taeuk Kim (38 papers)
  5. Kang Min Yoo (40 papers)
  6. Sang-goo Lee (40 papers)
Citations (52)