Unmasking Style Sensitivity: A Causal Analysis of Bias Evaluation Instability in Large Language Models

Jiaxu Zhao, Meng Fang, Kun Zhang, Mykola PechenizkiyACL 2025

Introduction

As Large Language Models (LLMs) are increasingly integrated into sensitive real-world applications, measuring their social biases—such as racism, sexism, and religious intolerance—has become a standard safety procedure. Researchers typically rely on benchmarks like CrowS-Pairs or WinoBias to quantify these biases by comparing model responses to stereotypical versus anti-stereotypical prompts. However, these metrics are notoriously unstable. A model might appear highly biased in a formal setting but "fair" when the same prompt is phrased casually. This paper investigates a fundamental question: Is the bias we measure a reflection of the model's core weights, or is it an artifact of stylistic presentation?

The Problem: Brittleness in Bias Evaluation

Current bias evaluation metrics are surprisingly brittle. Minor changes to the style of a sentence—without altering its underlying meaning—can radically shift its bias score. This instability suggests that current safety benchmarks may provide a false sense of security or an exaggerated sense of risk depending on the prompt's phrasing. To address this, the authors aim to disentangle "semantic content" (the biased message) from "textual style" (how it is presented).

Methodology: A Causal Inference Framework

The authors employ a causal inference framework to isolate the impact of style. They model text generation as a process where both Semantic Content and Style are independent direct causes of the Generated Text. By intervening on the style while keeping the content constant, they can measure the "style sensitivity" of various models.

The causal framework used to disentangle semantic content from stylistic presentation in generated text.

Content-Preserving Style Interventions

To test this framework, the researchers implemented several transformations:

  • Formality Transformation: Flipping sentences between formal and informal styles using a fine-tuned T5 model.
  • Redundant Prefixes: Adding neutral phrases like "It’s important to acknowledge that:".
  • Punctuation and Markers: Swapping periods for exclamation marks or adding evidential markers like "apparently".
  • Format Restructuring: Converting statements into question-answer formats.

These interventions were evaluated across a diverse fleet of models, including GPT-2, LLaMA-2, LLaMA-3.1, Mistral, and OPT, ranging from 124M to 13B parameters.

Key Insights and Results

1. Informality as a "Bias Mask"

One of the most significant findings is that informal language often masks model bias. Informal style transformations consistently led to substantial reductions in measured bias scores—up to 8.33% in LLaMA-2-13B. This suggests that models may appear less biased in casual conversation simply because their training data for informal text is distributed differently, not because the underlying bias has been mitigated.

2. The Sensitivity Scaling Law

Larger models are more sensitive to stylistic fluctuations. For example, LLaMA-2-13B’s bias measurements fluctuated up to 3.1% more than its 7B counterpart. While larger models often exhibit higher baseline bias, they are also more easily "distracted" by stylistic nuances, making their safety profiles harder to pin down.

3. Vulnerable Bias Types and Amplifiers

Not all biases react to style in the same way. Appearance, sexual orientation, and religious biases were the most volatile, with variations exceeding 20% across different styles. Conversely, nationality bias remained relatively stable. Furthermore, certain neutral prefixes act as "bias amplifiers"; adding "It's worth noting that:" increased sexual orientation bias by over 14% in the OPT-6.7B model.

Comprehensive table showing the variation in bias scores across different models and stylistic interventions.

Conclusion

This research proves that style sensitivity is a pervasive issue in both intrinsic (embedding-based) and extrinsic (task-based) bias metrics. The fact that a simple change in formality can swing a bias score by over 20% suggests that current evaluation protocols are insufficient. Future safety benchmarks must account for stylistic variance to ensure that "fairness" is a robust property of the model rather than a byproduct of a specific prompt style.

Summary updated

BibTeX
@inproceedings{zhao2025unmasking,
  author = {Jiaxu Zhao and Meng Fang and Kun Zhang and Mykola Pechenizkiy},
  title = {{Unmasking Style Sensitivity: A Causal Analysis of Bias Evaluation Instability in Large Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure