BEAR: Sketching BFGS Algorithm for Ultra-High Dimensional Feature Selection in Sublinear Memory

Amirali Aghazadeh, Vipul Gupta, Alex DeWeese, O. Ozan Koyluoglu, Kannan Ramchandran
10/26/2020
cs.LG

Official code: BEAR-algorithm/BEAR (4 stars, Python, Apache-2.0, last commit 2021-03-03).

Abstract

We consider feature selection for applications in machine learning where the dimensionality of the data is so large that it exceeds the working memory of the (local) computing machine. Unfortunately, current large-scale sketching algorithms show poor memory-accuracy trade-off due to the irreversible collision and accumulation of the stochastic gradient noise in the sketched domain.

Show full abstract

Here, we develop a second-order ultra-high dimensional feature selection algorithm, called BEAR, which avoids the extra collisions by storing the second-order gradients in the celebrated Broyden-Fletcher-Goldfarb-Shannon (BFGS) algorithm in Count Sketch, a sublinear memory data structure from the streaming literature. Experiments on real-world data sets demonstrate that BEAR requires up to three orders of magnitude less memory space to achieve the same classification accuracy compared to the first-order sketching algorithms. Theoretical analysis proves convergence of BEAR with rate O(1/t) in t iterations of the sketched algorithm. Our algorithm reveals an unexplored advantage of second-order optimization for memory-constrained sketching of models trained on ultra-high dimensional data sets.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This folder contains the implementation of the BEAR algorithm.

40PythonJun 1, 20205 years agoApache-2.0

Similar Papers

Cite this paper

@article{aghazadeh2020bear,
  title  = {BEAR: Sketching BFGS Algorithm for Ultra-High Dimensional Feature Selection in Sublinear Memory},
  author = {Amirali Aghazadeh and Vipul Gupta and Alex DeWeese and O. Ozan Koyluoglu and Kannan Ramchandran},
  year   = {2020},
  eprint = {2010.13829},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.13829}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.13829.svg)](https://codeofpaper.com/paper/2010.13829)

Discussion