arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.11799cs.AIcs.CLcs.LGstat.ME
收藏

在训练过程中利用大语言模型增强可解释模型

Augmenting Interpretable Models with LLMs during Training

Microsoft Research(微软研究院);University of California, Berkeley(加州大学伯克利分校)

Chandan Singh, Armin Askari, Rich Caruana, Jianfeng Gao

AI总结:

本文提出Aug-imodels框架,利用LLM在训练阶段增强可解释模型,使推理时无需LLM即可实现高效透明,并在文本分类和fMRI研究中验证其性能与可解释性优势。

摘要:

近期的大语言模型(LLMs)在越来越多的任务中展现出卓越的预测性能。然而,它们向高风险领域(如医学)和计算资源受限环境的扩展,催生了对可解释性和效率的迫切需求。为满足这一需求,我们提出了增强可解释模型(Aug-imodels)框架,利用LLMs学到的知识来构建极其高效且可解释的模型。Aug-imodels在拟合阶段使用LLMs,但在推理阶段不使用,从而在推理时实现完全透明,并且与LLMs相比,推理速度或内存占用通常可改善1000倍以上。我们在自然语言处理中探索了Aug-imodels的两种实例化形式:(i)Aug-GAM,通过来自LLM的解耦嵌入增强广义加性模型;(ii)Aug-Tree,通过LLM特征扩展增强决策树。在多个文本分类数据集上,两者均优于未增强的对应模型。尽管Aug-GAM的参数数量少10000倍且完全透明,其性能甚至可以超越规模大得多的模型(例如具有60亿参数的GPT-J模型)。我们进一步在自然语言功能磁共振成像(fMRI)研究中探索了Aug-imodels,它们能够从科学数据中生成有意义的解释。所有使用Aug-imodels及复现结果的代码已在Github上公开。

英文摘要:

Recent large language models (LLMs) have demonstrated remarkable prediction performance for a growing array of tasks. However, their proliferation into high-stakes domains (e.g. medicine) and compute-limited settings has created a burgeoning need for interpretability and efficiency. We address this need by proposing Augmented Interpretable Models (Aug-imodels), a framework for leveraging the knowledge learned by LLMs to build extremely efficient and interpretable models. Aug-imodels use LLMs during fitting but not during inference, allowing complete transparency and often a speed/memory improvement of greater than 1,000x for inference compared to LLMs. We explore two instantiations of Aug-imodels in natural-language processing: (i) Aug-GAM, which augments a generalized additive model with decoupled embeddings from an LLM and (ii) Aug-Tree, which augments a decision tree with LLM feature expansions. Across a variety of text-classification datasets, both outperform their non-augmented counterparts. Aug-GAM can even outperform much larger models (e.g. a 6-billion parameter GPT-J model), despite having 10,000x fewer parameters and being fully transparent. We further explore Aug-imodels in a natural-language fMRI study, where they generate interesting interpretations from scientific data. All code for using Aug-imodels and reproducing results is made available on Github.

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

↑