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

加速局部解释的全局聚合

Accelerating the Global Aggregation of Local Explanations

Technion – Israel Institute of Technology(以色列理工学院)

Alon Mor, Yonatan Belinkov, Benny Kimelfeld

AI总结:

本文针对 Anchor 局部解释全局聚合计算成本高的问题,提出无损和有损加速技术,在轻微质量损失下实现最高 30 倍加速,并设计概率模型降低噪声与高频低影响词偏差。

摘要:

局部解释方法会突出显示对当前文档分类结果有显著影响的输入词元。例如,Anchor 算法对分类器在词元变化下的敏感性进行统计分析。在数据集上聚合局部解释可以提供模型的全局解释。这种聚合旨在检测影响最大的词语,从而提供关于模型的宝贵见解,例如模型在训练中学到了什么,以及哪些对抗样本暴露了其弱点。然而,标准的聚合方法计算成本很高:朴素实现需要对每个文档的每个词元应用代价高昂的算法,因此对于在短时间分析会话范围内运行的普通用户来说是不可行的。我们设计了加速 Anchor 算法全局聚合的技术。具体来说,我们的目标是根据不同的聚合函数计算一组具有最高全局影响力的 top-k 词语。我们的一些技术是无损的,一些是有损的。我们表明,在质量损失非常轻微的情况下,我们能够将计算加速高达 30 倍,将计算时间从数小时减少到数分钟。我们还设计并研究了一个概率模型,该模型考虑了 Anchor 算法中的噪声,并减少了对出现频繁但影响力低的词语的偏差。

英文摘要:

Local explanation methods highlight the input tokens that have a considerable impact on the outcome of classifying the document at hand. For example, the Anchor algorithm applies a statistical analysis of the sensitivity of the classifier to changes in the token. Aggregating local explanations over a dataset provides a global explanation of the model. Such aggregation aims to detect words with the most impact, giving valuable insights about the model, like what it has learned in training and which adversarial examples expose its weaknesses. However, standard aggregation methods bear a high computational cost: a naïve implementation applies a costly algorithm to each token of each document, and hence, it is infeasible for a simple user running in the scope of a short analysis session. % We devise techniques for accelerating the global aggregation of the Anchor algorithm. Specifically, our goal is to compute a set of top-$k$ words with the highest global impact according to different aggregation functions. Some of our techniques are lossless and some are lossy. We show that for a very mild loss of quality, we are able to accelerate the computation by up to 30$\times$, reducing the computation from hours to minutes. We also devise and study a probabilistic model that accounts for noise in the Anchor algorithm and diminishes the bias toward words that are frequent yet low in impact.

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

↑