Reducing Non-Normative Text Generation from Language Models

Xiangyu Peng, Siyan Li, Spencer Frazier, Mark Riedl

2020 · 19 citations · 29 references

DOIFull text

Open access

Concepts

Abstract

Large-scale, transformer-based language models such as GPT-2 are pretrained\non diverse corpora scraped from the internet. Consequently, they are prone to\ngenerating non-normative text (i.e. in violation of social norms). We introduce\na technique for fine-tuning GPT-2, using a policy gradient reinforcement\nlearning technique and a normative text classifier to produce reward and\npunishment values. We evaluate our technique on five data sets using automated\nand human participant experiments. The normative text classifier is 81-90%\naccurate when compared to gold-standard human judgments of normative and\nnon-normative generated text. Our normative fine-tuning technique is able to\nreduce non-normative text by 27-61%, depending on the data set.\n

References

29