Elamur Research

Improving Sentiment Analysis over non-English Tweets using Multilingual Transformers and Automatic Translation for Data-Augmentation

Paper · 2020 · Valentin Barriere and Alexandra Balahur

Summary

A tweet can express a clear opinion in language that looks little like the prose used to train a general-purpose classifier. Abbreviations, recent expressions, and an informal sentence structure are part of the task. A collection of labeled tweets gives a classifier examples of how sentiment appears in that setting, but the supply of such examples differs by language. Barriere and Balahur ask whether plentiful English annotations can improve sentiment analysis for tweets written in languages with smaller labeled collections.

The authors start with XLM-RoBERTa, a multilingual Transformer that has already learned from general text. They give it additional supervised training on English tweets, using the sentiment labels attached to the original messages. They then adapt it to the language in which it will be evaluated. A second version of this procedure uses machine translation to express each training tweet in the other languages covered by the study. Each translation inherits the original tweet’s label. The extra examples therefore come from new renderings of messages the authors already have annotations for. The non-English evaluations use tweets originally written in the target languages.

Across the German, Spanish, French, and Italian evaluations, average recall rises from 68.0 with direct target-language training to 70.8 when English tweet training comes first. It reaches 71.6 with translation added. The combined procedure also yields the strongest aggregate macro F1 and positive–negative F1 in the paper’s comparison. The effect varies by benchmark. The additional translations help especially clearly on the Spanish test set, whereas German macro F1 and positive–negative F1 are slightly higher with English-only prior training.

The experiments give the clearest evidence for a procedure that retains access to labeled target-language tweets. English supervision supplies experience with the genre and the sentiment task, and translation can give that experience broader linguistic coverage. The authors report poor results when they skip the final adaptation to a non-English target, and the translation system sometimes struggles with informal Twitter language. The strength of the study is the comparison among ways of preparing the same multilingual classifier for the available target data.

Deep dive: Improving Sentiment Analysis over non-English Tweets using Multilingual Transformers and Automatic Translation for Data-Augmentation

Barriere and Balahur test whether English sentiment labels and automatically translated tweets improve sentiment classification in other languages. · about 30 minutes to read

The problem and its context

A shortage of labels in a distinctive kind of text

A sentiment classifier in this study assigns a polarity to a tweet as a whole. The text classification task asks whether the message expresses positive, negative, or neutral sentiment. A labeled tweet connects a piece of writing to a decision about that writing. To learn from a collection of these decisions, a classifier needs to encounter the ways people express sentiment in the material it will later be asked to classify.

Twitter creates a particular adaptation problem. The authors describe differences in vocabulary and syntax between tweets and general text. The frequency with which words appear can shift, and abbreviations and recent expressions occur in messages that may already be difficult to parse. General-text training can give a classifier a useful starting point for processing a language. Annotated tweets expose it to a different distribution of expressions and show how sentiment is labeled in that domain.

For multilingual natural language processing, the authors motivate the problem with a practical example. Monitoring social media across Europe requires handling messages in several languages. The amount of annotated material available for one of those languages offers little assurance about the amount available for another. The paper describes an English SemEval collection with more than 62k tweet-level annotations across the challenges. Its own external training pool comes from a specified portion of the English challenge material. The broader archive illustrates the imbalance that makes this sort of transfer attractive.

The annotation problem is partly about preservation. A released dataset can identify messages that are later deleted by their authors. The paper treats those tweets as unavailable for redistribution under the applicable data protection requirements. A researcher who collects the surviving messages may consequently work with a smaller or different set than the one used in the original challenge. A benchmark can retain its name while some of its original examples are no longer accessible.

That issue affects training and evaluation in different ways. During training, lost tweets reduce the supply of labeled examples. During evaluation, lost tweets make it harder to compare a current score with a historical one. A shared benchmark name can tell the reader where the data came from, but exact comparison requires knowing which evaluation examples survived and which split was used. This distinction is particularly important for the paper’s non-English experiments.

What earlier tweet classifiers had addressed

The paper places its work alongside evaluations organized around individual languages. SemEval offered an English Twitter sentiment task. TASS supported Spanish research, and DEFT provided a setting for French tweets. Such challenges supplied both linguistic annotation and a common evaluation procedure for participants. The presence of these collections still left differences in how much training material could be recovered and reused across languages.

The authors describe a progression in the English work. A neural-network system by Cliche won the polarity subtask in SemEval-2017. Work by Singh and colleagues explored how a tweet classifier should represent emoji. They supplied written descriptions where the input would otherwise have contained the corresponding Unicode characters, then processed the text with a bidirectional recurrent network and word representations. The example shows why an input convention that matters in Twitter classification might receive little attention in general prose.

The paper then discusses BERTweet, which applies the training procedure associated with RoBERTa to a collection of 850M English tweets. The number refers to the English tweet collection used to prepare BERTweet. That work supplied evidence for the value of exposure to Twitter text in English. Barriere and Balahur are interested in a different resource arrangement. Their starting point can process several languages, and their readily available domain supervision is a collection of English tweets already labeled for sentiment.

This approach rests on the distinction between general language preparation and adaptation to a particular task. The authors present bidirectional Transformers in the lineage of BERT as a strong starting point for language processing. They also argue that a starting point learned from general text still needs examples from a domain whose writing differs substantially. For Twitter sentiment, the question is how to acquire that domain experience when labels are concentrated in another language.

How translations entered the research question

Data augmentation makes additional training inputs from data that already exist. In a sentiment task, a useful transformation gives the classifier a meaningfully different input while retaining the sentiment represented by the original label. These goals can compete. A change so slight that it leaves nearly every cue in place may offer limited new coverage. A change that alters the force of the message can undermine the inherited label. The paper treats textual augmentation as a less established practice than image augmentation and situates its use of translation among several ways of modifying text. Easy Data Augmentation

The examples from earlier work serve different tasks. Sennrich and colleagues used back-translation to create paired sentences for training a translation system. Kobayashi generated plausible changes by choosing words in context. Fadaee and colleagues used plausible word substitutions to create additional examples for translation. Together these studies show several roles for generated text, from supplying the other side of a translation pair to varying words around a given context. Here the generated text becomes an input to a sentiment classifier, and the existing sentiment annotation is carried along with it. Back-translation for neural machine translation · Contextual Augmentation · Data Augmentation for Low-Resource Translation

The closest precedent identified by the authors comes from earlier multilingual sentiment work by Balahur and colleagues. Those studies used machine-translated text with support vector machines and bags of n-grams. A bag of n-grams represents text through the occurrence of short sequences within it. Combining translated material across languages helped those systems distinguish features associated with sentiment. The precedent therefore supplied a reason to try multilingual translation even before considering a Transformer.

Barriere and Balahur also change the evaluation design from that closely related work. The earlier studies used test material constructed through translation and human editing. Here the target is performance on tweets originally written in the evaluated language. This matters because a classifier shown machine-translated training inputs must ultimately handle the expressions that speakers choose on Twitter. Native test material puts that transfer at the center of the experiment. The practical question becomes whether synthetic training text helps with genuine target-language messages when a smaller supply of annotated originals is already available.

The method, step by step

Separate the starting point from the tweet training

The procedure starts with an existing multilingual classifier backbone. XLM-RoBERTa supplies a common starting point for the languages in the study. Its earlier general-text training predates every comparison in the paper. The authors then vary what happens between that starting point and the final evaluation. This ordering is important because the paper sometimes uses pre-training for the intermediate training on labeled tweets. The immediate objective of that stage is already sentiment classification.

A newcomer can think of the intermediate stage as supervised practice in the same task using a more abundant source of examples. The English training tweets have sentiment labels. The classifier reads them and learns to predict their annotations. During the final stage it sees messages from the target benchmark and learns from those labels. That last adaptation is fine-tuning. It gives the classifier a chance to adjust to the words and labeling decisions it actually encounters in the target collection.

The multilingual starting point makes it possible to keep the learned parameters between these stages while changing the language of the examples. A classifier trained only for English would offer no equivalent comparison across the full language set in this design. The paper uses the multilingual system both for direct target training and for the configurations with intermediate supervision. This supplies a common reference for measuring the effect of changing the training sequence.

Training and testing with translated tweet augmentation

The steps in order.

Training and testing with translated tweet augmentationStep 1: Start from general-text XLM-RoBERTa1. Start from general-text XLM-RoBERTaStep 2: Gather labeled English SemEval training tweets2. Gather labeled English SemEval training tweetsStep 3: Translate tweets and keep their sentiment labels3. Translate tweets and keep their sentiment labelsStep 4: Train on original and translated source tweets4. Train on original and translated source tweetsStep 5: Fine-tune with the target training collection5. Fine-tune with the target training collectionStep 6: Keep the checkpoint favored by development results6. Keep the checkpoint favored by development resultsStep 7: Evaluate on original target-language tweets7. Evaluate on original target-language tweets

The flow shows the combined configuration. In the English-only transfer condition, the intermediate training works with the English originals. In the direct-training condition, the classifier goes from its general-text starting point to the target training set. The authors also describe using translation on the training collections for the augmented experiments. The development and test sets serve model selection and evaluation respectively, and they are kept distinct from the training inputs.

Build the English source collection

The intermediate training data come from the English Twitter sentiment challenges beginning with SemEval-2013 and ending with SemEval-2016. The source pool has 47,762 tweets. The paper separately identifies the 2000 tweets in the SemEval-2016 devtest split as the development set and uses the SemEval-2017 test set for English evaluation. That division provides a source of supervision, a separate set for selecting a checkpoint, and a later English test collection for measuring performance.

What travels from the English stage is the classifier’s learned state. At evaluation it receives the target tweet to classify. Each target input can be read in its own language because the classifier uses the multilingual backbone. The translations enter earlier, as additional training inputs. This design makes the paper a study of how training data affect target-language prediction. It also avoids making an automated translation of the test tweet a prerequisite for classification.

In the source-only transfer configuration, all additional external examples are the English originals. The classifier gets to practice the same labeling task on a larger tweet collection before it trains on the target material. Because the added examples differ from the direct-training condition in both language and source of supervision, a gain in this comparison is evidence for the package of English sentiment training. The comparison cannot by itself say how much benefit comes from familiarity with tweets and how much comes from more examples of the label distinctions.

Translate the training text and preserve the annotation

The augmented procedure gives each original training tweet a rendering in the 4 other languages in the study. An English example has translated versions in French, German, Spanish, and Italian. The original remains present. When the source is a non-English training collection, the same description of the augmentation applies with a different source language and the remaining languages as destinations. The translation system belongs to the European Commission.

The authors rely on a property that typically makes translation attractive for this task. If a translation preserves what a tweet says and how it expresses its opinion, the same sentiment label can still apply. The existing label is assigned to the generated version. For the external English collection, this gives a reported expanded pool of 238,810 training examples. That figure counts the originals and their translated versions. Each group can supply different words for the same underlying judgment.

The paper illustrates the procedure with an English tweet whose author expresses extreme reluctance to use Excel by imagining a dangerous alternative. The translations preserve the rejection of Excel and its exaggerated framing, although some details of the imagined action shift. The example makes clear what the classifier is meant to learn from the group. The entities and broad opinion can carry over even when the literal wording differs. It also shows why the assumption behind a copied label is about preserving sentiment at the level of the whole message.

A translated version gives a classifier new input patterns while offering another view of the original proposition. An unfamiliar expression in German, for example, can occur with the label associated with an equivalent English message. For training, these are distinct strings. As evidence about independent opinions, they are related examples derived from the same event or statement. The training count measures the amount of text presented to the classifier. Its growth does not establish an equivalent increase in independent annotations.

The same design introduces a possible source of noise. The authors explain that the Commission translator was trained on general text, whereas tweets can contain abbreviations and new usages. A slightly awkward translation can still convey the right sentiment. A more serious change can weaken, sharpen, or redirect what the author appears to be expressing. The evaluation measures the practical outcome of using the generated collection with its inherited labels. The individual translations do not receive a separate reported sentiment audit.

The method differs from generating a paraphrase by translating a tweet out of its language and then returning to it. The outputs here stay in the destination languages. Their multilingual character is part of the intervention. A French rendering of an English example can provide French training input, while a Spanish rendering of the same example can expose the same classifier to Spanish expressions of the opinion. Because all these inputs feed into one multilingual starting point, the question is whether the combined exposure supports later training on a real target collection.

Finish with supervised target-language training

For every reported non-English target configuration, training concludes with a stage tied to the language and dataset of evaluation. The direct configuration uses that target training material without the additional English stage. The transfer configurations reach it after supervised work with the external source data. An augmented configuration can also use the translated versions of its training material. Throughout the comparison, the target data provide the bridge to the benchmark on which the classifier will be measured.

The final stage matters because sentiment supervision is attached to particular examples and annotation decisions. An imported English label can give a classifier practice distinguishing positive and negative language. A target annotation also shows which cases the local dataset treats as positive, negative, or neutral. Training on target examples can adjust the decision procedure to the way those distinctions appear in that collection. This is one reason to regard final adaptation as part of the method being tested.

The stages also give the experimental comparisons a clear interpretation. Direct training asks how well general-text preparation and the target labels can work together. English-source training adds annotated experience from external tweets. Translation augmentation changes the supply of training inputs and exposes the classifier to additional languages. The paper’s results allow the reader to compare these whole configurations. The training design does not furnish independent estimates for every change made within the augmented condition.

Optimize and select the classifier

The authors obtain the pretrained systems and run training with the Transformers library. They use Adam to update parameters in the direction of a lower training loss. The learning rate controls the scale of those updates. The paper uses 2e −6 for the configurations’ English tweet training stage and 5e −7 for fine-tuning on non-English tweets. The batch size is 32, which is the number of examples grouped for a training update.

An epoch is a pass through the training data for the stage in question. The authors evaluate on the development set after each epoch and retain the checkpoint with the best development performance. That procedure is a form of early stopping and selection. Training loss guides the parameter updates, and development performance determines which saved state goes forward to the evaluation. The test split then provides the reported result for that state.

The paper refers to class weights in the loss when discussing its English results. When classes have unequal representation, weights can change how strongly mistakes from different classes affect training. The authors suggest that their adjustment for class imbalance may help explain the English scores. The article gives no explicit mathematical loss or weighting formula. It also does not specify a separate equation for translation or for combining predictions, since the translated texts serve as additional training examples for the classifier.

Experiments and results

What was available for testing

The paper reports training over 10 datasets and evaluation on a test set for each of the five languages. The test material combines a directly comparable English challenge split with non-English benchmarks reconstructed or adapted according to availability. This gives the authors several settings for judging the training method. How each test set was assembled determines how much can be inferred from comparisons with existing published scores.

English evaluation uses the original SemEval-2017 test set. The earlier SemEval material supplies the annotated English inputs for training, and the devtest split from SemEval-2016 supplies the development data. The paper treats the SemEval-2017 evaluation as an exact benchmark match with the original challenge. It can therefore report the challenge winner’s scores alongside its own English runs and use BERTweet as an additional comparator.

German evaluation uses SB-10k. The paper lists 4925 tweets in the German training split, 330 in development, and 1315 in the test split. It gives 6570 as the overall German collection size. The authors follow the original partition for the tweets they can obtain. A training score or evaluation score therefore pertains to that accessible collection, subject to the difference between its coverage and that of the historical benchmark.

The French collection comes from DEFT-2015, and the Italian collection comes from Sentipolc-16. In both cases, the authors follow the challenge partitions for the tweets they can retrieve. For the Italian experiment, they remove messages labeled as having mixed sentiments. The Italian scores therefore describe performance on the retained polarity task. A reader interpreting a score from that experiment should keep the filtering decision in view, since mixed sentiment is itself a kind of expression a broader classifier might be expected to handle.

For Spanish, the original test sets were unavailable. The authors use the TASS-2019 development set as their test set and the TASS-2018 development set for development. Development in the original challenge and development in the current experiment are roles assigned by different designs. A tweet that belonged to a development split in TASS-2019 contributes to the final evaluation here. This arrangement lets the paper compare how its configurations handle the same Spanish examples while placing a limit on comparisons with scores from the missing official tests.

The non-English test languages are also the languages into which the authors translate the English training collection. This makes the evaluation directly pertinent to the training design. Each target has both an original annotated collection and opportunities for synthetic exposure. The tests still consist of original-language tweets. The experiment asks whether those extra exposures improve a decision about naturally occurring wording in a language that participates in training.

Which configurations are compared

The most direct non-English baseline is the multilingual classifier trained on target examples after its general-text preparation. This is the condition called vanilla in the paper. It already benefits from XLM-RoBERTa’s ability to process multiple languages. Its score supplies a reference for the extra tweet training. The next condition changes the initialization for target training by first giving the classifier English sentiment examples. The final condition uses English supervision and translation augmentation.

For French, the authors also evaluate CamemBERT, a French-language counterpart to RoBERTa. That comparison gives the paper a way to check how the general multilingual starting point fares against a specialist when neither has the additional English tweet training. The later French rows then show what happens as the multilingual system receives that extra supervision and the translated data. The French monolingual comparison is available alongside the direct multilingual baseline, so it can be read with the corresponding training conditions in view.

In English, the monolingual counterpart is RoBERTa. The authors compare its English training result with multilingual XLM-RoBERTa trained on English, and with a multilingual configuration that also uses augmentation. The English rows name the same language as source and target. They therefore address the value of a multilingual setup when labeled English material is already available, as well as situating the paper’s classifiers against published challenge results.

How to read the scores

Average recall, labeled Rec avg in the paper, averages recall across the sentiment classes. The recall of a class answers a question about the tweets annotated with that class. It asks what share the classifier recovers as members of the class. A system may recover positive messages regularly and miss many neutral ones. Averaging recall by class gives both of those behaviors a place in the score, even when the classes occur with different frequencies.

An F1 score for a class combines precision and recall. Precision asks how frequently predictions assigned to that class are correct, while recall asks how many of the class’s labeled examples those predictions recover. A classifier that assigns one label widely can gain recall for that label while losing precision. Macro F1, or F1 mac, averages class-level F1 scores. Each class’s precision and recall help determine its contribution to that average.

Positive–negative F1, labeled F1 PN, averages the F1 scores for the positive and negative classes. The neutral class still belongs to the classification task. Errors between neutral tweets and the polar classes can affect positive or negative precision and recall. The metric simply gives the neutral class no separate F1 term in the average. Consequently, positive–negative F1 and macro F1 can favor different configurations. The three reported metrics give different views of the same predicted labels.

The combined non-English results

On the combined non-English results reported in the paper, direct multilingual training yields average recall of 68.0, macro F1 of 67.6, and positive–negative F1 of 66.6. With the English source stage, the corresponding scores are 70.8, 70.3, and 69.3. With English training and augmentation, the values reach 71.6, 71.2, and 70.4. These rows summarize the non-English evaluations and are reported by the authors as aggregate results.

Average recall across the non-English tweet evaluations

English tweet training improves average recall, and the configuration with translated training inputs leads the comparison.

Average recall across the non-English tweet evaluationsDirect target training: 68.0Direct target training68.0English training then target fine-tuning: 70.8English training then target fine-tuning70.8English training and translation augmentation (this paper): 71.6English training and translationaugmentation (this paper)71.6
The numbers
System or settingaverage recall
Direct target training68.0
English training then target fine-tuning70.8
English training and translation augmentation (this paper)71.6

The aggregate ordering is consistent across the reported metrics. It favors adding English training and then favors the version that also uses translated inputs. In each case, the English intermediate stage is an important part of the comparison. The largest configuration change from the direct baseline is the addition of an annotated external tweet collection. Further augmentation can offer a gain after that stage has already supplied the classifier with tweet sentiment supervision.

An aggregate also compresses several experimental settings into a single row. German, Spanish, French, and Italian differ in the provenance of their data, the availability of tweets from the original splits, and, for Italian, the treatment of mixed sentiment. To see how dependable the configuration ordering is, the language rows need to be read alongside the aggregate. They show where the intermediate training behaves consistently and where the translation stage changes the preferred setting by metric.

German and Spanish respond differently to translation

On the German SB-10k test split, the direct multilingual setting gives average recall of 72.6, macro F1 of 73.9, and positive–negative F1 of 67.1. The setting with English training gives 74.1 average recall, 74.8 macro F1, and 68.7 positive–negative F1. The augmented setting gives 74.2 average recall, 74.7 macro F1, and 68.5 positive–negative F1. English training raises all the German scores relative to direct training. Adding translation gives the highest German average recall, and the English-only transfer configuration retains the lead on the German F1 measures.

The authors mention 65.09 as the best positive–negative F1 reported by the authors of SB-10k. Their direct configuration scores 67.1 on the test tweets they can access. The historical score provides context for the scale of the newer result. The paper’s comparison between 67.1, 68.7, and 68.5 is the clearer test of the training changes, since the German evaluation material is held fixed across those runs.

The Spanish held-out set gives a more uniform ordering. The direct multilingual system scores 63.5 for average recall, 63.2 for macro F1, and 72.7 for positive–negative F1. English tweet training moves these scores to 68.3, 68.1, and 76.0. English training with the translations gives 69.8 average recall, 69.6 macro F1, and 78.2 positive–negative F1. The authors describe the translation benefit over English-only prior training as 1.5 points of average recall on this Spanish evaluation.

The contrast between the German and Spanish rows matters for interpreting the augmentation. Both target datasets benefit from the English stage. The Spanish metrics agree on the best configuration after translation, whereas the German metrics give slightly different answers. If average recall is the selected measure, the translated German setting has the higher reported score. If the goal is the strongest positive–negative F1 on the available German split, the source-only setting leads. The observed sensitivity to metric is visible without inferring which individual classes caused it.

French and Italian improve on every reported measure

In French, CamemBERT scores 72.9 for average recall, 72.8 for macro F1, and 71.6 for positive–negative F1 on the available DEFT-2015 test set. The direct multilingual baseline records 72.5, 72.4, and 71.0 on those same measures. The language-specific system therefore leads the multilingual baseline in the direct comparison.

The ordering changes when the multilingual classifier receives the English intermediate training. Its French test scores then reach 73.8 average recall, 73.7 macro F1, and 72.2 positive–negative F1. The augmented setting leads the French comparison at 74.4 average recall, 74.5 macro F1, and 72.8 positive–negative F1. The comparison shows how the ability to use an external source collection can matter even when a target-language specialist has the better direct-training result.

Macro F1 on the available French DEFT-2015 test split

The French specialist leads direct training, while the multilingual classifier leads after English training and translation augmentation.

Macro F1 on the available French DEFT-2015 test splitCamemBERT with direct target training: 72.8CamemBERT with direct target training72.8XLM-RoBERTa with direct target training: 72.4XLM-RoBERTa with direct target training72.4XLM-RoBERTa with English training: 73.7XLM-RoBERTa with English training73.7XLM-RoBERTa with English training and translation augmentation (this paper): 74.5XLM-RoBERTa with English training andtranslation augmentation (this paper)74.5
The numbers
System or settingmacro F1
CamemBERT with direct target training72.8
XLM-RoBERTa with direct target training72.4
XLM-RoBERTa with English training73.7
XLM-RoBERTa with English training and translation augmentation (this paper)74.5

On the retained Italian Sentipolc-16 test material, direct training gives average recall of 63.0, macro F1 of 60.7, and positive–negative F1 of 55.3. With the English stage, average recall reaches 67.1, macro F1 reaches 64.4, and positive–negative F1 reaches 60.2. With the additional translations, the corresponding results are 68.1, 66.1, and 62.0. Each measure favors the combined setting over the direct and English-only alternatives.

The Italian and French results both support the combined method, under somewhat different comparisons. Italian contributes a sequence of multilingual training conditions on the filtered benchmark. French supplies that sequence and adds a monolingual baseline. In both languages, the gains are observed with development and test decisions grounded in the original target collection. For Italian, the conclusion applies to the retained labels after the mixed-sentiment examples have been excluded.

English provides the common benchmark comparison

On the exact SemEval-2017 English test set, Cliche’s challenge-winning system has an average recall of 68.1 and a positive–negative F1 of 68.5 in the paper’s comparison. BERTweet records 73.2 average recall and 72.8 positive–negative F1. The paper’s monolingual RoBERTa scores 72.8 average recall, 71.7 macro F1, and 72.3 positive–negative F1. The table gives no macro F1 for Cliche’s system or for BERTweet.

The paper’s XLM-RoBERTa using the English originals records 71.9 average recall, 70.0 macro F1, and 70.3 positive–negative F1. With translated training inputs, the multilingual setting gives 71.6 average recall, 69.3 macro F1, and 70.2 positive–negative F1. On this test, RoBERTa leads both multilingual settings on each of the reported measures. Among the English rows included by the authors, BERTweet has the highest average recall and positive–negative F1.

Average recall on the English SemEval-2017 test set

The paper’s monolingual run leads its multilingual runs, and BERTweet has the highest reported recall.

Average recall on the English SemEval-2017 test setCliche challenge winner: 68.1Cliche challenge winner68.1BERTweet: 73.2BERTweet73.2RoBERTa with English training (this paper): 72.8RoBERTa with English training (thispaper)72.8XLM-RoBERTa with English training: 71.9XLM-RoBERTa with English training71.9XLM-RoBERTa with translation augmentation: 71.6XLM-RoBERTa with translationaugmentation71.6
The numbers
System or settingaverage recall
Cliche challenge winner68.1
BERTweet73.2
RoBERTa with English training (this paper)72.8
XLM-RoBERTa with English training71.9
XLM-RoBERTa with translation augmentation71.6

The English results narrative says that the authors exceeded Nguyen and colleagues with both RoBERTa and XLM-RoBERTa. The tabulated results support a more limited statement. Both systems from the paper exceed the listed challenge winner on the measures reported for that winner. The printed BERTweet values remain higher on the measures it shares with RoBERTa and XLM-RoBERTa. The distinction matters because a comparison with the original winner and a comparison with the later English tweet specialist answer different questions.

The English augmentation result also helps qualify the aggregate from the other languages. The translation procedure was motivated by the need to bring English labels to settings with fewer native examples. On the English test, all the original external tweets are already in the language of evaluation. The reported decline with augmentation shows that broader language exposure can come with a cost in this particular use of the procedure. The English comparison supplies an informative boundary alongside the gains on the non-English tests.

What the ablations show

The value of the English stage

The nearest thing to an ablation of source supervision is the comparison between direct multilingual target training and the same multilingual starting point followed first by English tweet training. The target datasets and their evaluation splits stay fixed within each language. German, Spanish, French, and Italian all improve on the reported measures when that English stage is added. This consistency across the available targets is evidence that the source supervision transfers under the training procedure used in the paper.

The comparison removes or adds a whole stage of learning. That stage brings extra training examples, exposure to Twitter text, and explicit supervision about polarity. These ingredients travel together. A system trained on extra generic text, or on English tweets without sentiment labels, would help separate the roles of domain exposure and sentiment supervision. The paper’s reported settings establish the usefulness of the stage as implemented. They leave open which part of it accounts for the largest share of the gain.

The same distinction applies to language transfer. English supplies the additional labels in the paper. The setup shows that a multilingual classifier can make use of those labels before its final adaptation to another language. It does not compare English with a similarly large supervised collection from a different source language. The observed effect therefore attaches to the available English material and design. It gives no ranking of which source languages would transfer most effectively if equivalent annotated data were available.

What the translation comparison adds

The comparison from English-only prior training to the augmented setting asks whether translations are helpful once the classifier already has external English tweet experience. On the non-English aggregate, they are helpful on every reported measure. Spanish gives especially clear evidence because the differences agree across average recall, macro F1, and positive–negative F1. Italian and French also favor translation on all the reported measures, after showing gains from the English stage itself.

German provides a more qualified result. The comparison gives a small average-recall advantage to augmentation and gives the F1 advantages to the English-only source setting. The paper calls the German augmentation benefit questionable. The text describes the German training set as over twice as large as its Spanish counterpart and suggests that this difference may partly explain the greater gains for Spanish. A larger supply of genuine target-language annotations could give the classifier more of the practice that translations otherwise provide.

That explanation is a hypothesis drawn from differences across datasets. Spanish and German also differ in language, benchmark construction, and availability of their original test splits. The study does not deliberately shrink or expand the German training set while holding the rest of the procedure fixed. The evidence supports a difference in the observed augmentation benefit for these datasets. The size comparison identifies a plausible contributor without directly measuring its effect.

The translation comparison also changes several properties of the training inputs together. The augmented run sees more strings, sees sentiment examples written in additional languages, and sees machine-generated variants of existing messages. The paper describes translating the training sets and does not report a separate condition for adding only the translations into the eventual target language. Accordingly, the gains cannot be attributed separately to exposure to the target language, exposure to the other languages, or the increased amount of training text.

The English rows put an additional boundary on the comparison. English is the language in which the abundant original supervision was collected. On the English test, adding the translated examples reduces the reported scores of the multilingual system. This result supports looking at augmentation in relation to a specific evaluation language and training resource. In a target with little native labeled material, translations can supply exposure that the direct configuration has less opportunity to learn. The English test supplies evidence for a case in which the originals are already in the target language and the extra translated inputs have a different effect.

Specialized and multilingual starting points

The direct French comparison gives an advantage to CamemBERT over the multilingual baseline. In English, RoBERTa similarly outperforms XLM-RoBERTa under the configurations compared by the authors. These results show why a strong direct monolingual baseline is relevant. A general multilingual starting point may support more languages, yet its direct target score can be lower than a system prepared specifically for the evaluated language.

The French intermediate conditions show what the broader language coverage makes possible in this design. The multilingual system surpasses the French monolingual result after the English training stage and extends that lead with translation. The monolingual and multilingual setups therefore look different depending on the training resources brought to the comparison. The direct French rows measure the systems as adapted from general text to the available French examples. The later rows show the multilingual system after it uses external sentiment supervision. Those results demonstrate an advantage of the complete multilingual training route on this benchmark.

The authors also observe that a version without final target-language fine-tuning gives poor non-English results. They do not report those scores, so this observation cannot quantify the isolated contribution of the final stage. It clarifies why every reported non-English configuration keeps target adaptation. The effective route in the experiment proceeds through outside supervision to the actual target collection. The results on the non-English benchmarks measure that supervised route.

How much the scores explain

Class weighting is another possible influence raised in the paper. The authors adjust weights to account for imbalanced classes and suggest that this may help their English results. The reported comparisons do not include a controlled weighted-versus-unweighted run. Class weighting is therefore a candidate explanation about optimization, while the language-specific rows give direct numerical evidence about the training configurations that were evaluated.

The analysis offers several kinds of evidence at different levels. The gain from adding English supervision appears consistently across the non-English targets. The effect of translation has a clear aggregate direction and visible differences among language and metric combinations. A data-size explanation for those differences and a class-weight explanation for the English performance are hypotheses put forward by the authors. The experiments are most informative when their controlled configuration comparisons and their proposed explanations are read at those respective levels.

Limitations

Limits identified by the authors

Availability of tweet data is the principal evaluation limit the authors identify. Except for the English test, they could not count on having the complete original benchmark in the same form as the challenge organizers. Deleted tweets were unavailable. French, German, and Italian retained the original split assignments for the messages the authors could obtain. Spanish had no accessible official test sets, and the authors reassigned development sets from different TASS editions to form the development and test roles for their experiment.

This problem affects claims of historical improvement. The authors view their direct configurations as competitive, and they provide a published German score as an illustration. Different pools of evaluation tweets can change the difficulty and class composition of the test. A higher number obtained from the surviving subset cannot establish the same performance gain as a higher number obtained on identical labeled examples. The within-paper comparisons remain informative because the competing configurations share the same reconstructed test material for each language.

The quality of the translations is another stated limit. The automatic translator learned from general text, and the authors point to informal vocabulary, abbreviations, and recent usages as sources of difficulty. Translations are added with the original sentiment label, so a problem in translation can propagate directly into the training supervision. The paper’s approach in effect relies on enough translations preserving enough of the message for the collection to be helpful. The benchmark gains establish the outcome under this translator and setup. They give no per-message assurance of fidelity.

The authors also report that the experiments without final fine-tuning in the target language performed poorly. Their decision to omit those results means the strength of the dependence on target labels remains unmeasured in the results table. The study addresses target languages with some annotated tweet data available for the final stage. It gives no numerical basis for estimating performance when a target language has no local examples, or for determining how few examples would suffice to retain the reported gains.

What the comparisons leave unresolved

A careful reading separates a larger training collection from a larger collection of independently written and annotated tweets. The translations inherit the same sentiment judgments and refer back to the same messages. They can be useful because different languages offer different ways to express the judgment. They provide limited evidence about opinions or styles that never occurred in the original training data. The expanded training count is accurate as a count of inputs. It says little on its own about the diversity of the underlying events, perspectives, or sentiment decisions.

The translations also bring a change in training exposure that the experiments do not isolate. There is no comparison with a condition that simply repeats the original tweets to present the optimizer with more examples, and no separate condition that trains with only the translated version for the eventual target language. The effect measured by the full setting encompasses the larger pool, the altered wordings, and the multilingual composition. Its practical gain is established on the reported tests despite uncertainty about which ingredient matters most.

The study’s language coverage is defined in advance. The same languages are chosen for the translation procedure and the eventual evaluations. The results therefore establish transfer within that group under those training conditions. They offer limited evidence about a language whose text is absent from the augmented material or about a target for which the translator handles Twitter wording very differently. A reader can also distinguish the present problem of limited tweet annotation from the broader question of whether a language has sufficient general text resources.

The paper reports point estimates for the configurations. It gives no run-to-run variation or uncertainty intervals for the results. This is especially important in German, where the preferred configuration changes across metrics and the values are close. In that case, the precise conclusion is the reported ordering on the available split. The paper does not establish whether the narrow differences would persist across new training runs or another sample of German tweets.

Aggregate measures also leave some questions about errors unanswered. Average recall, macro F1, and positive–negative F1 show how the configurations perform under different summaries. The paper does not give a class-by-class account of how translation changes the errors. A gain in Spanish positive–negative F1 establishes improvement in the combined score for those classes. It does not specify whether the classifier became better at recognizing favorable expressions, detecting negative expressions, or avoiding false predictions of either sentiment. Resolving that distinction would require more detailed prediction results.

Differences among the benchmarks also complicate explanations of where the method helps most. Spanish is evaluated on a set that had served a different role in the original TASS challenge. Italian removes mixed sentiment. The available partitions for the other non-English languages reflect which tweets could still be obtained. Each experiment measures a real target setting, but variation between their scores can reflect the composition of the evaluation as well as the amount of training data. The improvement from choosing a training configuration within a language is easier to interpret than a general account of why one language gains more than another.

The English comparison is the exception in which the authors can match the original challenge test split exactly. It supports comparison with the challenge winner. It also exposes the discrepancy between the paper’s prose and its BERTweet rows. On the common measures shown, the table favors BERTweet over the authors’ English runs, and the missing BERTweet macro F1 leaves that metric unavailable for a direct comparison. The strongest defensible English claim is specific to the comparator and metric. This distinction leaves the non-English configuration comparisons intact.

What came after

Re-Evaluating GermEval17 Using German Pre-Trained Language Models (2021) cites the paper in a study whose title identifies a German benchmark reevaluation using German pretrained systems. The thematic connection is the role of a language-specific starting point when evaluating German text. Barriere and Balahur’s German experiment instead changes the tweet supervision given to a common multilingual starting point. The citation establishes a connection between the studies. It does not establish that the GermEval17 reevaluation adopted the translated training procedure or reproduced the SB-10k comparison.

XLM-T (2022) also cites the paper and takes multilingual processing on Twitter as its subject, with sentiment analysis among its applications. Its title places multilingual language preparation and the Twitter domain in the same research program. Barriere and Balahur had brought those concerns together by taking a general-text multilingual starting point and varying its supervised exposure to English and translated tweets. The later work’s citation and stated scope connect it to that question. They leave the details of any adoption of the label-preserving translation procedure unspecified.

Cite

Cite as Valentin Barriere and Alexandra Balahur. 2020. Improving Sentiment Analysis over non-English Tweets using Multilingual Transformers and Automatic Translation for Data-Augmentation. Proceedings of the 28th International Conference on Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2020.coling-main.23

@inproceedings{barriere2020improving,
  title = {{Improving Sentiment Analysis over non-English Tweets using Multilingual Transformers and Automatic Translation for Data-Augmentation}},
  author = {Valentin Barriere and Alexandra Balahur},
  booktitle = {Proceedings of the 28th International Conference on Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.coling-main.23},
  url = {https://doi.org/10.18653/v1/2020.coling-main.23}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/barriere-2020-improving-sentiment-analysis-over-non/