Random subspace method

From HandWiki
Short description: Method in machine learning

In machine learning the random subspace method,[1] also called attribute bagging[2] or feature bagging, is an ensemble learning method that attempts to reduce the correlation between estimators in an ensemble by training them on random samples of features instead of the entire feature set.

Motivation

In ensemble learning one tries to combine the models produced by several learners into an ensemble that performs better than the original learners. One way of combining learners is bootstrap aggregating or bagging, which shows each learner a randomly sampled subset of the training points so that the learners will produce different models that can be sensibly averaged.[lower-alpha 1] In bagging, one samples training points with replacement from the full training set.

The random subspace method is similar to bagging except that the features ("attributes", "predictors", "independent variables") are randomly sampled, with replacement, for each learner. Informally, this causes individual learners to not over-focus on features that appear highly predictive/descriptive in the training set, but fail to be as predictive for points outside that set. For this reason, random subspaces are an attractive choice for high-dimensional problems where the number of features is much larger than the number of training points, such as learning from fMRI data[3] or gene expression data.[4]

The random subspace method has been used for decision trees; when combined with "ordinary" bagging of decision trees, the resulting models are called random forests.[5] It has also been applied to linear classifiers,[6] support vector machines,[7] nearest neighbours[8][9] and other types of classifiers. This method is also applicable to one-class classifiers.[10][11] The random subspace method has also been applied to portfolio selection[12][13][14][15] problem showing its superiority to the conventional resampled portfolio essentially based on Bagging.

To tackle high-dimensional sparse problems, a framework named Random Subspace Ensemble (RaSE)[16] was developed. RaSE combines weak learners trained in random subspaces with a two-layer structure and iterative process.[17] RaSE has been shown to enjoy appealing theoretical properties and practical performances.[16]

Algorithm

An ensemble of models employing the random subspace method can be constructed using the following algorithm:

  1. Let the number of training points be N and the number of features in the training data be D.
  2. Let L be the number of individual models in the ensemble.
  3. For each individual model l, choose nl (nl < N) to be the number of input points for l. It is common to have only one value of nl for all the individual models.
  4. For each individual model l, create a training set by choosing dl features from D with replacement and train the model.

Now, to apply the ensemble model to an unseen point, combine the outputs of the L individual models by majority voting or by combining the posterior probabilities.

Footnotes

  1. If each learner follows the same, deterministic, algorithm, the models produced are necessarily all the same.

References

  1. Ho, Tin Kam (1998). "The Random Subspace Method for Constructing Decision Forests". IEEE Transactions on Pattern Analysis and Machine Intelligence 20 (8): 832–844. doi:10.1109/34.709601. https://pdfs.semanticscholar.org/b41d/0fa5fdaadd47fc882d3db04277d03fb21832.pdf. 
  2. Bryll, R. (2003). "Attribute bagging: improving accuracy of classifier ensembles by using random feature subsets". Pattern Recognition 36 (6): 1291–1302. doi:10.1016/s0031-3203(02)00121-8. 
  3. Kuncheva, Ludmila (2010). "Random Subspace Ensembles for fMRI Classification". IEEE Transactions on Medical Imaging 29 (2): 531–542. doi:10.1109/TMI.2009.2037756. PMID 20129853. http://pages.bangor.ac.uk/~mas00a/papers/lkjrcpdlsjtmi10.pdf. 
  4. Bertoni, Alberto; Folgieri, Raffaella; Valentini, Giorgio (2005). "Bio-molecular cancer prediction with random subspace ensembles of support vector machines". Neurocomputing 63: 535–539. doi:10.1016/j.neucom.2004.07.007. https://air.unimi.it/bitstream/2434/9370/4/rs-nc.pdf. 
  5. Ho, Tin Kam (1995). "Random Decision Forest". Proceedings of the 3rd International Conference on Document Analysis and Recognition, Montreal, QC, 14–16 August 1995. pp. 278–282. http://ect.bell-labs.com/who/tkh/publications/papers/odt.pdf. 
  6. Skurichina, Marina (2002). "Bagging, boosting and the random subspace method for linear classifiers". Pattern Analysis and Applications 5 (2): 121–135. doi:10.1007/s100440200011. 
  7. Tao, D. (2006). "Asymmetric bagging and random subspace for support vector machines-based relevance feedback in image retrieval". IEEE Transactions on Pattern Analysis and Machine Intelligence 28 (7): 1088–99. doi:10.1109/tpami.2006.134. PMID 16792098. http://eprints.bbk.ac.uk/443/1/Binder1.pdf. 
  8. Ho, Tin Kam (1998). "Nearest neighbors in random subspaces". Advances in Pattern Recognition. Lecture Notes in Computer Science. 1451. 640–648. doi:10.1007/BFb0033288. ISBN 978-3-540-64858-1. 
  9. Tremblay, G. (2004). "Optimizing Nearest Neighbour in Random Subspaces using a Multi-Objective Genetic Algorithm". 17th International Conference on Pattern Recognition. pp. 208–211. doi:10.1109/ICPR.2004.1334060. ISBN 978-0-7695-2128-2. http://nguyendangbinh.org/Proceedings/ICPR/2004/DATA/V12_3_08.PDF. 
  10. Nanni, L. (2006). "Experimental comparison of one-class classifiers for online signature verification". Neurocomputing 69 (7): 869–873. doi:10.1016/j.neucom.2005.06.007. 
  11. Cheplygina, Veronika; Tax, David M. J. (2011-06-15). "Pruned Random Subspace Method for One-Class Classifiers". in Sansone, Carlo (in en). Multiple Classifier Systems. Lecture Notes in Computer Science. 6713. Springer Berlin Heidelberg. pp. 96–105. doi:10.1007/978-3-642-21557-5_12. ISBN 9783642215568. 
  12. Varadi, David (2013). "Random Subspace Optimization (RSO)". https://cssanalytics.wordpress.com/2013/10/06/random-subspace-optimization-rso/. 
  13. Gillen, Ben (2016). "Subset Optimization for Asset Allocation". https://authors.library.caltech.edu/79336/. 
  14. Shen, Weiwei; Wang, Jun (2017), "Portfolio Selection via Subset Resampling", Proceedings of AAAI Conference on Artificial Intelligence (AAAI2017), http://aaai.org/ocs/index.php/AAAI/AAAI17/paper/view/14443/13945 
  15. Shen, Weiwei; Wang, Bin; Pu, Jian; Wang, Jun (2019), "The Kelly growth optimal portfolio with ensemble learning", Proceedings of AAAI Conference on Artificial Intelligence (AAAI2019), https://www.aaai.org/ojs/index.php/AAAI/article/view/3906/3784 
  16. 16.0 16.1 Tian, Ye; Feng, Yang (2021). "RaSE: Random Subspace Ensemble Classification". Journal of Machine Learning Research 22 (45): 1–93. ISSN 1533-7928. http://jmlr.org/papers/v22/20-600.html. 
  17. Tian, Ye; Feng, Yang (2021). "R Package "RaSEn": Random Subspace Ensemble Classification and Variable Screening". https://cran.r-project.org/web/packages/RaSEn/index.html.