约束推理与大语言模型结合:为真实场景优化应用提供对比性解释
Constraint Reasoning and Large Language Models Join Forces: Providing Contrastive Explanations for Real-World Optimisation-Based Applications
研究提出一种结合约束推理与大语言模型(LLM)的方法,为以混合整数规划(MIP)建模的优化问题生成对比性解释。该方法先用约束推理提炼出"理由图"(graph of reasons),再作为输入交给LLM,以弥补其推理能力不足导致的错误。在真实调度场景上的结果显示,引入理由图后LLM生成的解释包含更多相关理由且错误更少。
arXiv:2610.31119v1 Announce Type: new Abstract: We focus on optimisation-based Decision Support Systems in real-world applications. In this context, we aim to provide contrastive explanations that answer users' questions about recommendations based on the solution of an optimisation problem, specifically a Mixed-Integer Program (MIP). Addressing this endeavour is crucial to ensure human oversight of the decisions implemented, as required by international guidelines on trustworthy and responsible automated decision-making systems. We propose a novel methodology that combines constraint reasoning techniques and Large Language Models (LLMs) to generate contrastive explanations for optimisation problems encoded as MIPs. Although LLMs have shown impressive capabilities in Natural Language processing, they can produce incorrect answers due to reasoning limitations. To overcome these limitations, we leverage constraint reasoning techniques to distil the information necessary to produce an explanation, which is then passed as input to an LLM as the so-called graph of reasons. Such a graph captures the semantics and the relationships among constraints of the optimisation problem. Results on real-world scheduling domains show that incorporating constraint reasoning improves explanations generated by the LLM. In particular, using the graph of reasons enables the LLM to produce natural-language explanations that include more relevant reasons while reducing errors compared to explanations generated without this structure.
来源:arXiv (AI + Vision + Imaging) · arxiv.org