Vowpal Wabbit

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Vowpal Wabbit
Developer(s) Yahoo! Research & later Microsoft Research
Stable release
8.5.0 / December 2, 2017 (2017-12-02)
Written in C++
Operating system Linux, OS-X, Microsoft Windows
Type machine learning
License BSD License
Website hunch.net/~vw/

Vowpal Wabbit (also known as "VW") is an open source fast out-of-core machine learning system library and program developed originally at Yahoo! Research, and currently at Microsoft Research. It was started and is led by John Langford. Vowpal Wabbit is notable as an efficient scalable implementation of online machine learning with support for a number of machine learning reductions, importance weighting, and a selection of different loss functions and optimization algorithms.

Notable Features[edit]

The VW program supports:

  • Multiple supervised (and semi-supervised) learning problems:
    • Classification (both binary and multi-class)
    • Regression
    • Active learning (partially labeled data) for both regression and classification
  • Multiple learning algorithms (model-types / representations)
    • OLS regression
    • Matrix factorization (sparse matrix SVD)
    • Single layer neural net (with user specified hidden layer node count)
    • Searn (Search and Learn)
    • Latent Dirichlet Allocation (LDA)
    • Stagewise polynomial approximation
    • Recommend top-K out of N
    • One-against-all (OAA) and cost-sensitive OAA reduction for multi-class
    • Weighted all pairs
    • Contextual-bandit (with multiple exploration/exploitation strategies)
  • Multiple loss functions:
    • squared error
    • quantile
    • hinge
    • logistic
    • poisson
  • Flexible input - input features may be:
    • Binary
    • Numerical
    • Categorical (via flexible feature-naming and the hash trick)
    • Can deal with missing values/sparse-features
  • Other features
    • On the fly generation of feature interactions (quadratic and cubic)
    • On the fly generation of N-grams with optional skips (useful for word/language data-sets)
    • Automatic test-set holdout and early termination on multiple passes
    • bootstrapping
    • User settable online learning progress report + auditing of the model
    • Hyperparameter optimization

Scalability[edit]

Vowpal wabbit has been used to learn a tera-feature (1012) data-set on 1000 nodes in one hour.[1] Its scalability is aided by several factors:

  • Out-of-core online learning: no need to load all data into memory
  • The hashing trick: feature identities are converted to a weight index via a hash (uses 32-bit MurmurHash3)
  • Exploiting multi-core CPUs: parsing of input and learning are done in separate threads.
  • Compiled C++ code

External links[edit]

References[edit]