Not the Example, but the Process: How Self-Generated Examples Enhance LLM Reasoning

Daehoon Gwak, Minseo Jung, Junwoo Park, Minho Park, ChaeHun Park +2 more
1/26/2026
cs.CLcs.AI

No confident code implementation found for this paper. 6 possible matches can be shown below.

Abstract

Recent studies have shown that Large Language Models (LLMs) can improve their reasoning performance through self-generated few-shot examples, achieving results comparable to manually curated in-context examples. However, the underlying mechanism behind these gains remains unclear, making it hard to decide when and how to apply the technique effectively. In this work, we argue that the key benefit arises not from the generated examples themselves but from the act of creating them. To validate this, on reasoning-intensive tasks across diverse LLM architectures, we systematically evaluate three prompting strategies for in-context learning: (1) Zero-shot prompting; (2) Integrated prompting, where LLMs create and solve problems within a single, unified prompt; and (3) Decoupled prompting, where self-generated examples are reused as in-context examples, but the context of their creation itself is excluded. We conduct experiments across five widely used model architectures, demonstrating that Integrated prompting consistently outperforms both Zero-shot and Decoupled prompting. In contrast, Decoupled prompting offers only marginal gains over Zero-shot. Further, for a more in-depth analysis, we conduct an attention analysis and observe significant differences in attention patterns between Integrated and Decoupled prompting. These findings suggest that the advantage of self-generation prompting comes from the process of problem creation, not the examples themselves, providing valuable insights for designing more effective prompting strategies.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 6 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gwak2026example,
  title  = {Not the Example, but the Process: How Self-Generated Examples Enhance LLM Reasoning},
  author = {Daehoon Gwak and Minseo Jung and Junwoo Park and Minho Park and ChaeHun Park and Junha Hyung and Jaegul Choo},
  year   = {2026},
  eprint = {2602.15863},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.15863v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.15863.svg)](https://codeofpaper.com/paper/2602.15863)

Discussion