Embedding Extraction for Arabic Text Using the AraBERT Model
Authors:
- Amira Hamed Abo-ElghitAAAmira Hamed Abo-Elghit
- Taher HamzaTHTaher Hamza
- Aya Al-ZoghbyAAAya Al-Zoghby
Open Access
- 1 January 2022
- journal article
- research article
- Published by Tech Science Press in Computers, Materials & Continua
- Vol. 72 (1) , 1967-1994
Abstract
Nowadays, we can use the multi-task learning approach to train a machine-learning algorithm to learn multiple related tasks instead of training it to solve a single task. In this work, we propose an algorithm for estimating textual similarity scores and then use these scores in multiple tasks such as text ranking, essay grading, and question answering systems. We used several vectorization schemes to represent the Arabic texts in the SemEval2017-task3-subtask-D dataset. The used schemes include lexical-based similarity features, frequency-based features, and pre-trained model-based features. Also, we used contextual-based embedding models such as Arabic Bidirectional Encoder Representations from Transformers (AraBERT). We used the AraBERT model in two different variants. First, as a feature extractor in addition to the text vectorization schemes’ features. We fed those features to various regression models to make a prediction value that represents the relevancy score between Arabic text units. Second, AraBERT is adopted as a pre-trained model, and its parameters are fine-tuned to estimate the relevancy scores between Arabic textual sentences. To evaluate the research results, we conducted several experiments to compare the use of the AraBERT model in its two variants. In terms of Mean Absolute Percentage Error (MAPE), the results show minor variance between AraBERT v0.2 as a feature extractor (21.7723) and the fine-tuned AraBERT v2 (21.8211). On the other hand, AraBERT v0.2-Large as a feature extractor outperforms the fine-tuned AraBERT v2 model on the used data set in terms of the coefficient of determination () values (0.014050,−0.032861), respectively.Keywords
This publication has 8 references indexed in Scilit:
- A probabilistic framework for integrating sentence-level semantics via BERT into pseudo-relevance feedbackInformation Processing & Management, 2022
- A semantic approach to post-retrieval query performance predictionInformation Processing & Management, 2022
- Graph-Based Text Representation and Matching: A Review of the State of the Art and Future ChallengesIEEE Access, 2020
- AraVec: A set of Arabic Word Embedding Models for use in Arabic NLPProcedia Computer Science, 2017
- Composable Multi-Threading for Python Libraries2016
- A novel root based Arabic stemmerJournal of King Saud University Computer and Information Sciences, 2015
- A Survey of Text Similarity ApproachesInternational Journal of Computer Applications, 2013
- The longest common subsequence problem revisitedAlgorithmica, 1987