LMExplainer:基于知识锚定并解释语言模型
LMExplainer: Grounding Knowledge and Explaining Language Models
AI总结:
LMExplainer利用图注意力网络和大规模知识图谱,为语言模型生成人类可理解的解释,减少幻觉并增强可解释性,在基准数据集上优于多数现有方法。
摘要:
像GPT-4这样的语言模型(LMs)在人工智能应用中非常重要,但其不透明的决策过程降低了用户的信任,尤其是在安全关键的领域。我们引入了LMExplainer,一种新颖的基于知识的解释器,通过直观、人类可理解的解释来阐明语言模型的推理过程。通过利用图注意力网络(GAT)和大规模知识图谱(KG),LMExplainer不仅精确地缩小推理空间以聚焦于最相关的知识,而且将其推理锚定在结构化、可验证的知识上,以减少幻觉并增强可解释性。LMExplainer有效地生成人类可理解的解释,以增强透明度并简化决策过程。此外,通过将调试纳入解释中,它提供了从发展角度改进语言模型的专家建议。因此,LMExplainer在使语言模型对用户更易访问和理解方面是一个增强。我们在CommonsenseQA和OpenBookQA等基准数据集上评估了LMExplainer,证明其优于大多数现有方法。通过将LMExplainer生成的解释与其他模型的解释进行比较,我们表明我们的方法提供了对推理过程更全面和更清晰的解释。LMExplainer提供了对语言模型内部工作的更深入理解,推动迈向更可靠、透明和公平的人工智能。
英文摘要:
Language models (LMs) like GPT-4 are important in AI applications, but their opaque decision-making process reduces user trust, especially in safety-critical areas. We introduce LMExplainer, a novel knowledge-grounded explainer that clarifies the reasoning process of LMs through intuitive, human-understandable explanations. By leveraging a graph attention network (GAT) with a large-scale knowledge graph (KG), LMExplainer not only precisely narrows the reasoning space to focus on the most relevant knowledge but also grounds its reasoning in structured, verifiable knowledge to reduce hallucinations and enhance interpretability. LMExplainer effectively generates human-understandable explanations to enhance transparency and streamline the decision-making process. Additionally, by incorporating debugging into the explanation, it offers expertise suggestions that improve LMs from a developmental perspective. Thus, LMExplainer stands as an enhancement in making LMs more accessible and understandable to users. We evaluate LMExplainer on benchmark datasets such as CommonsenseQA and OpenBookQA, demonstrating that it outperforms most existing methods. By comparing the explanations generated by LMExplainer with those of other models, we show that our approach offers more comprehensive and clearer explanations of the reasoning process. LMExplainer provides a deeper understanding of the inner workings of LMs, advancing towards more reliable, transparent, and equitable AI.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。