English

LMSOC: An Approach for Socially Sensitive Pretraining

Computation and Language 2021-10-22 v1 Computers and Society Information Retrieval Machine Learning

Abstract

While large-scale pretrained language models have been shown to learn effective linguistic representations for many NLP tasks, there remain many real-world contextual aspects of language that current approaches do not capture. For instance, consider a cloze-test "I enjoyed the ____ game this weekend": the correct answer depends heavily on where the speaker is from, when the utterance occurred, and the speaker's broader social milieu and preferences. Although language depends heavily on the geographical, temporal, and other social contexts of the speaker, these elements have not been incorporated into modern transformer-based language models. We propose a simple but effective approach to incorporate speaker social context into the learned representations of large-scale language models. Our method first learns dense representations of social contexts using graph representation learning algorithms and then primes language model pretraining with these social context representations. We evaluate our approach on geographically-sensitive language-modeling tasks and show a substantial improvement (more than 100% relative lift on MRR) compared to baselines.

Keywords

Cite

@article{arxiv.2110.10319,
  title  = {LMSOC: An Approach for Socially Sensitive Pretraining},
  author = {Vivek Kulkarni and Shubhanshu Mishra and Aria Haghighi},
  journal= {arXiv preprint arXiv:2110.10319},
  year   = {2021}
}

Comments

Camera ready version. Accepted to EMNLP 2021 Findings. Code for reproducing the experiments can be found at: https://github.com/twitter-research/lmsoc

R2 v1 2026-06-24T07:01:58.286Z