---
title: "Performance in a dialectal profiling task of LLMs for varieties of"
description: "A study of how generative AI writes for Brazilian Portuguese dialects, identifies intended state audiences, and responds to linguistic clues."
canonical: "https://research.elamur.ai/free/en/papers/freitag-2024-performance-dialectal-profiling-task-llms/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/freitag-2024-performance-dialectal-profiling-task-llms/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / Performance in a dialectal profiling task of LLMs for varieties of Brazilian Portuguese

# Performance in a dialectal profiling task of LLMs for varieties of Brazilian Portuguese

Paper · 2024 · Raquel M. Ko Freitag and Túlio Sousa de Gois

**Authors:** Raquel M. Ko Freitag and Túlio Sousa de Gois · **Year:** 2024 · **Venue:** Proceedings of the 15th Brazilian Symposium in Information and Human Language Technology · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 15th Brazilian Symposium in Information and Human Language Technology · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2024.stil-1.37/)
- [PDF](https://aclanthology.org/2024.stil-1.37.pdf)

## Summary

A text can sound recognizably regional without giving a reader enough evidence to place it in a particular state. Freitag and Gois examine that gap in Brazilian Portuguese using a writing task followed by a reading task. They ask GPT 3.5, GPT-4o, Gemini, and Sabiá-2 to write a Facebook biography for a T-shirt shop in the variety associated with each requested Brazilian state. They then ask the systems and human specialists to infer the intended state from the resulting advertisements. The state named in the writing request supplies the reference answer. It records the audience the text was meant to address.

The writing task produced 108 advertisements. In the outputs from GPT 3.5, GPT-4o, and Gemini, the authors found variation in pronouns, verb agreement, interjections, and other expressions that can give writing a regional or social flavor. They found no comparable dialectal variation in Sabiá-2’s advertisements for this task. Placing the texts proved harder. The human specialists showed weak agreement with one another, at κ = 0.31 on Fleiss’ kappa, an agreement measure that accounts for agreement expected from the distribution of answers. Their agreement with the intended state was κ = 0.13. On the basic classification prompt, agreement was κ = 0.15 overall, and GPT-4o led the systems at κ = 0.21.

A second classification prompt named the kinds of evidence the human judges had noticed, including interjections, pronoun choices, and verb agreement. The addition brought no significant improvement in state identification. GPT 3.5 was the exception to the general direction of the change, with one additional correct identification. Individual responses help explain what an aggregate score leaves out. GPT-4o sometimes gave a specific state and related its choice to a cluster of expressions. GPT 3.5 could give a detailed account of similar expressions and still settle on a broad region. Both outcomes matter to the study’s question about [dialectal bias](https://md.research.elamur.ai/free/en/topics/bias-fairness-safety/). Recognizing a way of speaking and assigning it a place are different judgments, especially when a form carries associations with informality, urban life, and region at the same time.

## Deep dive: Performance in a dialectal profiling task of LLMs for varieties of Brazilian Portuguese

A study of how generative AI writes for Brazilian Portuguese dialects, identifies intended state audiences, and responds to linguistic clues. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What a regional label asks a reader to infer

The study begins with an ordinary social judgment. A reader sees a turn of phrase and associates it with a place, a kind of speaker, or a setting. Several associations may come to mind at once. A word might sound colloquial to someone who has heard it in several parts of Brazil, while another reader thinks first of a particular state. In a shop advertisement, a greeting can also be a way of striking up a friendly relationship with prospective customers. The same greeting can therefore contribute to the social tone of the text and to an impression of where it belongs.

Freitag and Gois turn such judgments into a task with a definite answer. A system is given an advertisement and asked to name the state whose residents were the intended audience. The request puts a demanding geographical interpretation on clues that may be much broader. Someone might recognize an expression as associated with the Northeast, for instance, and still be unable to choose among states. The target also concerns an audience instead of an author’s private history. The biographies are commissioned pieces of writing with an assigned destination. The reader is trying to infer that destination from choices made in composing the advertisement.

The paper treats a language variety as something observable across texts produced under particular social circumstances. It draws on earlier work that characterizes varieties through conditions such as the background of the people producing the texts, the setting in which they do so, and the period in which the texts are produced. A state name can stand in for a geographical dimension of that variation. Much of what shapes a text remains outside the label. The way people write to friends, the way they advertise a shop, and the way they represent a local voice for an outsider can produce different patterns within the same place.

This distinction gives the experiment its premise. The writing instruction asks for a state-specific version of a shared commercial task. To fulfill it, a system has to decide which expressions will make the copy sound appropriate for that audience. The authors can inspect those choices for evidence of linguistic differentiation. They can then see how far a fresh judgment about the advertisement goes towards recovering the geographical label that prompted it. A recognizable stylistic choice can serve as evidence in the first task even if it leaves the second task unresolved.

#### Patterns, stereotypes, and the evidence for each

The authors describe a long tradition of geolinguistic and sociolinguistic work on Brazilian Portuguese. Geographic surveys document where particular forms occur. Sociolinguistic descriptions also attend to the people using those forms and the situations in which they use them. Together, this earlier work gives the authors grounds for expecting structured variation. It also gives them a reason to be careful with the units of the experiment. The social and geographical patterns they discuss can extend across political boundaries. A request for a state converts a pattern with some geographical distribution into a choice among administrative labels.

The paper illustrates familiar associations with the debate over *biscoito* and *bolacha* for a cookie, with memes about people from Minas Gerais, and with humorous maps of Brazil. These examples belong to what the authors call perceptual dialectology, the study of how people understand and represent linguistic differences. A joke can show that an association is sufficiently familiar for an audience to recognize it. A map that compresses a state into a joke can make the association seem much more geographically precise than the underlying usage. Public representations of language are thus evidence about which features people notice and what meanings they attach to them.

The paper’s examples from sociolinguistic descriptions extend beyond vocabulary. Pronouns offer choices such as *nós* or *a gente* for referring to a group that includes the speaker, and *tu* or *você* for addressing someone. A reader may also need to look at the verb that goes with a pronoun. The contrast between *tu vais* and *tu vai* concerns the verb’s agreement with the subject. The paper gives *cante* and *canta* as examples of how different verb forms can serve an imperative function. These are differences in [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/) and grammar that can appear even when writers are performing the same communicative act.

Some pronunciation differences can leave traces in writing as well. The paper notes that representations of diminutives and diphthongs can appear in the written language of memes. The distinction between a spoken pattern and a written representation matters in this experiment because the material is entirely textual. An unconventional spelling can invite the reader to hear a voice. How faithfully it represents pronunciation in a speech community is a separate question. The generated advertisements are especially well suited to exposing which spellings and expressions the systems choose to present as regional when a user explicitly requests a local style.

The authors also place dialect in a social hierarchy. They describe accounts of Brazilian media and education in which prestigious varieties and stigmatized varieties receive unequal treatment. Their example of how regional accents are portrayed in soap operas connects representation to social judgment. An accent can become a sign of what sort of character a viewer is meant to recognize. The paper asks whether generative systems reproduce associations of this kind when given the task of writing for local audiences. A familiar representation may reflect usage, a stereotype about usage, or a mixture of the two. The output gives the researcher something to examine without resolving that history by itself.

#### Why investigate through prompts

The paper describes uncertainty about where learned linguistic associations come from. Training material can represent some communities and styles much more extensively than others. Rules and filters applied during [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) can also shape what appears in a reply. The authors report that the systems they study do not disclose the sizes or textual sources of their training collections. A reader consequently has no inventory from which to check how the relevant varieties were represented or what kinds of regional writing each system encountered.

Prompting offers behavioral evidence under these circumstances. If a state name changes the pronouns and expressions that appear in an otherwise similar assignment, the change is visible in the reply. If a reading instruction names particular kinds of linguistic evidence and the resulting choices change, that difference can also be observed. The authors liken this strategy to eliciting human language attitudes. An association need not be available as a rule a person can easily state, yet it can emerge in how they react to a form. In the same way, a writing or reading prompt can expose associations through the task it asks the system to perform.

The paper situates this question alongside work on stereotyping and [linguistic bias in ChatGPT](https://md.research.elamur.ai/free/en/papers/fleisig-2024-linguistic-bias-chatgpt-language-models/). It also cites research concerned with [linguistic analysis of African American English](https://md.research.elamur.ai/free/en/papers/dacon-2022-deep-multi-layered-dialectal-language/) and with [evaluating and mitigating bias involving African American English](https://md.research.elamur.ai/free/en/papers/dacon-2022-evaluating-mitigating-inherent-linguistic-bias/). Those citations frame the expectation that social inequalities in the treatment of language varieties can carry over into computational settings. The Brazilian Portuguese study defines its own test around what can be observed about the choice and interpretation of regional cues.

The distinction between linguistic differentiation and fair treatment runs through that motivation. An assistant that varies its writing by region is exhibiting sensitivity to the request. Its choices might still narrow a diverse community to a handful of familiar expressions. An assistant that uses much the same voice for every state avoids some conspicuous regional caricatures, but its uniformity tells the researcher little about whether it can write in the varieties that users ask for. The experiment approaches the fairness question through these observable behaviors. Its direct measurements concern how successfully the systems make regional distinctions in a constrained setting.

### The method, step by step

#### Writing the advertisements

The authors use GPT-4o and GPT 3.5 from OpenAI, Gemini from Google AI, and Sabiá-2 from Maritaca AI. The procedure begins with a common brief. Write a Facebook biography for a T-shirt business using the variety associated with a named state. For each request, the authors substitute the state’s name into the same instruction. That substitution supplies the particular local audience. The character of the assignment, the type of business, and the intended publication format are held constant in the instruction. The paper dates the collection to 10 June 2024.

The output genre gives the systems room to choose how to address a reader. An advertisement might greet potential customers, talk about what the shop sells, and invite them to visit or buy something. Those rhetorical needs give rise to a range of linguistic opportunities. The writer can address the reader with a pronoun, use a verb form suited to a suggestion or command, or speak of what the shop and its customers share. Openings and invitations also create space for interjections and conversational expressions. The authors can inspect all of those choices without first deciding that a specific word must appear in every sample.

The set contains 108 texts, with 4 for each of the 27 state targets in the study. Each system contributes 1 text for a given target. In the generation set, every target therefore has the same representation. Since the state is assigned before the text is generated, the reference label comes from the writing instruction. For instance, a response generated for a named state retains that target even if the actual biography sounds as if it could run anywhere. This makes omission of distinctive local cues a possible outcome of the writing stage.

The researchers examine the generated material for dialectal features before evaluating the state assignments. Their starting point includes words and turns of phrase that call attention to themselves, such as greetings or interjections, and grammatical decisions such as the subject and verb used to express a collective action. These are observations about the texts. No feature inventory was built into the generation request. The writing task thus leaves each system free to choose whether to differentiate the targets through grammar, through vocabulary, through the topic or scenery of the advertisement, or through some combination of these.

From state-targeted writing to agreement measurement The steps in order.

#### Asking specialists to read for place

The generated texts were also read by three specialists in syntactic dialect variation. Their assignment was to identify the intended state and explain how they reached their judgment. Their expertise is pertinent because some of the potential evidence lies in sentence structure. A reader who notices an informal subject pronoun has only part of that evidence. Examining the verb next to it can show how informality is expressed in the sentence as a whole. Similarly, a judgment about address can involve both a second-person form and the grammatical construction in which it appears.

The judges’ state labels serve one purpose and their accounts of the texts serve another. The labels can be compared with each other and with the targets named during writing. Their explanations tell the researchers which forms stood out to expert readers. The distinction lets the study retain information from a considered explanation even when the label at the end of it is wrong. A judge can recognize the same feature as another judge and give it a different geographical interpretation. The cue itself can still inform the wording of the next task.

The paper uses the specialists’ observations to choose categories to mention in a classification prompt. It gives interjections, second-person pronouns, first-person plural pronouns, and verb agreement for each of those grammatical persons. An interjection can be a brief expression used to react, attract attention, or establish the tone of an exchange. Second-person forms address the reader or listener. First-person plural forms include the speaker in a group. Agreement concerns the form of the verb in relation to its subject. The prompt calls attention to these kinds of evidence across the input texts.

The judges do not set the correct geographical answer by consensus. That answer remains the target assigned by the generation request. This is an important property of the procedure because the researchers want to learn whether the purpose behind the writing can be inferred by a reader. If the judges chose a different state from the one in the assignment, that disagreement is part of the result. Their explanations can help make sense of the ambiguity without requiring their interpretation to replace the original label.

#### Asking the systems to classify with and without guidance

The basic classification prompt identifies the task as determining the target audience of an advertisement. The system receives the generated biography and is asked to name a Brazilian state using its linguistic marks. This already directs attention to language. Any answer still depends on how the system interprets that direction, how it reads the particular advertisement, and whether it is willing to select a state from the evidence it finds.

The enriched prompt has the same essential objective and includes the biography as well. It adds the categories derived from the human readings. The addition narrows attention to specific parts of the language the authors consider potentially informative. For example, a reader following the instruction might check how the writer refers to the shop collectively or how the copy addresses the prospective customer. The category list does not identify the relevant words for an individual advertisement or supply a mapping from a particular form to a particular state. Interpreting both the input and the geography remains part of the task.

That choice makes the comparison more specific than asking whether outside sociolinguistic expertise can help in principle. The intervention is a brief checklist, delivered to the reader at classification time. Its possible contribution is to make kinds of evidence more salient. A more detailed intervention, such as giving examples of form distributions or attaching a human analysis to each advertisement, would test a different proposition. Here the authors ask whether attention to a shared vocabulary for discussing variation is enough to help recover the intended location.

The paper reports 216 classifications, with 108 under the basic prompt and 108 under the prompt with added clues. Those totals are the study’s reported classification counts. The classification is carried out through responses to instructions in Brazilian Portuguese. No additional training procedure on these advertisements is described. The data procedure consists of generating the texts, reading and classifying them, and organizing the resulting judgments for analysis. The authors make the dataset and their analysis scripts available.

#### Coding answers and measuring agreement

The classification requests produce open responses. A system may name a state, name a city as part of an explanation, discuss a larger region, or say that the evidence is insufficient. To compare them, the authors remove city names and retain state names. They also standardize null responses under a Portuguese label meaning unidentified. Certain invalid geographical answers, including *Sudoeste* and *Região Amazônica*, are retained as given. The result of the processing is a set of categorized classifications stored in CSV files.

The handling of city and region names follows from the requested level of detail. A city on its own is a different kind of unit from a state. A response that invokes the Amazon region may be geographically meaningful to a reader, but it still fails to provide the kind of label the task requests. Retaining invalid categories also leaves visible a useful property of the task. Some answers express a geographical association while stopping short of the reference answer the researchers can check. A reading of the results therefore needs room for both the amount of analysis in a reply and the category it ultimately supplies.

The paper uses Fleiss’ kappa to measure agreement in the classifications. It denotes this statistic by κ. The statistic compares observed agreement with the agreement expected from how frequently the raters use the available categories. If raters often choose the same state, some matching answers are expected simply because that choice is common. The statistic accounts for such concentration. This matters here because a system can repeatedly favor a state, while another system may use the unidentified category frequently. The paper provides kappa estimates for its comparisons without writing out a formula for the calculation.

The paper also reports rates for particular outcomes. Correct identification refers to recovering the target state. Non-identification refers to cases characterized as lacking a state identification. The authors summarize recurring state choices as well. These measurements answer different questions. A rate of correct identification concerns success against the generation target. A rate of non-identification concerns how often a system reaches the point of giving a place of the requested kind. The distribution of named states concerns the places it tends to associate with the material. Kappa describes the agreement comparison specified for the score. Keeping track of the comparison and the denominator helps prevent any of these quantities from standing in for the others.

### Experiments and results

#### What the advertisements made visible

The exploratory analysis asks whether language shifts across the state-targeted writing requests. The authors report that Sabiá-2’s generated responses showed no dialectal variability. The example they present is promotional copy for a sustainability-minded shirt business. It invokes local scenery, culture, and community pride through broadly usable language and a placeholder for the place. A text of this type can sound locally committed while remaining portable across locations. The same appeal to regional pride can be made with little change to the style of the writing itself.

GPT 3.5, GPT-4o, and Gemini varied their outputs in ways the authors could relate to descriptions of Brazilian Portuguese. The paper notes differences in the use of *tu* and *você*, alternations in verb agreement with a first-person plural subject, and choices such as *compre* and *compra* for urging a customer to do something. Some of the most conspicuous differences are in the brief expressions that frame an invitation or give it a conversational rhythm. The paper points to interjections such as *uai*, *oxente*, and *ôxe* and to expressions such as *visse?* and *tá ligado?*.

The examples show how variation can arise through choices at several levels in the same piece of copy. In Gemini’s example, the shop uses an informal first-person plural form and talks about environmental responsibility in an Amazonian setting. An expression like *visse?* gives the sentence a recognizable conversational quality. GPT 3.5’s example also presents the business in relation to the Amazon, but builds rapport with the reader in part through *tu* and the forms used with it. GPT-4o’s example uses a different collection of informal greetings, expressions, and invitations while making a broadly similar appeal about clothing and the environment.

These samples are informative partly because the subject matter overlaps. The advertisements can all talk about environmentally responsible production and still offer different versions of an informal voice. A reader trying to identify a state has to decide how much weight to give the environmental setting, the expression used to address a customer, the grammar of a particular clause, and the overall combination. The paper’s classification examples later show what happens when several of those cues point toward an association that is recognizable yet geographically broad.

The authors describe the variation as consistent with patterns documented in sociolinguistic studies. The point of that comparison is that the alternations they observe belong to kinds of variation already discussed for Brazilian Portuguese. It gives the researchers a basis for treating grammatical and discourse differences as meaningful observations. A form that belongs to a documented pattern can appear in an advertisement for a state where it is one possibility among many, and an advertisement can bring several such possibilities together in ways that make its specific target difficult to recover.

#### How the human specialists performed

The human judgments establish how demanding the task was even for readers trained to look for syntactic variation. Agreement among the judges on their state assignments was κ = 0.31. The paper characterizes that inter-annotator agreement as weak. Their agreement with the intended state was κ = 0.13. The two values have different reference points. The former concerns the judges’ choices in relation to one another. The latter concerns their choices in relation to the state used to elicit the text.

The judges detected several of the same types of evidence that the authors had found in the exploratory analysis. Their explanations make this overlap visible even when the resulting places differ. The study can therefore record some convergence on what to look at alongside weak convergence on where that evidence leads. A grammatical construction can strike several readers as worth mentioning without selecting a state on its own. The difference between those activities is central to interpreting the human comparison.

These specialists offer a reference for difficulty in a task built around generated advertisements. Their result shows what happened when readers with relevant expertise worked with these particular texts. Their agreement cannot establish the maximum attainable score on the material. In an individual example, an intended state may be an excellent description of the writer’s instructions and only a weak description of the copy that came out. Conversely, several judges may independently reach the same interpretation of an advertisement even if the original request named another place.

There is also a difference between an expert explanation and the state label that enters the score. An explanation can identify an interjection, describe why a choice of pronoun is salient, and mention that the construction circulates across a wider region. The agreement statistic uses the eventual categorization. The experts’ reasoning has an additional role in the study because it led to the cue categories in the enriched prompt. A low score on target recovery can coexist with expert observations specific enough to design that prompt.

#### The basic classification prompt

Under the prompt that supplies the task and advertisement without the checklist, the paper reports overall weak agreement of κ = 0.15. In the results for this condition, Sabiá-2 shows the lowest agreement at κ = 0.10, and GPT-4o the highest at κ = 0.21. The chart uses the values that the results section explicitly assigns to the basic prompt. These are agreement coefficients for the state identification task.

State identification agreement on the generated advertisements with the basic prompt GPT-4o had the highest reported agreement, while Sabiá-2 had the lowest.

**The numbers**

| System or setting | Fleiss’ kappa |
| --- | --- |
| Sabiá-2 | 0.10 |
| GPT-4o (this paper) | 0.21 |

The response rates show how different the systems could be in willingness or ability to identify a place. The paper reports that under the basic condition, Sabiá-2 and Gemini failed to identify a profile in 91% and 88% of cases, respectively. GPT 3.5 and GPT-4o each identified the correct location in over 20% of cases. The first pair of figures concerns missing identifications. The latter statement concerns agreement with the intended location on individual classifications. A system that frequently submits a state can still be wrong, so more state names in the replies do not by themselves imply more correct assignments.

The paper also reports where answers tended to land in this condition. Minas Gerais was the most common state reported for GPT-4o, at 9%, and for GPT 3.5, at 4%. The corresponding state for Sabiá-2 was São Paulo, at 5%, and for Gemini it was Rio Grande do Sul, at 2%. These percentages describe the reported frequencies of prominent state choices under the basic prompt. They should be read as concentrations in the answers. Repeatedly choosing Minas Gerais tells the reader something about the distribution of labels. It does not give the rate at which advertisements written for Minas Gerais were correctly identified.

The use of the same state name by GPT-4o and GPT 3.5 is interesting because each still has its own frequency of choosing it. Conditions at the level of an individual text may differ considerably from the aggregate picture. A system might associate a conspicuous expression with a place and return to that place for otherwise dissimilar samples. It might also have stronger grounds for some individual judgments than others. The state-frequency results show that the pattern of outputs has geographical centers of attention. The paper’s prose examples are needed to see what a system gave as its grounds in a particular case.

Gemini’s replies introduce an additional observation. Though the prompts were in Brazilian Portuguese, it replied in English. That separates the language in which the reading assignment was given from the language used to report the answer. The paper records this alongside the classification behavior. It supplies no comparison in which reply language is varied independently, so there is no result about what the agreement or non-identification rate would have been had the replies stayed in Portuguese.

#### The prompt with linguistic categories

Adding the cue categories did not lead to a significant improvement. The authors report that non-identification generally increased in the enriched condition, with the increase described as statistically non-significant. GPT 3.5 was the exception highlighted in the results. It found one more correct location, a change the paper reports as an increase of 0.92% in identification for that system. The narrow size of the exception matters. The result establishes that one system gained an additional correct answer in this run, alongside the broader result of no significant improvement from the prompt addition.

The distributions of identified places remained similar in the authors’ account, with a change for GPT 3.5 towards Pernambuco. This is a different observation from the one concerning its additional correct answer. A prompt can affect where responses concentrate even when the number of correct cases changes little. The paper presents geographical displays for the basic and enriched conditions. Its description of those displays emphasizes the places the systems singled out, which helps explain why a change in the contents of answers deserves attention even when aggregate performance is largely unchanged.

Only GPT 3.5 and GPT-4o gave explicit analyses based on dialectal clues in the authors’ comparison. One kind of explanation related *tu* to usage in southern Brazil. Another treated *nóis vai* as suggestive of informality or an urban style. These accounts show how a response can translate a feature spotted in print into a social association. The associations themselves can differ in scope. An observation about informality can fit several places. A claim about a region reduces the set of plausible states without resolving it.

The added categories can also prompt an analyst to consider features for which the text supplies little evidence. An advertisement may include a vivid colloquial expression but give few opportunities to observe the agreement pattern relevant to a particular pronoun. A checklist brings both kinds of evidence into view. Its items will differ in usefulness from one advertisement to another. The reported results are consistent with this uneven value, although the study does not measure the informativeness of each item by independently manipulating it.

#### What an individual classification looks like

The paper compares answers to the same advertisement to show what a decision entails in practice. Sabiá-2 discusses informality, slang, sustainability, and the absence of a definite place name. Its reply considers the Northeast on the basis of linguistic style and offers southern possibilities by reasoning about environmental engagement and marketing. It ends without an exact state. The reading is elaborate enough to expose several associations, but its conclusion leaves the classification unresolved.

GPT 3.5’s analysis of that advertisement singles out colloquial expressions and first-person plural grammar. It relates those features to urban dialects and names several possible places in the course of its explanation. Its final judgment remains at the level of broad regions, especially the Southeast or Center-West. This example shows the distance between naming a feature and selecting a state. A reader can be relatively specific about a pronoun and its verb while being cautious about the geographical inference the task demands.

GPT-4o names São Paulo for the same input, which the paper presents as the intended state. Its reply draws on a cluster of colloquial expressions, including *tá ligado?* and *da hora*, and on *nóis trabalha*. It also comments on which clues are absent or cannot be assessed confidently. The geographical account combines an interpretation of the language as urban and colloquial with an association with São Paulo. Because this response supplies a definite state, it can be evaluated against the original label directly.

The paper gives a separate GPT-4o example that identifies Pernambuco. In this case *visse?* is part of the reply’s case for the state, alongside informal vocabulary and a first-person plural construction like the one discussed in the São Paulo example. The authors compare the role that the construction plays in the two readings. In the São Paulo case it contributes to an impression of urban life. In the Pernambuco case it is associated with an informal regional voice. The other cues help shape which interpretation it receives.

The authors explain this possibility through an indexical field, the set of social meanings a linguistic form can call up in different contexts. Consider the contrast as a reading problem. A reader starts with a construction that sounds informal. In a text with expressions the reader associates with a metropolitan style, that informality can support an urban interpretation. A different cluster can make the same construction part of an impression of regional speech. An indexical field explains why the relevant evidence is frequently the form in its surroundings. The explanation is about the interpretation of combinations, and the two examples show how the resulting geographical account can vary.

Taken together, the examples give the agreement measures a concrete meaning. Some weakly performing replies contain detailed linguistic observations. A reply with a definite and correct label can provide a plausible account of how the cues work together. A plausible explanation makes a choice intelligible to a reader, while the classification result shows whether the choice reached the target. The paper finds enough of these behaviors to document dialectal sensitivity in parts of the experiment and low enough agreement to show that precise placement remains unreliable.

### What the ablations show

#### What changes when the prompt names the cues

The paper contains no component-by-component ablation, and its closest controlled comparison is the inclusion of the human-informed cue list in the classification prompt. In an ablation, a researcher removes a component to see what depends on it. Here the comparison is between instructions with and without a list of evidence categories. Both ask the reader to determine the state audience of a generated advertisement. The text to be classified and the type of answer remain central to the task in both conditions.

The result concerns what the list adds to a request that already asks for a reading of linguistic marks. A reader may already inspect pronouns or informal expressions under the basic prompt. The detailed GPT 3.5 answer in the paper illustrates that possibility, since it discusses grammatical features even without the extra cues. In such a case an instruction to consider pronouns may remind the reader of something it would have considered anyway. The comparison measures the incremental effect of naming categories in this setting.

The list also leaves much of the inferential work untouched. A reader can follow every item and discover that the advertisement has a widely used form of address, an informal collective subject, and a brief regional expression. Choosing a state still requires some basis for determining the distribution of those forms and how they work in combination. The paper’s human judgments help locate this difficulty. Experts noticed the kinds of features that informed the prompt, while their geographical judgments converged only weakly. Pinpointing the form and assigning its geographical significance are separable parts of the task.

The addition provides no clear performance gain at the aggregate level. Non-identification moves slightly in an unfavorable direction in the authors’ description, with no statistically significant increase, and GPT 3.5 gains one correct classification. Those findings give no basis for ranking the individual cues. The intervention presents the entire bundle at once. It also changes the way the task is worded around the advertisement. As a consequence, the comparison supports a claim about the effect of the full prompted condition and leaves open whether a particular kind of linguistic guidance would behave differently.

#### What the explanatory examples add

The exploratory comparisons show that the ability to produce a differentiated local style can be examined separately from the ability to read for a state. Sabiá-2 is the clearest case in the paper. Its writing lacks the observed variation across targets, and its basic-prompt identification responses also often end without a state. For the other systems, the presence of plausible dialect cues in generated texts does give classifiers some material to work with. The low agreement on state assignments shows how limited the resulting geographical recovery is.

The cases involving GPT 3.5 and GPT-4o further separate feature recognition from label choice. On a common input, GPT 3.5 gives a relatively fine-grained description and reaches a regional conclusion. GPT-4o brings several observations together and picks the intended state. Because both have the same text in this comparison, the contrast shows that readers can handle shared signals differently. The examples do not quantify how frequently this kind of divergence occurs. They make visible what could count as divergence when the final responses are reduced to labels.

The São Paulo and Pernambuco cases offer a comparison of explanations within GPT-4o’s own responses. The grammatical form that helps support an urban reading in one case contributes to a different social picture in the other. The authors call attention to covariation, meaning that features occur together and can be interpreted jointly. Operationally, this means the geographical significance of an expression depends on what else is in the advertisement. An interjection, a form of address, and a verb pattern may point to a reading together even if any one of them is widespread.

The examples leave a causal question unanswered. The authors did not report replacing an expression in the same text and observing whether the state changes. In the compared replies, the combinations of cues and the advertisements themselves vary. That makes the examples evidence about the accounts GPT-4o gave for its decisions. Removing a form or systematically varying it would be a different design, suited to asking whether any one cue was decisive. The distinction matters because a reply can describe the evidence coherently without revealing how much each feature contributed to the prediction.

The geographical distributions add another part of the analysis. They show which state choices recur under each prompting condition. That helps identify a tendency that could be hidden by agreement alone. Frequent use of a particular label may reflect reliance on a familiar dialect association, a response to features common in the generated texts, or some combination. The paper shows the concentration and gives illustrations of the language systems used to justify particular answers. Its comparisons support observations about behavior on the advertisements, with the origins of those concentrations left unresolved.

### Limitations

#### Limits the authors identify

The authors explicitly note a lack of transparency about the systems’ training material. The sources and sizes of the training collections are undisclosed for the systems in the experiment. The authors also discuss rules and filters applied during fine-tuning as possible influences on what is produced. These points limit causal interpretation. An advertisement may resemble a familiar public representation of regional speech, but the paper cannot trace that resemblance to a particular text collection or training decision. The study observes how the systems respond to the prompts they were given.

The paper also emphasizes the weak agreement among human evaluators and suggests that inconsistent identifications or the small number of judges could contribute. The specialists did sometimes report similar features, which helps explain why the authors used their observations to design the enriched prompt. The weak state agreement makes it difficult to treat any particular human judgment as a definitive reading of the text. That is especially important when a generated advertisement has clues associated with several places or makes heavy use of general colloquial Portuguese.

A further limit in the authors’ discussion concerns the difference between detecting variation and finding a specific regional profile. The observed systems sometimes use and discuss dialectal forms, while their state assignments remain inconsistent. The added clues make little difference to performance in the comparison that was run. The authors place the findings in the broader context of linguistic justice. Their direct evidence concerns a particular kind of dialectal sensitivity, measured through writing and classification tasks. That scope leaves questions about equitable service to users beyond the outcomes measured here.

#### Limits that follow from the design

The strongest constraint on interpretation is the nature of the reference answer. It comes from a writing request given to a generative system. A successful classification recovers the state the writer was asked to target. The experiment contains no independently observed state of origin for the author or group behind the text, because the texts are generated for the study. Even a perfectly recoverable target would show that the output carries signs readers can link to that instruction. It would leave open how closely those signs resemble language used by people in the state.

The advertising genre introduces a related constraint. A Facebook shop biography is aimed at creating a friendly commercial identity. It encourages invitations, direct address, statements about the business, and expressions of local attachment. These opportunities make pronouns and certain conversational markers readily available to a writer. Other registers would create different opportunities for dialectal distinctions to appear. The paper samples the associations that emerge in versions of this marketing task, with the generation request held consistent apart from the state name. A different prompt could elicit a different set of linguistic choices.

Sampling is also narrow within each system and target. With 1 generated biography per system for each state target, a particular result can turn on choices made in a single reply. A text may feature several unusual forms on one request and few on a repeat. The balanced number of advertisements per state is valuable for coverage of the targets, but it does not address variation among repeated generations for the same assignment. The collection date anchors observations about these systems to the conditions under which the material was obtained.

State boundaries impose a demanding test even for informative cues. A feature can have a geographical distribution spanning several states. The authors’ account of Brazilian Portuguese expressly recognizes this kind of mismatch between linguistic and political geography. The evaluation rewards choosing the designated state. A response that properly recognizes a broader region can fail under that criterion. The examples in which a system offers several plausible regions illustrate the tradeoff. The answer can communicate some relevant evidence while leaving the task’s required state label missing.

The treatment of response format compounds that issue. The systems give open-ended explanations in which a state may appear as a possibility, as part of a comparison, or as a final prediction. The authors describe removing city names, standardizing nulls, and keeping some invalid geographical responses. These rules show why preparation is necessary to obtain categories suitable for an agreement calculation. The paper gives less detail about how all ambiguous cases were resolved. A reader can inspect the stated examples and interpret the reported rates in light of that coding choice, but cannot reconstruct every decision about a qualified or compound answer from the description alone.

The reported counts warrant care as well. The paper gives the total number of generated texts and totals for the classifications in each prompt condition. Its description does not spell out the full assignment of source texts to classifying systems in a way that makes every possible pairing reconstructible from those totals. As a consequence, the reported outcomes are best read at the levels the authors explicitly name. The account supports comparisons between the two prompting conditions and among the reported system results. It does not provide a complete analysis of whether a system reads its own advertisements differently from copy produced by another system.

There are limits to what can be recovered from the statistical reporting. The paper describes the increase in non-identification after the clue addition as non-significant, without specifying a test statistic or uncertainty interval in that account. The reader can recover the direction of the reported change and the authors’ interpretation. The plausible range of effects remains unspecified. The paper also gives κ = 0.10 for Sabiá-2 in the results for the basic prompt and κ = 0.08 in the discussion, where the condition for that figure is not specified as clearly. The prompt-specific value is the basis for the basic-prompt chart. The difference between the two reported figures remains unresolved.

Finally, the paper’s use of bias includes associations that can arise when a conspicuous form is treated as characteristic of a community. The task surfaces some of these associations. It does not directly measure how frequently people in a community use a feature, how people respond to the resulting representation, or whether the system treats speakers more or less favorably because of their dialect. Those would require different observations. This experiment makes an initial empirical distinction between a system’s capacity to vary a piece of writing and its success at recovering the precise geographical target from a generated text.

### What came after

The later citing work returns to two aspects of the motivating problem. [The Hrunting of AI](https://md.research.elamur.ai/free/en/papers/li-2026-hrunting-ai-where-improve-english/) concerns where and how to improve dialectal fairness in English. Its stated aim places improvement of treatment across varieties at the center of the question. Freitag and Gois study a narrower behavioral problem that can matter to such a fairness inquiry. A system can reproduce recognizable local forms and still interpret them inconsistently when asked to associate them with an audience. The citing relationship connects evaluations of dialect handling across the two languages. The description of the later work establishes its aim, while its particular experiments and findings remain unspecified.

[Can I guess where you are from?](https://md.research.elamur.ai/free/en/papers/siqueira-2026-can-i-guess-where-you/) concerns morphosyntactic similarities among dialects of Brazilian Portuguese. Morphosyntax here refers to the relationship between the forms of words and their organization in sentences, the sort of relationship visible in a pronoun and the verb that accompanies it. The subject is closely related to the earlier study’s observation that forms shared across places can give a text a recognizable voice and still leave the state assignment in doubt. The later title places similarities themselves at the center of the investigation. The available description establishes that focus and the citation. It leaves unspecified whether the later authors used the advertisements, adopted the prompting comparison, or drew on the paper for its account of the dialect identification problem.

## Cite

Cite as Raquel M. Ko Freitag and Túlio Sousa de Gois. 2024. Performance in a dialectal profiling task of LLMs for varieties of Brazilian Portuguese. Proceedings of the 15th Brazilian Symposium in Information and Human Language Technology.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{freitag2024performance,
  title = {{Performance in a dialectal profiling task of LLMs for varieties of Brazilian Portuguese}},
  author = {Raquel M. Ko Freitag and Túlio Sousa {de Gois}},
  booktitle = {Proceedings of the 15th Brazilian Symposium in Information and Human Language Technology},
  year = {2024},
  url = {https://aclanthology.org/2024.stil-1.37/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
