Skip to content

Domain-specific Pretraining Profile and Transformer Performance: Evidence from Modeling Digital Pragmatics in Arabic-English Code-switching

Sep 2026 · 0 citations · 43 references
Computer Science

TL;DR

It is concluded that Transformer performance depends more on DSPP than multilingual coverage alone, as the latter does not guarantee optimal performance on a highly specialized pragmatic classification task.

Abstract

This study highlights the role of domain-specific pretraining profile (DSPP) in Transformer performance for modeling digital pragmatics in Arabic-English code-switched discourse. It evaluates MARBERT and XLM-R(oBERTa), with BERT serving as a general-purpose baseline. The models were evaluated on their ability to classify context-sensitive pragmatic functions in code-switched social-media discourse. 11695 unique X posts were collected via Python and utilized for the study. The study employs a quantitative and qualitative NLP approach, following a supervised pipeline. Findings unveil that MARBERT consistently surpasses XLM-R with validation Macro F1 increasing from 0.39 to 0.84 and validation loss decreasing from 0.55 to 0.19. On an independent test set, it achieved 0.96 accuracy, 0.83 macro precision, 0.87 macro recall, and 0.85 Macro F1, while XLM-R achieved 0.92 test accuracy but a substantially lower Macro F1 of 0.52. This was also supported by class-level performance where MARBERT outperforms XLM-R considerably with F1 improvements ranging from +0.33 to +0.60, demonstrating a clear advantage in modeling Arabic digital pragmatics. The study concludes that Transformer performance depends more on DSPP than multilingual coverage alone, as the latter does not guarantee optimal performance on a highly specialized pragmatic classification task.

View source

Similar papers

Sep 2026

Large Language Models for L2 Italian Writing Assessment: Effects of Prompt, Fine-Tuning, and Data Balance

The findings highlight the need for balanced, language-specific corpora and task-aligned fine-tuning in L2 Italian automated writing assessment, and identify the balanced fine-tuned GPT-4.1 model as the most likely to achieve near-operational reliability.

Wen-Qian Huang, Peng-Zhan Yang, Guang-Yuan Yao · 0 citations
Open access Oct 2026

Domain-adaptive Bengali text summarization: Harnessing transformer-based large language models in closed-set contexts

This work aims to develop a domain-adapted Bengali text summarization model by training and fine-tuning on general and domain-specific datasets with categories such as state, international, and sports. Flan-T5 and mT5 LLMs were trained on the XLSUM Bengali dataset for text summarization, and they were trained on source...

A. Roy, Fahrin Hossain Sunaira, Tateyama Orpa et al. · 0 citations
Open access Sep 2026

Design and Implementation of a Scalable AI-Based Semantic Evaluation System for Hindi Text Using Transformer Models

This study proposes an automated evaluation framework with intelligent rule-based linguistic preprocessing and transformer-based deep learning that will enable scalable, consistent and repeatable assessment in Hindi.

Nirja D. Shah, Jyoti Pareek · 0 citations
Open access 2026

Integrating Transformer-based and Embedding Models into Rasa NLU for Vietnamese University Support System

A Vietnamese university support chatbot developed using the Rasa Natural Language Understanding framework, integrating Transformer-based and embedding models, including PhoBERT, FastText, Multilingual BERT, and additional baseline methods such as Support Vector Machine and Naive Bayes is presented.

Le Ba Cuong, Le Anh Tien, Huong Van Pham · 0 citations
#machine learning Review Aug 2026

From Sentiment Classification to Actionable and Responsible Feedback: A Scoping Review and Evidence Map of NLP in Student Evaluation of Teaching, 2015-2026

The findings are descriptive and do not support causal claims of progress: technological coexistence and uneven reporting are part of the map, but the A2+ to A3+ cliff is the contribution, not a quality ladder.

Jeffrey D. Eicher, Rafael da Silva · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.