mlsanityData to 7 Oct 2026

ClusterFewshot: Improving Few-shot Optimization for LLMs workflow

arXiv 2609.25939 ↗First posted 22 Sep 2026cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 28 references that are in the map. First posted on arXiv 22 Sep 2026.

Builds on

17 of 28 references.

References · 17

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  6. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  7. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
  8. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
  9. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  10. 2021ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interactioncited by 464
  11. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 270
  12. 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
5 more
  1. 2022Self-Generated In-Context Learning: Leveraging Auto-regressive Language Models as a Demonstration Generatorcited by 68
  2. 2023How Many Demonstrations Do You Need for In-context Learning?cited by 52
  3. 2024Fine-Tuning and Prompt Optimization: Two Great Steps that Work Better Togethercited by 38
  4. 2023Prompt Optimization via Adversarial In-Context Learningcited by 33
  5. 2023More Samples or More Prompts? Exploring Effective In-Context Sampling for LLM Few-Shot Prompt Engineeringcited by 13

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Self-Supervised Prompt Optimization
  2. 2025ProCut: LLM Prompt Compression via Attribution Estimation
  3. 2026From Search to Synthesis: Training LLMs as Zero-Shot Workflow Generators
  4. 2026Frontier LLMs are effective batch optimizers: Assessing reasoning models in continuous and discrete settings
  5. 2025PLAY2PROMPT: Zero-shot Tool Instruction Optimization for LLM Agents via Tool Play
  6. 2025Direct Behavior Optimization: Unlocking the Potential of Lightweight LLMs
  7. 2026Reflective Prompt Tuning through Language Model Function-Calling
  8. 2026Enhancing LLM Instruction Following: An Evaluation-Driven Multi-Agentic Workflow for Prompt Instructions Optimization