HackerPapers

arXiv:1803.08493cs.CL

Contextual Salience for Fast and Accurate Sentence Vectors

Eric Zelikman, Richard Socher

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

Unsupervised vector representations of sentences or documents are a major building block for many language tasks such as sentiment classification. However, current methods are uninterpretable and slow or require large training datasets. Recent word vector-based proposals implicitly assume that distances in a word embedding space are equally important, regardless of context. We introduce contextual salience (CoSal), a measure of word importance that uses the distribution of context vectors to normalize distances and weights. CoSal relies on the insight that unusual word vectors disproportionately affect phrase vectors. A bag-of-words model with CoSal-based weights produces accurate unsupervised sentence or document representations for classification, requiring little computation to evaluate and only a single covariance calculation to ``train." CoSal supports small contexts, out-of context words and outperforms SkipThought on most benchmarks, beats tf-idf on all benchmarks, and is competitive with the unsupervised state-of-the-art.

arXiv comments
Journal reference
DOI
Subjects
cs.CLComputation and Language

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Aug 2020 to Aug 2020. Found in 1 HN submission from Apr 2018 to Apr 2018. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments1 thread

    • Look up tf-idf. We used this technique to build a similar product (now open sourced[0]) to Journal actually, building off an improved version of tf-idf called CoSaL[1]. Orbit is actually an insanely ambitious take on this problem space. The CoSaL algorithm is in there, it even…

      nwienertView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.