Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Prompt Segmentation and Annotation Optimisation: Controlling LLM Behaviour via Optimised Segment-Level Annotations

About

Prompt engineering is crucial for effective interaction with generative artificial intelligence systems, yet existing optimisation methods often operate over an unstructured and vast prompt space, leading to high computational costs and potential distortions of the original intent. We introduce Prompt Segmentation and Annotation Optimisation (PSAO), a structured prompt optimisation framework designed to improve prompt optimisation controllability and efficiency. PSAO decomposes a prompt into interpretable segments (e.g., sentences) and augments each with human-readable annotations (e.g., {not important}, {important}, {very important}). These annotations guide large language models (LLMs) in allocating focus and clarifying confusion during response generation. We formally define the segmentations and annotations and demonstrate that optimised segment-level annotations can lead to improved LLM responses, with the original prompt retained as a candidate in the optimisation space to prevent performance degradation. Empirical evaluations indicate that PSAO benefits from annotations in terms of improved reasoning accuracy and self-consistency. However, developing efficient methods for identifying optimal segmentations and annotations remains challenging and is reserved for future investigation. This work is intended as a proof of concept, demonstrating the feasibility and potential of segment-level annotation optimisation.

Devika Prasad, Luke Gerschwitz, Tong Li, Henry Xiao, Anjin Liu, Coco Wu, Anna Leontjeva, Luiz Pizzato• 2026

Related benchmarks

TaskDatasetResultRank
Multitask Language UnderstandingMMLU (test)--
312
Arithmetic ReasoningMultiArith
Accuracy98.22
293
Mathematical ReasoningGSM8K
GSM8K Accuracy (%)94.95
204
Math ReasoningAQUA
Accuracy93.42
188
Causal ReasoningBBH Causal Judgement
Accuracy (BBH Causal Judgement)72.73
40
Logical reasoningBoolean BBEH
Accuracy100
29
Multiple-choice Question AnsweringMMLU High school US history (test)
Top-1 Accuracy93.84
9
Language Understanding (History)MMLU HS World History (test)
Accuracy95.38
7
Language Understanding (Medicine)MMLU College Medicine (test)
Accuracy86.44
7
Language Understanding (History)MMLU HS US History (test)
Accuracy93.84
7
Showing 10 of 21 rows

Other info

Follow for update