Journal of Evidence and Innovation · Vol. 2 No. 11 (2026)
Published November 26, 2026

The Cost of Switching Training Languages at a Fixed Sentiment Label Budget

Noah Quinn, Daniel Burns, Alejandro Martinez

Abstract

With 180 labeled posts available, does it matter whether they come from the language in which a sentiment tool will be used? Character-based classifiers trained on the AfriSenti release lost a mean of 0.297 macro-F1 in Hausa, 0.311 in Igbo, and 0.179 in Yoruba when the training language changed. Nigerian Pidgin had a smaller gap, but its same-language baseline also scored just 0.326. The comparison uses the same target posts for every model and measures the transfer gap for a deliberately small lexical baseline. It provides a reference point for interpreting multilingual model evaluations in which the choice of training language and the number of available labels otherwise vary together.

The decision made before training

A team building a sentiment classifier for a new language can spend a small annotation budget on texts from that language, or start with labeled texts it already has from a different one. The two options are easy to compare unfairly. An existing source collection may be several times larger than the target-language sample that the team can afford to label. Conversely, an evaluation in the source language can make reuse look safer than evaluation on the intended texts. This study isolates one practical contrast. Given the same number of labeled examples per category and the same classifier, by how much does performance change when the training language comes from elsewhere? The question concerns four explicitly named corpora and a narrow learning procedure. It does not treat language choice as an intervention on the same posts, since separately collected corpora can differ in topic and annotation conventions as well as language.

Feng (2025) places cross-linguistic sentiment transfer to dialects and minority languages in the context of multilingual BERT. That work motivates the task and the contrast with a lightweight baseline. A character model has no representation learned during multilingual pretraining. Its performance depends on patterns present in the labeled source examples. A transfer gap for this model is therefore useful for putting a later pretrained-model comparison in context, while saying little about whether multilingual BERT itself would show the same gap. The original BERT objectives and architecture described by Devlin et al. (2019), and the transfer experiments in Pires et al. (2019) and Wu and Dredze (2019), give reasons to evaluate pretrained models in a separate experiment. Conneau et al. (2020) show how the scale and composition of pretraining can matter for performance across languages. Those factors are held outside the present question by choosing a classifier fitted from the released labeled posts alone.

The comparison is based on classification of public benchmark posts rather than inference about the prevalence of an opinion among speakers. Joshi et al. (2020) document substantial disparities in language coverage in NLP. A shared benchmark makes some of those disparities easier to study but does not make its language subsets interchangeable. Philippy et al. (2023) illustrate why multilingual transfer outcomes can vary with the source–target pairing. Here those considerations translate into keeping the target test set fixed across sources and displaying each direction separately. Pooling directions before seeing their spread would hide exactly the difference a team needs when its choice of available source is limited.

Data, labels, and matched budgets

The analysis uses the official AfriSenti release at a recorded commit (Muhammad et al., 2023). Hausa, Igbo, Nigerian Pidgin, and Yoruba were selected because they also appear together in the earlier NaijaSenti collection (Muhammad et al., 2022). The release's own training and test designation is preserved. Positive, neutral, and negative are treated as categories with equal weight in the evaluation. These labels are tied to the annotation task. A broader study would need to examine whether the same category is applied to comparable utterances across communities. Yimam et al. (2020) show how sentiment benchmarks for social media depend on language-specific annotation work. The Multilingual Amazon Reviews Corpus from Keung et al. (2020) has a different domain and label source, which makes it a possible test of a separate transfer question rather than an interchangeable supplement. TweetEval (Barbieri et al., 2020) similarly places a social media sentiment task alongside several other forms of tweet classification. Matching platform alone would still leave annotation purpose and corpus selection to be checked.

Each post is normalized with Unicode compatibility normalization, case folding, and whitespace consolidation. URL and account-mention strings are removed from the feature input. Exact duplicates within each language–split are collapsed, and exact matches with conflicting labels removed. We then select 60 training examples in each category and language by a fixed hash of the released row ID. The Nigerian Pidgin training split contains 66 retained neutral examples, which motivates the common budget without reference to its test scores. Every fit has 180 labeled training examples. Before any scoring, a test post is removed if its normalized text appears in any of the four selected training subsets. The same retained target rows are then given to all four models. This rule removes 45 eligible Nigerian Pidgin test rows at the final matching step and none from the other target sets. Near-duplicates and common authorship can remain because the audit matches normalized text, and the release does not supply the information used here to reconstruct complete author or conversation clusters.

Data statements and datasheets help explain why these choices belong alongside the results. Bender and Friedman (2018) distinguish the scope of a dataset from the larger speaker population to which readers may wish to generalize. Gebru et al. (2021) encourage documentation of collection, composition, and appropriate uses. We retain the official file identities, selected case rule, and denominators so that a future comparison can reproduce the cases rather than infer them from a score. A language model might respond to topic cues, orthographic conventions, or common platform markers as well as sentiment-bearing spans. Removing exact transfer overlaps limits one especially direct source of shared information. It neither resolves the full generalization question nor identifies which features carried the prediction.

A test of the language switch

The representation is a sparse binary inventory of character substrings of lengths three to five, including boundary spaces. Each substring has to occur in at least two selected training posts for that model. Inverse document frequency is calculated within that training sample, and the weighted feature vector is scaled to unit Euclidean norm. Joachims (1998) and Wang and Manning (2012) motivate retaining a sparse text baseline alongside more elaborate classifiers. Character and subword methods have also been used to represent lexical variation beyond a fixed list of whole words (Bojanowski et al., 2017; Sennrich et al., 2016; Kudo and Richardson, 2018). The present construction is separate from their learned subword representations. It simply lets small groups of characters contribute even when a full word has never appeared in the training sample. Salton and Buckley (1988) provide a reference for separating term selection and weighting in sparse text comparisons.

One multinomial logistic classifier is fitted per training language with a common quadratic coefficient penalty. The intercepts are unpenalized. The solver minimizes the mean negative log likelihood and adds the squared coefficient norm divided by twice the training count. Byrd et al. (1995) describe the limited-memory optimization family used. Regularized multinomial modeling is discussed by Friedman et al. (2010). The implementation uses a stable log-sum-exp calculation and checks optimizer convergence. No category weights, prior adjustment, or test-based parameter selection are applied. A fixed rule selects the category with the largest fitted score. For a target language, three classifiers use only another language's labels; the fourth uses the same language's labels at the same budget. The primary contrast is the mean of the three other-language macro-F1 scores minus the same-language macro-F1. It weights the three observed source choices equally. This is an average over source directions, not an ensemble prediction or a score for the source that happens to perform best on the test set.

Equal-budget study design and fitted transfer scores

Figure 1. Panel A defines the study design. The training language varies across matched label budgets while the representation, classifier family, and target examples stay fixed. Panel B shows macro-F1 separately for each fixed source–target pair. The diagonal is the same-language comparison used in Table 1.

Macro-F1 is the mean of the three class-level F1 scores computed from each target confusion matrix. It differs from ordinary accuracy by giving each sentiment category its own contribution regardless of how many test posts received it. Opitz (2024) discusses how the construction of averaged classification measures changes what a score represents. Sakai (2021) gives a reason to state the averaging rule when neighboring categories such as neutral and positive might also support a different ordinal scoring convention. We do not introduce an ordinal loss because the question concerns parity under a conventional category-based measure. Uncertainty comes from 2,000 paired percentile bootstrap resamples of eligible target rows, using the same resampled indices for all four predictions in each repetition. Efron (1979) supplies the resampling foundation, and Dror et al. (2018) discuss matching inference procedures to how NLP systems were compared. The intervals reflect variation across test posts for these fixed trained models. They do not cover a new draw of training annotations, a randomly selected source language, or a new collection period.

Three clear gaps and one weak comparison

Table 1. Average other-language macro-F1 minus same-language macro-F1 at 180 training posts per source. The interval is a paired test-row bootstrap at 95%. Each displayed mean gives the three other source directions equal weight.

Target language Test posts Same-language Mean other-language Difference 95% interval
Hausa 5303 0.597 0.299 −0.297 −0.311 to −0.283
Igbo 3682 0.600 0.288 −0.311 −0.329 to −0.293
Nigerian Pidgin 4109 0.326 0.317 −0.010 −0.025 to 0.005
Yoruba 4515 0.467 0.289 −0.179 −0.195 to −0.163

The largest average gap is for Igbo. Figure 1 shows that its same-language score is about 0.600, while the highest result among the three other training languages is about 0.305. Changing to the best observed alternative in this sample would therefore leave a substantial gap. A similar pattern holds for Hausa, even though the source with the highest observed transfer score switches to Yoruba. The result for Yoruba presents a third case. The same-language baseline sits lower than it does for Hausa and Igbo, yet the cross-language mean remains appreciably lower than the Yoruba fit. These comparisons describe the four particular released datasets. They do not identify a language-distance effect, since the corpus and language change together and no distance measure was used to select these examples.

The Pidgin comparison illustrates why a small difference needs an absolute score alongside it. The 0.326 same-language baseline gives much less headroom than in Hausa or Igbo. Other-language scores straddle it. Yoruba reaches 0.341, and Igbo reaches 0.283. These directions are displayed so a reader can assess how much the mean conceals. Neither the small average gap nor the single higher Yoruba point estimate establishes that the two sources are interchangeable. The interval spans zero for the averaged contrast and is not an equivalence test. In addition, the target set contains 2,301 negative, 430 neutral, and 1,378 positive posts. The training strata were balanced by design, whereas the observed target distribution is uneven. A classifier's apparent suitability for particular labels still depends on separate class-level comparisons. The available predictions can support that later audit without refitting the models.

What a stronger comparison would establish

The four-model experiment fixes the labeled budget and avoids test-based source selection. It does not replicate the original mBERT adaptation, estimate the benefit of acquiring specific annotations over time, or establish model quality for production. The choice of split and evidence standard matters in other cross-lingual benchmarks too. Conneau et al. (2018), for example, use paired language evaluations for natural-language inference, a task whose construction choices differ from the independently collected sentiment corpora analyzed here. A future sentiment experiment could compare hypotheses about vocabulary sharing with direct tests of script normalization, position of markers, and community-specific phrasing. Ribeiro et al. (2020) explain why behavior tests can reveal problems concealed by a single aggregate accuracy figure. Applying such tests here would require reliable target-language cases with a known interpretation, especially where borrowed terms, sarcasm, or shifting topics complicate annotation. The present numbers do not tell us which of those explanations can account for the observed direction differences.

Training-seed sensitivity is also an open question. Although the fitting procedure is deterministic, the hash selects one finite labeled sample. Repeating the budget draw could yield a distribution of transfer gaps. The reporting principles in Dodge et al. (2019) emphasize the importance of disclosing what choices an experiment leaves fixed. A separate annotation audit could estimate agreement from multiple independent labels for the same texts, using a nominal-scale agreement measure such as Cohen (1960). A model-confusion matrix computed against a single released label per post cannot supply that information. This distinction matters most where disagreement on the category itself is a plausible reason for weak transfer. Another direct extension would preserve the same normalized target holdouts and attach independently adjudicated topic or annotation subgroups. Confidence statements could then describe how corpus composition affects the result, without allowing the evaluation to choose its own favorable sources after scores are available.

Conclusion

With 180 balanced labels per fit, changing the language of the training examples reduced test macro-F1 substantially for Hausa, Igbo, and Yoruba under a sparse character model. The Nigerian Pidgin comparison was less decisive and its same-language score was low. This is a useful calibration point for later evaluations of pretrained transfer. A study seeking to show that pretraining closes the gap can keep the test sets and label budget fixed, measure the gap again with the pretrained models, and explain whether any reduction comes from improved other-language performance, improved same-language performance, or both. The useful comparison is an observed target outcome with a specified source choice and resource budget. That framing can guide the evidence a follow-up needs without asking the present experiment to establish general claims about multilingual language models.

References

  1. Barbieri, F.; Camacho-Collados, J.; Espinosa Anke, L.; Neves, L. (2020). TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classification. Findings of the Association for Computational Linguistics: EMNLP 2020, 1644-1650. https://doi.org/10.18653/v1/2020.findings-emnlp.148
  2. Bender, E. M.; Friedman, B. (2018). Data Statements for Natural Language Processing: Toward Mitigating System Bias and Enabling Better Science. Transactions of the Association for Computational Linguistics, 6, 587-604. https://doi.org/10.1162/tacl_a_00041
  3. Bojanowski, P.; Grave, E.; Joulin, A.; Mikolov, T. (2017). Enriching Word Vectors with Subword Information. Transactions of the Association for Computational Linguistics, 5, 135-146. https://doi.org/10.1162/tacl_a_00051
  4. Byrd, R. H.; Lu, P.; Nocedal, J.; Zhu, C. (1995). A Limited Memory Algorithm for Bound Constrained Optimization. SIAM Journal on Scientific Computing, 16(5), 1190-1208. https://doi.org/10.1137/0916069
  5. Cohen, J. (1960). A Coefficient of Agreement for Nominal Scales. Educational and Psychological Measurement, 20(1), 37-46. https://doi.org/10.1177/001316446002000104
  6. Conneau, A.; Rinott, R.; Lample, G.; Williams, A.; Bowman, S.; Schwenk, H.; Stoyanov, V. (2018). XNLI: Evaluating Cross-lingual Sentence Representations. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, 2475-2485. https://doi.org/10.18653/v1/D18-1269
  7. Conneau, A.; Khandelwal, K.; Goyal, N.; Chaudhary, V.; Wenzek, G.; Guzmán, F.; Grave, E.; Ott, M.; Zettlemoyer, L.; Stoyanov, V. (2020). Unsupervised Cross-lingual Representation Learning at Scale. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 8440-8451. https://doi.org/10.18653/v1/2020.acl-main.747
  8. Devlin, J.; Chang, M. W.; Lee, K.; Toutanova, K. (2019). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), 4171-4186. https://doi.org/10.18653/v1/N19-1423
  9. Dodge, J.; Gururangan, S.; Card, D.; Schwartz, R.; Smith, N. A. (2019). Show Your Work: Improved Reporting of Experimental Results. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), 2185–2194. https://aclanthology.org/D19-1224/
  10. Dror, R.; Baumer, G.; Shlomov, S.; Reichart, R. (2018). The Hitchhiker's Guide to Testing Statistical Significance in Natural Language Processing. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 1383–1392. https://aclanthology.org/P18-1128/
  11. Efron, B. (1979). Bootstrap Methods: Another Look at the Jackknife. The Annals of Statistics, 7(1), 1-26. https://doi.org/10.1214/aos/1176344552
  12. Friedman, J.; Hastie, T.; Tibshirani, R. (2010). Regularization Paths for Generalized Linear Models via Coordinate Descent. Journal of Statistical Software, 33(1). https://doi.org/10.18637/jss.v033.i01
  13. Gebru, T.; Morgenstern, J.; Vecchione, B.; Vaughan, J. W.; Wallach, H.; III, H. D.; Crawford, K. (2021). Datasheets for datasets. Communications of the ACM, 64(12), 86-92. https://doi.org/10.1145/3458723
  14. Joachims, T. (1998). Text categorization with Support Vector Machines: Learning with many relevant features. Lecture Notes in Computer Science, 137-142. https://doi.org/10.1007/BFb0026683
  15. Joshi, P.; Santy, S.; Budhiraja, A.; Bali, K.; Choudhury, M. (2020). The State and Fate of Linguistic Diversity and Inclusion in the NLP World. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 6282–6293. https://aclanthology.org/2020.acl-main.560/
  16. Feng, S. (2025). Cross-Linguistic Transfer for Low-Resource Sentiment Analysis: Adapting Multilingual BERT to Dialects and Minority Languages. 2025 8th International Conference on Computer Information Science and Application Technology (CISAT), 969-975. https://doi.org/10.1109/CISAT66811.2025.11181782
  17. Keung, P.; Lu, Y.; Szarvas, G.; Smith, N. A. (2020). The Multilingual Amazon Reviews Corpus. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), 4563-4568. https://doi.org/10.18653/v1/2020.emnlp-main.369
  18. Kudo, T.; Richardson, J. (2018). SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processing. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, 66–71. https://aclanthology.org/D18-2012/
  19. Muhammad, S. H.; Adelani, D. I.; Ruder, S.; Ahmad, I. S. i.; Abdulmumin, I.; Bello, B. S.; Choudhury, M.; Emezue, C. C.; Abdullahi, S. S.; Aremu, A.; Jorge, A. i.; Brazdil, P. (2022). NaijaSenti: A Nigerian Twitter Sentiment Corpus for Multilingual Sentiment Analysis. Proceedings of the Thirteenth Language Resources and Evaluation Conference, 590–602. https://aclanthology.org/2022.lrec-1.63/
  20. Muhammad, S.; Abdulmumin, I.; Ayele, A.; Ousidhoum, N.; Adelani, D.; Yimam, S.; Ahmad, I.; Beloucif, M.; Mohammad, S.; Ruder, S.; Hourrane, O.; Jorge, A.; Brazdil, P.; Ali, F.; David, D.; Osei, S.; Shehu-Bello, B.; Lawan, F.; Gwadabe, T.; Rutunda, S.; Belay, T.; Messelle, W.; Balcha, H.; Chala, S.; Gebremichael, H.; Opoku, B.; Arthur, S. (2023). AfriSenti: A Twitter Sentiment Analysis Benchmark for African Languages. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 13968-13981. https://doi.org/10.18653/v1/2023.emnlp-main.862
  21. Opitz, J. (2024). A Closer Look at Classification Evaluation Metrics and a Critical Reflection of Common Evaluation Practice. Transactions of the Association for Computational Linguistics, 12, 820–836. https://aclanthology.org/2024.tacl-1.46/
  22. Philippy, F.; Guo, S.; Haddadan, S. (2023). Identifying the Correlation Between Language Distance and Cross-Lingual Transfer in a Multilingual Representation Space. Proceedings of the 5th Workshop on Research in Computational Linguistic Typology and Multilingual NLP, 22–29. https://aclanthology.org/2023.sigtyp-1.3/
  23. Pires, T.; Schlinger, E.; Garrette, D. (2019). How Multilingual is Multilingual BERT?. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 4996-5001. https://doi.org/10.18653/v1/P19-1493
  24. Ribeiro, M. T.; Wu, T.; Guestrin, C.; Singh, S. (2020). Beyond Accuracy: Behavioral Testing of NLP Models with CheckList. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 4902–4912. https://aclanthology.org/2020.acl-main.442/
  25. Sakai, T. (2021). Evaluating Evaluation Measures for Ordinal Classification and Ordinal Quantification. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), 2759-2769. https://doi.org/10.18653/v1/2021.acl-long.214
  26. Salton, G.; Buckley, C. (1988). Term-weighting approaches in automatic text retrieval. Information Processing & Management, 24(5), 513-523. https://doi.org/10.1016/0306-4573(88)90021-0
  27. Sennrich, R.; Haddow, B.; Birch, A. (2016). Neural Machine Translation of Rare Words with Subword Units. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 1715–1725. https://aclanthology.org/P16-1162/
  28. Wang, S.; Manning, C. (2012). Baselines and Bigrams: Simple, Good Sentiment and Topic Classification. Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), 90–94. https://aclanthology.org/P12-2018/
  29. Wu, S.; Dredze, M. (2019). Beto, Bentz, Becas: The Surprising Cross-Lingual Effectiveness of BERT. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), 833–844. https://aclanthology.org/D19-1077/
  30. Yimam, S. M.; Alemayehu, H. M.; Ayele, A.; Biemann, C. (2020). Exploring Amharic Sentiment Analysis from Social Media Texts: Building Annotation Tools and Classification Models. Proceedings of the 28th International Conference on Computational Linguistics, 1048-1060. https://doi.org/10.18653/v1/2020.coling-main.91