Mind the Prompt: Self-adaptive Generation of Task Plan Explanations via LLMs
Not on the map. Why?
Abstract (arXiv)
Integrating Large Language Models (LLMs) into complex software systems enables the generation 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 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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 27 of its 95 references that are in the map. First posted on arXiv 22 Apr 2026.
Builds on
27 of 95 references.
References · 27
- 2017Attention Is All You Needcited by 59,932
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,201
- 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,057
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
- 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 590
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2023Large Language Models in Finance: A Surveycited by 223
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 129
- 2023Do Models Explain Themselves? Counterfactual Simulatability of Natural Language Explanationscited by 85
- 2020The Emerging Landscape of Explainable AI Planning and Decision Makingcited by 44
15 more
- 2023Towards LLM-guided Causal Explainability for Black-box Text Classifierscited by 44
- 2025LLMs for Explainable AI: A Comprehensive Surveycited by 42
- 2017Explainable Planningcited by 40
- 2022The Challenge of Understanding What Users Want: Inconsistent Preferences and Engagement Optimizationcited by 28
- 2025From Prompts to Templates: A Systematic Prompt Template Analysis for Real-world LLMappscited by 19
- 2019Towards Explainable AI Planning as a Servicecited by 14
- 2019Expectation-Aware Planning: A Unifying Framework for Synthesizing and Executing Self-Explaining Plans for Human-Aware Planningcited by 8
- 2019Temporal Planning with Intermediate Conditions and Effectscited by 7
- 2024Exploring the Potential of Large Language Models in Self-adaptive Systemscited by 7
- 2023Bayesian Learning for the Robust Verification of Autonomous Robotscited by 6
- 2022Discrete-Event Controller Synthesis for Autonomous Systems with Deep-Learning Perception Componentscited by 5
- 2022Self-Adaptation in Industry: A Surveycited by 4
- 2018"So, Tell Me What Users Want, What They Really, Really Want!"cited by 3
- 2025An Extensive Evaluation of PDDL Capabilities in off-the-shelf LLMscited by 2
- 2025Adaptive Human-Robot Collaborative Missions using Hybrid Task Planningcited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.