TL;DR
This paper investigates how well Large Language Models (LLMs) handle paraphrased text that mimics different demographic language styles (age and gender). They found that LLMs struggle with these stylistic variations, leading to significant drops in performance, highlighting a critical challenge in achieving truly robust AI.
What Problem Does This Paper Address?
LLMs have become incredibly powerful, but their performance can be brittle. While researchers have explored robustness against small, adversarial text changes, less attention has been paid to how LLMs handle broader linguistic variations inherent in how different groups of people communicate. This includes differences in style, vocabulary, and sentence structure influenced by factors like age and gender. The paper aims to bridge this gap by systematically evaluating LLM performance on paraphrased text that reflects these sociodemographic linguistic styles, moving beyond simple adversarial attacks to more naturalistic language variations.
Methods
The researchers developed a framework to generate and evaluate LLM performance on sociodemographically conditioned paraphrases.
- Paraphrase Generation: They used LLAMA2-chat to generate paraphrased versions of the SocialIQA dataset. Two prompting strategies were employed:
- Controlled Paraphrasing: Provided explicit instructions and rules to the LLM for generating paraphrases in specific demographic styles.
- Style-guided Paraphrasing: Offered the LLM descriptions of linguistic style traits associated with demographic groups.
- Alignment Assessment: To ensure the generated paraphrases accurately reflected the intended demographic styles, they used LexHub, an online tool that predicts demographic attributes from text. They measured the agreement between the LLM's paraphrases and LexHub's predictions.
- Robustness Evaluation: They tested the performance of LLMs (LLAMA2 and MISTRAL) on the paraphrased datasets using both zero-shot and two-shot learning settings.
- Reliability Analysis: Beyond accuracy, they investigated other factors influencing robustness, including:
- Perplexity: How uncertain the model is when predicting text in a given style.
- Explainability: Using XSBERT to understand how model attributions change with paraphrased text.
- ATOMIC Performance: Evaluating performance on specific commonsense reasoning categories.
- Human Evaluation: Assessing the validity of paraphrases and identifying misclassification types (incorrect paraphrases vs. hallucinations).
Datasets
- SocialIQA (SIQA): The primary dataset used for generating paraphrased questions. It's a multiple-choice question-answering dataset focused on commonsense reasoning in social contexts, covering nine types of reasoning. The authors used the validation set (1954 samples) for their experiments.
- LexHub: An external tool used for demographic prediction and evaluating the alignment of generated paraphrases with specific demographic styles.
- BIG-Bench: Used for comparison with existing 2-shot baselines.
Key Insights and Ideas
- Demographic Nuances Matter: LLMs are significantly impacted by sociodemographic linguistic variations. Even subtle changes in style can lead to substantial performance drops.
- Controlled Paraphrasing Outperforms Style-Guided: Explicitly instructing the LLM on how to paraphrase (controlled) yielded better alignment with demographic lexica than simply describing the styles (style-guided). This suggests LLMs benefit more from direct guidance than inferring styles from descriptions alone.
- Perplexity as an Indicator of Difficulty: Higher perplexity in paraphrased text correlates with lower model accuracy, suggesting that styles the model finds more "uncomfortable" to predict are also harder for it to understand for QA tasks.
- Young and Ambiguous Genders are Particularly Challenging: These demographic groups showed the most significant drops in performance, indicating a potential gap in LLM training data or their ability to handle informal, expressive, or non-binary language.
- Encoder Models Show Similar Vulnerabilities: Fine-tuned encoder models (BERT, RoBERTa) also experienced performance degradation on paraphrased sets, suggesting that architectural differences don't fully shield models from these linguistic challenges.
- Semantic Similarity Isn't Everything: While semantic similarity is important, paraphrases that disagree with LexHub's demographic predictions don't necessarily have lower semantic similarity to the original text, implying other factors beyond pure meaning influence alignment.
Key Results
- Paraphrase Alignment: Controlled paraphrasing achieved 72% alignment with LexHub for gender, while style-guided achieved 64%.
- LLAMA2 Performance: In a zero-shot setting on the original SIQA set, LLAMA2 achieved 57.88% accuracy, improving to 62.42% with two-shot. On the "Young" demographic set, zero-shot accuracy dropped to 54.63%.
- MISTRAL Performance: MISTRAL showed stronger baseline performance (66.37% zero-shot, 71.44% two-shot) but also experienced drops on specific demographic sets, particularly "Ambiguous" gender.
- Encoder Model Performance: BERT-base-uncased started at 56.03% accuracy and dropped by up to 3.55% on the "Young" demographic. RoBERTa-base started at 65.76% and dropped by up to 4.99% on the "Ambiguous" category.
- Human Evaluation: Over 75% of paraphrases were deemed valid across sets, with errors often stemming from subtle linguistic nuances rather than complete semantic failure. However, female-only paraphrases had a higher invalid rate (35.71%) compared to male-only (13.05%).
Limitations and Future Work
- Limited Scope: The study is limited to specific models (LLAMA2, MISTRAL, BERT, RoBERTa) and the SocialIQA dataset. Findings might not generalize to all LLMs or all types of language variation.
- Binary Gender Assumption: The study primarily focuses on binary gender categories, acknowledging this is a simplification and suggesting future work should explore more diverse gender identities.
- Self-Reported Data: The demographic classifications are based on self-reported user data, which has inherent limitations.
- Reinforcing Biases: The authors caution that demographic-specific paraphrasing could inadvertently reinforce existing biases, emphasizing the need for fairness and transparency in deploying these technologies.
- Future Work: The paper suggests exploring more diverse demographic factors (ethnicity, regional dialects), investigating the impact of different LLM architectures, and developing more robust models that are less sensitive to linguistic variations. The authors also plan to release their code and dataset for further research.
Summary updated