Skip to main content
QUICK REVIEW

[Paper Review] Dependency-based Convolutional Neural Networks for Sentence Embedding

Mingbo Ma, Liang Huang|arXiv (Cornell University)|Jul 7, 2015
Topic ModelingComputer Science21 references74 citations
TL;DR

This paper proposes Dependency-based Convolutional Neural Networks (DCNNs) that leverage syntactic dependency trees to capture long-distance dependencies in sentences, replacing sequential n-grams with tree-based n-grams. By convolving over ancestor paths from each word to the root, the model improves performance on sentiment and question classification, achieving state-of-the-art accuracy on the TREC dataset, outperforming prior methods including those with hand-engineered features.

ABSTRACT

In sentence modeling and classification, convolutional neural network approaches have recently achieved state-of-the-art results, but all such efforts process word vectors sequentially and neglect long-distance dependencies. To exploit both deep learning and linguistic structures, we propose a tree-based convolutional neural network model which exploit various long-distance relationships between words. Our model improves the sequential baselines on all three sentiment and question classification tasks, and achieves the highest published accuracy on TREC.

Motivation & Objective

  • To address the limitation of sequential CNNs in capturing long-distance dependencies in sentences.
  • To integrate syntactic structure (dependency trees) into deep learning for improved sentence modeling.
  • To overcome data sparsity issues in tree-based n-grams using dense word embeddings.
  • To develop a method that automatically learns linguistic structure without relying on handcrafted rules.
  • To demonstrate superior performance on sentence classification tasks, especially in scenarios with long-range dependencies.

Proposed method

  • The model replaces surface-level n-grams with tree-based n-grams derived from dependency parse trees.
  • For each word, it constructs a sequence by concatenating the word and its ancestors (parent, grandparent, etc.) up to a fixed depth.
  • Convolutional filters are applied to these ancestor-path sequences using ReLU or sigmoid activation functions.
  • The filter weights are shared across all positions in the sentence, enabling parameter efficiency.
  • The final sentence representation is formed by max-pooling over all feature maps generated from each word's ancestor path.
  • The model is trained end-to-end using backpropagation with word embeddings as input.

Experimental results

Research questions

  • RQ1Can dependency-based convolutional networks improve sentence representation by capturing long-range syntactic dependencies?
  • RQ2Does using tree-based n-grams instead of sequential n-grams lead to better performance on sentence classification tasks?
  • RQ3How does the model perform on datasets with complex syntactic structures, such as TREC and sentiment analysis?
  • RQ4Can the model outperform sequential CNNs without relying on hand-engineered linguistic features?
  • RQ5What is the impact of parse tree quality on model performance, especially in noisy or informal text?

Key findings

  • The DCNN model achieves the highest published accuracy on the TREC dataset, outperforming all prior methods, including those with extensive feature engineering.
  • On the TREC fine-grained classification task, the model achieves a significant improvement over sequential CNNs, demonstrating better handling of long-distance dependencies.
  • The model correctly classifies examples where the baseline CNN fails due to misleading local n-grams, such as misclassifying 'What flower' as location due to 'Hawaii' and 'state'.
  • Error analysis shows that the model performs better on formal, well-parsed text (e.g., TREC) than on informal or noisy text (e.g., Rotten Tomatoes), due to higher parse accuracy.
  • The model successfully captures linguistically meaningful tree-based trigrams such as 'ROOT – moving – stories' in positive sentiment sentences.
  • Despite some errors due to parsing inaccuracies, the DCNN consistently outperforms the sequential CNN baseline across all four evaluated tasks.

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.