VAZQUEZ FLORES, Gricel, Evangelidis, Alexandros, Shahbeigi Roudposhti, Sepeedeh et al. (2 more authors) (Accepted: 2026) Mind the Prompt: Self-adaptive Generation of Task Plan Explanations via LLMs. In: SEAMS ’26. (In Press)
Abstract
Integrating Large Language Models (LLMs) into complex software systems enables the γeneration of human-understandable explanations of opaque AI processes, such as automated task planning. However, the quality and reliability of these explanations heavily depend on effective prompt engineering. The lack of a systematic understanding of how diverse stakeholder groups formulate and refine prompts hinders the development of tools that can automate this process. We introduce COMPASS (COgnitive Modelling for Prompt Automated SynthesiS), a proof-of-concept self-adaptive approach that formalises prompt engineering as a cognitive and 17 probabilistic decision-making process. COMPASS models unobservable users’ latent cognitive states, such as attention and comprehension, uncertainty, and observable interaction cues as a POMDP, whose synthesised policy enables adaptive generation of explanations and prompt refinements. We evaluate COMPASS using two diverse cyber-physical system case studies to assess the adaptive explanation generation and their qualities, both quantitatively and qualitatively. Our results demonstrate the feasibility of COMPASS integrating human cognition and user profile’s feedback into automated prompt synthesis in complex task planning systems.
Metadata
| Item Type: | Proceedings Paper |
|---|---|
| Authors/Creators: |
|
| Keywords: | task planning,prompt generation,Probabilistic verification,LLMs |
| Dates: |
|
| Institution: | The University of York |
| Academic Units: | The University of York > Faculty of Sciences (York) > Computer Science (York) |
| Date Deposited: | 16 Feb 2026 13:00 |
| Last Modified: | 16 Feb 2026 13:00 |
| Status: | In Press |
| Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:238030 |
Download
Filename: SEAMS26_REVISION_Adaptive_Plan_Using_LLM-1.pdf
Description: SEAMS26_Adaptive_Plan_Using_LLM
Licence: CC-BY 2.5

CORE (COnnecting REpositories)
CORE (COnnecting REpositories)