TL;DR
Large Language Models (LLMs) aren't always the optimal tool for low-resource language variants. This paper demonstrates that a simple, lightweight Random Forest model trained on string similarity features can outperform a massive 123-billion-parameter LLM at inducing German dialect dictionaries. When applied to downstream dialect information retrieval, these automatically generated dictionaries boost search performance by up to 50.7%.
What Problem Does This Paper Address?
Most modern NLP tools and LLMs excel at high-resource, standardized languages like English or standard German. However, their performance plummets when encountering regional dialects (e.g., Bavarian or Alemannic). Dialects typically lack standardized orthography, resulting in high spelling variation, and they suffer from a severe lack of digital training data. Furthermore, standard LLM tokenizers often fail to process dialect words correctly at the input level.
To bridge this "lexical dialect gap," researchers need bilingual dictionaries. However, manually curating them is slow and expensive. The authors address this by exploring how to automatically induce high-quality, high-coverage dialect dictionaries using data-driven, resource-lean methods.
Methods
The authors frame Bilingual Lexicon Induction (BLI) as a word-pair classification task: given a standard German word and a dialect candidate, predict whether they are translation equivalents.
Because comparing every possible word pair is computationally prohibitive, they use a three-step pipeline:
- Candidate Pre-filtering: They use the DiaLemma framework to find the top 10 nearest lexical neighbors for each German word using basic Levenshtein distance.
- Feature Extraction: They extract a rich set of surface-level string similarity features from the pairs. These include:
- Set-based measures: Dice-Sørensen coefficients computed over character bigrams, trigrams, and position-weighted n-grams.
- Sequence-based measures: Longest Common Subsequence Ratio (LCSR) and Normalized Edit Distance (NED) applied to characters and n-grams.
- Phonetic similarity: Strings are converted to phonetic codes using the Cologne Phonetics algorithm, and the edit distance between these codes is calculated to catch words that sound similar despite different spellings.
- Classification: A standard Random Forest model (100 decision trees) classifies whether the pair is a valid translation.
Datasets
The models were trained and evaluated using two main dialect resources:
- DiaLemma: A human-annotated dictionary containing 100k Bavarian-Standard German word pairs.
- WikiDIR: A dataset containing entity mappings derived from Wikipedia inter-language links across five distinct German dialects:
- Alemannic (
als) - Bavarian (
bar) - Ripuarian (
ksh) - Rhine Franconian (
pfl) - Low German (
nds)
Key Insights and Ideas
- Simplicity Beats Scale: Massive LLMs struggle with dialects because subword tokenizers break non-standard spellings into meaningless fragments. Classical statistical models looking directly at character-level and phonetic features bypass this limitation entirely.
- High Data Efficiency: You don't need millions of examples. The authors found that training the Random Forest on just 40% of the available training data (approx. 32k pairs) was already enough to beat the LLM baseline.
- Cross-Dialect Synergy: When testing how well models transfer between different dialects, the authors discovered that combining the training data from all five dialects yielded the best overall performance. This indicates that different regional dialects share underlying structural and phonetic mutation patterns that the model can generalize.
Key Results
- Intrinsic Evaluation (BLI): On the Bavarian dataset, the Random Forest achieved an $F_1$ score of 0.585, outperforming the state-of-the-art Mistral-123b LLM (0.555) while requiring a fraction of the computational power.
- Extrinsic Evaluation (Information Retrieval): The authors used the induced dictionaries to perform Query Expansion (QE) on a BM25 search engine (appending dialect spelling variations to standard German queries).
- Across all dialects, Query Expansion consistently improved retrieval, yielding an average relative boost of +14.71% in nDCG@10 and +25.1% in Recall@100.
- The impact was highest for Rhine Franconian (
pfl), where retrieval performance saw a massive relative jump of 28.9% in nDCG@10 and 50.7% in Recall@100.
Limitations and Future Work
The primary limitation is that the model relies exclusively on surface-level/orthographic features. It does not incorporate contextual or semantic information. While this makes the model incredibly lightweight and efficient, it means the system cannot handle false friends or ambiguous words (homonyms that look identical but mean different things across dialects).
In future work, the authors plan to explore architectures that jointly model both orthographic variations and semantic features to handle these edge cases.
Summary updated