Self-Supervised Prompt Optimization
Paper · https://arxiv.org/abs/2502.06855
Well-designed prompts are crucial for enhancing Large language models' (LLMs) reasoning capabilities while aligning their outputs with task requirements across diverse domains. However, manually designed prompts require expertise and iterative experimentation. While existing prompt optimization methods aim to automate this process, they rely heavily on external references such as ground truth or by humans, limiting their applicability in real-world scenarios where such data is unavailable or costly to obtain. To address this, we propose Self-Supervised Prompt Optimization (SPO), a cost-efficient framework that discovers effective prompts for both closed and open-ended tasks without requiring external reference. Motivated by the observations that prompt quality manifests directly in LLM outputs and LLMs can effectively assess adherence to task requirements, we derive evaluation and optimization signals purely from output comparisons. Specifically, SPO selects superior prompts through pairwise output comparisons evaluated by an LLM evaluator, followed by an LLM optimizer that aligns outputs with task requirements. Extensive experiments demonstrate that SPO outperforms state-of-the-art prompt optimization methods, achieving comparable or superior results with significantly lower costs (e.g., 1.1% to 5.6% of existing methods) and fewer samples (e.g., three samples). The code is available at https://github.com/geekan/MetaGPT.
First seen by Oriel on .
AI summary
Self-Supervised Prompt Optimization (SPO) discovers prompts for closed and open-ended tasks using only LLM output comparisons, achieving competitive performance at substantially lower cost.
- SPO requires neither ground-truth references nor human evaluations, targeting scenarios where such data is unavailable or expensive.
- An LLM evaluator compares outputs from candidate prompts, while an LLM optimizer improves prompts toward task requirements.
- Experiments report comparable or superior results to state-of-the-art prompt optimization methods across closed and open-ended tasks.
- SPO uses 1.1% to 5.6% of existing methods’ costs and can achieve results using three samples.
#prompt optimization #large language models #self-supervised learning
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hugging Face Papers: 18, latest observation ; 0 over observed period since
Comments
Comment count reported by the source.
- Hugging Face Papers: 1, latest observation ; 0 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hugging Face Papers | 2502.06855 | https://arxiv.org/abs/2502.06855 Read discussion |