arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.17224cs.AIcs.CLcs.CVcs.LGcs.SC
收藏

大型语言模型是可解释的学习器

Large Language Models are Interpretable Learners

UCLA(加利福尼亚大学洛杉矶分校);Google Research(谷歌研究院)

Ruochen Wang, Si Si, Felix Yu, Dorothea Wiesmann, Cho-Jui Hsieh, Inderjit Dhillon

AI总结:

本文提出基于LLM的符号程序(LSPs),结合大型语言模型与符号规则,通过分治方法训练,在保持高可解释性的同时提升预测性能,并实现对分布外样本的良好泛化。

摘要:

在构建以人为中心的分类和决策预测模型时,表达力与可解释性之间的权衡仍然是一个核心挑战。符号规则虽然提供了可解释性,但往往缺乏表达力;而神经网络在性能上表现优异,却以黑盒著称。在本文中,我们展示了大型语言模型(LLMs)和符号程序的结合可以弥合这一差距。在提出的基于LLM的符号程序(LSPs)中,带有自然语言提示的预训练LLM提供大量可解释模块,可将原始输入转换为自然语言概念。随后,符号程序将这些模块集成为一条可解释的决策规则。为了训练LSPs,我们开发了一种分治方法,从零开始逐步构建程序,其中每一步的学习过程均由LLMs引导。为了评估LSPs从数据中提取可解释且准确知识的有效性,我们引入了IL-Bench,这是一个包含多样化任务的集合,涵盖不同模态的合成与真实世界场景。实证结果表明,与传统神经符号程序和原始自动提示调优方法相比,LSP表现出更优越的性能。此外,由于LSP学到的知识是自然语言描述与符号规则的结合,它易于迁移给人类(可解释)及其他LLMs,并对分布外样本具有良好的泛化能力。

英文摘要:

The trade-off between expressiveness and interpretability remains a core challenge when building human-centric predictive models for classification and decision-making. While symbolic rules offer interpretability, they often lack expressiveness, whereas neural networks excel in performance but are known for being black boxes. In this paper, we show a combination of Large Language Models (LLMs) and symbolic programs can bridge this gap. In the proposed LLM-based Symbolic Programs (LSPs), the pretrained LLM with natural language prompts provides a massive set of interpretable modules that can transform raw input into natural language concepts. Symbolic programs then integrate these modules into an interpretable decision rule. To train LSPs, we develop a divide-and-conquer approach to incrementally build the program from scratch, where the learning process of each step is guided by LLMs. To evaluate the effectiveness of LSPs in extracting interpretable and accurate knowledge from data, we introduce IL-Bench, a collection of diverse tasks, including both synthetic and real-world scenarios across different modalities. Empirical results demonstrate LSP's superior performance compared to traditional neurosymbolic programs and vanilla automatic prompt tuning methods. Moreover, as the knowledge learned by LSP is a combination of natural language descriptions and symbolic rules, it is easily transferable to humans (interpretable), and other LLMs, and generalizes well to out-of-distribution samples.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑