TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/On Tree-Based Neural Sentence Modeling

On Tree-Based Neural Sentence Modeling

Haoyue Shi, Hao Zhou, Jiaze Chen, Lei LI

2018-08-29EMNLP 2018 10Text ClassificationSentiment Analysis
PaperPDFCode(official)

Abstract

Neural networks with tree-based sentence encoders have shown better results on many downstream tasks. Most of existing tree-based encoders adopt syntactic parsing trees as the explicit structure prior. To study the effectiveness of different tree structures, we replace the parsing trees with trivial trees (i.e., binary balanced tree, left-branching tree and right-branching tree) in the encoders. Though trivial trees contain no syntactic information, those encoders get competitive or even better results on all of the ten downstream tasks we investigated. This surprising result indicates that explicit syntax guidance may not be the main contributor to the superior performances of tree-based neural sentence modeling. Further analysis show that tree modeling gives better results when crucial words are closer to the final representation. Additional experiments give more clues on how to design an effective tree-based encoder. Our code is open-source and available at https://github.com/ExplorerFreda/TreeEnc.

Results

TaskDatasetMetricValueModel
Sentiment AnalysisAmazon Review PolarityAccuracy88.1Gumbel+bi-leaf-RNN
Sentiment AnalysisAmazon Review FullAccuracy49.7Gumbel+bi-leaf-RNN
Text ClassificationDBpediaError1.2Balanced+bi-leaf-RNN
Text ClassificationAG NewsError7.9Balanced+bi-leaf-RNN
ClassificationDBpediaError1.2Balanced+bi-leaf-RNN
ClassificationAG NewsError7.9Balanced+bi-leaf-RNN

Related Papers

Making Language Model a Hierarchical Classifier and Generator2025-07-17AdaptiSent: Context-Aware Adaptive Attention for Multimodal Aspect-Based Sentiment Analysis2025-07-17AI Wizards at CheckThat! 2025: Enhancing Transformer-Based Embeddings with Sentiment for Subjectivity Detection in News Articles2025-07-15DCR: Quantifying Data Contamination in LLMs Evaluation2025-07-15SentiDrop: A Multi Modal Machine Learning model for Predicting Dropout in Distance Learning2025-07-14GNN-CNN: An Efficient Hybrid Model of Convolutional and Graph Neural Networks for Text Representation2025-07-10The Trilemma of Truth in Large Language Models2025-06-30Robustness of Misinformation Classification Systems to Adversarial Examples Through BeamAttack2025-06-30