Exploring Robustness of LLMs to Paraphrasing Based on Sociodemographic Factors
Paper · 2025 · Pulkit Arora, Akbar Karimi and Lucie Flek
Summary
A person can describe the same social situation in formal prose or in casual, expressive language. If the details that matter stay the same, a question about the situation should still have the same answer. The authors test whether that expectation holds for large language models. They start with SocialIQA, a multiple-choice benchmark about everyday interactions, and use LLAMA2 to rewrite the short scenarios in styles associated with age and gender. They then ask systems to answer the original questions about the rewritten scenarios. The age and gender labels describe instructions given to the generator. The rewrites are synthetic, so the experiment measures how systems respond to those generated styles.
The authors compare a prompt that names a demographic category with one that also describes its supposed language traits. On a sample of SocialIQA validation contexts, the simpler prompt produces Male and Female rewrites whose relative order agrees with the LexHub demographic scoring tool in 72% of pairs, compared with 64% under explicit style guidance. The authors use the simpler prompt for their main evaluation. They also compare each rewrite with its source using sentence representations, try giving similarity feedback to the generator, and have people inspect selected rewrites associated with wrong answers.
The Young and Gender Ambiguous sets are among the most challenging. On the original SocialIQA evaluation items, LLAMA2 reaches 57.88% accuracy without worked examples and 62.42% with them in the 2-shot setting. Its accuracy on the Young rewrites falls to 54.63% without examples. Providing examples improves accuracy across the demographic sets for both LLAMA2 and MISTRAL, although the result still depends on the style. Some rewritten sets even exceed the original in the 2-shot setting. The fine-tuned BERT and RoBERTa systems also lose accuracy on the rewrites, with their largest reported declines occurring in different categories.
Some rewrites change or add information, which can make a wrong answer hard to interpret. Most paraphrases in each of the manually inspected error groups are nonetheless judged valid. The harder sets tend to be less similar to their sources and less predictable to a language system, but semantic feedback during rewriting yields uneven accuracy gains. Together, these observations show how a benchmark score can depend on the language used to present a scenario, while leaving open how much of the change comes from style itself. The authors say they will make the code and dataset available.
Deep dive: Exploring Robustness of LLMs to Paraphrasing Based on Sociodemographic Factors
A study of how age- and gender-styled rewrites of social scenarios affect language models’ answers, and what helps them handle the changes. · about 32 minutes to read
The problem and its context
A different description of the same situation
Social commonsense questions ask a reader to connect an everyday event with something the description leaves implicit. A scene can establish what somebody did without spelling out why they did it, what they needed beforehand, or how someone else might react. The reader has to use the details of the situation to choose among possible answers. That combination makes social question answering a place where a change in wording can have several effects. It can make a relevant clue easier to recognize, make the same clue harder to find, or change what the reader is entitled to infer.
Suppose a scene describes somebody declining an invitation. A conversational retelling might convey the decision in a different register while preserving the reason for it. A retelling that makes the person sound apologetic introduces a further cue about their attitude. That extra cue could matter to a question about how the host would react. The study addresses both possibilities because a robust answer requires sensitivity to genuinely new information as well as stability across wording changes that preserve the answer. The challenge is deciding which kind of change a generated rewrite has made.
The paper asks whether systems can recover the benchmark’s expected answers when whole scenarios are rephrased using demographic style cues. The important unit is the scenario as a piece of language. Changing a word in isolation can test whether an answer depends on that word. Rewriting the scenario can change vocabulary, sentence structure, degree of formality, and how information is conveyed at the same time. Such a test makes room for variation of the kind readers encounter across descriptions of similar events. It also gives the experiment less control over which linguistic property changed on a given item.
What counts as stability depends on the task. An evaluator wants the system to choose the same correct answer if the rewrite preserves the situation and the evidence the question requires. The system can legitimately change its choice if the new context changes those facts or implications. The study therefore treats paraphrase construction as part of the measurement problem. Generating fluent text is only the beginning. The authors need evidence that the new versions differ stylistically and that they remain close enough to the originals for the old answers to be useful.
Earlier tests of wording sensitivity
The paper places its experiment alongside previous robustness tests built around rule-based edits, adversarial perturbations, and variations in prompt wording. It describes HELM as a framework that includes rule-based changes and adversarial attacks. Edits of that kind can reveal dependence on a known nuisance feature because the evaluator can specify what to alter. But a collection of local edits may cover little of the variation that emerges when somebody expresses an entire situation differently.
The authors also cite the DOCTOR framework for reliability testing. In their account, it proposes tests organized around particular dimensions of variation, with difficult cases intended to reflect what a system could encounter in use. The demographic sets follow that general logic. They give the evaluator a defined way to look for weaknesses that may be obscure when every item appears only in its benchmark form. Here the organizing dimension is the kind of style requested in the rewrite, and the repeated question provides a point of comparison across versions.
Earlier studies discussed in the paper had already identified sensitivity in paraphrase recognition and question answering. One found that changes involving words shared between candidate paraphrases could cause substantial errors in deciding whether they expressed the same idea. The authors of that study proposed adversarial training as a response. Another study found that rephrasing the question itself could lower question-answering performance. The present experiment typically describes its intervention at a different point in the item, in the scenario that supplies the evidence for a question. This allows the authors to ask whether the same query is answered differently when the event it refers to is narrated in another way.
The paper also discusses CAT-Gen, which used controlled generation to produce varied and fluent adversarial text, and earlier work in which changing a prompt altered a system’s confidence. These observations motivate using a generator to expand the range of possible test items. They also show why the generator’s own instructions must be treated as an experimental choice. A rewrite requested with a label alone can exhibit different properties from one produced under a long list of traits, even if both prompts are meant to target the same style.
Why the authors use demographic labels
The age and gender cues come from a line of research on associations between language use and characteristics of a writer. The paper describes earlier work that found differences in the use of pronouns and noun specifiers between samples associated with women and men. In that work, the distributions were interpreted in terms of more involved or more informational styles. Other work cited by the authors found recurring linguistic differences across kinds of writing and suggested that some markers could help predict an author’s gender. The paper also points to work that examined age as a source of variation in writing style.
Those findings supply starting points for the authors’ prompts and for a lexical check on the generated text. Their role in the experiment is to define ways of eliciting variation. A generator can respond to a category by drawing on associations learned during training, or it can be asked to follow a more explicit description involving traits such as directness, politeness, and sentence complexity. The experiment compares these approaches before using the rewrites for testing.
Two questions follow from this design. The first asks how consistently the generator can produce text that a separate scoring method associates with the intended category. The second asks whether answer accuracy changes when people’s actions are described in these different ways. A favorable result on the first question cannot settle the second. A rewrite may contain recognizable stylistic cues and still lose important information. Likewise, a system might answer a valid rewrite correctly even if the lexical method has difficulty distinguishing its style. The authors assign different checks to these different properties.
The method, step by step
Build alternate versions of the same benchmark item
The starting point is SocialIQA, which contains 38,000 multiple-choice questions about social situations. The paper describes nine types of reasoning represented in the dataset, including intentions, needs, reactions, and effects. Each item gives a short context, asks a question about it, and offers candidate answers. The authors use the validation split of 1954 items as the source for their rewrites and as the original comparison set. They choose that split to make comparisons with the BIG-Bench baselines.
The intended intervention is to retell the context. The question, choices, and expected answer provide the frame against which the retelling is evaluated. For a question about what somebody needed before an action, for instance, a useful paraphrase has to preserve the action and the circumstances that make a particular prerequisite plausible. Changes in cadence or diction can be useful variation. Reassigning the action to another person could change the answer. This is why the procedure includes checks after generation.
The authors generate the paraphrases with LLAMA2-chat-13B, which they call LLAMA2. The items are handled independently, and the generator is asked for versions in styles associated with the study’s age and gender categories. The age conditions are Young, Middle Age, and Old. The gender conditions are Male, Female, and Gender Ambiguous. Independence here concerns how the input items are processed. The resulting sets still correspond to one another through their shared source items, making it possible to compare styles on the same underlying scenarios.
Creating and testing demographic rewrites of SocialIQA
The steps in order.
Ask for a style in different ways
The authors call their main generation approach controlled paraphrasing. They introduce the system as an English language expert and use an instruction block to define the paraphrasing task and constrain the output. The instructions specify what the system should return and give it rules for staying within the expected format. These details matter because the goal is to place a usable new context back into a benchmark item. Commentary about the requested style, for example, would be part of a conversational answer from the generator but would be extraneous in a rewritten scenario.
In the controlled version, the task and output format receive detailed instructions, while the demographic style is supplied primarily as a category. LLAMA2 must decide how to express that style from the associations it already has. A brief category cue therefore leaves considerable freedom over word choice, syntax, and tone. It may produce recognizably different versions without requiring the experimenters to specify each feature in advance. By the same token, whatever the generator associates with the category can appear in the benchmark, including changes the experimenters would have preferred to avoid.
The style-guided version retains the paraphrasing task and adds an explicit description of the target style. The paper describes descriptions based on linguistic studies and social media analysis. For the Male and Female comparison, the added material concerns properties such as emotional expression, politeness, directness, and syntactic complexity. This shifts some decisions about what constitutes the style from the generator to the instructions. The prompt then tests how well the generator can turn those prescribed tendencies into rewrites.
The authors compare the approaches by asking whether a separate lexicon-based procedure gives the intended gender pair the expected ordering. That criterion is narrower than asking a human reader how natural or faithful the paraphrase sounds. It makes the choice between prompts reproducible in terms of the chosen score, while leaving room for the two approaches to differ on other qualities. The paper also reports using LexHub alignment to select generation settings involving temperature and repetition penalty. Temperature affects how freely the generator samples among possible continuations. A repetition penalty changes the treatment of language it has already produced. Both settings can affect the variety of the text presented to the subsequent checks.
Check the relative style of matched pairs
LexHub applies age and gender lexica developed from social media text. A lexicon in this setting assigns predictive information to words or patterns found in writing associated with self-reported demographic characteristics. The age output is a representative age for the input text. The gender output is a relative score, with positive values oriented toward Female and negative values towards Male. The authors use these outputs to compare rewrites of the same source.
For the gender comparison, the paper tallies pairs using this rule.
N(lex_score(Par_F) − lex_score(Par_M) > 0)
Here, N counts the pairs that satisfy the condition in parentheses. lex_score is the LexHub score for the text passed to it. Par_F is the Female-style rewrite of an item, and Par_M is its Male-style counterpart. The minus sign subtracts the Male score from the Female score, and > 0 keeps the pair when the Female score is strictly higher. The parentheses after lex_score specify which rewrite LexHub scores.
A pair can satisfy the rule when both scores lie on the same side of zero. A Female rewrite can receive a higher score than its Male counterpart even if both have scores oriented towards Male. Both could also have scores oriented towards Female. A tie fails the strict comparison. This makes the rule a test of directional movement within a pair, which suits the use of the labels as relative styles. It measures a different property from the share of texts a classifier would assign to their requested category in isolation.
The authors use the same structure for the age comparison.
N(lex_score(Par_O) − lex_score(Par_Y) > 0)
N again counts the pairs satisfying the condition. Here lex_score returns the representative age that LexHub assigns to a rewrite. Par_O is the Old-style version, and Par_Y is the Young-style version of the same context. The minus sign forms the difference between their scores, and > 0 counts the pair if the Old rewrite is scored as older. The parentheses isolate the inputs to LexHub and the condition for the tally.
In both cases the agreement percentage expresses the count relative to the number of sampled contexts that were paraphrased. The authors calculate it using 10% of randomly sampled contexts from the SocialIQA validation split. The printed rules concern the Male–Female and Old–Young contrasts. They leave Middle Age and Gender Ambiguous without a corresponding alignment rule. This matters later because asking which set is hardest goes beyond asking which pairwise shifts the lexical procedure recognizes.
Pairing helps control the topic of the text. A Male rewrite and a Female rewrite begin from the same situation, so their score order can reflect differences introduced during rewriting. The score might still respond to a new action, a new sentiment, or any other lexical change. Agreement establishes that the scoring method detects the intended direction. Checking whether the rewrite preserved the social event is a separate task.
Compare meanings and feed back similarity
To estimate how close a rewrite is to its source, the authors encode the two sentences as embeddings, or vectors that represent properties of their text. They use the Sentence Transformers architecture with pretrained paraphrase-distilroberta-base-v2 weights. The paper relates this approach to Sentence-BERT. It describes the embedding system as having learned from paraphrase data, which makes its outputs suitable for comparing alternate phrasings.
The authors compare the vectors with cosine similarity. This compares their directions, with closer directions indicating a closer match in the embedding space. A score can summarize how alike an original context and its rewrite look to the sentence encoder. The study uses this as an estimate of semantic similarity. In practical terms, a low score supplies a reason to inspect or revisit an item. A high score can coexist with a distinction that matters for the answer, such as a change in who performed an action.
The authors explore regeneration for paraphrases with low similarity. They provide the generator with semantic feedback in the form of embedding similarity to the source. The generator then has information about how its earlier version compared with the original beyond the general instruction to preserve meaning. The reported comparisons examine what happens to answer accuracy after one regeneration and after three. This is a procedure for revising evaluation inputs. The subsequent zero-shot comparison asks whether the revised contexts make it easier to recover the benchmark answers.
The paper also calculates perplexity for the style sets using LLAMA2 and GPT-2. Perplexity tracks how predictable the text is under the probabilities assigned by the system scoring it. If the system consistently finds the words or tokens that actually occur surprising, perplexity rises. LLAMA2’s scores show how it predicts the wording in these sets. GPT-2 provides a separate reference because LLAMA2 was involved in creating the language. The two perspectives help distinguish a pattern visible to a separate scorer from one visible only to the generator, while still depending on the properties of the scorers.
Turn each item into a scored choice
The experimental setup compares LLAMA2 with MISTRAL-instruct-7B, which the paper calls MISTRAL. Both are evaluated without worked examples and with examples in the prompt. The conditions are called 0-shot and 2-shot. In the first, the system receives the item without solved demonstrations. In the second, it can use the demonstrations to see how the task is framed and how an answer is selected. This is few-shot learning in the sense of adapting to the prompt at inference time. It differs from updating parameters on a training set.
The paper’s answer-selection rule gives each candidate a score. A completion-based alternative would let the system generate a response and then try to determine which choice it named. The authors point out that exact string matching can find several choices or fail to find any. They instead append each target choice in turn, examine the system’s likelihood for it, and select the highest-scoring candidate.
answer = arg maxᵢ∈{1, 2, 3} log P(choiceᵢ | context)
answer denotes the selected option, and = defines how it is obtained. The subscript ᵢ is the choice index. The symbol ∈ says that the index belongs to the set of candidates in braces, and 1, 2, and 3 identify the options. arg max returns the index where the score is highest. P denotes the system’s probability, choiceᵢ is the candidate at that index, and the vertical bar means that the probability is conditioned on context, the supplied input for scoring. log takes the logarithm of that probability. The parentheses enclose the candidate and its conditioning input.
In the LLAMA2 implementation described in the appendix, echo mode repeats the input sequence with the appended completion tokens so the authors can inspect the scores. They use max_tokens=1 to stop after one generated token following prompt evaluation, and a presence penalty of 0 so that a token’s appearance in the prompt does not trigger that penalty. The limit refers to newly generated output in the scoring call. The answer choices are supplied as candidates and evaluated as part of the input sequence. The paper uses Python bindings for llama.cpp to run inference.
For the trained comparison, the authors use BERT-base-uncased and RoBERTa-base. Both receive task-specific training on the SocialIQA training split for 10 epochs before being evaluated against the original and rewritten contexts. The evaluation then asks how well that training transfers to different expressions of the held-out items. This is the paper’s comparison with fine-tuning using an encoder such as BERT.
Experiments and results
What the comparisons measure
The principal outcome is accuracy, the percentage of items on which a system selects SocialIQA’s recorded answer. For each system and prompting condition, the original validation contexts supply the baseline for interpreting the rewritten sets. Because the variants are derived from the same items, the comparison keeps much of the underlying task fixed. Correctness still depends on whether a variant preserved the evidence needed for the recorded answer. The manual review addresses that dependency for a subset of errors.
A second comparison changes the number of demonstrations while keeping the answer-selection task in place. It asks how much a system gains from examples on both the original and rewritten contexts. A third compares the behavior of trained encoders with systems answering from the prompt. The paper also compares its 2-shot results with BIG-Bench baselines in the appendix. The demographic agreement percentages and perplexity values serve different purposes from answer accuracy. Agreement characterizes properties of the generated inputs, and perplexity characterizes how predictable their language is.
The paper refers to the original evaluation set as a test set in the results discussion. The data selection in the method identifies it as the SocialIQA validation split of 1954 items. The published comparison with BIG-Bench describes results averaged over three runs on the SocialIQA evaluation items and the paraphrased variants. The authors report that LLAMA2 outperforms the existing baselines in that comparison. They also report an improvement over the official LLAMA2 baseline when answers are selected with log-likelihood scores. That observation makes the scoring rule part of the experimental setup when comparing reported accuracy.
Which prompting approach passes the style check
For LLAMA2’s Male and Female rewrites of the sampled validation contexts, controlled paraphrasing agrees with the LexHub ordering in 72% of pairs. Style-guided paraphrasing reaches 64% on that comparison. The extra instructions about language traits yield fewer pairs in which LexHub places the Female rewrite above the Male rewrite. The authors use the controlled prompt to construct the sets for the main robustness study.
Prompt comparison on SocialIQA validation contexts sampled for LexHub gender agreement
The prompt using the category cue produces the intended LexHub ordering more often.
The numbers
| System or setting | agreement % |
|---|---|
| Controlled paraphrasing (this paper) | 72 |
| Style-guided paraphrasing | 64 |
The result is about the direction of the lexical score within matched pairs. It provides evidence for a choice between the generation prompts under the paper’s criterion. How systematically either prompt changes particular traits, how a human would judge the realism of the styles, and how much the paraphrases preserve the social implications are separate questions. The controlled prompt’s better agreement establishes which set of instructions is more effective on the specific check the authors chose.
How demonstrations change the original baseline
On the original SocialIQA items, LLAMA2 records 57.88% accuracy under 0-shot inference. With 2-shot inference it achieves 62.42%. MISTRAL scores 66.37% without demonstrations and 71.44% with them. MISTRAL’s original-set accuracy is higher in both inference conditions. Both systems also improve with demonstrations across the demographic categories, according to the authors. The same general benefit extends beyond the original wording.
Answer accuracy on the original SocialIQA validation items by system and inference setting
Both systems improve with demonstrations, and MISTRAL with demonstrations gives the highest accuracy.
The numbers
| System or setting | accuracy % |
|---|---|
| LLAMA2, 0-shot | 57.88 |
| LLAMA2, 2-shot | 62.42 |
| MISTRAL, 0-shot | 66.37 |
| MISTRAL, 2-shot (this paper) | 71.44 |
A demonstration can help a system recognize the expected task even when the style of an item changes. The comparison shows that examples improve measured accuracy without additional parameter training in these inference runs. To understand whether a style remains challenging after examples are added, the appropriate comparison is between original and rewritten items under the same demonstration setting. An improvement over a system’s own 0-shot score can coexist with a persistent deficit relative to the corresponding original 2-shot score.
Which rewrites are harder to answer
The gender comparison illustrates how the ranking can change with the inference setting. The authors report lower 0-shot accuracy on Male and Female contexts than on the originals. With examples, LLAMA2 reaches 63.66% on the Female rewrites, above its 62.42% on the original items in the same 2-shot condition. MISTRAL shows a similar change in the standing of its Female set, which the authors describe as more difficult in the 0-shot evaluation and strongest for MISTRAL in the 2-shot one. The favorable 2-shot result on that set prevents a simple reading in which paraphrasing always makes the task harder.
The Gender Ambiguous condition produces a more substantial challenge in the paper’s account. Its performance is reduced with and without demonstrations. The age comparison also shows a recurring weak condition. On the Young set, LLAMA2’s 0-shot accuracy is 54.63%, compared with 57.88% for that system on the original contexts. The paper reports lower performance on the Young versions in the 2-shot setting as well. The authors connect these patterns to characteristics of the generated text, including greater expressiveness and, in Young rewrites, use of colloquial language.
The Middle Age and Old sets come closer to the original-set outcomes. On Middle Age rewrites, LLAMA2 attains 64.68% under 2-shot inference, its highest reported accuracy in that setting. This is above the original result for that system. Together with the Female result, it shows that a new rendering can sometimes make an item set easier for a given answer procedure. More formal or explicit wording might supply clues in a form the system handles readily. The study does not separately manipulate those qualities, so this interpretation remains a possibility.
Reported LLAMA2 two-shot accuracy on original and selected rewritten SocialIQA validation sets
The Female and Middle Age rewrites exceed the original-set result, with Middle Age scoring highest.
The numbers
| System or setting | accuracy % |
|---|---|
| Original | 62.42 |
| Female | 63.66 |
| Middle Age (this paper) | 64.68 |
The high scores on those variants do not show that every scenario in them became easier. Aggregate accuracy allows gains on some items to offset losses on others. The paper’s shared and category-specific error groups provide a closer view of how that can happen. A scenario answered incorrectly in both its Male and Female forms tells a different story from a scenario answered incorrectly in just one, even if the totals for the two sets were similar.
What happens after task-specific training
BERT-base-uncased reaches 56.03% on the original SocialIQA evaluation items after training on the SocialIQA training split. Its accuracy drops on each of the demographic sets. The paper reports its largest decline as 3.55% for the Young variant. RoBERTa-base starts at 65.76% on the original evaluation and also loses accuracy on the rewritten sets. Its largest reported decline is 4.99% for the Gender Ambiguous variant. These are the paper’s values for the decreases, distinct from the original-set accuracy values.
The vulnerable categories recur across the prompted and trained systems, although the sharpest decline differs between the encoders. Familiarity with the benchmark through task-specific training therefore does not eliminate sensitivity to these changes in how the held-out scenarios are written. The comparison also shows why it is helpful to report shifts relative to each system’s own original result. RoBERTa has higher original-set accuracy than BERT, but each encounters a different condition in which it departs most from baseline.
The setups differ in architecture, model choice, training, and inference. The results show that sensitivity appears under both approaches in this study. They cannot isolate which of those differences is responsible for a particular accuracy gap. Similarly, the 2-shot gains show what demonstrations do in the tested prompt setups. The trained encoders provide a useful reference point for those gains, with their own training and decision procedures.
How predictability relates to accuracy
The authors report that sets with higher perplexity tend to have lower answer accuracy. The inverse association is particularly apparent when GPT-2 supplies the perplexity score and the answers are evaluated in the 0-shot condition. In the 2-shot comparisons, the pattern is weaker. Examples improve answers even on language that a separate system finds less predictable, suggesting that the demonstration setting can change the extent to which predictability tracks performance.
Perplexity gives a way to describe the language of a set independently of how often a particular answer option is selected. Low perplexity indicates that the scoring system expects the wording. High perplexity can arise because of unusual vocabulary, phrasing, or combinations of words. Any of these could be associated with difficulty in interpreting the scenario. The same set might also contain rewrites that have moved further from their originals. The reported association concerns these observed sets, where both kinds of variation can occur together.
What the ablations show
Refining a paraphrase can help, with exceptions
The paper offers controlled comparisons and diagnostic analyses of the evaluation procedure, with regeneration providing a direct test of changing the generated inputs. The authors first find that the Young and Gender Ambiguous rewrites compare poorly on both answer accuracy and average similarity to their source contexts. This supports examining semantic drift as a possible contributor to the errors. They then use embedding similarity as feedback during regeneration and evaluate the resulting texts in the zero-shot condition.
For LLAMA2, the Male set shows a small initial decline after one regeneration, followed by a reported improvement of 0.96% after three. The Female set has a reported gain of 1.18% after one regeneration and 1.69% after three. The Young set moves in the opposite direction. The changes in its zero-shot accuracy are reported as -0.62% after one regeneration and -0.71% after three. The same feedback process can thus help for some styles while moving the result further from the desired outcome for another.
MISTRAL’s zero-shot evaluation of regenerated Male rewrites shows a decrease of 0.23% after one pass and an improvement of 0.25% after three. Its result on the Female rewrites moves from a small initial drop to a gain of 0.88% after three regeneration passes. The authors also describe gradual gains on the Old set, which already performs well in the zero-shot comparison. In their account, LLAMA2’s results fluctuate more, while MISTRAL shows a steadier recovery or progression in some of the reported conditions.
These comparisons concern the accuracy obtained with the regenerated contexts. They give an empirical check on whether refining the input with a similarity cue improves the downstream task. An accuracy gain can be consistent with improved preservation of the source, but by itself it does not distinguish restored meaning from a rewrite that happens to express an important clue in more recognizable language. The decline on the Young set shows that repeated feedback is insufficient to remove every observed difficulty. A few rounds of a general similarity signal may leave the language features behind the errors in place, and the successive rewrites can introduce their own changes.
What people find when they inspect wrong answers
The manual analysis examines misclassified items from the Male and Female sets. The authors separate errors found in both versions from errors confined to either the Male or the Female version. They then look for paraphrase faults in the associated texts. They distinguish incorrect paraphrasing, where the meaning changes, from hallucination, where the rewrite introduces information absent from the original. Both can weaken the evaluation’s assumption that the original answer still applies.
The paper reports an invalid-paraphrase rate of approximately 25% in the shared error group. It describes over 75% of that group’s paraphrases as valid, along with nearly 87% in the Male-only error group and about 64% in the Female-only error group. The authors also describe some Female rewrites as introducing expressions of niceness or politeness that alter the event as presented. A verb can change how an action is perceived even if the broad outline of the story remains recognizable.
A separate discussion of semantic differences puts the share of common Male and Female errors attributable to incorrect or hallucinated rewrites at about 20%. The paper does not give enough detail to reconcile that description with the approximately 25% invalid rate reported in the human evaluation discussion. Each account supports the narrower conclusion that faulty rewrites explain only part of the shared errors the authors inspected. The exact share depends on how the reviewed items and the judgments are counted.
The analysis starts from wrong answers, which is helpful for diagnosing why the system might have failed. It does not estimate the prevalence of invalid paraphrases across all the items in a style set. Among these particular errors, a majority of reviewed rewrites are judged valid in each group. That leaves room for genuine sensitivity to a valid change in wording. The finding does not assign a specific remaining error to formality, vocabulary, or some other linguistic feature. It does show that removing known generation faults would leave errors to explain.
How meaning scores and word-level evidence fit together
The authors compare average source-to-rewrite similarity for correctly and incorrectly answered items. Correctly answered items have higher average similarity across the demographic sets in that comparison. This view divides items by answer outcome rather than simply comparing whole categories. It supports the idea that closeness to the original matters for the task, while the human judgments show that a system can still miss the expected answer when the rewrite is judged faithful.
The appendix adds an attribution analysis using XSBERT with a distilled RoBERTa system. XSBERT processes a pair of texts and yields a scalar for the pair as well as attribution information. An attribution estimates which parts of the input contribute to the output of the scoring system. Here the method uses integrated Jacobians, a way to use changes in internal quantities to estimate contributions across inputs. It gives the authors a matrix of relationships between parts of the original and rewritten sentences. The analysis asks a more local question than a single cosine score, which summarizes proximity between whole-text representations.
The reported trend links lower attribution scores at the 90th percentile to more answer errors. The percentile identifies a point in the distribution of attribution scores. The observation associates weaker attribution signals with harder cases. The attribution comes from a sentence-pair system, so its direct object is the relationship between the source and the paraphrase. It can suggest where the texts correspond less clearly, while an explanation of how the answer system chose the wrong option would require evidence about that system’s own decision.
The authors also visualize sentence embeddings using t-SNE, which places high-dimensional vectors in a lower-dimensional view to help inspect groups. They compare lexically aligned and unaligned paraphrases and report no clear separation in the plots. The finding fits the division between the checks. Embedding similarity compares semantic representations, while LexHub ordering responds to cues in the text associated with the requested categories. A pair can move in the expected lexical direction while preserving the topic, and a pair can be close in semantic space while receiving the reverse ordering.
Which features accompany the category differences
The appendix examines recurring words and other stylistic features in the generated sets. The Young rewrites include emphatic language, conversational verbs, pronouns, and slang. The paper illustrates this with a scenario retold in conspicuously casual vocabulary. Such wording shows how a short source can be changed across several dimensions at once. An emphatic adverb can alter tone, a colloquial verb can recast an action, and an added flourish can change what a reader takes to be the point of the story.
The Old rewrites are described as more formal and more inclined to use traditional vocabulary and fuller narrative expression. The Gender Ambiguous set makes frequent use of the possessive pronoun “their,” which the authors interpret as an attempt to avoid specifying gender. This observation concerns what the generator does in response to the prompt. The examples help explain how the style sets came to differ in ways that a single summary score would miss. They also show why accuracy differences cannot be attributed to a named category alone. Each category is carried by a bundle of language choices.
The authors examine another component of that bundle with VADER, a lexicon- and rule-based procedure for scoring sentiment. In Male–Female pairs that agree with LexHub, 33.8% have a lower sentiment score for the Female rewrite than for the Male rewrite. Among pairs that disagree with LexHub, that pattern occurs in 43.0%. The comparison shows that the relative sentiment of the two rewrites varies with agreement status. Because LexHub and VADER both respond to words in the same texts, the observation can reflect overlapping lexical cues. It does not establish that changing sentiment alone would move the LexHub score in a predictable direction.
Which social inferences change with style
The authors also examine the task by the kind of inference a question asks for. They manually map SocialIQA development items to categories from ATOMIC. These categories distinguish questions about causes, effects, attributes, and mental states. A question about something an actor needed before doing an action belongs to a different category from a question about what another person wants afterwards. Breaking the results down by such distinctions tests whether a style affects different kinds of social inference in the same way.
The paper reports larger fluctuations for xNeed, which concerns prerequisites or needs before an action, and oWant, which concerns another person’s desires after an event. The Young rewrites are especially difficult on xNeed in the analysis. Middle Age rewriting improves performance on xIntent, which concerns an actor’s intention, and on xReact, which concerns the actor’s reaction. The sets generally cluster more closely on xAttr and xReact than on the more variable categories. A favorable result for a particular condition can occur even within a category whose accuracy is relatively close across sets overall.
This breakdown shows how a single average can obscure the questions for which wording matters most. It describes the answer systems’ performance on category-labeled rewrites. For example, difficulty on xNeed in the Young set is a finding about how the systems handle those generated versions of prerequisite questions. The comparison leaves open whether the challenge arises from vocabulary, changes in the cues that make a need inferable, or other properties that vary across that subset.
Limitations
Limits the authors state
The authors restrict their generalization to the systems and benchmark they evaluate. SocialIQA supplies a particular kind of short social context and a fixed multiple-choice task. The study varies the rendering of those contexts along age and gender cues. It does not sample the wider range of language variation that the authors mention, such as differences linked to regional dialect, ethnicity, or socioeconomic circumstances. The results identify vulnerabilities inside the evaluation and provide a way to look for them elsewhere.
The authors also emphasize that their labels are relative. The underlying lexical associations come from text linked to self-reported demographic categories, and the study uses word frequencies as evidence of an orientation along those categories. The pairwise alignment rules reflect that choice. They ask whether a move toward a requested style is detectable relative to a matched paraphrase. Such an ordering is too limited to identify a writer or to draw strict boundaries around how a group writes.
The Gender Ambiguous category is meant to broaden the range of generated gender styles beyond the Male and Female labels. The study observes how the generator responds to that instruction, including its use of gender-neutral references. The label still poses a research design question about which kinds of language variation it represents. There is no counterpart in the printed alignment rules to establish where this category would fall on the same scale, and its characteristics cannot stand in for the varied language of people outside a binary classification.
The authors identify the risk that demographic paraphrasing can reinforce bias. A generator’s associations may exaggerate tendencies or repeatedly insert characteristics absent from the source. Differential performance on the resulting text raises questions about how systems respond to variation in expression. A study of generated scenarios can help motivate work on bias, fairness and safety, while an assessment of unequal treatment in use would require evidence about actual users, settings, and consequences.
Limits visible in the comparison
The most immediate limit comes from keeping the recorded answer fixed after an automatic rewrite. If the rewrite changes a fact or implication relevant to the question, the original key becomes an imperfect way to judge the new item. A system could give a defensible answer to the revised situation and count as wrong. It could also recover the original answer despite a faulty rewrite and count as correct. The human evaluation catches examples of the underlying problem among the errors it examines. It leaves the prevalence and consequences of such changes across the whole evaluation open.
The cohorts in the human review are subsets of errors on the Male and Female rewrites. The groups most prominently associated with difficulty elsewhere in the paper are Young and Gender Ambiguous. The validity rates measured in the reviewed cohorts cannot be transferred to those sets. Their lower average similarities make semantic drift a plausible part of the explanation, but a lower average does not identify how many questions retain their original answer. The next inference would require judgments about the relation between each rewrite and the particular question asked.
LexHub is an independent scoring method in the sense that it is separate from LLAMA2, yet its evidence consists of associations drawn from social media text. Short generated benchmark scenarios are a different kind of input. A generator can satisfy the relative ordering by repeating a few strong lexical cues, even if the overall style appears artificial to readers. Agreement with LexHub supports the prompt comparison under a defined criterion. It leaves realism, naturalness, and coverage of language used by people to a separate assessment.
There is a corresponding limit to the similarity and perplexity analyses. A sentence encoder can give nearby representations to texts that differ on an answer-relevant detail, or it can assign a lower similarity to a faithful but unconventional rewrite. A predictability score reflects the habits of the system that assigns probabilities to the words. Neither measure is a direct test of the logical relationship between a scenario and its answer. When both metrics are associated with accuracy, the paper can describe the characteristics of the harder sets. It cannot infer a causal sequence from those associations.
The interpretation of formality has the same constraint. More colloquial rewrites in the experiment can also be more emphatic, introduce uncommon vocabulary, and differ in semantic similarity. The resemblance of some formal variants to original-set accuracy is compatible with a role for formality, but these comparisons do not vary it independently. The paper’s suggestion that the observed pattern reflects the coverage of training data is also an interpretation. The experiment measures responses to generated text. It does not measure which kinds of informal language the answer systems saw during training.
The demonstrations are part of the full inference prompt. Their benefit could come from helping with the structure of SocialIQA, clarifying what counts as a good answer, or making some linguistic cues easier to use. The 0-shot and 2-shot results establish that examples matter under the tested conditions. They do not separate these mechanisms. A comparison with fine-tuned encoders likewise leaves several factors varying together, including architecture, parameter training, and the procedure used to score an answer.
Finally, the strongest evidence concerns the styles LLAMA2 generates and the response of the evaluated systems to that text. LLAMA2 takes part on both sides of the experiment, as a generator and as an answer system. MISTRAL supplies a separate answer system, and GPT-2 supplies a separate perplexity scorer. These comparisons broaden the evidence within the study, while the styles themselves still arise from the same generation procedure. Observing the pattern with several scorers is therefore compatible with the difficulty depending in part on how that procedure renders each category.
What came after
The later citing study moves the question of robustness to clinical numeracy. Its stated subject is numerical reasoning in clinical contexts, whereas the SocialIQA study tests social inferences across alternative renderings of a scenario. The connection is the assessment of robustness in a defined reasoning task. In the earlier work, the contrasting inputs are age- and gender-styled rewrites, and the outcome is accuracy on a fixed set of social questions. The later work asks about robustness in a domain where the abilities being assessed are numerical. How Robust Are Large Language Models for Clinical Numeracy? An Empirical Study on Numerical Reasoning Abilities in Clinical Contexts
The citation establishes that the earlier robustness study figures in the clinical numeracy work’s account of the field. The link between the studies can be described at that level. Whether the later authors used demographic prompts, adopted the same answer-selection procedure, or reproduced a particular pattern of sensitivity is unspecified.
Cite
Cite as Pulkit Arora, Akbar Karimi and Lucie Flek. 2025. Exploring Robustness of LLMs to Paraphrasing Based on Sociodemographic Factors. arXiv:2501.08276.
@misc{arora2025exploring,
title = {{Exploring Robustness of LLMs to Paraphrasing Based on Sociodemographic Factors}},
author = {Pulkit Arora, Akbar Karimi and Lucie Flek},
year = {2025},
doi = {10.48550/arxiv.2501.08276},
eprint = {2501.08276},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2501.08276}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/arora-2025-exploring-robustness-llms-paraphrasing-based/
References
- Paulo Alting von Geusau and Peter Bloem. 2020. Evaluating the robustness of question-answering models to paraphrased questions. In Benelux Conference on Artificial Intelligence, pages 1–14. Springer. OpenAlex ↗ · Scholar ↗
- Shlomo Argamon, Moshe Koppel, Jonathan Fine, and Anat Rachel Shimoni. 2003. Gender, genre, and writing style in formal written texts. Text & talk, 23(3):321–346. OpenAlex ↗ · Scholar ↗
- Rishi Bommasani, Percy Liang, and Tony Lee. 2023. Holistic evaluation of language models. Annals of the New York Academy of Sciences, 1525(1):140–146. OpenAlex ↗ · Scholar ↗
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805. our card
- Ahmad Ghazal, Tilmann Rabl, Minqing Hu, Francois Raab, Meikel Poess, Alain Crolotte, and Hans-Arno Jacobsen. 2013. Bigbench: Towards an industry standard benchmark for big data analytics. In Proceedings of the 2013 ACM SIGMOD international conference on Management of data, pages 1197–1208. OpenAlex ↗ · Scholar ↗
- Clayton Hutto and Eric Gilbert. 2014. Vader: A parsimonious rule-based model for sentiment analysis of social media text. In Proceedings of the international AAAI conference on web and social media, volume 8, pages 216–225. OpenAlex ↗ · Scholar ↗
- Albert Q Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, et al. 2023. Mistral 7b. arXiv preprint arXiv:2310.06825. OpenAlex ↗ · Scholar ↗
- Aisha Khatun and Daniel Brown. 2023. Reliability check: An analysis of GPT-3's response to sensitive topics and prompt wording (https://doi.org/10.18653/v1/2023.trustnlp-1.8). In Proceedings of the 3rd Workshop on Trustworthy Natural Language Processing (TrustNLP 2023), pages 73–95, Toronto, Canada. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692. our card
- Miguel Marx Larre. 2023. Effects of paraphrasing and demographic metadata on nli classification performance. B.S. thesis. OpenAlex ↗ · Scholar ↗
- Lucas Moeller, Dmitry Nikolaev, and Sebastian Padó. 2023. An attribution method for Siamese encoders (https://doi.org/10.18653/v1/2023.emnlp-main.980). In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 15818–15827, Singapore. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Haytham Mohtasseb and Amr Ahmed. 2010. The affects of demographics differentiations on authorship identification. Electronic Engineering and Computing Technology, pages 409–417. OpenAlex ↗ · Scholar ↗
- Matthew L Newman, Carla J Groom, Lori D Handelman, and James W Pennebaker. 2008. Gender differences in language use: An analysis of 14,000 text samples. Discourse processes, 45(3):211–236. OpenAlex ↗ · Scholar ↗
- Jozefien Piersoul and Freek Van de Velde. 2023. Men use more complex language than women, but the difference has decreased over time: a study on 120 years of written dutch. Linguistics, 61(3):725–747. OpenAlex ↗ · Scholar ↗
- Daniel Preotiuc-Pietro, Wei Xu, and Lyle Ungar. 2016. Discovering user attribute stylistic differences via paraphrasing. In Proceedings of the aaai conference on artificial intelligence, volume 30. OpenAlex ↗ · Scholar ↗
- Nils Reimers and Iryna Gurevych. 2019. Sentence-bert: Sentence embeddings using siamese bert-networks (http://arxiv.org/abs/1908.10084). In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics. our card
- Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. 2019. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108. our card
- Maarten Sap, Gregory Park, Johannes Eichstaedt, Margaret Kern, David Stillwell, Michal Kosinski, Lyle Ungar, and H Andrew Schwartz. 2014. Developing age and gender predictive lexica over social media. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pages 1146–1151. our card
- Maarten Sap, Hannah Rashkin, Derek Chen, Ronan LeBras, and Yejin Choi. 2019. Socialiqa: Commonsense reasoning about social interactions. arXiv preprint arXiv:1904.09728. our card
- Zhouxing Shi and Minlie Huang. 2019. Robustness to modification with shared words in paraphrase identification. arXiv preprint arXiv:1909.02560. OpenAlex ↗ · Scholar ↗
- Samson Tan, Shafiq Joty, Kathy Baxter, Araz Taeihagh, Gregory A. Bennett, and Min-Yen Kan. 2021. Reliability testing for natural language processing systems (https://doi.org/10.18653/v1/2021.acl-long.321). In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 4153–4169, Online. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Yiming Tan, Dehai Min, Yu Li, Wenbo Li, Nan Hu, Yongrui Chen, and Guilin Qi. 2023. Evaluation of chatgpt as a question answering system for answering complex questions. arXiv preprint arXiv:2303.07992. OpenAlex ↗ · Scholar ↗
- Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. 2023. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288. our card
- Pantelis Vikatos, Johnnatan Messias, Manoel Miranda, and Fabricio Benevenuto. 2017. Linguistic diversities of demographic groups in twitter. In Proceedings of the 28th ACM Conference on Hypertext and Social Media, pages 275–284. OpenAlex ↗ · Scholar ↗
- Angelina Wang, Jamie Morgenstern, and John P Dickerson. 2024. Large language models cannot replace human participants because they cannot portray identity groups. arXiv preprint arXiv:2402.01908. OpenAlex ↗ · Scholar ↗
- Tianlu Wang, Xuezhi Wang, Yao Qin, Ben Packer, Kang Li, Jilin Chen, Alex Beutel, and Ed Chi. 2020. Cat-gen: Improving robustness in nlp models via controlled adversarial text generation. arXiv preprint arXiv:2010.02338. OpenAlex ↗ · Scholar ↗