Princeton University Users: If you would like to view a senior thesis while you are away from campus, you will need to connect to the campus network remotely via the Global Protect virtual private network (VPN). If you are not part of the University requesting a copy of a thesis, please note, all requests are handled manually by staff and will require additional time to process.
 

Publication:

Measuring U.S. Partisan Bias in Large Language Models

dc.contributor.advisorArora, Sanjeev
dc.contributor.authorMauliola, Chai A.
dc.date.accessioned2025-08-06T15:25:04Z
dc.date.available2025-08-06T15:25:04Z
dc.date.issued2025-04-10
dc.description.abstractThis project measures U.S. political party bias in LLMs according to three prompt-based evaluation formats: Implicit Bias, Decision Bias, and Primed Bias, with the former two being adapted from recent LLM social bias research [1]. Bulk batches of test queries were programmatically executed across 4 models via their respective APIs: OpenAI gpt-4o, OpenAI gpt-4o-mini, xAI’s grok-2, and DeepSeek v3. Output results are processed and then given quantitative bias scores indicating partisan alignment. Results indicate that all four models seem to display bias, and that this bias is consistent across the four models. For instance, in the Implicit Bias test, models may tend to implicitly associate the Democratic Party with morality-related phrases, while associating the Republican party with corruption-related phrases. Decision Bias tests revealed that models consistently made decisions along stereotypical partisan lines, such as recommending a Democrat should watch CNN, or a Republican should watch Fox News. Finally, the Primed bias test explored whether or not user-provided political views influenced LLM bias scores; moderate to strong levels of correlation were found. These findings underscore the need for continued auditing and measurement of LLMs in political contexts.
dc.identifier.urihttps://theses-dissertations.princeton.edu/handle/88435/dsp01wh246w604
dc.language.isoen_US
dc.titleMeasuring U.S. Partisan Bias in Large Language Models
dc.typePrinceton University Senior Theses
dspace.entity.typePublication
dspace.workflow.startDateTime2025-05-05T05:19:54.163Z
pu.contributor.authorid920227971
pu.date.classyear2025
pu.departmentComputer Science

Files

Original bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
written_final_report.pdf
Size:
2.29 MB
Format:
Adobe Portable Document Format
Download

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
100 B
Format:
Item-specific license agreed to upon submission
Description:
Download