~/talk

Applying the four step "Embed, Encode, Attend, Predict" framework to predict document similarity

Talkat PyData Seattle 2017 · 2017-06-30..07-02· [machine-learning, python]
links:none on file
slides:none on file

A four‑step recipe—Embed, Encode, Attend, Predict—is implemented with the Keras Deep Learning Library and custom attention layer code; word embeddings (GloVe/fastText) supply pretrained vectors, bidirectional GRU/LSTM do encoding, and a shallow classifier predicts labels. On 20 Newsgroups a bag‑of‑words baseline hits ~71% accuracy, a hierarchical encode model ~77%, and adding attention reaches ~82.4%. Document‑similarity experiments use TF‑IDF pairs but show tiny cosine gaps (~0.02) and poor gains from attention, suggesting noisy data or an implementation issue.

AI-written summary · about

  1. 0:00Embed Encode Attend Predict framework
  2. 1:24NLP pipelines before deep learning
  3. 5:21Word embeddings in NLP
  4. 8:07Embed step details
  5. 9:10Encode step with bidirectional LSTMs
  6. 10:13Attention mechanisms
  7. 16:53Attention types and implementations
  8. 26:06Predict step and model finalization
  9. 27:09Document classification example
  10. 33:27Attention for document classification
  11. 36:01Document similarity with hierarchical models
  12. 38:48Sentence similarity model results
  13. 41:40Summary of framework
  14. 43:05References
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.