[Paper Review] Is it Great or Terrible? Preserving Sentiment in Neural Machine Translation of Arabic Reviews
This paper addresses sentiment preservation errors in neural machine translation (NMT) of Arabic user-generated content (UGC), particularly book reviews, where online tools like Google Translate often misrepresent sentiment polarity. By fine-tuning an NMT model with sentiment-sensitive pretrained word vectors and polarity-tagged source text, the approach achieves an F1 score of 0.81 and reduces sentiment discrepancy by 75% compared to Google Translate, significantly improving word- and sentence-level sentiment accuracy.
Since the advent of Neural Machine Translation (NMT) approaches there has been a tremendous improvement in the quality of automatic translation. However, NMT output still lacks accuracy in some low-resource languages and sometimes makes major errors that need extensive post-editing. This is particularly noticeable with texts that do not follow common lexico-grammatical standards, such as user generated content (UGC). In this paper we investigate the challenges involved in translating book reviews from Arabic into English, with particular focus on the errors that lead to incorrect translation of sentiment polarity. Our study points to the special characteristics of Arabic UGC, examines the sentiment transfer errors made by Google Translate of Arabic UGC to English, analyzes why the problem occurs, and proposes an error typology specific of the translation of Arabic UGC. Our analysis shows that the output of online translation tools of Arabic UGC can either fail to transfer the sentiment at all by producing a neutral target text, or completely flips the sentiment polarity of the target word or phrase and hence delivers a wrong affect message. We address this problem by fine-tuning an NMT model with respect to sentiment polarity showing that this approach can significantly help with correcting sentiment errors detected in the online translation of Arabic UGC.
Motivation & Objective
- To identify and classify sentiment transfer errors in NMT outputs for Arabic user-generated content (UGC), especially in book reviews.
- To investigate why online translation tools like Google Translate fail to preserve sentiment polarity in Arabic UGC, particularly due to code-switching between Dialectal Arabic (DA) and Modern Standard Arabic (MSA).
- To develop a sentiment-sensitive NMT training approach that improves accuracy in translating sentiment at the word and sentence level.
- To evaluate sentiment preservation beyond BLEU scores using lexicon-based metrics that measure sentiment score discrepancies.
- To demonstrate that fine-tuning with sentiment-aware embeddings and polarity tagging enhances NMT performance on low-resource, sentiment-sensitive Arabic UGC.
Proposed method
- The study constructs a hand-crafted test set of Arabic book reviews containing contronyms with opposite sentiment polarities in DA and MSA.
- A sentiment error typology is developed based on qualitative analysis of NMT outputs, identifying failures in sentiment transfer and polarity flipping.
- Two transformer-based NMT models are trained: one using standard pretrained embeddings, and a second using sentiment-sensitive pretrained vectors and polarity-tagged source sentences.
- The sentiment-sensitive model is fine-tuned on a small, annotated dataset with explicit sentiment labels for contronyms to improve context-aware translation.
- A sentiment-score-based metric is introduced to evaluate sentence-level sentiment preservation, computing the mean squared distance between predicted and reference sentiment scores using Microsoft Azure Sentiment Analysis.
- The method compares translation quality using BLEU and sentiment-specific metrics, with the latter providing a more accurate assessment of affective fidelity.
Experimental results
Research questions
- RQ1What types of errors in NMT output cause incorrect sentiment preservation in Arabic UGC, particularly in code-switched DA-MSA text?
- RQ2How can a sentiment-sensitive input representation improve sentiment polarity transfer in NMT for Arabic UGC?
- RQ3Is BLEU the most appropriate metric for evaluating sentiment preservation in Arabic-to-English translation, or are sentiment-specific metrics necessary?
- RQ4To what extent does fine-tuning an NMT model with sentiment-aware embeddings and polarity tagging reduce sentiment distortion in Arabic UGC translation?
Key findings
- Google Translate frequently fails to preserve sentiment in Arabic UGC, producing neutral outputs or flipping sentiment polarity, especially with contronyms that have opposite meanings in Dialectal Arabic (DA) and Modern Standard Arabic (MSA).
- The sentiment-sensitive NMT model achieved an F1 score of 0.81 and precision of 0.85 in word-level sentiment classification, significantly outperforming Google Translate.
- The sentiment-sensitive model reduced the sentiment score discrepancy (translation cost) to 0.06 for positive reviews and 0.14 for negative reviews, compared to 0.71 for Google Translate on positive instances.
- Google Translate performed better on negative contronyms (cost 0.15) than on positive ones (cost 0.71), indicating a systematic bias in sentiment flipping for positive sentiment.
- Short sentences showed the highest sentiment discrepancy, especially when a positive contronym like 'رهيبه' (awesome) was mistranslated as 'Terrible'.
- The study confirms that BLEU scores alone are insufficient for evaluating sentiment preservation, and that sentiment-specific metrics are essential for accurate assessment of affective fidelity in translation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.