---
title: "Identifying Nuanced Dialect for Arabic Tweets with Deep"
description: "The paper describes the CodeLyoko team's entry to the NADI 2020 Shared Task, Subtask-1. 20.34 F1. 15 references, cited by 4 papers here."
authors: ["Rawan Tahssin", "Youssef Kishk", "Marwan Torki"]
year: 2020
venue: "Proceedings of the Fifth Arabic Natural Language Processing Workshop"
source: "https://aclanthology.org/2020.wanlp-1.30/"
licence: "CC BY 4.0 (ACL Anthology)"
licence_url: "https://creativecommons.org/licenses/by/4.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/tahssin-2020-identifying-nuanced-dialect-arabic-tweets/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/tahssin-2020-identifying-nuanced-dialect-arabic-tweets/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2020](https://md.research.elamur.ai/free/en/papers/2020/page/8/) / Identifying Nuanced Dialect for Arabic Tweets with Deep Learning and Reverse Translation Corpus Extension System

# Identifying Nuanced Dialect for Arabic Tweets with Deep Learning and Reverse Translation Corpus Extension System

**Authors:** Rawan Tahssin, Youssef Kishk and [Marwan Torki](https://md.research.elamur.ai/free/en/authors/marwan-torki/) · **Year:** 2020 · **Venue:** [Proceedings of the Fifth Arabic Natural Language Processing Workshop](https://md.research.elamur.ai/free/en/venues/wanlp/) ([WANLP 2020](https://md.research.elamur.ai/free/en/venues/wanlp/2020/)) · **Publisher:** [Association for Computational Linguistics](https://md.research.elamur.ai/free/en/publishers/association-for-computational-linguistics/) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

**Links:** [Publisher's page](https://aclanthology.org/2020.wanlp-1.30/) · [PDF](https://aclanthology.org/2020.wanlp-1.30.pdf) · [OpenAlex](https://openalex.org/W3119720662)

**Citations:** 5 citations (OpenAlex, 2026-10-14) · [4](https://md.research.elamur.ai/free/en/papers/tahssin-2020-identifying-nuanced-dialect-arabic-tweets/cited-by/) in our library, of the 149,439 papers whose bibliographies we read

## Summary
The paper describes the CodeLyoko team's entry to the NADI 2020 Shared Task, Subtask-1. The task is to guess which of 21 Arab countries a tweet's dialect comes from. Two things make it hard: the classes are heavily imbalanced, and neighbouring dialects share much vocabulary. To rebalance the data without any external labelled corpus, the authors built RTCES (Reverse Translation Corpus Extension System). It sends each cleaned tweet through Google's NMT into English and back into Arabic, then keeps only the words that differ between the original and the round-tripped version. These leftovers tend to be the dialect-specific words, because the standard-Arabic material survives translation largely unchanged. The leftovers become new training sentences for the smaller classes.

The authors tested four classifiers on this extended corpus:
- TF-IDF features with logistic regression
- averaged fastText vectors with logistic regression
- fastText vectors with a BiLSTM
- fine-tuned AraBERT

AraBERT did best, reaching a 20.34% macro F1 on test and placing 7th of 18. The work shows a cheap, label-free way to rebalance data for fine-grained dialect classification.

## Key points
- **Task and data:** NADI 2020 Subtask-1 covers country-level identification across 21 dialects, using only the official dataset. The extended training corpus after RTCES holds 32,417 sentences.
- **Selective augmentation:** RTCES sentences were added for every class except the three largest (Egypt, Iraq, Saudi Arabia).
- **Dev-set macro F1:**

  | Model | Macro F1 |
  |---|---|
  | TF-IDF + LR | 17.34 |
  | fastText + LR | 14.24 |
  | fastText + BiLSTM | 18.33 |
  | AraBERT, fine-tuned after Farasa segmentation | 20.73 |

- **Final test results (AraBERT):** 20.34 F1, 36.26 accuracy, 27.83 precision and 20.56 recall. These are close to the dev numbers, which the authors read as a sign of no overfitting.
- **Hierarchical variant:** The authors also tried a two-level scheme. It first predicts one of five regional groups (Maghreb, Egypt/Sudan, Gulf, Levant, Others), then the country. With TF-IDF + LR, the second level scored roughly at the fastText + LR level.

## Interesting ideas
- Translate a text into a pivot language and back, then diff it against the original: whatever the translation alters or drops marks nonstandard, region-specific wording rather than the shared standard core.
- Generate synthetic examples only for minority classes and leave the dominant classes untouched, so augmentation actively rebalances the label distribution instead of merely inflating it.
- Split a large confusable label set into coarse families first and pick the fine label within the chosen family, which makes the confusions easier to inspect.
- Keep foreign-language words and emojis as features during cleanup, since in noisy social text they can carry class signal.
- Compare a simple TF-IDF baseline against neural models, and use the dev–test gap as a sanity check on overfitting.

## For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

- **I1** (tokens): A round-trip diff could flag dialectal, slang or idiomatic English tokens that the tagger and lemmatizer may mishandle, so they get explicit lexicon checks instead of silent guesses.
- **I2** (learn): When building silver treebanks, extra paraphrased or perturbed sentences could be produced only for rare constructions or relations, evening out what the parsers are trained on.
- **I3** (frames): Speech-act or VerbNet-class assignment could first pick a broad family and then a specific class, with each level logged as a separate, explainable decision.
- **I4** (tokens): The tokenizer could preserve emojis and code-switched words as typed tokens instead of discarding them, so later stages such as irony detection can use them.
- **I5** (learn): Every new parser or reader could be reported next to a trivial baseline and on two held-out splits, so a gain is only trusted if it beats the baseline and holds on both.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

📚 Shelves (4): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 16,667 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 16,194 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 16,039 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 15,891 works

🧭 Topics (1): [Semitic languages](https://md.research.elamur.ai/free/en/topics/semitic-languages/) · 2,908 works

## Cite

Cite as: Rawan Tahssin, Youssef Kishk and Marwan Torki. 2020. Identifying Nuanced Dialect for Arabic Tweets with Deep Learning and Reverse Translation Corpus Extension System. Proceedings of the Fifth Arabic Natural Language Processing Workshop.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{tahssin2020identifying,
  title = {{Identifying Nuanced Dialect for Arabic Tweets with Deep Learning and Reverse Translation Corpus Extension System}},
  author = {Rawan Tahssin, Youssef Kishk and Marwan Torki},
  booktitle = {Proceedings of the Fifth Arabic Natural Language Processing Workshop},
  year = {2020},
  doi = {10.13140/rg.2.2.31541.91363},
  url = {https://doi.org/10.13140/rg.2.2.31541.91363}
}
```

- [← previous Fine-grained Information Status Classification Using Discourse Context-Aware BERT](https://md.research.elamur.ai/free/en/papers/hou-2020-fine-grained-information-status-classification/)
- [next → Parsing in the absence of related languages: Evaluating low-resource dependency parsers on Tagalog](https://md.research.elamur.ai/free/en/papers/aquino-2020-parsing-absence-related-languages-evaluating/)
- [↑ back to papers of 2020](https://md.research.elamur.ai/free/en/papers/2020/page/8/)

## References

15 references, 8 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Ahmed Abdelali, Kareem Darwish, Nadir Durrani, and H. Mubarak. 2016. [Farasa: A fast and furious segmenter for arabic](https://md.research.elamur.ai/free/en/papers/abdelali-2016-farasa-fast-furious-segmenter-arabic/). In HLT-NAACL Demos.
2. Muhammad Abdul-Mageed, Chiyu Zhang, Houda Bouamor, and Nizar Habash. 2020. [NADI 2020: The First Nuanced Arabic Dialect Identification Shared Task](https://md.research.elamur.ai/free/en/papers/mageed-2020-nadi-2020-first-nuanced-arabic/). In Proceedings of the Fifth Arabic Natural Language Processing Workshop (WANLP 2020), Barcelona, Spain. [↗](https://doi.org/10.48550/arxiv.2010.11334)
3. Wissam Antoun, Fady Baly, and Hazem Hajj. 2020. [Arabert: Transformer-based model for arabic language understanding](https://md.research.elamur.ai/free/en/papers/antoun-2020-arabert-transformer-based-model-arabic/). [↗](https://doi.org/10.48550/arxiv.2003.00104)
4. Houda Bouamor, Sabit Hassan, and Nizar Habash. 2019. [The MADAR shared task on Arabic fine-grained dialect identification](https://md.research.elamur.ai/free/en/papers/bouamor-2019-madar-shared-task-arabic-fine/). In Proceedings of the Fourth Arabic Natural Language Processing Workshop, pages 199–207, Florence, Italy, August. Association for Computational Linguistics.
5. François Chollet. 2015. keras. [https://github.com/fchollet/keras](https://github.com/fchollet/keras). [↗](https://github.com/fchollet/keras)
6. Gael de Francony, Victor Guichard, Praveen Joshi, Haithem Afli, and Abdessalam Bouchekif. 2019. [Hierarchical deep learning for Arabic dialect identification](https://md.research.elamur.ai/free/en/papers/francony-2019-hierarchical-deep-learning-arabic-dialect/). In Proceedings of the Fourth Arabic Natural Language Processing Workshop, pages 249–253, Florence, Italy, August. Association for Computational Linguistics.
7. Youssef Fares, Zeyad El-Zanaty, Kareem Abdel-Salam, Muhammed Ezzeldin, Aliaa Mohamed, Karim El-Awaad, and Marwan Torki. 2019. [Arabic dialect identification with deep learning and hybrid frequency based features](https://md.research.elamur.ai/free/en/papers/fares-2019-arabic-dialect-identification-deep-learning/). In Proceedings of the Fourth Arabic Natural Language Processing Workshop, pages 224–228, Florence, Italy, August. Association for Computational Linguistics.
8. A. Graves and J. Schmidhuber. 2005. Framewise phoneme classification with bidirectional lstm networks. In Proceedings. 2005 IEEE International Joint Conference on Neural Networks, 2005., volume 4, pages 2047– 2052 vol. 4. [find](https://scholar.google.com/scholar?q=A%2E+Graves+and+J%2E+Schmidhuber%2E+2005%2E+Framewise+phoneme+classification+with+bidirectional+lstm+networks%2E+In+Proceedings%2E+2005+IEEE+International+Joint+Conference+on+Neural+Networks%2C+2005%2E%2C+volume+4%2C+pag)
9. Mai Ibrahim, Marwan Torki, and Nagwa El-Makky. 2018. Imbalanced toxic comments classification using data augmentation and deep learning. In 2018 17th IEEE International Conference on Machine Learning and Applications (ICMLA), pages 875–878, Dec. [find](https://scholar.google.com/scholar?q=Mai+Ibrahim%2C+Marwan+Torki%2C+and+Nagwa+El%2DMakky%2E+2018%2E+Imbalanced+toxic+comments+classification+using+data+augmentation+and+deep+learning%2E+In+2018+17th+IEEE+International+Conference+on+Machine+Learning+)
10. Mai Ibrahim, Marwan Torki, and Nagwa El-Makky. 2020. Alexu-backtranslation-tl at semeval-2020 task [12]: Improving offensive language detection using data augmentation and transfer learning. In Proceedings of the International Workshop on Semantic Evaluation (SemEval). [↗](https://doi.org/10.60692/k4jwv-ner65)
11. Tomas Mikolov, Edouard Grave, Piotr Bojanowski, Christian Puhrsch, and Armand Joulin. 2018. [Advances in pre-training distributed word representations](https://md.research.elamur.ai/free/en/papers/mikolov-2017-advances-pre-training-distributed-word/). In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), Miyazaki, Japan, May. European Language Resources Association (ELRA).
12. Fabian Pedregosa, Gaël Varoquaux, Alexandre Gramfort, Vincent Michel, Bertrand Thirion, Olivier Grisel, Mathieu Blondel, Peter Prettenhofer, Ron Weiss, Vincent Dubourg, Jake Vanderplas, Alexandre Passos, David Cournapeau, Matthieu Brucher, Matthieu Perrot, and Édouard Duchesnay. 2011. Scikit-learn: Machine learning in python. J. Mach. Learn. Res., 12(null):2825–2830, November. [↗](https://doi.org/10.48550/arxiv.1201.0490)
13. Radim Řehůřek and Petr Sojka. 2010. Software Framework for Topic Modelling with Large Corpora. In Proceedings of the LREC 2010 Workshop on New Challenges for NLP Frameworks, pages 45–50, Valletta, Malta, May. ELRA. [find](https://scholar.google.com/scholar?q=Radim+R%CC%8Cehu%CC%8Ar%CC%8Cek+and+Petr+Sojka%2E+2010%2E+Software+Framework+for+Topic+Modelling+with+Large+Corpora%2E+In+Proceedings+of+the+LREC+2010+Workshop+on+New+Challenges+for+NLP+Frameworks%2C+pages+45%E2%80%9350%2C+Valletta%2C+)
14. Amira Shoukry and Ahmed Rafea. 2012. [Preprocessing egyptian dialect tweets for sentiment mining](https://md.research.elamur.ai/free/en/papers/shoukry-2012-preprocessing-egyptian-dialect-tweets-sentiment/). 11.
15. Yonghui Wu, Mike Schuster, Zhifeng Chen, Quoc V. Le, Mohammad Norouzi, Wolfgang Macherey, Maxim Krikun, Yuan Cao, Qin Gao, Klaus Macherey, Jeff Klingner, Apurva Shah, Melvin Johnson, Xiaobing Liu, Łukasz Kaiser, Stephan Gouws, Yoshikiyo Kato, Taku Kudo, Hideto Kazawa, Keith Stevens, George Kurian, Nishant Patil, Wei Wang, Cliff Young, Jason Smith, Jason Riesa, Alex Rudnick, Oriol Vinyals, Greg Corrado, Macduff Hughes, and Jeffrey Dean. 2016. Google’s neural machine translation system: Bridging the gap between human and machine translation. CoRR, abs/1609.08144. [↗](https://arxiv.org/abs/1609.08144)

*Updated 1 November 2026*
