NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Norwegian Native Language Identification

Shervin Malmasi, Mark Dras, Irina P. Temnikova

Introduction

Native Language Identification (NLI) is a subfield of Natural Language Processing (NLP) that aims to determine a writer's first language (L1) based on their writing in a second language (L2). This task relies on the principle of cross-linguistic influence, where native language patterns—often referred to as "fingerprints"—persist in the grammar and stylistic choices of a learned language. While NLI has matured significantly, research has historically centered on English. This study expands the scope to Norwegian, a language with distinct morphological complexities such as three genders and suffix-based definite articles.

Methodology

The researchers approached NLI as a supervised multi-class classification problem. They employed a Linear Support Vector Machine (SVM) using the LIBLINEAR package, a robust choice for high-dimensional text classification. The feature engineering focused on capturing stylistic and syntactic patterns rather than topical content:

  • Function Words: 176 topic-independent words (e.g., ikke, jeg) that reflect writing style.
  • POS n-grams: Sequences of part-of-speech tags (unigrams to trigrams).
  • Mixed POS-Function Word n-grams: A hybrid representation where function words are preserved while content words are replaced by their POS tags.
  • Function Word Bigrams: Skip-grams that isolate the sentence "skeleton" by ignoring content words.

Dataset: The ASK Corpus

The study utilized the ASK Corpus (Andresprakskorpus), which consists of examination essays from learners of Norwegian across 10 L1 backgrounds: Albanian, Dutch, English, German, Polish, Russian, Serbian, Somali, Spanish, and Vietnamese. The dataset includes 2,158 documents with an average length of 311 tokens. A unique advantage of the ASK corpus is its manually post-edited part-of-speech tags, providing a "gold standard" for analysis that avoids the noise typical of automated taggers used in previous NLI research.

Results and Discussion

The system achieved a peak accuracy of 78.6% for L1 identification, significantly exceeding the 13% majority baseline. As shown in the results table, the combination of all features yielded the best performance, though mixed POS/Function Word trigrams were the strongest individual feature.

Accuracy of different feature sets in Norwegian NLI.

Analysis of the model's performance revealed insights into linguistic proximity. The confusion matrix indicates that the model frequently confused typologically related languages, such as Dutch with German and Serbian with Polish. This confirms that L1 transfer effects are more similar within the same language families (Germanic and Slavic).

Confusion matrix showing classification performance and inter-language confusion.

Furthermore, the model demonstrated an exceptional ability to distinguish between native and non-native writing, achieving 98.8% accuracy. This suggests that even high-proficiency learners exhibit syntactic patterns that diverge fundamentally from native production norms.

Conclusion

This research demonstrates that standard NLI techniques are highly effective for Norwegian, despite its morphological differences from English. The use of manually corrected POS tags provided a unique baseline, suggesting that "clean" syntactic data may alter the relative effectiveness of different n-gram lengths. Future work will explore the impact of automated versus manual tagging and the use of more complex syntactic features, such as constituency trees, to further refine identification accuracy.

Summary updated

BibTeX
@inproceedings{malmasi2015norwegian,
  author = {Shervin Malmasi and Mark Dras and Irina P. Temnikova},
  title = {{Norwegian Native Language Identification}},
  booktitle = {Ranlp},
  year = {2015},
}
Figure