CUFE@VarDial 2025 NorSID: Multilingual BERT for Norwegian Dialect Identification and Intent Detection

Michael IbrahimWorkshops @ COLING 2025

Introduction

Norwegian presents a unique linguistic landscape characterized by significant dialectal variation across four primary regional groups. These variations in grammar, vocabulary, and phonetics pose a substantial challenge for Natural Language Processing (NLP) systems, particularly in "low-resource" scenarios where regional nuances are often overlooked by standard models. This paper investigates the effectiveness of various BERT-based architectures in addressing two core tasks within the NorSID (Norwegian Slot and Intent Detection) challenge: Dialect Identification and Intent Detection.

Methodology

The research evaluates three prominent pre-trained Transformer models to determine their robustness against Norwegian dialectal diversity:

  • NbAiLab/nb-bert-base: Developed by the National Library of Norway.
  • ltgoslo/norbert: A specialized Norwegian BERT variant.
  • bert-base-multilingual-cased (mBERT): A multilingual model trained on over 100 languages.

Each model was fine-tuned using transfer learning for 10 epochs with a learning rate of $2e-5$ and a batch size of 32. This approach leverages the broad linguistic foundations of pre-trained models, refining them for the specific nuances of the Norwegian dataset.

Dataset and the Zero-Shot Challenge

The study utilized the NoMusic Corpus, a multi-dialectal dataset covering North Norwegian, Trøndersk, West Norwegian, and Bokmål. The dataset comprises 3,300 sentences for development and 5,500 for testing.

A critical observation during the data analysis was the presence of a "zero-shot" challenge. As shown in the intent distribution table, certain classes such as "alarm/time left on alarm" were present in the testing set but entirely absent from the development and training sets. This data gap makes supervised learning for these specific intents nearly impossible without external augmentation.

Intent distribution across development and testing sets, highlighting the zero-shot challenge for certain classes.

Results and Comparative Analysis

The experimental results revealed a surprising trend: the multilingual BERT (mBERT) consistently outperformed the Norwegian-specific monolingual models in both tasks.

Dialect Identification

For dialect identification, mBERT achieved a 79.64 weighted-F1 score on the test set, surpassing the SVM-based baseline of 77.42. On the development set, mBERT reached an accuracy of 79.91%, significantly higher than norbert (73.33%) and nb-bert-base (74.61%).

Accuracy comparison of BERT-based models for Norwegian dialect identification on the development set.

Intent Detection

In the intent detection task, mBERT achieved a final accuracy of 94.38%, a substantial improvement over the baseline mBERT encoder-decoder model (84.15%). On the development set, it reached 95.88% accuracy, consistently beating the Norwegian-specific norbert (91.03%).

Key Insights

The superior performance of mBERT suggests that its exposure to a diverse array of languages during pre-training provides a more flexible internal representation. This robustness appears to generalize better to non-standard dialectal variations than models trained exclusively on standard Norwegian. Furthermore, the difficulty of the task is compounded by sociolinguistic factors; research indicates that even native speakers struggle with dialect identification, highlighting the complexity of the patterns the models must learn.

Conclusion and Future Work

While the fine-tuned mBERT model showed strong performance, the "missing intent" problem remains a significant hurdle for real-world deployment. Future work will focus on:

  • Data Augmentation: Incorporating additional Norwegian-translated datasets to provide coverage for unseen classes.
  • Linguistic Diversity: Enhancing the training phase with more varied dialectal inputs to improve the model's contextual understanding and generalization capabilities.

Summary updated

BibTeX
@inproceedings{ibrahim2025cufe,
  author = {Michael Ibrahim},
  title = {{CUFE@VarDial 2025 NorSID: Multilingual BERT for Norwegian Dialect Identification and Intent Detection}},
  booktitle = {Workshops @ COLING},
  year = {2025},
}
Figure