Metraipolis › archive › dc_5e79bff737ff

ClusterFewshot: Improving Few-shot Optimization for LLMs workflow — arXiv:2609.25939

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.25939
License (as archived)
CC0-1.0
Archived
2026-10-08T14:36:34.683Z
SHA-256 of the archived text
0b3826d0f94ead14a225bdbaf6ae3d7f0bbf91c7d6d8a5c4b74352a2bb770216
Stable URL of this page
https://metraipolis.com/documento/dc_5e79bff737ff

How to cite

ClusterFewshot: Improving Few-shot Optimization for LLMs workflow — arXiv:2609.25939 — arXiv (en), https://arxiv.org/abs/2609.25939 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5e79bff737ff (Metraipolis archive dc_5e79bff737ff, sha256 0b3826d0f94ead14a225bdbaf6ae3d7f0bbf91c7d6d8a5c4b74352a2bb770216)
BibTeX
@misc{dc5e79bff737ff,
  title = {ClusterFewshot: Improving Few-shot Optimization for LLMs workflow — arXiv:2609.25939},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.25939},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5e79bff737ff; sha256 0b3826d0f94ead14a225bdbaf6ae3d7f0bbf91c7d6d8a5c4b74352a2bb770216},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.25939. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

The performance of large language model (LLM) workflows often depends on selecting a small set of in-context demonstrations to guide model behavior on new tasks. Recent methods improve this process by augmenting prompts with successful reasoning paths. However, their demonstration selection relies on random sampling or metric-based rankings, overlooking the semantic structure of the task. We propose ClusterFewshot, a strategy that combines semantic structuring with utility-aware scoring to construct representative and effective few-shot demonstration sets. Evaluated within DSPy-based pipelines, ClusterFewshot substantially reduces optimization cost across multiple benchmarks, while consistently improving accuracy relative to prior bootstrap-based methods in both standalone prompt tuning and hybrid prompt-weight optimization.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-23 in cs.CL).
Categorie arXiv: Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2609.25939 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T13:46:15.704Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-23?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).