Back to search

York University

PARSE: A Framework for Evaluating Linguistic and Typographical Perturbation Bias in Large Language Models

Abstract

dc:description.abstract

Large language models (LLMs) are increasingly becoming ubiquitous in day-to-day tasks. Yet, despite the growing dependence on LLM-based systems, their sensitivity to surface-level linguistic variation has received little attention. We introduce PARSE (Prompt Alteration Response-Shift Evaluation), a modular framework that generates grammatical, typographical, and dialectal prompt variants, queries LLMs under identical conditions, and measures distributional output shifts. We apply PARSE to two case studies, film recommendation and privacy bias evaluation, across three models (GPT-4o-mini, Llama~3.2, DeepSeek-7B). Results show that output shifts scale with perturbation intensity: grammatical rewrites produce minimal effects, while typographical noise and dialect rewrites significantly alter recommendations and appropriateness ratings. Perturbations push film recommendations toward higher-rated, generic titles, and shift privacy ratings toward more restrictive values. These effects are directionally consistent across models, demonstrating that the linguistic form of a prompt systematically biases LLM outputs.

Degree

thesis:*
Name thesis:degree_name
MSc - Master of Science
Level thesis:degree_level
Master's
Discipline thesis:degree_discipline
Computer Science
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Lacalamita, John Pietro
Advisor dc:contributor.advisor
  • Shvartzshnaider, Yan

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • Author owns copyright, except where explicitly noted. Please contact the author directly with licensing requests.
Language dc:language
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10315/43882

Chain of custody

source
Harvested from
York University
Base URL
yorkspace.library.yorku.ca/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Lacalamita, John Pietro. PARSE: A Framework for Evaluating Linguistic and Typographical Perturbation Bias in Large Language Models. Master's thesis, 2026. https://hdl.handle.net/10315/43882