Prompt Space Optimizing Few-shot Reasoning Success with Large Language Models
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
- 2023Leveraging Training Data in Few-Shot Prompting for Numerical Reasoning29 May
- 2023An automatically discovered chain-of-thought prompt generalizes to novel models and datasets4 May
- 2023Synthetic Prompting: Generating Chain-of-Thought Demonstrations for Large Language Models1 Feb
- 2022Automatic Chain of Thought Prompting in Large Language Models7 Oct
- 2022Complexity-Based Prompting for Multi-Step Reasoning3 Oct
- 2022Large Language Models are Zero-Shot Reasoners24 May
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Models21 Mar
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models28 Jan
Other references · 26
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
14 more
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
- 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 743
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 669
- 2023Visual ChatGPT: Talking, Drawing and Editing with Visual Foundation Modelscited by 668
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 650
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 606
- 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 243
- 2021Paradigm Shift in Natural Language Processingcited by 39
- 2023Edit Everything: A Text-Guided Generative System for Images Editingcited by 33
- 2023Susceptibility to Influence of Large Language Modelscited by 17
Built on by
Citing papers per year: 2023: 4; 2024: 4; 2025: 0; 2026: 3.
11 papers.
- 2023ChainForge: A Visual Toolkit for Prompt Engineering and LLM Hypothesis Testingcited by 88
- 2024Beyond Examples: High-level Automated Reasoning Paradigm in In-Context Learning via MCTScited by 54
- 2024TextCoT: Zoom In for Enhanced Multimodal Text-Rich Image Understandingcited by 38
- 2023AutoVP: An Automated Visual Prompting Framework and Benchmarkcited by 29
- 2026Look Inward to Explore Outward: Learning Temperature Policy from LLM Internal States via Hierarchical RLcited by 27
- 2023Prompt Engineering Through the Lens of Optimal Controlcited by 16
- 2023Towards A Unified View of Answer Calibration for Multi-Step Reasoningcited by 8
- 2024Demonstration Notebook: Finding the Most Suited In-Context Learning Example from Interactionscited by 4
- 2024GluMarker: A Novel Predictive Modeling of Glycemic Control Through Digital Biomarkerscited by 2
- 2026From Memorization to Creation: Evaluating the Cognitive Depth of LLM-Generated Educational Questionscited by 0
- 2026How Much Prompt Is Enough? A Blackbox Minimization of Few-Shots in LLMscited by 0
- 2026How Much Prompt Is Enough? A Blackbox Minimization of Few-Shots in LLMs28 Sep 2026
- 2026From Memorization to Creation: Evaluating the Cognitive Depth of LLM-Generated Educational Questions6 May 2026
- 2026Look Inward to Explore Outward: Learning Temperature Policy from LLM Internal States via Hierarchical RL13 Feb 2026
- 2024Beyond Examples: High-level Automated Reasoning Paradigm in In-Context Learning via MCTS27 Nov 2024
- 2024Demonstration Notebook: Finding the Most Suited In-Context Learning Example from Interactions16 Jun 2024
- 2024GluMarker: A Novel Predictive Modeling of Glycemic Control Through Digital Biomarkers19 Apr 2024
- 2024TextCoT: Zoom In for Enhanced Multimodal Text-Rich Image Understanding15 Apr 2024
- 2023Towards A Unified View of Answer Calibration for Multi-Step Reasoning15 Nov 2023
- 2023Prompt Engineering Through the Lens of Optimal Control22 Oct 2023
- 2023AutoVP: An Automated Visual Prompting Framework and Benchmark12 Oct 2023
- 2023ChainForge: A Visual Toolkit for Prompt Engineering and LLM Hypothesis Testing17 Sep 2023
Similar, not cited
Close in wording, no citation either way
- 2025Why Prompt Design Matters and Works: A Complexity Analysis of Prompt Search Space in LLMs
- 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applications
- 2025Local Prompt Optimization
- 2023Unleashing the potential of prompt engineering for large language models
- 2024GReaTer: Gradients over Reasoning Makes Smaller Language Models Strong Prompt Optimizers
- 2025Auto-Prompting with Retrieval Guidance for Frame Detection in Logistics
- 2023Active Prompting with Chain-of-Thought for Large Language Models
- 2024Efficient Prompting Methods for Large Language Models: A Survey