A new modification of Isolation Forest called Attention-Based Isolation Forest (ABIForest) for solving the anomaly detection problem is proposed. It incorporates the attention mechanism in the form of the Nadaraya-Watson regression into the Isolation Forest for improving solution of the anomaly detection problem. The main idea underlying the modification is to assign attention weights to each path of trees with learnable parameters depending on instances and trees themselves. The Huber's contamination model is proposed to be used for defining the attention weights and their parameters. As a result, the attention weights are linearly depend on the learnable attention parameters which are trained by solving the standard linear or quadratic optimization problem. ABIForest can be viewed as the first modification of Isolation Forest, which incorporates the attention mechanism in a simple way without applying gradient-based algorithms. Numerical experiments with synthetic and real datasets illustrate outperforming results of ABIForest. The code of proposed algorithms is available.
翻译:提议对隔离森林进行新的修改,称为“关注隔离森林”,以解决异常探测问题,其中包括以Nadaraya-Watson回归隔离森林为形式的关注机制,以更好地解决异常探测问题;修改的主要理念是,根据实例和树木本身,给每个树木路径分配关注权重,并视具体情况和树木本身而定可学习参数。提议使用Huber的污染模型来确定关注权重及其参数。因此,关注权重线性取决于通过解决标准线性或二次优化问题培训的可学习关注参数。Aborest可被视为隔离森林的首次修改,它以简单的方式纳入关注机制,而不用基于梯度的算法。合成和真实数据集的数值实验显示了ABIForest的超常效果。可用的算法代码是可用的。