Skip to main content
QUICK REVIEW

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

Dinghan Shen, Guoyin Wang|arXiv (Cornell University)|May 24, 2018
Topic ModelingComputer Science34 references28 citations
TL;DR

This paper proposes Simple Word-Embedding-based Models (SWEMs) with parameter-free pooling operations—specifically max-pooling and hierarchical pooling—over pre-trained word embeddings, demonstrating that these simple models achieve comparable or superior performance to complex RNN/CNN architectures across 17 NLP datasets spanning document classification, text matching, and short-text tasks. The key contribution is showing that word-order and compositional complexity are often unnecessary, and simple pooling strategies can yield robust, interpretable, and efficient representations.

ABSTRACT

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.

Motivation & Objective

  • To rigorously evaluate whether complex compositional functions (e.g., RNNs, CNNs) in text modeling provide significant gains over simple, parameter-free pooling over word embeddings.
  • To investigate when and why simple pooling strategies—such as averaging or max-pooling—can be sufficient for effective text representation.
  • To propose and validate two enhanced pooling mechanisms: max-pooling for interpretability and hierarchical pooling for preserving local n-gram structure.
  • To demonstrate that simple models can match or exceed complex models in performance while being significantly more computationally efficient.
  • To challenge the prevailing assumption that architectural complexity is necessary for high performance in NLP, advocating for simpler baselines.

Proposed method

  • Proposes Simple Word-Embedding-based Models (SWEMs) that apply parameter-free pooling (average, max, or hierarchical) directly to learned word embeddings without trainable composition layers.
  • Introduces SWEM-max: max-pooling over the word embedding matrix to extract salient features, enhancing interpretability by linking each dimension to semantically coherent word clusters.
  • Proposes SWEM-hier: hierarchical pooling that applies local max-pooling over sliding n-gram windows before global pooling, preserving spatial and sequential information.
  • Employs subspace training to measure model complexity, constraining the optimization of trainable parameters to a low-dimensional subspace to compare parameter efficiency.
  • Uses linear classifiers on SWEM representations to evaluate the quality of learned sentence-level embeddings independently of non-linear heads.
  • Evaluates models across 17 datasets spanning document classification, text matching, and short-text classification/tagging, including multilingual evaluation on Chinese Sogou news.

Experimental results

Research questions

  • RQ1Does a simple pooling operation over word embeddings—without any trainable composition layers—achieve performance comparable to or better than RNNs and CNNs on diverse NLP tasks?
  • RQ2To what extent is word-order information necessary for different NLP tasks, and can simple pooling mechanisms effectively capture it?
  • RQ3How do max-pooling and hierarchical pooling improve upon standard averaging in terms of interpretability and performance?
  • RQ4Can SWEMs achieve high performance with significantly fewer parameters and faster training than RNN/CNN models, especially when word embeddings are frozen?
  • RQ5Is there a fundamental trade-off between model expressiveness and computational efficiency, and can simple models be preferred under Occam’s razor when performance is equivalent?

Key findings

  • SWEMs with simple pooling operations achieve comparable or superior performance to RNN and CNN models on 17 diverse NLP datasets, including document classification, text matching, and short-text tasks.
  • On the AG News dataset, SWEM with subspace training achieves 80% test accuracy at a lower intrinsic dimension (d_int) than CNN, indicating higher parameter efficiency when word embeddings are frozen.
  • SWEM-max achieves 73.18% accuracy on Yahoo! Ans. and 93.66% on Yelp P. with a linear classifier, showing minimal performance drop from non-linear heads, proving robust representation quality.
  • On the Chinese Sogou news dataset, SWEM-hier achieves 96.2% accuracy, outperforming standard SWEM-concat (91.3%) and matching the best results of CNN (95.6%) and LSTM (95.2%) on the same task.
  • The hierarchical pooling mechanism preserves local n-gram structure and enables SWEM to match LSTM and CNN performance on sentiment analysis, which is sensitive to word order.
  • When word embeddings are frozen, SWEM shows significantly higher accuracy than CNN across low-dimensional subspaces on AG News and Yelp P., confirming its superior parameter efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.