atlas

Research map / Large language models / Language, safety and interpretability

System Prompt Optimization with Meta-Learning

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces bilevel system prompt optimization and MetaSPO, a meta-learning framework that alternates inner-loop user prompt refinement with outer-loop system prompt refinement to produce task-agnostic system prompts that generalize to unseen tasks and user prompts.

Problem

Existing prompt optimization focuses on task-specific user prompts and ignores system prompts, which are meant to be task-agnostic; the paper targets designing system prompts robust to diverse user prompts and transferable to unseen tasks and domains.

Approach

Formulate system prompt optimization as a bilevel problem, where user prompts are optimized per task in an inner loop and the system prompt is meta-optimized over many tasks and their optimized user prompts in an outer loop, using LLM-based failure analysis and candidate generation at both levels.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use MetaSPO instead of SPRIG for global system-prompt optimizationLlama 3.2 (3B) · Unseen Generalization (Global, Avg.)score: 35.0 -> 41.4Helped
Use MetaSPO instead of SPRIG for domain-specific system-prompt optimizationLlama 3.2 (3B) · Unseen Generalization (Domain, Avg.)score: 37.0 -> 44.5Helped
Apply MetaSPO-optimized system prompts rather than CoTLlama 3.1 (8B) · Review Analysis and Reasoning (Avg.)score: 59.6 -> 69.8Helped
Apply MetaSPO-optimized system prompts rather than CoTQwen 2.5 (7B) · Review Analysis and Reasoning (Avg.)score: 65.5 -> 73.2Helped
Apply MetaSPO-optimized system prompts rather than DefaultGPT-4o mini · Review Analysis and Reasoning (Avg.)score: 77.2 -> 79.6Helped
Omit iterative inner-loop user-prompt refinement (ablation)MetaSPO · Domain averages (Avg.)score: 42.2 -> 38.2Hurt
Replace the default prompt-optimization strategy with APE in both loops (ablation)MetaSPO · Domain averages (Avg.)score: 42.2 -> 38.9Hurt
Replace the default prompt-optimization strategy with EVO in both loops (ablation)MetaSPO · Domain averages (Avg.)score: 42.2 -> 40.2Hurt
Increase the number of source tasks from 1 to 6 (ablation)MetaSPO · Review Analysis domainperformance: +17.10%Helped
Increase the number of source tasks from 1 to 6 (ablation)MetaSPO · Reasoning domainperformance: +8.26%Helped
Use separated system and user roles instead of concatenating both prompts into the user role (ablation)MetaSPO prompt structure · All domains except Reasoningwin ratioHelped
Use separated system and user roles instead of concatenating both prompts into the user role (ablation)MetaSPO prompt structure · Reasoningwin ratioNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: MedMCQA Amazon reviews BIG-bench Tweet Eval Liar HateCheck Sarcasm Anthropic Harmless Ethos SQuAD HotpotQA TriviaQA

Benchmarks: MedMCQA Amazon reviews BIG-bench Anthropic Harmless Ethos Natural Questions WebQuestions

Metrics: accuracy F1-score exact match

Baselines: Default system prompt Chain-of-Thought Service system prompt SPRIG Outer Loop MetaSPO w/ APE MetaSPO w/ EVO

Builds on: MAML SPRIG ProTeGi APE OPRO

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy