ArticleslgStudy

computer science

Vowpal Wabbit

Vowpal Wabbit is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Vowpal Wabbit rather than just read about it. In short: Vowpal Wabbit (VW) is an open-source fast online interactive machine learning system library and program developed originally at Yahoo! Research, and currently at Microsoft Research.

Vowpal Wabbit — main illustration
Vowpal Wabbit — illustration

Key takeaways

  • Vowpal Wabbit belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Vowpal Wabbit to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Vowpal Wabbit from memory before moving on to harder problems.

Reference excerpt

Vowpal Wabbit (VW) is an open-source fast online interactive 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's interactive learning support is particularly notable including Contextual Bandits, Active Learning, and forms of guided Reinforcement Learning. Vowpal Wabbit provides an efficient scalable out-of-core implementation with support for a number of machine learning reductions, importance weighting, and a selection of different loss functions and optimization algorithms.

Notable features 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 Multiple optimization algorithms Stochastic gradient descent (SGD) BFGS Conjugate gradient Regularization (L1 norm, L2 norm, & elastic net regularization) 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 Vowpal wabbit has been used to learn a tera-feature (1012) data-set on 1000 nodes in one hour. 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

See also Comparison of machine learning software

References

External links

Official website Vowpal Wabbit's github repository Documentation and examples (github wiki) Vowpal Wabbit Tutorial at NIPS 2011 Questions (and answers) tagged 'vowpalwabbit' on StackOverflow

Illustrations

Vowpal Wabbit illustration
Vowpal Wabbit illustration

Worked examples

Example 1 — a first encounter with Vowpal Wabbit

Start with the simplest possible case. Write down what Vowpal Wabbit claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Vowpal Wabbit before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Vowpal Wabbit ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Vowpal Wabbit

In research
Vowpal Wabbit appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Vowpal Wabbit in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Vowpal Wabbit is common in secondary-school and first-year university syllabi. It links to neighbouring topics Data mining and machine learning software, Free and open-source software stubs, Microsoft free software, so understanding it makes those chapters shorter.
In everyday life
Look for Vowpal Wabbit outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Vowpal Wabbit” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Vowpal Wabbit in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Vowpal Wabbit means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Vowpal Wabbit out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Vowpal Wabbit in simple terms?

Vowpal Wabbit (VW) is an open-source fast online interactive machine learning system library and program developed originally at Yahoo! Research, and currently at Microsoft Research.

Why does Vowpal Wabbit matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Vowpal Wabbit?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Vowpal Wabbit.

Tags

  • Data mining and machine learning software
  • Free and open-source software stubs
  • Microsoft free software
  • Software using the BSD license
  • Yahoo! software

Keep exploring