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

具有共享变量嵌入的可解释多任务学习

Interpretable Multi-task Learning with Shared Variable Embeddings

Faculty of Mathematics and Information Science, Warsaw University of Technology(华沙理工大学数学与信息科学学院);Faculty of Computer Science, AGH University of Krakow(克拉科夫AGH大学计算机科学学院)

Maciej Żelaszczyk, Jacek Mańdziuk

AI总结:

本文提出一种多任务可解释预测系统,通过跨任务共享变量嵌入并引入稀疏注意力机制,在保持或提升准确率的同时增强模型可解释性,并揭示了准确率与可解释性之间的权衡关系。

摘要:

本文提出了一种具有共享信息的通用可解释预测系统。该系统能够在多任务设置中执行预测,其中不同任务不必具有相同的输入/输出结构。输入和输出变量在公共空间中获得嵌入,其中输入嵌入通过关注一组跨任务重用的共享嵌入来产生。所有嵌入都被视为模型参数并进行学习。考虑了共享嵌入空间上的特定限制以及注意力机制的稀疏性。实验表明,引入共享嵌入不会使普通变量嵌入方法所获得的结果变差。我们进行了多项进一步的消融实验。在注意力机制中引入稀疏性既能提高准确率,又能显著减少所需的训练步数。共享嵌入在定性评估以及将特定共享嵌入映射到并非为所考虑模型量身定制的预定义概念的能力方面,提供了一种可解释性度量。准确率与可解释性之间似乎存在权衡。基本共享嵌入方法更有利于可解释性,而稀疏注意力方法则提升准确率。这些结果得出如下结论:变量嵌入方法可以通过共享信息进行扩展,以提供更高的可解释性和准确率。

英文摘要:

This paper proposes a general interpretable predictive system with shared information. The system is able to perform predictions in a multi-task setting where distinct tasks are not bound to have the same input/output structure. Embeddings of input and output variables in a common space are obtained, where the input embeddings are produced through attending to a set of shared embeddings, reused across tasks. All the embeddings are treated as model parameters and learned. Specific restrictions on the space of shared embedings and the sparsity of the attention mechanism are considered. Experiments show that the introduction of shared embeddings does not deteriorate the results obtained from a vanilla variable embeddings method. We run a number of further ablations. Inducing sparsity in the attention mechanism leads to both an increase in accuracy and a significant decrease in the number of training steps required. Shared embeddings provide a measure of interpretability in terms of both a qualitative assessment and the ability to map specific shared embeddings to pre-defined concepts that are not tailored to the considered model. There seems to be a trade-off between accuracy and interpretability. The basic shared embeddings method favors interpretability, whereas the sparse attention method promotes accuracy. The results lead to the conclusion that variable embedding methods may be extended with shared information to provide increased interpretability and accuracy.

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

↑