S2LPP: Small-to-Large Prompt Prediction across LLMs

Liang Cheng, Tianyi Li, Zhaowei Wang, Mark Steedman

Abstract

Prompt engineering for massive language models is computationally expensive and often characterized by trial-and-error. This paper introduces S2LPP (Small-to-Large Prompt Prediction), demonstrating that LLMs of different sizes within the same family share remarkably consistent prompt preferences. This discovery allows researchers to use small, efficient models as proxies to identify optimal prompts for their larger counterparts, significantly reducing the cost and complexity of prompt optimization.

Introduction

Large Language Models (LLMs) are notoriously sensitive to prompt wording; even minor changes in a template can lead to significant swings in accuracy. Consequently, finding the best prompt usually requires evaluating dozens of candidates across large datasets using the target model. When the target is a 70B+ parameter model or a paid API, this process becomes prohibitively expensive. S2LPP addresses this bottleneck by asking: Can we predict which prompt a large model will prefer by testing it on a much smaller, cheaper model first?

The S2LPP Framework

The researchers propose a three-step framework to streamline prompt engineering:

  1. Prompt Generation: A capable model (e.g., ChatGPT) generates a pool of candidate prompt templates for a specific task.
  2. Prompt Selection: These candidates are evaluated using a small "Selection Model" (e.g., LLaMA-3-8B) on a small development set.
  3. Prediction & Execution: The prompt that performs best on the small model is selected and deployed for the large "Target Model" (e.g., LLaMA-3-70B).

This method relies on the discovery of Prompt Preference Consistency: if a specific prompt structure works best for a small model, it is highly likely to be the top performer for the larger version of that same model family.

Figure 1: Accuracy of various prompt templates across LLaMA-3 and DeepSeek-R1 models of different sizes, demonstrating consistent prompt preferences across scales.

Experimental Evaluation

The study evaluates S2LPP across several diverse NLP benchmarks:

  • Open-domain QA: Google-RE and T-REX were used to test factual knowledge retrieval.
  • Natural Language Inference (NLI): The Levy/Holt dataset evaluated the models' ability to determine statement entailment.
  • Arithmetic Reasoning: The GSM8K dataset tested Chain-of-Thought (CoT) prompt selection.
  • Retrieval-Augmented Generation (RAG): Google-RE combined with Google Search API tested if small models could select the best context paragraphs for larger models.

Key Insights

  • Size-Invariant Preferences: Prompt preference appears largely independent of model scale within a family. This suggests that preferences for certain linguistic structures are established during initial pre-training on massive datasets rather than being a byproduct of model capacity.
  • The "Oracle" Proxy: Small models act as surprisingly accurate proxies. In many tests, an 8B model identified the exact same "best" prompt as a 70B model with high frequency.
  • Cross-Family Utility: While consistency is strongest within a model family, it holds up reasonably well across different families, suggesting a LLaMA model could potentially help optimize prompts for a GPT model.

Key Results

  • High Match Rates: On the Google-RE dataset, LLaMA-2-7B and LLaMA-2-13B achieved a 100% match rate in selecting the optimal prompt.
  • Performance Recovery: The authors measured the Recovery Rate of Performance (RRoP)—the percentage of the "perfect" prompt's accuracy achieved using the small model's choice. In most cases, S2LPP recovered over 70% of potential performance gains compared to random selection.
  • Efficiency Gains: In arithmetic reasoning tasks (GSM8K), S2LPP reduced the computational cost of prompt selection by 60% while maintaining accuracy comparable to expensive baselines.
  • RAG Improvements: Using a small model (DeepSeek-8B) to select relevant paragraphs improved RAG accuracy from 45.2% to 61.9%.

Limitations and Future Work

While effective, S2LPP depends on the quality of the initial prompt pool generated by the source model. Furthermore, while the authors hypothesize that consistency stems from shared pre-training data distributions, a formal investigation into the underlying mechanisms of this phenomenon remains a task for future research. Future work will also focus on evaluating S2LPP on even larger scales, such as LLaMA-3-400B.

Summary updated

BibTeX
@inproceedings{cheng2025s,
  author = {Liang Cheng and Tianyi Li and Zhaowei Wang and Mark Steedman},
  title = {{S2LPP: Small-to-Large Prompt Prediction across LLMs}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure