Injecting Bias through Prompts: Analyzing the Influence of Language on LLMs

Large Language Models (LLMs) have become integral to numerous applications, from natural language processing to automated decision-making. However, these models can exhibit biases that reflect and reinforce societal inequalities. This study investigates how prompts can be strategically designed to inject bias into LLMs, focusing on gender and racial biases. By employing few-shot prompting and varying the verbs and adjectives used in prompts, we explore the extent to which the language of the prompt influences the model's output. Our experiments demonstrate that LLMs can be steered towards generating biased responses by manipulating the prompts they receive. Specifically, we show that prompts containing gender stereotypes or racially charged contexts lead to correspondingly biased model outputs. This research highlights the ethical implications of prompt design in LLMs and underscores the need for robust mechanisms to detect and mitigate bias. Our findings contribute to a deeper understanding of the vulnerabilities of LLMs to prompt-induced biases, providing a foundation for developing fairer and more equitable AI systems.

Authors

Institutions

Publication Details

Published
2024-10-28
DOI
https://doi.org/10.1109/sccc63879.2024.10767653
Citations
2
Primary Topic
Text Readability and Simplification
Type
article
Field-Weighted Citation Impact
0.69
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Injecting Bias through Prompts: Analyzing the Influence of Language on LLMs

Ignacio Araya, Nicolás Torres, Sebastián Jara, Catalina Ulloa et al.
2 citations
Text Readability and Simplification
0.69
article

Injecting Bias through Prompts: Analyzing the Influence of Language on LLMs

Ignacio Araya, Nicolás Torres, Sebastián Jara, Catalina Ulloa, Matías Ayala
article en
2 citations

Abstract

Large Language Models (LLMs) have become integral to numerous applications, from natural language processing to automated decision-making. However, these models can exhibit biases that reflect and reinforce societal inequalities. This study investigates how prompts can be strategically designed to inject bias into LLMs, focusing on gender and racial biases. By employing few-shot prompting and varying the verbs and adjectives used in prompts, we explore the extent to which the language of the prompt influences the model's output. Our experiments demonstrate that LLMs can be steered towards generating biased responses by manipulating the prompts they receive. Specifically, we show that prompts containing gender stereotypes or racially charged contexts lead to correspondingly biased model outputs. This research highlights the ethical implications of prompt design in LLMs and underscores the need for robust mechanisms to detect and mitigate bias. Our findings contribute to a deeper understanding of the vulnerabilities of LLMs to prompt-induced biases, providing a foundation for developing fairer and more equitable AI systems.

Federico Santa María Technical University (CL)
Openalex Percentile: Top 23%
Text Readability and Simplification
0.69
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.