[Paper Review] Reducing Non-Normative Text Generation from Language Models
This paper proposes a policy-gradient reinforcement learning approach to fine-tune GPT-2 using a normative text classifier as a reward signal, reducing non-normative text generation by 27–61% across five datasets. The method leverages a pre-trained classifier to guide the model toward socially appropriate outputs without requiring large-scale retraining on normative corpora.
Large-scale, transformer-based language models such as GPT-2 are pretrained on diverse corpora scraped from the internet. Consequently, they are prone to generating non-normative text (i.e. in violation of social norms). We introduce a technique for fine-tuning GPT-2, using a policy gradient reinforcement learning technique and a normative text classifier to produce reward and punishment values. We evaluate our technique on five data sets using automated and human participant experiments. The normative text classifier is 81-90% accurate when compared to gold-standard human judgments of normative and non-normative generated text. Our normative fine-tuning technique is able to reduce non-normative text by 27-61%, depending on the data set.
Motivation & Objective
- To reduce the generation of non-normative text by large language models like GPT-2, which often reflect harmful or deviant behaviors from internet-scraped training data.
- To explore whether a value-aligned prior—specifically a normative text classifier—can serve as an effective, non-differentiable reward function in reinforcement learning for fine-tuning.
- To evaluate the effectiveness of this method across diverse datasets using both automated metrics and human evaluation.
- To demonstrate generalization by applying the same technique to other classification tasks, such as sentiment and toxicity detection.
- To provide a scalable, data-efficient alternative to large-scale fine-tuning or dataset debiasing for controlling harmful language generation.
Proposed method
- Fine-tune GPT-2 using policy-gradient reinforcement learning, where the reward signal is derived from a pre-trained normative text classifier.
- The normative classifier, trained on Goofus & Gallant comic strips, labels generated text as normative or non-normative, providing a reward signal for reinforcement learning.
- The reward function is non-differentiable, so policy gradients are used to back-propagate updates based on the model’s output quality.
- The method is applied to multiple datasets, including ROCStories, Plotto, and sci-fi narratives, to assess generalization and effectiveness.
- The approach is ablated by replacing the normative classifier with models for negative sentiment and toxic language, showing transferability across criteria.
- Human evaluation and automated metrics are used to validate reductions in non-normative content across all test sets.
Experimental results
Research questions
- RQ1Can a pre-trained normative text classifier effectively serve as a reward function to reduce non-normative text generation in GPT-2?
- RQ2To what extent can this reinforcement learning fine-tuning approach reduce non-normative outputs across diverse text generation tasks?
- RQ3Does the method generalize when using classifiers trained for other criteria, such as sentiment or toxicity?
- RQ4How does the performance of the method vary across datasets with differing baseline levels of non-normativity?
- RQ5Can this technique be used as a scalable alternative to large-scale data retraining or debiasing for safer language model outputs?
Key findings
- The proposed fine-tuning method reduced non-normative text generation by 27–61% across five evaluation datasets, with higher reductions observed in more non-normative datasets.
- The normative text classifier used in the study achieved 81–90% accuracy when compared to gold-standard human judgments of normative and non-normative text.
- The method successfully generalized to other classification tasks, showing effectiveness when using classifiers for negative sentiment and toxic language.
- Human evaluations confirmed that the fine-tuned models generated significantly fewer non-normative descriptions, supporting the automated results.
- The technique is effective even with limited labeled data, as the normative classifier was trained on a small, few-shot dataset from Goofus & Gallant comics.
- The approach enables self-censoring behavior in language models by aligning generation to a value-aligned prior without requiring extensive retraining.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.