Skip to main content
QUICK REVIEW

[Paper Review] Zero-shot Sentiment Analysis in Low-Resource Languages Using a Multilingual Sentiment Lexicon

Fajri Koto, Tilman Beck|arXiv (Cornell University)|Feb 3, 2024
Topic ModelingComputer Science6 citations
TL;DR

The paper shows that pretraining multilingual models with a multilingual sentiment lexicon, extended and filtered, yields strong zero-shot sentiment analysis for 34 languages, often surpassing English-trained models and large language models without using sentence-level sentiment data.

ABSTRACT

Improving multilingual language models capabilities in low-resource languages is generally difficult due to the scarcity of large-scale data in those languages. In this paper, we relax the reliance on texts in low-resource languages by using multilingual lexicons in pretraining to enhance multilingual capabilities. Specifically, we focus on zero-shot sentiment analysis tasks across 34 languages, including 6 high/medium-resource languages, 25 low-resource languages, and 3 code-switching datasets. We demonstrate that pretraining using multilingual lexicons, without using any sentence-level sentiment data, achieves superior zero-shot performance compared to models fine-tuned on English sentiment datasets, and large language models like GPT--3.5, BLOOMZ, and XGLM. These findings are observable for unseen low-resource languages to code-mixed scenarios involving high-resource languages.

Motivation & Objective

  • Motivate sentiment analysis in 34 languages with limited labeled data by leveraging sentiment lexicons instead of sentence-level data.
  • Evaluate how lexicon-based pretraining affects zero-shot multilingual sentiment performance across binary and 3-way classifications.
  • Investigate regression vs. classification pretraining and the impact of lexicon extensions (Panlex) and filtering on generalization.
  • Assess performance on high/medium-resource languages, NusaX Indonesian languages, African languages, and code-switching text.

Proposed method

  • Pretrain six multilingual models (mBERT Base, XLM-R Base/Large, mBART Large, mT5 Base/Large) on sentiment lexicons.
  • Use NRC-VAD as the multilingual sentiment lexicon and extend it with Panlex translations to 109 languages.
  • Filter extended lexemes by aligning translated scores with English scores via an iterative regression-based approach.
  • Fine-tune or evaluate zero-shot sentiment on sentence-level data in 34 languages under binary and 3-way settings, comparing regression vs. classification pretraining.
  • Compare lexicon-pretrained models against SST-finetuned English models and large language models (GPT-3.5, XGLM, BLOOMZ).
  • Report macro-F1/weighted F1 for zero-shot sentiment across language groups (HM-R, NusaX, African, Code-Switching).
Figure 1: Left : pretraining with a multilingual sentiment lexicon. Right : zero-shot inference using sentences or documents.
Figure 1: Left : pretraining with a multilingual sentiment lexicon. Right : zero-shot inference using sentences or documents.

Experimental results

Research questions

  • RQ1Can multilingual sentiment lexicon pretraining improve zero-shot sentiment analysis in low-resource languages without sentence-level data?
  • RQ2Do multilingual sentiment lexicons improve multilingual generalization, especially for unseen low-resource languages and code-mixed texts?
  • RQ3Is regression or classification pretraining more effective for binary vs. 3-way sentiment classification in zero-shot settings?
  • RQ4What is the impact of lexicon extensions (Panlex) and filtering on zero-shot performance across language groups?

Key findings

  • Lexicon-based pretraining substantially improves zero-shot performance over vanilla models and over large language models in many low-resource scenarios.
  • In high/medium-resource languages, some SST-finetuned models still perform best, but several lexicon-based pretrained models exceed LLMs like GPT-3.5 and XGLM in binary classification (e.g., XLM-R Large with Lexicon extensions).
  • For low-resource languages (NusaX and African), lexicon-based pretraining with multilingual NRC-VAD often outperforms SST-finetuned English baselines and large language models, with mT5 Large achieving strong results across groups.
  • Panlex extension generally helps 3-way classification by expanding lexicon coverage, though its effect on unseen low-resource languages is nuanced and sometimes limited when the source language is English-centric.
  • Code-switched text benefits from lexicon extension and filtering, surpassing LLMs and SST-based baselines in binary classification, and approaching or exceeding LLM performance in some 3-way cases.
  • Regression-based pretraining tends to perform better for binary classification, while classification-based pretraining excels in 3-way classification; neutral boundary handling is more challenging for some models (e.g., mT5).
  • The approach demonstrates reasonable zero-shot transfer for languages unseen by the models, indicating improved multilingual generalization through lexicon-based pretraining.
Figure 2: Lexicon filtering pipeline.
Figure 2: Lexicon filtering pipeline.

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.