Detecting Natural Language Biases with Prompt-based Learning
Md Abdul Aowal, Maliha T Islam, Priyanka Mary Mammen, Sandesh Shetty

TL;DR
This paper investigates prompt engineering techniques to detect and analyze biases related to gender, race, sexual orientation, and religion in language models like BERT, RoBERTa, and T5, using human and model-based assessments.
Contribution
It introduces a prompt-based approach to identify subtle biases in language models and compares multiple models' bias detection capabilities using both human and automated evaluations.
Findings
Prompt design can effectively reveal biases in language models.
Different models exhibit varying levels of bias detection accuracy.
Models can sometimes self-diagnose their own biases through prompts.
Abstract
In this project, we want to explore the newly emerging field of prompt engineering and apply it to the downstream task of detecting LM biases. More concretely, we explore how to design prompts that can indicate 4 different types of biases: (1) gender, (2) race, (3) sexual orientation, and (4) religion-based. Within our project, we experiment with different manually crafted prompts that can draw out the subtle biases that may be present in the language model. We apply these prompts to multiple variations of popular and well-recognized models: BERT, RoBERTa, and T5 to evaluate their biases. We provide a comparative analysis of these models and assess them using a two-fold method: use human judgment to decide whether model predictions are biased and utilize model-level judgment (through further prompts) to understand if a model can self-diagnose the biases of its own prediction.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsHate Speech and Cyberbullying Detection
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Multi-Head Attention · Attention Is All You Need · Byte Pair Encoding · Linear Layer · Residual Connection · Adam · Weight Decay · Adafactor · SentencePiece
