From Pretraining Data to Language Models to Downstream Tasks: Tracking the Trails of Political Biases Leading to Unfair NLP Models

Shangbin Feng, Chan Young Park, Yuhan Liu, Yulia Tsvetkov
5/15/2023
cs.CL

No official code found. Best implementation: BunsenFeng/PoliLean (41 stars, MIT, last commit 2024-03-07).

Abstract

Language models (LMs) are pretrained on diverse data sources, including news, discussion forums, books, and online encyclopedias. A significant portion of this data includes opinions and perspectives which, on one hand, celebrate democracy and diversity of ideas, and on the other hand are inherently socially biased. Our work develops new methods to (1) measure political biases in LMs trained on such corpora, along social and economic axes, and (2) measure the fairness of downstream NLP models trained on top of politically biased LMs. We focus on hate speech and misinformation detection, aiming to empirically quantify the effects of political (social, economic) biases in pretraining data on the fairness of high-stakes social-oriented tasks. Our findings reveal that pretrained LMs do have political leanings that reinforce the polarization present in pretraining corpora, propagating social biases into hate speech predictions and misinformation detectors. We discuss the implications of our findings for NLP research and propose future directions to mitigate unfairness.

View on arXivView PDF

Code Implementations(1)

BunsenFeng/PoliLeanCommunity100%
MIT

Code for "From Pretraining Data to Language Models to Downstream Tasks: Tracking the Trails of Political Biases Leading to Unfair NLP Models". ACL 2023. Best Paper Award.

416PythonApr 23, 20232 years agoMIT

Cite this paper

@article{feng2023from,
  title  = {From Pretraining Data to Language Models to Downstream Tasks: Tracking the Trails of Political Biases Leading to Unfair NLP Models},
  author = {Shangbin Feng and Chan Young Park and Yuhan Liu and Yulia Tsvetkov},
  year   = {2023},
  eprint = {2305.08283},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.08283v3}
}

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/2305.08283.svg)](https://codeofpaper.com/paper/2305.08283)

Discussion