arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.04293cs.LGstat.ML
收藏

随机森林中的注意与自注意力

Attention and Self-Attention in Random Forests

Peter the Great St.Petersburg Polytechnic University(彼得大帝圣彼得堡理工大学)

Lev V. Utkin, Andrei V. Konstantinov

摘要:

提出了一种新的随机森林模型,该模型结合了注意力和自注意力机制来求解回归问题。该模型可以看作是基于注意力的随机森林的扩展,其思想源于应用Nadaraya-Watson核回归和Huber污染模型的组合到随机森林。自注意力的目的是捕获树预测的依赖性,并去除随机森林中的噪声或异常预测。自注意力模块与注意模块联合训练以计算权重。它表明,注意力权重的训练过程减少到解决一个单一的二次或线性优化问题。三个修改的一般方法提出和比较。还考虑了随机森林的一种特殊的多头自注意力。通过改变模型的核参数和污染参数等自注意调节参数,得到自注意力的头部。不同数据集上的数值实验表明,自注意力的引入提高了模型的性能。

英文摘要:

New models of random forests jointly using the attention and self-attention mechanisms are proposed for solving the regression problem. The models can be regarded as extensions of the attention-based random forest whose idea stems from applying a combination of the Nadaraya-Watson kernel regression and the Huber's contamination model to random forests. The self-attention aims to capture dependencies of the tree predictions and to remove noise or anomalous predictions in the random forest. The self-attention module is trained jointly with the attention module for computing weights. It is shown that the training process of attention weights is reduced to solving a single quadratic or linear optimization problem. Three modifications of the general approach are proposed and compared. A specific multi-head self-attention for the random forest is also considered. Heads of the self-attention are obtained by changing its tuning parameters including the kernel parameters and the contamination parameter of models. Numerical experiments with various datasets illustrate the proposed models and show that the supplement of the self-attention improves the model performance for many datasets.

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

↑