Abstract
The Forest Convolutional Network (FCN) is a novel architecture that combines the structural strengths of recursive neural networks with the feature-extraction power of convolutional layers. By processing an entire "forest" of possible parse trees rather than a single tree and eliminating the need for binarization, the FCN achieves state-of-the-art results in sentiment analysis and question classification. It addresses common issues in recursive models, such as rigid composition functions, the binarization trap, and sensitivity to parser errors.
Introduction
In the quest to make computers understand human language, researchers often use Recursive Neural Networks (RNNs). These models build sentence meanings by following a syntactic tree—combining words into phrases, and phrases into sentences. However, traditional RNNs suffer from three major limitations:
- Rigid Composition: They often use the same mathematical function to combine any two words, regardless of their linguistic relationship (e.g., adjective-noun vs. verb-prepositional phrase).
- The Binarization Trap: Most RNNs require "binary" trees. Real-world language often has "flatter" structures with three or more children; forcing these into binary shapes can distort meaning.
- Parser Error: RNNs usually rely on an external parser to provide the "best" tree. If the parser makes a mistake, the RNN builds a representation on a faulty foundation.
Methodology
The authors introduce the Forest Convolutional Network (FCN), which integrates two innovative components: the Recursive Convolutional Neural Network (RCNN) and the Chart Neural Network (ChNN).
Recursive Convolutional Neural Network (RCNN)
Instead of a fixed matrix multiplication for two children, the RCNN slides a convolutional kernel across all children of a node, regardless of their number. It then uses max-pooling to extract the most important features. This allows the network to adapt its composition behavior and handle any number of children without binarization.
Chart Neural Network (ChNN)
Inspired by the CKY parsing algorithm, the ChNN operates on a parse forest—a data structure containing many possible ways to parse a sentence. It computes representations for all potential constituents in a "chart," allowing the model to remain robust even if the parser's top choice is incorrect. The final FCN model uses the RCNN's convolutional logic inside the ChNN's chart structure. To maintain efficiency, an automatic parser "prunes" the forest, keeping only the most likely structures.
Key Insights
- "Head" Discovery: Through max-pooling, the network effectively learns to identify the "head" of a phrase (the most informative word) automatically. For example, in a verb phrase, it can learn to give more weight to the verb than to a modifying adverb.
- Linguistic Benefits of Flat Structures: "Flat" rules (nodes with many children) make trees shallower, helping avoid the "vanishing gradient" problem where information is lost across deep layers.
- Robustness to Syntactic Uncertainty: By taking a distribution over possible parses, the FCN can "recover" from syntactic errors. If a lower-ranked parse leads to a more coherent semantic representation, the model can favor those features.
Experimental Results
The model was evaluated on two standard benchmarks using pre-trained GloVe word embeddings:
- Stanford Sentiment Treebank (SST): The FCN achieved 51.0% accuracy on fine-grained sentiment and 89.1% on binary sentiment, outperforming the previous state-of-the-art (CT-LSTM).
- TREC Question Dataset: The FCN reached 94.8% accuracy, significantly higher than standard CNNs or LSTMs and nearly matching a heavily feature-engineered SVM (95.0%) that used 60 hand-coded rules.
Visualization of the chart cells confirmed that the model correctly identifies key sentiment-carrying words (e.g., "incoherent") while treating punctuation as neutral feature carriers.
Conclusion
While the FCN is computationally more expensive than simple LSTMs due to its $O(n^3)$ chart processing, it offers a powerful way to merge syntax and convolution. Future work may explore different pooling methods and more intelligent weighting of constituents in the forest using inside probabilities from parsers.
Summary updated