用结构化模板显式追踪大模型推理中的知识流动
IAO Prompting: Making Knowledge Flow Explicit in LLMs through Structured Reasoning Templates
- 设计IAO模板,拆解推理为输入-动作-输出三步
- 在多任务中提升零样本表现并验证知识一致性
- 适合关注模型可解释性与幻觉检测的研究者
尽管大型语言模型(LLMs)展现出强大的推理能力,但理解与验证其知识利用仍具挑战性。链式思维(CoT)提示部分解决了这一问题,通过揭示中间推理步骤,但知识的获取与应用过程依然隐含。我们提出IAO(输入-动作-输出)提示方法,一种基于结构化模板的技术,显式建模大模型在复杂推理任务中如何访问和应用知识。IAO将问题分解为连续步骤,每一步明确标识所使用的输入知识、执行的动作及产生的输出。这种结构化分解使我们能够追踪知识流、验证事实一致性,并识别潜在的知识缺失或误用。在多种推理任务上的实验表明,IAO不仅提升了零样本性能,还提供了大模型如何调用存储知识的透明性。人工评估确认,该结构化方法增强了对知识利用的验证能力,并有助于发现幻觉或推理错误。研究结果为理解大模型中的知识表征及实现更可靠的知識应用提供了洞见。
原文摘要 · Abstract (English)
While Large Language Models (LLMs) demonstrate impressive reasoning capabilities, understanding and validating their knowledge utilization remains challenging. Chain-of-thought (CoT) prompting partially addresses this by revealing intermediate reasoning steps, but the knowledge flow and application remain implicit. We introduce IAO (Input-Action-Output) prompting, a structured template-based method that explicitly models how LLMs access and apply their knowledge during complex reasoning tasks. IAO decomposes problems into sequential steps, each clearly identifying the input knowledge being used, the action being performed, and the resulting output. This structured decomposition enables us to trace knowledge flow, verify factual consistency, and identify potential knowledge gaps or misapplications. Through experiments across diverse reasoning tasks, we demonstrate that IAO not only improves zero-shot performance but also provides transparency in how LLMs leverage their stored knowledge. Human evaluation confirms that this structured approach enhances our ability to verify knowledge utilization and detect potential hallucinations or reasoning errors. Our findings provide insights into both knowledge representation within LLMs and methods for more reliable knowledge application.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。