An Empirical Analysis of the Writing Styles of Persona-Assigned LLMs

Manuj Malik, Jing Jiang, Kian Ming A. ChaiEMNLP 2024

Introduction: The Persona Paradox

Assigning a "persona" to a Large Language Model (LLM)—instructing it to act as a GenZ teenager, a professional chef, or a resident of a specific city—has become a standard technique for personalizing AI interactions. While research has extensively evaluated whether these models possess the factual knowledge associated with such personas, a critical question remains: do they actually adopt the corresponding writing styles? Or are they simply "helpful assistants" operating behind a thin stylistic mask?

This study addresses the gap in stylometric analysis for machine-generated text. By comparing the outputs of GPT-3.5, Llama-3, and Mixtral against authentic human data from Reddit across 35 socio-demographic personas, the researchers investigate the authenticity of linguistic mimicry in modern AI.

Methodology: From Text to Style Profiles

To quantify stylistic nuances, the authors developed a novel analysis pipeline that transforms raw text into interpretable style distributions.

The stylometric analysis pipeline utilizing LISA embeddings and LDA clustering to compare human and LLM-generated text.

The process involves four key stages:

  1. LISA Embeddings: Utilizing the LISA model to extract 768 high-dimensional style attributes, such as tone, complexity, and specific linguistic markers.
  2. Dimensionality Reduction: Applying Latent Dirichlet Allocation (LDA) to cluster these attributes into eight interpretable "coarse-grained" styles: Cheerful, Simple, Judgmental, Inquiry, Analytical, Direct, Unenthusiastic, and Professional.
  3. Background Normalization: Since social media text is predominantly "Simple," this was treated as a background style. The remaining seven styles were renormalized to highlight more distinctive variations.
  4. Distributional Comparison: The researchers used Kullback-Leibler (KL) divergence to measure the "distance" between human and AI style distributions. A lower KL score indicates a more successful stylistic imitation.

The study utilized a human-written baseline of 35,000 Reddit comments mapped to specific personas, alongside a synthetic corpus generated by GPT-3.5-Turbo, Mixtral-8x7B-Instruct, and Llama-3-70B-Instruct.

Key Insights: Model Signatures and Stereotypes

The analysis revealed that each LLM possesses an inherent "default" style, or "model signature," which often interferes with its ability to adopt a persona. For instance, Llama-3 proved to be the most adaptable, naturally aligning with the informal, conversational tone of Reddit. In contrast, Mistral exhibited a "stiff professional" bias, and GPT-3.5 showed a consistent "Cheerful" bias, often failing to replicate the more judgmental or analytical tones found in real human discourse.

Radar charts illustrating the style distributions for various personas across location, political affiliation, profession, and generation.

As shown in the style distributions above, real human groups have distinct stylistic fingerprints. For example, engineers on Reddit tend to be more "Analytical," while chefs are notably more "Judgmental" and "Cheerful."

Results and Limitations

Llama-3 generally achieved the lowest KL divergence scores, making it the most successful at mimicking Reddit's informal style. However, certain personas remained challenging for all models. "Chefs," "Socialists," and "GenZ" users showed high divergence, suggesting their unique linguistic nuances are difficult to capture.

Notably, GPT-3.5 struggled significantly with the "Parisian" persona (KL divergence of 8.78), over-indexing on "Cheerful" styles compared to the more balanced "Inquiry" and "Cheerful" mix of actual Parisians on Reddit. In political contexts, while Llama-3 matched the "Judgmental" style of Conservatives well, GPT-3.5 often added an uncharacteristic "Professional" veneer.

While insightful, the study is limited by its reliance on Reddit data, which may not represent the broader global population. Furthermore, the researchers noted that LLMs might rely on stereotypical traits rather than authentic linguistic patterns, a finding that warrants deeper ethical investigation into how these biases might reinforce harmful societal stereotypes.

Summary updated

BibTeX
@inproceedings{malik2024empirical,
  author = {Manuj Malik and Jing Jiang and Kian Ming A. Chai},
  title = {{An Empirical Analysis of the Writing Styles of Persona-Assigned LLMs}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.1079},
}
Figure