Attention and Self-Attention in Random Forests
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 46 of its 81 references that are in the map. First posted on arXiv 9 Jul 2022.
Builds on
46 of 81 references.
References · 46
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2017Non-local Neural Networkscited by 2,290
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2020Rethinking Attention with Performerscited by 1,584
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
- 2021Transformers in Vision: A Surveycited by 1,009
- 2020Efficient Transformers: A Surveycited by 784
- 2018Image Transformercited by 770
34 more
- 2019TabNet: Attentive Interpretable Tabular Learningcited by 640
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2021Tabular Data: Deep Learning is Not All You Needcited by 530
- 2021Deep Neural Networks and Tabular Data: A Surveycited by 489
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
- 2021A Survey of Transformerscited by 399
- 2017Residual Attention Network for Image Classificationcited by 385
- 2021Random Feature Attentioncited by 350
- 2017A Structured Self-attentive Sentence Embeddingcited by 318
- 2020Exploring Self-attention for Image Recognitioncited by 313
- 2021SAINT: Improved Neural Networks for Tabular Data via Row Attention and Contrastive Pre-Trainingcited by 310
- 2016A Decomposable Attention Model for Natural Language Inferencecited by 214
- 2019Pay Less Attention with Lightweight and Dynamic Convolutionscited by 211
- 2016Long Short-Term Memory-Networks for Machine Readingcited by 161
- 2019Deep Learning on Image Denoising: An overviewcited by 128
- 2019An Attentive Survey of Attention Modelscited by 123
- 2020Fast Transformers with Clustered Attentioncited by 123
- 2021Dive into Deep Learningcited by 111
- 2021Beyond Self-attention: External Attention using Two Linear Layers for Visual Taskscited by 109
- 2020Random Features for Kernel Approximation: A Survey on Algorithms, Theory, and Beyondcited by 107
- 2021Luna: Linear Unified Nested Attentioncited by 96
- 2021A Practical Survey on Faster and Lighter Transformerscited by 73
- 2022A General Survey on Attention Mechanisms in Deep Learningcited by 64
- 2021Attention, please! A survey of Neural Attention Models in Deep Learningcited by 50
- 2022Visual Attention Methods in Deep Learning: An In-Depth Surveycited by 37
- 2022Linear Complexity Randomized Self-attention Mechanismcited by 31
- 2022Attention Mechanism in Neural Networks: Where it Comes and Where it Goescited by 29
- 2020Joint Self-Attention and Scale-Aggregation for Self-Calibrated Deraining Networkcited by 25
- 2021Hybrid Random Featurescited by 25
- 2020Global Self-Attention Networks for Image Recognitioncited by 16
- 2022A survey on attention mechanisms for medical applications: are we moving towards better algorithms?cited by 15
- 2022Attention-based Random Forest and Contamination Modelcited by 10
- 2021Neural Attention Models in Deep Learning: Survey and Taxonomycited by 8
- 2019A weighted random survival forestcited by 6
Built on by
Citing papers per year: 2022: 2; 2023: 0; 2024: 0; 2025: 2.
4 papers.
- 2022Improved Anomaly Detection by Using the Attention-Based Isolation Forestcited by 2
- 2025A Multi-Head Attention Soft Random Forest for Interpretable Patient No-Show Predictioncited by 1
- 2022LARF: Two-level Attention-based Random Forests with a Mixture of Contamination Modelscited by 0
- 2025Ensemble-Based Survival Models with the Self-Attended Beran Estimator Predictionscited by 0
- 2025Ensemble-Based Survival Models with the Self-Attended Beran Estimator Predictions9 Jun 2025
- 2025A Multi-Head Attention Soft Random Forest for Interpretable Patient No-Show Prediction22 May 2025
- 2022LARF: Two-level Attention-based Random Forests with a Mixture of Contamination Models11 Oct 2022
- 2022Improved Anomaly Detection by Using the Attention-Based Isolation Forest5 Oct 2022