Abstract
Distributed representations of sentences have been developed recently to represent their meaning as real-valued vectors. However, it is not clear how much information such representations retain about the polarity of sentences. To study this question, we decode sentiment from unsupervised sentence representations learned with different architectures (sensitive to the order of words, the order of sentences, or none) in 9 typologically diverse languages. Sentiment results from the (recursive) composition of lexical items and grammatical strategies such as negation and concession. The results are manifold: we show that there is no ‘one-size-fits-all’ representation architecture outperforming the others across the board. Rather, the top-ranking architectures depend on the language at hand. Moreover, we find that in several cases the additive composition model based on skip-gram word vectors may surpass supervised state-of-art architectures such as bi-directional LSTMs. Finally, we provide a possible explanation of the observed variation based on the type of negative constructions in each language.
Introduction
In modern Natural Language Processing (NLP), sentences are frequently represented as "distributed representations"—dense, real-valued vectors typically learned in an unsupervised manner from large corpora like Wikipedia. While these vectors excel at measuring semantic similarity, their ability to capture fine-grained information like sentiment polarity across diverse languages is less understood. Sentiment analysis is not merely a matter of identifying "happy" or "sad" words; it involves complex linguistic structures such as negation ("not good") and concession ("it was cheap, but the bed was hard"). This paper investigates how different unsupervised architectures retain sentiment information across nine typologically diverse languages.
Methodology
The study evaluates several unsupervised methods for generating sentence representations:
- Additive Skip-Gram: A simple approach that sums word vectors (Word2Vec) within a sentence.
- FastSent: A model that predicts a sentence's neighbors in a text, leveraging contextual meaning.
- Sequential Denoising AutoEncoder (SDAE): An architecture that reconstructs a sentence from a version with deleted or swapped words.
- Paragraph Vector (DBOW): A model that learns a unique vector for every sentence directly.
To evaluate these representations, a Multi-Layer Perceptron (MLP) was used to "decode" sentiment from these fixed vectors. To establish a performance baseline, the researchers also trained a supervised bi-directional LSTM (bi-LSTM), representing a "performance ceiling" for task-specific training.
Datasets and Evaluation
The research covers nine languages: Arabic, Chinese, Dutch, English, French, Italian, Russian, Spanish, and Turkish. Unsupervised training was conducted on cleaned Wikipedia dumps. Sentiment evaluation primarily utilized the SemEval 2016 Task 5 dataset (customer reviews), while Italian sentiment was evaluated using tweets from the SENTIPOLC task. Aspect-based sentiment labels were mapped into a binary "positive" or "negative" classification for the decoding task.
Key Findings
The investigation yielded several significant insights:
- No Universal Architecture: There is no single "best" representation method. While Additive Skip-Gram was the top unsupervised model in six languages (including Spanish and English), Paragraph Vector (DBOW) was significantly more effective for Arabic.
- Robustness of Simple Models: Additive Skip-Gram proved remarkably robust, often outperforming more complex unsupervised models.
- Supervised vs. Unsupervised: In Italian and Turkish, the simple unsupervised additive model actually outperformed the supervised bi-LSTM. This suggests that general-purpose embeddings can capture sentiment more effectively than task-specific models in certain linguistic contexts or with smaller datasets.
- The Impact of Negation: Model performance was strongly linked to a language's "typology of negation." Languages with "asymmetric" negation—where making a sentence negative significantly alters its structure (e.g., Turkish or Chinese)—presented greater challenges for the models.
Conclusion and Future Work
The study demonstrates that while unsupervised sentence embeddings capture significant sentiment information, the optimal architecture is highly language-dependent. The success of simple additive models highlights their utility, yet the struggle with asymmetric negation suggests that word-level embeddings may miss critical morphological signals. Future research should consider character-level features to better capture these nuances, particularly in morphologically rich languages.
Summary updated