mlsanityData to 14 Oct 2026

Prompt Space Optimizing Few-shot Reasoning Success with Large Language Models

arXiv 2306.03799 ↗First posted 6 Jun 2023cs.CLcited by 11

On the map: LLM reasoning → Prompting and chain-of-thought reasoning

Abstract (arXiv)

Prompt engineering is an essential technique for enhancing the abilities of large language models (LLMs) by providing explicit and specific instructions. It enables LLMs to excel in various tasks, such as arithmetic reasoning, question answering, summarization, relation extraction, machine translation, and sentiment analysis. Researchers have been actively exploring different prompt engineering strategies, such as Chain of Thought (CoT), Zero-CoT, and In-context learning. However, an unresolved problem arises from the fact that current approaches lack a solid mathematical solution for determining optimal prompts. To address this issue in prompt engineering, we propose a new and effective approach called Prompt Space. Our methodology utilizes text embeddings to obtain basis vectors by matrix decomposition, and then constructs a space for representing all prompts. Prompt Space significantly outperforms state-of-the-art prompt paradigms on ten public reasoning benchmarks. Notably, without the help of the CoT method and the prompt "Let's think step by step", Prompt Space shows superior performance over the few-shot method. Overall, our approach provides a robust and effective mathematical framework for selecting simple and effective prompts. This advancement marks a significant step towards improving prompt engineering for a wide variety of applications in LLMs. Our code is publicly available at textcolorblueurlhttps://github.com/YouBLEI/Prompt-Space

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 34 of its 51 references that are in the map. First posted on arXiv 6 Jun 2023.

Builds on

34 of 51 references.

Closest ancestors · 8

Same direction, newest first

  1. 2023Leveraging Training Data in Few-Shot Prompting for Numerical Reasoning29 May
  2. 2023An automatically discovered chain-of-thought prompt generalizes to novel models and datasets4 May
  3. 2023Synthetic Prompting: Generating Chain-of-Thought Demonstrations for Large Language Models1 Feb
  4. 2022Automatic Chain of Thought Prompting in Large Language Models7 Oct
  5. 2022Complexity-Based Prompting for Multi-Step Reasoning3 Oct
  6. 2022Large Language Models are Zero-Shot Reasoners24 May
  7. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Models21 Mar
  8. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models28 Jan

Other references · 26

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  6. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  7. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
  8. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  9. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  10. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  11. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  12. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
14 more
  1. 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
  2. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  3. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  4. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
  5. 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 743
  6. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 669
  7. 2023Visual ChatGPT: Talking, Drawing and Editing with Visual Foundation Modelscited by 668
  8. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 650
  9. 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
  10. 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 606
  11. 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 243
  12. 2021Paradigm Shift in Natural Language Processingcited by 39
  13. 2023Edit Everything: A Text-Guided Generative System for Images Editingcited by 33
  14. 2023Susceptibility to Influence of Large Language Modelscited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 4; 2024: 4; 2025: 0; 2026: 3.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Why Prompt Design Matters and Works: A Complexity Analysis of Prompt Search Space in LLMs
  2. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applications
  3. 2025Local Prompt Optimization
  4. 2023Unleashing the potential of prompt engineering for large language models
  5. 2024GReaTer: Gradients over Reasoning Makes Smaller Language Models Strong Prompt Optimizers
  6. 2025Auto-Prompting with Retrieval Guidance for Frame Detection in Logistics
  7. 2023Active Prompting with Chain-of-Thought for Large Language Models
  8. 2024Efficient Prompting Methods for Large Language Models: A Survey