An empirical Comparison of Arabic Named Entity Recognition Methods: Application to the ALP Corpus
Paper · 2022 · Mohamed Lichouri
Summary
The paper tackles Arabic Named Entity Recognition (NER), which lags behind English, German and French. The author blames scarce resources, orthographic peculiarities, ambiguity and inconsistent tagsets. He uses the ALP corpus (Freihat et al.) as the single benchmark. ALP has over 2 million tokens and a fine-grained inventory of 58 labels, including compound tags that mark attached clitics. Because computing power was limited, only subsets were used: ALP2 (50%) and ALP3 (25%).
Two families of methods are compared:
- Token-level classification: each token is classified independently from TF-IDF features using six default scikit-learn classifiers. The paper calls this "multi-label classification."
- Sequence labelling: a CRF built with sklearn_crfsuite, using hand-crafted word features and optional POS tags.
The best classifier, LSVC, reaches 90.38% accuracy on a shuffled split. The CRF reports 99.9–100% accuracy without POS tags and about 10 points lower with them. The author presents this as an early 58-way Arabic NER comparison. However, the results are reported mostly as accuracy on data dominated by the O label, which limits how much they reveal.
Key points
- Corpus: ALP has 2.27M tokens, 148k unique tokens and 58 unique labels. ALP2 covers 1.04M tokens with 54 labels, and ALP3 covers 524k tokens with 50 labels. The O label alone accounts for about 2.07M tokens.
- Corpus construction: ALP was built by bootstrapping. A model trained on 200 tagged tokens predicted the next 200, an expert corrected them, and the cycle repeated.
- Classifiers: six were tested (LSVC, BNB, MNB, LogReg, SGD, PAC) on an 80/20 split. Shuffling the data before splitting raised LSVC from 86.73% to 90.38% accuracy and its F1 from 83% to 87%. BNB was the weakest model.
- CRF features: lowercase form, prefix/suffix, neighbouring words, case and digit flags, special characters, and POS tags of the word and its neighbours. Adding POS tags lowered accuracy from 99.9% to 87.1% on ALP2 and from 100% to 90.1% on ALP3.
- Cost trade-off: the linear classifiers train quickly, while the CRF needs a much longer training time.
Interesting ideas
- I1. The ALP tagset folds attached clitics into the entity label (for example C+P+B-PER for conjunction + preposition + person), so a single token label records both morphology and entity type without a separate segmentation step.
- I2. The corpus grew in small bootstrapped rounds: train on a little data, predict the next chunk, have an expert fix it, then retrain, letting annotation effort shrink as the model improves.
- I3. Shuffled and unshuffled splits gave noticeably different scores, which hints that random token-level shuffling lets near-duplicate contexts leak between train and test.
- I4. With about 91% of tokens labelled O, plain accuracy close to that level says little, so entity-level metrics and a majority-class baseline are needed to read results honestly.
- I5. The CRF relies on transparent, hand-written features (affixes, neighbours, case and digit flags, POS context), each of which can be inspected and its contribution weighed.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (tokens): the en tokenizer could tag contracted or possessive forms (like "John's") with composite labels, so the split stays explicit and reversible instead of being lost.
- I2 (learn): silver-data pipelines could release data in small verified increments, with an LLM teacher or human correcting only each new batch before retraining the witness parsers.
- I3 (learn): evaluations should split by document or sentence and report both split types, treating a big gap as a leakage warning.
- I4 (learn): every reported score could ship with a trivial "always the most frequent label" baseline as a built-in negative control.
- I5 (world): an explainable entity-typing step for the world builder could use similar named features, so each entity decision can be traced back to concrete cues.
Fields, topics and concepts
📚 Shelves 2The field of science this work belongs to (OpenAlex fields).Computer Science · 18,614 worksArtificial Intelligence · 17,965 works
🧭 Topics 2Research subjects and languages the work is about.Semitic languages · 3,066 worksNamed entity recognition · 214 works
Cite
Cite as Mohamed Lichouri. 2022. An empirical Comparison of Arabic Named Entity Recognition Methods: Application to the ALP Corpus. Proceedings of the Third International Workshop on NLP Solutions for Under Resourced Languages (NSURL 2022) co-located with ICNLSP 2022.
@inproceedings{lichouri2022empirical,
title = {{An empirical Comparison of Arabic Named Entity Recognition Methods: Application to the ALP Corpus}},
author = {Mohamed Lichouri},
booktitle = {Proceedings of the Third International Workshop on NLP Solutions for Under Resourced Languages (NSURL 2022) co-located with ICNLSP 2022},
year = {2022},
url = {https://aclanthology.org/2022.nsurl-1.6/}
}References
- Frederic Giannetti. 2018. Named Entity Recognition: Challenges and Solutions. https://blog.doculayer.com/ named-entity-recognition-challenges\ -and-solutions. Online; accessed 18 December 2022. ↗
- Ismail El Bazi and Nabil Laachfoubi. 2018. Arabic named entity recognition using word representations. arXiv preprint arXiv:1804.05630. ↗
- Yassine Benajiba and Paolo Rosso. 2008. Arabic named entity recognition using conditional random fields. In Proc. of Workshop on HLT & NLP within the Arabic World, LREC, volume 8, pages 143–153. Citeseer. find
- Yassine Benajiba, Paolo Rosso, and José Miguel Benedíruiz. 2007. Anersys: An arabic named entity recognition system based on maximum entropy. In International Conference on Intelligent Text Processing and Computational Linguistics, pages 143–153. Springer. find
- Kareem Darwish. 2013. Named entity recognition using cross-lingual resources: Arabic as an example. In Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1558–1567.
- Ismail El Bazi and Nabil Laachfoubi. 2017. Arabic named entity recognition using topic modeling. context, 230. find
- Abed Alhakim Freihat, Mourad Abbas, Gábor Bella, and Fausto Giunchiglia. 2018a. Towards an optimal solution to lemmatization in arabic. In Fourth International Conference On Arabic Computational Linguistics, ACLING 2018, November 17-19, 2018, Dubai, United Arab Emirates, volume 142 of Procedia Computer Science, pages 132–140. Elsevier. find
- Abed Alhakim Freihat, Gabor Bella, Hamdy Mubarak, and Fausto Giunchiglia. 2018b. A single-model approach for arabic segmentation, pos tagging, and named entity recognition. In 2018 2nd International Conference on Natural Language and Speech Processing (ICNLSP), pages 1–8. IEEE. find
- Guillaume Lample, Miguel Ballesteros, Sandeep Subramanian, Kazuya Kawakami, and Chris Dyer. 2016. Neural architectures for named entity recognition. arXiv preprint arXiv:1603.01360. ↗
- Chahira Lhioui, Anis Zouaghi, and Mounir Zrigui. 2017. A rule-based approach for arabic temporal expression extraction. In 2017 International Conference on Engineering & MIS (ICEMIS), pages 1–6. IEEE. find
- Mai Oudah and Khaled Shaalan. 2017. Nera 2.0: Improving coverage and performance of rule-based named entity recognition for arabic. Natural Language Engineering, 23(3):441–472. find
- Fabian Pedregosa, Gaël Varoquaux, Alexandre Gramfort, Vincent Michel, Bertrand Thirion, Olivier Grisel, Mathieu Blondel, Peter Prettenhofer, Ron Weiss, Vincent Dubourg, et al. 2011. Scikit-learn: Machine learning in python. the Journal of machine Learning research, 12:2825–2830. find
- Khaled Shaalan and Hafsa Raza. 2009. Nera: Named entity recognition for arabic. Journal of the American Society for Information Science and Technology, 60(8):1652–1663. find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/lichouri-2022-empirical-comparison-arabic-named-entity/