Can Demographic Factors Improve Text Classification? Revisiting Demographic Adaptation in the Age of Transformers

Chia-Chien Hung, Anne Lauscher, Dirk Hovy, Simone Paolo Ponzetto, Goran Glavaš
10/13/2022
cs.CL
transformer-attention

No confident code implementation found for this paper.

Abstract

Demographic factors (e.g., gender or age) shape our language. Previous work showed that incorporating demographic factors can consistently improve performance for various NLP tasks with traditional NLP models.

Show full abstract

In this work, we investigate whether these previous findings still hold with state-of-the-art pretrained Transformer-based language models (PLMs). We use three common specialization methods proven effective for incorporating external knowledge into pretrained Transformers (e.g., domain-specific or geographic knowledge). We adapt the language representations for the demographic dimensions of gender and age, using continuous language modeling and dynamic multi-task learning for adaptation, where we couple language modeling objectives with the prediction of demographic classes. Our results, when employing a multilingual PLM, show substantial gains in task performance across four languages (English, German, French, and Danish), which is consistent with the results of previous work. However, controlling for confounding factors - primarily domain and language proficiency of Transformer-based PLMs - shows that downstream performance gains from our demographic adaptation do not actually stem from demographic knowledge. Our results indicate that demographic specialization of PLMs, while holding promise for positive societal impact, still represents an unsolved problem for (modern) NLP.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hung2022demographic,
  title  = {Can Demographic Factors Improve Text Classification? Revisiting Demographic Adaptation in the Age of Transformers},
  author = {Chia-Chien Hung and Anne Lauscher and Dirk Hovy and Simone Paolo Ponzetto and Goran Glavaš},
  year   = {2022},
  eprint = {2210.07362},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.07362}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.07362.svg)](https://codeofpaper.com/paper/2210.07362)

Discussion