Skip to main content
QUICK REVIEW

[Paper Review] Analyzing Language Bias Between French and English in Conventional Multilingual Sentiment Analysis Models

Ethan Parker Wong, Faten M’hiri|arXiv (Cornell University)|May 7, 2024
Sentiment Analysis and Opinion MiningComputer Science3 citations
TL;DR

This study investigates language bias in multilingual sentiment analysis by comparing English and French performance using SVM and Naive Bayes models on balanced datasets. Despite French outperforming English in accuracy, recall, and F1 scores, Fairlearn metrics reveal the SVM model achieves near-equitable treatment (demographic parity ratio of 0.963–0.989), while Naive Bayes shows greater disparities (DPR 0.813–0.961), highlighting the need for fairness-aware design in multilingual NLP systems.

ABSTRACT

Inspired by the 'Bias Considerations in Bilingual Natural Language Processing' report by Statistics Canada, this study delves into potential biases in multilingual sentiment analysis between English and French. Given a 50-50 dataset of French and English, we aim to determine if there exists a language bias and explore how the incorporation of more diverse datasets in the future might affect the equity of multilingual Natural Language Processing (NLP) systems. By employing Support Vector Machine (SVM) and Naive Bayes models on three balanced datasets, we reveal potential biases in multilingual sentiment classification. Utilizing Fairlearn, a tool for assessing bias in machine learning models, our findings indicate nuanced outcomes. With French data outperforming English across accuracy, recall, and F1 score metrics in both models, hinting at a language bias favoring French. However, Fairlearn's metrics suggest that the SVM approaches equitable levels with a demographic parity ratio of 0.963, 0.989, and 0.985 for the three separate datasets, indicating near-equitable treatment across languages. In contrast, Naive Bayes demonstrates greater disparities, evidenced by a demographic parity ratio of 0.813, 0.908, and 0.961. These findings reveal the importance of developing equitable multilingual NLP systems, particularly as we anticipate the inclusion of more datasets in various languages in the future.

Motivation & Objective

  • To investigate whether conventional multilingual sentiment analysis models exhibit language bias favoring one language over another.
  • To evaluate model fairness between English and French using standardized fairness metrics.
  • To explore how dataset composition and linguistic features influence model performance and equity.
  • To assess the impact of model choice (SVM vs. Naive Bayes) on language bias in sentiment classification.
  • To inform the development of more equitable multilingual NLP systems through empirical analysis of bias in monolingual and balanced datasets.

Proposed method

  • The study employs Support Vector Machines (SVM) and Naive Bayes classifiers on three balanced datasets of English and French reviews.
  • Data pre-processing and feature extraction are applied uniformly across both languages to ensure comparability.
  • Hyperparameter tuning is performed using Optuna to optimize model performance across datasets.
  • Fairlearn is used to compute fairness metrics including Demographic Parity Difference (DPD), Equalized Odds Difference (EOD), Equalized Odds Ratio (EOR), and Demographic Parity Ratio (DPR).
  • Performance is evaluated using standard NLP metrics: accuracy, recall, and F1 score for both languages.
  • The analysis compares model outcomes across three distinct domains: music, DVDs, and book reviews to assess domain generalization.

Experimental results

Research questions

  • RQ1Does a language bias exist in conventional multilingual sentiment analysis models when classifying English and French text?
  • RQ2How do fairness metrics such as Demographic Parity Ratio (DPR) vary between SVM and Naive Bayes models across different language pairs?
  • RQ3Why does French outperform English in sentiment classification despite English being a high-resource language?
  • RQ4To what extent do linguistic features or dataset composition influence model performance and fairness?
  • RQ5How do different machine learning models (SVM vs. Naive Bayes) handle language bias in multilingual sentiment analysis?

Key findings

  • French outperformed English in all performance metrics—accuracy, recall, and F1 score—across both SVM and Naive Bayes models on all three datasets.
  • The SVM model demonstrated near-equitable treatment between languages, with Demographic Parity Ratios (DPR) ranging from 0.963 to 0.989 across datasets.
  • The Naive Bayes model showed greater disparities, with DPR values of 0.813, 0.908, and 0.961, indicating less equitable performance for French compared to English.
  • Despite better performance on French, the fairness metrics suggest that the SVM model maintains a more balanced treatment across languages.
  • The study identifies potential reasons for French’s superior performance, including clearer sentiment indicators and more discriminative linguistic features in the French dataset.
  • Computational constraints limited the use of advanced pre-processing and hyperparameter tuning, suggesting that future work with greater resources could further refine model fairness.

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.