Variation is the Norm: Embracing Sociolinguistics in NLP
Organizations: University of Luxembourg, Esch-sur-Alzette, Luxembourg · MaiNLP, LMU Munich, Germany · Munich Center for Machine Learning (MCML), Munich, Germany
Abstract
In Natural Language Processing (NLP), variation is typically seen as noise and "normalised away" before processing, even though it is an integral part of language. Conversely, studying language variation in social contexts is central to sociolinguistics. We present a framework to combine the sociolinguistic dimension of language with the technical dimension of NLP. We argue that by embracing sociolinguistics, variation can actively be included in a research setup, in turn informing the NLP side. To illustrate this, we provide a case study on Luxembourgish, an evolving language featuring a large amount of orthographic variation, demonstrating how NLP performance is impacted. The results show large discrepancies in the performance of models tested and fine-tuned on data with a large amount of orthographic variation in comparison to data closer to the (orthographic) standard. Furthermore, we provide a possible solution to improve the performance by including variation in the fine-tuning process. This case study highlights the importance of including variation in the research setup, as models are currently not robust to occurring variation. Our framework facilitates the inclusion of variation in the thought-process while also being grounded in the theoretical framework of sociolinguistics.
Figures & tables
| Variant | Task | WER | CER |
|---|---|---|---|
| Destandardised | IC | 78.09 | 14.12 |
| NER | 63.78 | 12.94 | |
| POS | 65.61 | 13.00 | |
| WNLI | 83.23 | 16.02 | |
| TC | 64.57 | 9.89 | |
| Normalised | CM | 28.81 | 4.97 |
| Task | Train | Dev | Test |
|---|---|---|---|
| IC | 698 | 149 | 159 |
| NER | 4298 | 459 | 770 |
| POS | 4278 | 460 | 388 |
| WNLI | 568 | 63 | 136 |
| CM | 6000 | 1000 | 2000 |
| SC | 1299 | 185 | 364 |
| Task | batch size | LR | epochs |
|---|---|---|---|
| IC, WNLI, CM, SC | 16 | 5 -5 | 5 |
| NER, POS | 16 | 5 -5 | 3 |
| TC | 16 | 2 -5 | 5 |
Language Model Robustness
Language model robustness studies how reliably language models preserve correct, safe behavior under input changes, distribution shifts, and adversarial pressure.
See all 493 papers