This project proposes three variant frameworks to identify and evaluate minimal prompts and demonstrates that minimal prompts often produce outputs comparable to those of their longer counterparts.
Abstract
Despite the growing capabilities of large language models (LLMs), prompt design remains largely heuristic and ad hoc. This project will explore $\textit{prompt minimization}$, the process of reducing prompts to their smallest, most information-dense form while preserving output fidelity. Practically, shorter prompts reduce computational overhead and inference latency, especially when large contexts, such as entire documents or codebases, are included unnecessarily. Further, longer prompts can damage LLM reasoning and accuracy. Theoretically, the existence of multiple prompts yielding equivalent outputs suggests a high degree of redundancy in the input space, raising fundamental questions about what information is essential to elicit specific model behaviors. We propose three variant frameworks to identify and evaluate minimal prompts and demonstrate that minimal prompts often produce outputs comparable to those of their longer counterparts. These findings suggest new directions for efficient prompt engineering and deepen our understanding of input compression in LLMs.
By identifying which components are indispensable, \framework provides a principled basis for prompt compression and structural analysis of few-shot exemplars, and provides a principled basis for prompt compression and structural analysis of few-shot exemplars.
Ali Alfageeh, Rahul Gopinath, Amin Alipour· 0 citations
A controlled study examining how formatting and LLM-based tuning of coding task prompts affect the resulting code's performance, efficiency, and stability suggests that low-effort reformatting alone can yield measurable improvements, while tuning must account for model alignment.
Erik Thureck, Robert Kühnen, Tim Jacobowitz· 0 citations
While large language models (LLMs) are increasingly deployed in long-context scenarios, lengthy prompts can increase inference costs and latency and exacerbate the ``lost-in-the-middle''phenomenon. Selective prompt compression offers a model-agnostic approach to alleviating these issues. However, methods based on fixed...
Zi-Yi Zhang, Shuang Cui, Hao-Tian Zhang et al.· 1 citation
The current robustness fine-tuning methods improve over standard fine-tuning and in-context learning, but the best-to-worst prompt gap remains as high as 40-57% of performance, and recent robustness-enhancing methods often fail to outperform the simplest data construction strategy: training on one template per batch.
Large language models (LLMs) have demonstrated strong performance in code generation, where success depends on both recalling relevant algorithmic knowledge and reasoning about how to apply it. However, existing LLM pipelines are opaque, with no explicit separation between these two components. We argue that for well-k...
Nickil Maveli, Antonio Vergari, Shay B. Cohen· 0 citations