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
2 cards in “3.3.2 Sentence Approach” · whole deck
3.3.2 Sentence Approach
- Why does SRL need the sentence approach rather than a window?A word’s role depends on a chosen predicate, which may lie outside the window. The sentence approach looks at the whole sentence, adding to each word features for its relative distance to the predicate and to the word being tagged.
- Collobert et al., 2011, Natural Language Processing (Almost) from Scratch (Journal of Machine Learning Research), §3.3.2, pp. 2503–2504
- How does the sentence approach network turn a variable-length sentence into a fixed-size vector?Convolutional (time-delay) layers apply the same linear map to every window, giving local features per position; a max over positions then keeps, for each feature, its strongest value anywhere in the sentence. An average would make little sense, since most words don’t affect a given word’s role.
- Collobert et al., 2011, Natural Language Processing (Almost) from Scratch (Journal of Machine Learning Research), §3.3.2, pp. 2503–2504
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