Dialectology has traditionally relied on manual fieldwork to map regional linguistic variations. This paper, presented at EMNLP 2018, introduces a modern, data-driven approach using social media data to capture these variations at a finer granularity and in a more automated fashion than previously possible.
The Challenge of Modern Dialectology
Mapping regional dialects is a complex task because linguistic boundaries are rarely sharp; instead, they exist as a continuum. Traditional methods involve selecting specific variables—such as lexical choices or phonetic pronunciations—and mapping their distribution. However, this process is labor-intensive and often relies on outdated datasets. For instance, the comprehensive Wenker-Atlas for German is nearly 150 years old.
Computational methods offer a way to automate this, but they face "Galton’s problem": large urban centers often share similar "standardized" language due to migration and education, which can mask underlying regional dialectal patterns. The challenge is to create a system that learns these variations automatically while respecting geographic reality.
Methodology: Distributed Representations and Retrofitting
The researchers combined natural language processing with spatial constraints through a three-step pipeline:
- Distributed Representations (Doc2Vec): Using 16.8 million anonymous posts from the Jodel app, the researchers treated each city as a "document." They employed the Distributed Bag-of-Words (DBOW) version of Doc2Vec to learn 300-dimensional embeddings for each location. In this vector space, cities with similar linguistic patterns are positioned closer together.
- Geographic Retrofitting: To address the "melting pot" effect of large cities, the authors applied geographic retrofitting. This technique "nudges" linguistic embeddings based on physical proximity. Specifically, if two cities share the same NUTS2 administrative region, their vectors are pulled closer together. This ensures that the model balances purely linguistic data with geographic context.
- Hierarchical Clustering: Finally, the cities were grouped using hierarchical agglomerative clustering. A connectivity matrix was used to weight physical proximity during the merging process, preventing geographically distant but linguistically similar cities from being clustered together prematurely.
Visualizing the Linguistic Continuum
One of the most compelling aspects of this work is the visualization of the learned embeddings. By applying Non-negative Matrix Factorization (NMF) to reduce the 300-dimensional vectors to three dimensions and mapping these to RGB color values, the authors created a "linguistic heat map."
This visualization confirms a smooth transition of dialects across Germany, Austria, and Switzerland, mirroring known linguistic gradients. It demonstrates that the model can discover regional variations—such as the Austrian "oida" versus Northern German "ahnung"—without any prior knowledge of dialect markers.
Key Results and Evaluation
The model's performance was evaluated against the "gold standard" Lameli (2013) map, which defines 14 major dialect areas in Germany.
- Dialect Matching: The retrofitted clusters achieved a V-score of 0.77. This high score indicates that the clusters are both homogeneous (containing mostly cities from one dialect region) and complete (capturing most cities within that region).
- Geolocation Performance: In a downstream task of predicting a city based on a post, the Doc2Vec embeddings (D2V) outperformed standard Bag-of-Words (BOW) models, achieving a median distance error of 145.16 km compared to 156.17 km for BOW.
- Qualitative Insights: The model successfully identified prototypical words for different regions. For example, Switzerland was strongly associated with "esch" and "vell," while Southern Germany and Austria were linked to "voi" and "gscheid."
Discussion and Limitations
While the results are promising, the authors acknowledge certain limitations. The Jodel user base is predominantly young and college-aged, meaning the captured "dialects" represent modern, youthful speech rather than traditional folk-dialects. Additionally, comparing modern social media data to 19th-century gold standards introduces a temporal mismatch; some "errors" in the model may actually reflect genuine language change over the last century.
Future work could involve applying this methodology to larger, more diverse datasets like Twitter to explore linguistic variation across multiple countries and languages.
Summary updated