[Paper Review] Dependency Sensitive Convolutional Neural Networks for Modeling Sentences and Documents
This paper proposes Dependency Sensitive Convolutional Neural Networks (DSCNN), a deep learning architecture that models sentences and documents by combining Long Short-Term Memory (LSTM) networks with convolutional layers to capture long-range dependencies without relying on parsing. DSCNN achieves state-of-the-art performance on sentiment analysis, question type classification, and subjectivity classification tasks by effectively modeling both intra-sentence and inter-sentence dependencies through hierarchical LSTM and convolutional feature extraction.
The goal of sentence and document modeling is to accurately represent the meaning of sentences and documents for various Natural Language Processing tasks. In this work, we present Dependency Sensitive Convolutional Neural Networks (DSCNN) as a general-purpose classification system for both sentences and documents. DSCNN hierarchically builds textual representations by processing pretrained word embeddings via Long Short-Term Memory networks and subsequently extracting features with convolution operators. Compared with existing recursive neural models with tree structures, DSCNN does not rely on parsers and expensive phrase labeling, and thus is not restricted to sentence-level tasks. Moreover, unlike other CNN-based models that analyze sentences locally by sliding windows, our system captures both the dependency information within each sentence and relationships across sentences in the same document. Experiment results demonstrate that our approach is achieving state-of-the-art performance on several tasks, including sentiment analysis, question type classification, and subjectivity classification.
Motivation & Objective
- To develop a general-purpose neural network architecture for sentence and document modeling that captures long-range syntactic and semantic dependencies.
- To overcome the limitations of parsing-dependent recursive models and local window-based CNNs in modeling long-range dependencies across sentences and documents.
- To design an end-to-end trainable system that uses only root-level labels, avoiding expensive phrase-level annotations.
- To improve performance on tasks like sentiment analysis, question type classification, and subjectivity classification beyond existing CNN and RNN baselines.
- To demonstrate effectiveness on both sentence-level and document-level tasks, including long documents with complex structures.
Proposed method
- DSCNN uses a hierarchical architecture: for sentences, word embeddings are processed by a unidirectional LSTM to encode long-range dependencies, followed by convolutional layers with variable-size filters and max-pooling.
- For documents, DSCNN applies independent LSTMs to each sentence, then stacks a second LSTM layer to model inter-sentence dependencies before convolutional feature extraction.
- The model leverages pretrained word embeddings as input and performs end-to-end training using only root-level labels, avoiding dependency parsing or phrase-level annotations.
- Convolutional layers with multiple filter sizes extract local and global features, and max-pooling reduces dimensionality while preserving discriminative patterns.
- The architecture is designed to maintain contextual information across long sequences, enabling effective modeling of complex syntactic structures.
- Dependency information is implicitly captured through the LSTM’s memory cells, which learn long-term dependencies without explicit parsing.
Experimental results
Research questions
- RQ1Can a neural network model long-range dependencies in sentences and documents without relying on dependency parsing or phrase-level annotations?
- RQ2How does the integration of LSTMs with convolutional layers improve performance on sentence and document classification tasks compared to standard CNNs or RNNs?
- RQ3To what extent does DSCNN outperform existing CNN-based models that use fixed sliding windows in capturing long-distance syntactic dependencies?
- RQ4Can DSCNN generalize effectively to document-level tasks where sequences are long and complex, such as movie reviews?
- RQ5What are the failure cases of DSCNN, and how do they relate to word embedding limitations or out-of-vocabulary words?
Key findings
- DSCNN achieves state-of-the-art accuracy on the MR sentiment analysis dataset, outperforming all baselines including Tree-LSTM and MVCNN.
- On the TREC question classification task, DSCNN achieves the highest accuracy among all compared models, surpassing CNN-MC, DCNN, and Dep-CNN.
- For the SUBJ subjectivity classification task, DSCNN matches the best-performing MVCNN model, demonstrating strong performance on subjective vs. objective text distinction.
- On SST-2, DSCNN reports slightly lower accuracy than MVCNN, but this is attributed to MVCNN’s use of five word embedding variants, not a fundamental limitation of DSCNN.
- In document-level modeling on IMDB, DSCNN outperforms bag-of-words, Deep Averaging Network, and RBM-based models, though it is surpassed by unsupervised models like Paragraph Vector and SA-LSTM that leverage large amounts of unlabeled data.
- Visual analysis shows DSCNN correctly captures long dependency arcs (e.g., between 'done with' and 'flags') that CNN-MC fails to detect, especially in complex sentences with long attributive clauses.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.