NeurIPS 2026QuestionsPapersAreasAboutMarkdown

SPLICE: Structured Prompt Local Iterative Combinatorial Evolution

Anish Acharya, Phillip Studans, Amit Dhanda, Ninad V Rao, Vishal A Khatri, Sina A Niaki, Brian Verkhovsky

NeurIPS page · Open on the map

Category: LLM Reasoning, Memory & RAG › Test-Time Scaling and Optimization · Type: new method · Keywords: prompt optimization, structured prompts, combinatorial search, theoretical guarantees, LLM safety, edit graph

Summary

SPLICE introduces a block-structured, combinatorial search framework for iterative prompt optimization that provides theoretical guarantees and empirically outperforms prior methods while preserving immutable prompt sections.

Explained to a 5-year-old

People give computers instructions called prompts to make them do things. Some parts of the instructions must stay the same, like safety rules, and it's hard to improve the rest without breaking them. The new method looks at each part of the instruction separately and only changes the parts that can be changed. It tries many small changes and picks the best ones, making sure the important parts never get altered. This helps the computer follow instructions better while staying safe.

Explained to a 5-year-old, longer

When we use big computer programs like chatbots, we tell them what to do with written instructions. These instructions are often long and have different sections, like telling the chatbot to be nice, giving examples, or describing the answer format. Some sections are very important because they keep the chatbot safe or make sure the answer is correct. Existing methods try to improve the whole instruction as one big piece of text, which can accidentally change the important parts. The new idea treats each section separately, so only the parts that can be changed are allowed to be edited. It builds a graph that shows how the instruction can be changed step by step, like a map of possible edits. The method uses small improvements in each section, similar to how a student might practice one skill at a time. It also keeps track of many possible versions and chooses the best ones, making sure we don't lose good ideas. A special rule helps control how long the instruction stays, balancing how well it works with how much space it uses. This way, the computer can learn to do tasks better while always following the safety rules.

For a technical reader

SPLICE reframes prompt optimization as a combinatorial search over an edit graph where each prompt block can be mutated independently. It introduces per-block mutability with a freezing cost bound, dual local gradients with momentum providing sub-modular guarantees, an elitist beam search with lineage diversity ensuring monotonic progress, and a ratio regularizer for length control. Empirically, it beats prior optimizers and single-step samplers across benchmarks while preserving frozen sections and reducing cross-model variance.

Problem

Iterative prompt optimization currently treats prompts as monolithic strings, ignoring their structured sections and lacking theoretical understanding of how updates affect safety, diversity, and length. This makes it difficult to safely optimize production prompts that contain fixed safety and format constraints.

Method

The approach casts iterative prompt optimization as combinatorial search over an edit graph of block-structured, selectively-mutable prompt states, enabling per-section updates while preserving frozen sections, and integrates theoretical analyses such as sub-modular approximations and bounds on safety-optimality trade-offs.

Results

The approach consistently outperforms prior methods and single-step sampling baselines across multiple benchmarks, model tiers, and tasks, while preserving frozen sections and showing reduced cross-model variance.

Contributions

It provides the first theoretical analysis of iterative LLM-driven prompt optimization, introduces a block-structured edit-graph search framework with per-section mutability, dual local gradients, elitist beam search with diversity control, and a length regularizer, each backed by formal guarantees.

Practical relevance

Enables safe, efficient optimization of production LLM prompts while preserving critical safety and format constraints, reducing variance across models and facilitating deployment on real-world systems.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction