Natural Language Processing (Almost) from Scratch

Collobert et al., 2011, Natural Language Processing (Almost) from Scratch (Journal of Machine Learning Research)

Subscriber deck — free during early access

1 cards in “3.2 Transforming Words into Feature Vectors” · whole deck

3.2 Transforming Words into Feature Vectors

  1. What is the lookup table layer?
    Words are indices into a dictionary \(\mathcal{D}\); the layer maps word \(w\) to the \(w\)th column of a trainable matrix \(W \in \mathbb{R}^{d_{wrd} \times |\mathcal{D}|}\). Other discrete features (e.g. capitalization) get their own lookup tables, and their vectors are concatenated.

Source

  • Ronan Collobert, Jason Weston, Léon Bottou, Michael Karlen, Koray Kavukcuoglu and Pavel Kuksa. 2011. Natural Language Processing (Almost) from Scratch. In Journal of Machine Learning Research, pp. 2493–2537. https://www.jmlr.org/papers/v12/collobert11a.html