arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.08393cs.LG
收藏

将可解释的模型提炼成人类可读的代码

Distilling Interpretable Models into Human-Readable Code

Google(谷歌)

Walker Ravina, Ethan Sterling, Olexiy Oryeshko, Nathan Bell, Honglei Zhuang, Xuanhui Wang, Yonghui Wu, Alexander Grushetsky

摘要:

模型蒸馏的目标是忠实地将教师模型知识转换为更快、更概括、更可解释或具有其他期望特性的模型。人类可读性是机器学习模型可解释性的一个重要和理想的标准。可读模型是透明的,可以像传统源代码一样进行审查、操作和部署。因此,这样的模型可以在机器学习的背景之外进行改进,并且如果需要的话可以手动编辑。鉴于直接训练此类模型很困难,我们建议使用传统方法训练可解释的模型,然后将其提取为简洁的、人类可读的代码。所提出的蒸馏方法近似模型的单变量数值函数与分段线性曲线在本地化的方式。得到的曲线模型表示是准确的,简洁的,人类可读的,并且通过构造得到了很好的正则化。我们描述了一种分段线性曲线拟合算法,该算法可以在广泛的用例中高效可靠地生成高质量的结果。我们证明了整体蒸馏技术和我们的曲线拟合算法的有效性,使用四个数据集的分类,回归和排名的任务。

英文摘要:

The goal of model distillation is to faithfully transfer teacher model knowledge to a model which is faster, more generalizable, more interpretable, or possesses other desirable characteristics. Human-readability is an important and desirable standard for machine-learned model interpretability. Readable models are transparent and can be reviewed, manipulated, and deployed like traditional source code. As a result, such models can be improved outside the context of machine learning and manually edited if desired. Given that directly training such models is difficult, we propose to train interpretable models using conventional methods, and then distill them into concise, human-readable code. The proposed distillation methodology approximates a model's univariate numerical functions with piecewise-linear curves in a localized manner. The resulting curve model representations are accurate, concise, human-readable, and well-regularized by construction. We describe a piecewise-linear curve-fitting algorithm that produces high-quality results efficiently and reliably across a broad range of use cases. We demonstrate the effectiveness of the overall distillation technique and our curve-fitting algorithm using four datasets across the tasks of classification, regression, and ranking.

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

↑