教大语言模型提问:面向不充分推理的自查询范畴规划
Teaching LLMs to Ask: Self-Querying Category-Theoretic Planning for Under-Specified Reasoning
AI总结:
SQ-BCP通过自查询和桥梁假设解决不充分推理问题,显著降低资源违规率并保持高质量计划。
摘要:
在大型语言模型的推理过程中,当任务关键的前置条件在查询时未被指定时,模型往往会生成缺失事实的假象或产生违反硬约束的计划。我们引入了自查询双向范畴规划(SQ-BCP),它明确表示前置条件的状态(Sat/Viol/Unk)并通过(i)针对性自查询到一个权威/用户或(ii)通过额外动作建立的桥梁假设来解决未知问题。SQ-BCP执行双向搜索,并调用基于拉回的验证器作为目标兼容性的范畴证书,同时仅使用基于距离的评分用于排序和剪枝。我们证明当验证器成功且硬约束通过确定性检查时,接受的计划与目标要求相容;在有限分支和有限解析深度下,SQ-BCP在存在接受计划时能找到该计划。在WikiHow和RecipeNLG任务中,当前置条件被隐藏时,SQ-BCP将资源违规率降低到14.9%和5.8%(与最佳基线相比为26.0%和15.7%),同时保持有竞争力的参考质量。
英文摘要:
Inference-time planning with large language models frequently breaks under partial observability: when task-critical preconditions are not specified at query time, models tend to hallucinate missing facts or produce plans that violate hard constraints. We introduce \textbf{Self-Querying Bidirectional Categorical Planning (SQ-BCP)}, which explicitly represents precondition status (\texttt{Sat}/\texttt{Viol}/\texttt{Unk}) and resolves unknowns via (i) targeted self-queries to an oracle/user or (ii) \emph{bridging} hypotheses that establish the missing condition through an additional action. SQ-BCP performs bidirectional search and invokes a pullback-based verifier as a categorical certificate of goal compatibility, while using distance-based scores only for ranking and pruning. We prove that when the verifier succeeds and hard constraints pass deterministic checks, accepted plans are compatible with goal requirements; under bounded branching and finite resolution depth, SQ-BCP finds an accepting plan when one exists. Across WikiHow and RecipeNLG tasks with withheld preconditions, SQ-BCP reduces resource-violation rates to \textbf{14.9\%} and \textbf{5.8\%} (vs.\ \textbf{26.0\%} and \textbf{15.7\%} for the best baseline), while maintaining competitive reference quality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。