Abstract
Native Language Identification (NLI) is the task of determining a writer's first language (L1) based on their writing in a second language (L2). While well-studied in English, NLI for morphologically rich languages like Arabic remains under-explored. This study presents the first application of NLI to Arabic, utilizing syntactic features from the Arabic Learner Corpus to achieve 41% accuracy across seven L1 groups, significantly outperforming the random baseline and demonstrating that language transfer effects are detectable even in complex linguistic environments.
Introduction
Native Language Identification (NLI) explores the subtle ways a writer's native grammar "bleeds" into their second language. While this field has matured significantly for English, Arabic presents a unique set of challenges. Its complex orthography (right-to-left script, connective letters, lack of diacritics) and rich morphology—where single words carry multiple grammatical markers—raise the question of whether standard syntactic fingerprints remain effective. This research investigates if the structural habits of an L1 can be detected within the structurally distinct environment of Arabic L2 prose.
Methodology
The researchers employed a supervised multi-class classification approach using a Linear Support Vector Machine (SVM). To ensure the model identified linguistic habits rather than just topical preferences (topic bias), lexical features like word $n$-grams were excluded. Instead, the study focused on three syntactic feature types:
- Context-Free Grammar (CFG) Production Rules: Extracted from parse trees to capture global syntactic structures.
- Arabic Function Words: The distribution of 150 grammatical "glue" words, such as determiners and auxiliaries.
- Part-of-Speech (POS) $n$-grams: Sequences of word categories (e.g., Noun-Verb-Adjective) that capture local syntactic habits.
Preprocessing was conducted using the Stanford Word Segmenter and the Stanford Arabic Parser to navigate the language's complex word structures.
Dataset
The study utilized the Arabic Learner Corpus (ALC) version 2, consisting of timed essays written by students in Saudi Arabia. Due to sample size requirements for robust machine learning, the researchers filtered the original 66 L1s down to the top seven native languages by document count.
The final dataset comprised 329 texts across Chinese, Urdu, Malay, French, Fulani, English, and Yoruba speakers.
Results and Analysis
The system's performance was evaluated using 10-fold cross-validation. The results indicate that syntactic features are highly discriminative for Arabic NLI.
Key Insights
- Syntactic Universality: The success of these features suggests that "language transfer"—the subconscious application of L1 rules to an L2—is a universal phenomenon detectable by machines, even in morphologically complex languages.
- The Power of POS Bigrams: Part-of-Speech bigrams were the strongest single feature type (37.6% accuracy), suggesting that the most telling "accents" in L2 writing are found in the transitions between specific word categories.
- Feature Complementarity: The combined model achieved the highest accuracy (41%), nearly double the majority baseline of 23.1%. This indicates that global grammar rules and local word patterns provide non-redundant, complementary information about a writer's background.
Conclusion and Future Work
While the 41% accuracy is a significant improvement over the baseline, the researchers acknowledge that the small dataset size (329 texts) is a primary limitation compared to English NLI benchmarks. Future work will focus on scaling these methods to larger datasets like the Qatar Arabic Language Bank and engineering more sophisticated features tailored to Arabic's unique morphology. These findings hold potential for automated educational tools that identify L1-specific errors and for forensic linguistics applications in profiling anonymous texts.
Summary updated