Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Baseline Needs More Love: On Simple Word-Embedding-Based Models and Associated Pooling Mechanisms

About

Many deep learning architectures have been proposed to model the compositionality in text sequences, requiring a substantial number of parameters and expensive computations. However, there has not been a rigorous evaluation regarding the added value of sophisticated compositional functions. In this paper, we conduct a point-by-point comparative study between Simple Word-Embedding-based Models (SWEMs), consisting of parameter-free pooling operations, relative to word-embedding-based RNN/CNN models. Surprisingly, SWEMs exhibit comparable or even superior performance in the majority of cases considered. Based upon this understanding, we propose two additional pooling strategies over learned word embeddings: (i) a max-pooling operation for improved interpretability; and (ii) a hierarchical pooling operation, which preserves spatial (n-gram) information within text sequences. We present experiments on 17 datasets encompassing three tasks: (i) (long) document classification; (ii) text sequence matching; and (iii) short text tasks, including classification and tagging. The source code and datasets can be obtained from https:// github.com/dinghanshen/SWEM.

Dinghan Shen, Guoyin Wang, Wenlin Wang, Martin Renqiang Min, Qinliang Su, Yizhe Zhang, Chunyuan Li, Ricardo Henao, Lawrence Carin• 2018

Related benchmarks

TaskDatasetResultRank
Natural Language InferenceSNLI (test)
Accuracy83.8
681
Subjectivity ClassificationSubj
Accuracy93
266
Text ClassificationAG News (test)
Accuracy92.66
210
Text ClassificationTREC
Accuracy92.2
179
Natural Language InferenceSNLI
Accuracy83.8
174
Text ClassificationYahoo! Answers (test)
Clean Accuracy73.53
133
Subjectivity ClassificationSubj (test)
Accuracy93
125
Question ClassificationTREC (test)
Accuracy92.2
124
Text ClassificationMR (test)
Accuracy78.2
99
Sentiment ClassificationStanford Sentiment Treebank SST-2 (test)
Accuracy84.3
99
Showing 10 of 31 rows

Other info

Code

Follow for update