An Empirical Analysis of Formality in Online Communication
Paper · 2016 · Ellie Pavlick and Joel Tetreault
Summary
A person can reject a suggestion in the language of an official letter or with the bluntness of a quick reply. The objection may be much the same, yet the wording changes how the reader understands the exchange. Ellie Pavlick and Joel Tetreault ask whether that difference in formality can be measured sentence by sentence. They give crowd workers a brief description of formal language and let them rely on their own judgment. Workers rate sentences on a 7-point scale from -3 to 3, and the mean of 5 ratings becomes the sentence’s score. The study combines existing judgments on news and blogs with new judgments on professional email and Yahoo Answers. The authors report a public release of 6,574 annotated sentences.
Readers’ judgments have a clear common pattern, with substantial variation across genres. The intraclass correlation, a measure of agreement among raters, is 0.83 for Email and 0.79 for Answers. It falls to 0.58 for Blogs and 0.39 for News. News has the highest average formality, while Answers has the lowest. A score near the middle can describe a sentence that most readers consider neutral, or one whose formal and informal cues lead readers to disagree. A complementary rewriting experiment shows what people change when asked to make a sentence more formal. Some edits regularize capitalization or punctuation. Others replace expressions, add politeness, or make information from the surrounding exchange explicit.
The authors then train a ridge regression to estimate the average human rating from properties of the sentence. Word sequences and numerical representations of words work well across genres. The usefulness of other cues varies. Capitalization and punctuation are particularly informative in Answers, while grammatical structure and references to named entities provide more signal in Blogs and News. The full predictor improves on the reported baselines in every genre. On a held-out test that asks which member of an original–rewrite pair is more formal, the predictor chooses the rewrite in 88% of pairs. The readability baseline does so in 57%.
The final analysis applies the sentence predictor to online debate, averaging the scores of the sentences in each post. Opening posts are more formal on average than later posts. Among replies, the strongest predictor of a post’s formality is the score of the post it answers, with an estimated coefficient of 0.219. Authors tend to write less formally as they contribute more posts to a thread, with a coefficient of −0.078. The association between successive posts grows stronger further into the discussion. These patterns support the idea that people coordinate their linguistic style during an exchange, while leaving open whether the growing resemblance comes from adaptation or from which participants continue talking.
Deep dive: An Empirical Analysis of Formality in Online Communication
How readers judge formality in online writing, how a sentence-level score can predict those judgments, and how formality changes across debate replies. · about 36 minutes to read
The problem and its context
What a sentence communicates through its wording
Formality matters because a reader interprets a sentence as something a person chose to say in a particular way. A carefully qualified objection and a dismissive remark can express opposition to the same proposal. Their phrasing can also suggest different expectations about the audience, the relationship between the people involved, and the kind of interaction taking place. The paper treats those implications as part of what a system needs to understand when it interprets language.
The authors illustrate the issue with objections to unwanted advice. One objection uses measured vocabulary and conventional written phrasing. The other is blunt, uses a contraction, and emphasizes its judgment through capitalization. Readers can identify a difference in formality immediately, even though several properties change together. Vocabulary, presentation, and the attitude of the speaker all contribute to the impression. That makes the example easy to judge and difficult to turn into a general rule.
This difficulty matters when the goal is to recognize style in ordinary writing. A tool for writing assessment may need to distinguish a formal sentence from a casual sentence within the same email. A system that participates in a conversation needs to recognize changes in tone over the course of an exchange. In each case, the unit of interest can be smaller than a document. The problem also concerns what a system should say, since a response can fit its subject matter while sounding ill suited to its audience. The paper places the question within dialogue systems.
Why definitions lead to different measurements
The earlier work reviewed by the authors approaches formality from several directions. One starts with the people and the situation. It asks how much speakers know about one another, how much context they share, and what degree of social distance the exchange expresses. A message to someone familiar can leave a great deal implicit. Writing for a wider or less familiar audience may encourage a speaker to identify the people or events under discussion and spell out assumptions that a close interlocutor would already understand.
Another approach starts with features visible on the page. Slang, contractions, irregular writing conventions, and errors in grammar can all serve as evidence of informality. Some measures count readily identifiable elements, such as adjectives. Others try to capture more abstract properties, such as the amount of information readers must infer or the extent to which a passage expresses a personal viewpoint. The former offer straightforward measurements. The latter can address dimensions of style that persist even in carefully edited prose. One of the broader concepts discussed in this connection is implicature.
These approaches can overlap without reducing to the same test. An expansion of a contraction can change the surface of a sentence while leaving its dependence on earlier remarks intact. Adding the name of the person being discussed can make a sentence understandable to a wider audience even if the spelling and grammar were conventional to begin with. A measurement based on visible irregularities has access to the first change. A definition centered on shared knowledge helps explain why the second matters.
The relationship with politeness raises a similar question. A writer can choose formal wording to maintain distance while expressing hostility. Familiar language can accompany cooperation or warmth. The theories reviewed by the paper therefore suggest relationships among formality, interpersonal distance, seriousness, and politeness without furnishing a single interchangeable label for them. The authors’ empirical question is whether readers nevertheless converge on a usable judgment when asked about formality itself.
Moving from words and documents to sentences
Much of the prior computational work described in the paper assigns a style value to individual words. That makes it possible to ask whether a sentence contains vocabulary generally associated with formal writing. The same vocabulary can appear in sentences that differ in punctuation, grammatical organization, or tone, so a word-level measure captures only one part of the evidence available to a reader. A sentence-level task gives those other cues a chance to matter directly.
For longer passages, a prominent prior measure was Heylighen and Dewaele’s F-score. It characterizes style through the relative frequencies of grammatical categories. A long passage offers many opportunities for those frequencies to settle into a pattern. A short sentence can happen to contain few instances of a category even when it belongs to a passage rich in that category. The paper therefore treats the F-score as an established comparison whose intended scale of analysis differs from the new task. Its inputs come from part-of-speech tagging.
The earlier statistical systems discussed by the authors typically assigned documents to formal or informal categories and relied heavily on word lists. The distinction between two categories is practical when a decision requires one label. It leaves little room to represent a modest shift in tone, disagreement among readers, or an example that falls between the extremes. Lahiri and colleagues had investigated ordered ratings at sentence level, and Lahiri later released such judgments for news and blogs. The authors describe that work as an annotation precedent whose data had yet to be put to a computational task.
Pavlick and Tetreault build on that precedent by asking for a numerical estimate of where a sentence lies on a continuum. This makes the target more specific than a theory of formality for all communicative situations. The immediate task is to reproduce a collective judgment on the sentences people actually rated. A separate question follows from that design. If a predictor succeeds, is it recognizing how people express an idea, or is it learning that some subjects and settings tend to receive higher ratings? The paper addresses that question by comparing rewrites of the same material and by examining how predictions behave across genres.
The method, step by step
Collecting judgments before choosing linguistic cues
The starting point is a sentence whose style a reader can assess. The authors use Lahiri’s News and Blog data and extend the genre coverage with professional email and community questions and answers. The email sentences are sampled from Jeb Bush’s gubernatorial email archive. The other new sample comes from Yahoo Answers, which the paper calls Answers. These genres offer different kinds of writing, including exchanges directed at other people and passages whose primary purpose is to convey information.
For the new samples, workers on Amazon Mechanical Turk follow the rating procedure used for the earlier data. They use an ordered, 7-point Likert scale. The low end, -3, represents very informal writing, and 3 represents very formal writing. Workers receive a short description and are encouraged to use their own intuitions. A detailed checklist would have settled in advance which cues should count. Leaving that choice open lets the authors investigate how closely judgments align when readers bring their ordinary expectations to the task of linguistic annotation.
The sentence receives the arithmetic mean of its ratings. The calculation can be written as follows.
yₛ = (∑ᵢ rₛᵢ) ÷ K
Here, s identifies the sentence and i indexes its ratings. The value rₛᵢ is the rating indexed by i for sentence s. The summation sign ∑ tells us to add those ratings across i. The division sign ÷ divides that total by K, the number of ratings for the sentence, which is 5. The symbol yₛ denotes the resulting reference score, and = identifies it with the value on the right. The procedure can yield scores between the original scale points.
A mean is convenient for regression, which estimates a numerical response. It also gives very different patterns of judgment the same numerical representation. Suppose most readers independently select the center. Now suppose readers pull in opposing directions because the wording combines a formal address with a hostile expression. Both cases can land near the center, although one reflects consensus and the other reflects division. The authors keep the mean as the prediction target and inspect the individual ratings separately to understand the distinction.
From sentence judgments to formality in debate replies
The steps in order.
Checking whether readers share a scale
The authors use intraclass correlation, abbreviated ICC, to examine agreement while accounting for the fact that different sentences can be seen by different groups of workers. Their reported version is an absolute-agreement measure for the average ratings. This addresses whether the individual judgments support a stable collective value for a sentence. A simple correlation between fixed pairs of workers would be awkward here because those workers may have rated few of the same items.
The second measure, quadratic weighted kappa, concerns agreement on the ordered categories. It gives widely separated judgments more weight as disagreements than adjacent judgments. A worker who selects a very informal category and a worker who selects a very formal one differ more substantially than workers choosing neighboring categories on the informal side. Kappa also takes into account the agreement expected from the category usage of the two rating sources.
To obtain enough paired judgments, the authors construct two simulated raters for each run of the kappa calculation. A randomly selected worker’s score stands for the first. The mean of the other 4 scores, rounded to the nearest integer, stands for the second. The choice is made separately for each sentence, so the simulated raters across the dataset are a single judgment and a small group consensus. The researchers repeat the procedure 1,000 times and report the median and a 95% confidence interval. The resulting kappa measures how a sampled rating aligns with the rest of its group under this procedure. That distinction matters when comparing it with a study where the same pair of individuals rates every item.
The genre distributions and the agreement measures answer different questions. A genre can have a high mean formality if its sentences generally sound formal. High agreement requires workers to give similar scores to particular sentences within the genre. The authors use both views to decide how much confidence to place in the sentence averages and to see where those averages conceal disagreement.
Creating a comparison with similar content
A second annotation task starts from an informal sentence in Answers and asks a worker to make it more formal while preserving the intended content. The authors select 1,000 sentences with room for such a change, ranging from highly informal writing to examples that are only mildly informal. Workers see the original question and the entire answer containing the target sentence. This gives them enough context to tell what the sentence refers to and what it is trying to communicate.
Each sentence gets a single rewrite. The authors manually remove spam responses and inspect a sample of 100 rewrites to categorize the edits. The categories can overlap. A worker might recast an expression and fix the punctuation in the same sentence. A category count consequently describes the proportion of reviewed rewrites in which that change occurs. It does not assign each rewrite to one exclusive type.
The rewrites play two roles. The manual inspection shows what people choose to change when they are asked to raise formality. The pairs also serve as held-out evaluation material. Because an original and its rewrite generally concern the same thing, their relative scores are harder to explain using subject matter alone. The evaluation assumes that the instruction led to a more formal version. The paper does not establish that direction independently for every pair.
Representing the sentence
The authors collect 11 groups of features. A feature is a numerical or categorical description that the regression can use in making its estimate. Some describe the visual form of a sentence, some capture the words it contains, and others describe its grammatical structure. The feature inventory lets the authors ask which kinds of evidence are useful in each genre.
The surface groups cover case, punctuation, and readability. The case features count words written entirely in capitals and record whether the sentence is all lower-case and whether its first word begins with a capital. Punctuation features count question marks, ellipses, and exclamation marks. The readability group includes sentence length in characters and in words, along with Flesch–Kincaid grade level. Grade level uses information about words and syllables to estimate difficulty. Here it offers a way to test whether the structure of more difficult text tends to resemble text that readers judge more formal.
The lexical group describes characteristics of the words used. It includes contractions relative to sentence length, average word length, average log word frequency from the Google Ngram corpus, and an average lexical formality rating from Pavlick and Nenkova’s work. These inputs allow words to contribute through a property shared with other words. A sentence with a contraction, for instance, can register that fact without requiring a separate generalization about every contracted expression it might contain.
The sequence features take a different view of vocabulary. They indicate whether particular unigrams, bigrams, or trigrams occur. Those are individual words and consecutive sequences of two or three words, respectively. A one-hot indicator records the presence of a particular sequence as its own feature. This can preserve a short expression that would disappear if all the words were treated individually. Its usefulness can depend on whether that expression appeared in the training data. The sequence is the unit of an n-gram.
The word2vec group supplies a complementary representation. It starts with previously learned numerical vectors for words and averages the vectors for words recognized in the sentence. Words absent from the available vocabulary are skipped. The average gives the regression a representation of the available vocabulary without requiring each full expression to have appeared in training. Averaging also loses the order of the individual words, which the sequence features retain locally. The underlying representations are word embeddings.
Several groups describe sentence structure. The part-of-speech features count the different grammatical categories and normalize those counts by sentence length. The constituency group uses the depth of the sentence’s parse tree, also normalized by length, and counts the structural rules applied in building that tree. A constituency tree organizes words into nested phrases. Its production rules describe how a larger constituent is built out of smaller ones. The authors omit productions with actual words as terminal symbols, allowing this group to emphasize structural patterns. Both depth and rule frequencies are properties of parsing.
The dependency group represents typed relations between words. A dependency specifies a governor, a relation type, and a dependent. The predictor can use the full triple or pairs retaining the governor and type, the type and dependent, or the governor and dependent. The paper also describes backing off from lexical items to part-of-speech tags. The latter representation can let different words contribute to a shared grammatical pattern. The analysis comes from dependency parsing.
The named-entity group marks the presence of categories such as people and places and includes the average character length of person mentions. This gives the predictor access to the type of reference a writer makes alongside the lexical and grammatical patterns already available. An entity feature can register that a person is mentioned even when the particular name differs from those seen in training. The relevant process is named-entity recognition.
The subjectivity group counts passive constructions, hedges, first-person pronouns, and third-person pronouns, with the counts normalized by sentence length. Hedges are identified using a word list. The group also includes TextBlob’s subjectivity estimate and an indicator for positive or negative sentiment. These features represent aspects of how a writer expresses a viewpoint. They give the regression a chance to learn whether those aspects tend to accompany higher or lower formality judgments in a particular genre.
Stanford CoreNLP supplies the paper’s linguistic processing apart from the subjectivity features, for which the authors use TextBlob. They identify sequences, word embeddings, constituency productions, dependency tuples, and named entities as feature groups they believe had yet to be examined for formality recognition. Other groups cover much of the ground of earlier methods. The inventory also keeps the features used to train the predictor distinct from comparison measures such as perplexity and the prior F-score.
Fitting a score and testing its order
The regression takes a sentence’s features as input and learns to estimate the average rating. A compact way to express the prediction is as a weighted combination.
ŷₛ = b + w · xₛ
In this expression, ŷₛ is the predicted score for the sentence indexed by s. The vector xₛ contains the sentence’s feature values and w contains their learned weights. The centered dot · denotes the dot product, which multiplies each feature value by its corresponding weight and adds those products. The plus sign + adds the intercept b, the baseline contribution to the score. The equals sign = defines the predicted value. The hat on ŷ distinguishes an estimate from the reference score y.
Ridge regression chooses weights by minimizing squared prediction error with a penalty on large weights. The penalty helps when many features represent related evidence, as can happen when several overlapping word sequences occur together. In general notation, the criterion has the following form.
J(b, w) = ∑ₛ (yₛ − ŷₛ)² + λ‖w‖²
The symbol J denotes the quantity minimized over the intercept b and weights w. The summation sign ∑ adds a term for each training sentence indexed by s. The term yₛ − ŷₛ subtracts the prediction from the human reference score for that sentence, and the superscript ² squares the result. The plus sign adds the penalty. In λ‖w‖², λ controls the strength of regularization, the double bars ‖ ‖ denote the Euclidean norm, and its square measures the total squared size of the weights. The equals sign ties the objective to the error and penalty terms. This notation describes the ridge criterion instead of providing additional implementation settings.
The authors tune the regression through cross-validation on the training data. Cross-validation repeatedly sets aside part of the available data so that choices can be assessed on examples outside the subset used for fitting. Unless the experiment concerns transfer, the training sentences and the evaluation sentences come from the same genre. A predictor evaluated on Email ordinarily learns from Email ratings. The domain transfer experiments deliberately change that condition.
The main evaluation measures Spearman correlation with human ratings. Spearman correlation asks whether scores place examples in a similar order. It can be expressed in terms of a correlation between ranks.
ρ = corr(rank(y), rank(ŷ))
Here, ρ denotes Spearman correlation. The vector y contains the reference scores for the evaluated sentences, and ŷ contains the predictions in the same sentence order. The function rank replaces the values by their positions in the ordering, and corr denotes Pearson correlation applied to the paired ranks. The equals sign defines ρ, and the comma separates the two sets of ranks used in the comparison. A predictor can earn a strong rank correlation even if its numerical scores are closer together than the human averages. The evaluation rewards ordering, while the fitting procedure learns from the actual rating values.
Extending a sentence score to a conversation
The discussion data come from the Internet Argument Corpus. The authors define a thread as a chain of explicit replies. A chain follows the conversational connection from a post to its direct predecessor, which is a different relation from merely appearing next in the complete forum record. When a person makes consecutive replies to their own post, the authors collapse those contributions into a single post.
The sentence predictor trained on Answers supplies the scores for this corpus. For a post with multiple sentences, each sentence contributes equally to the average.
Fₚ = (∑ₛ∈p ŷₛ) ÷ Nₚ
The symbol Fₚ is the predicted formality of post p. The summation sign ∑ adds ŷₛ, the prediction for sentence s, over the sentences in that post. The membership sign ∈ indicates which sentences enter the sum. The divisor Nₚ is the count of sentences in p, and ÷ denotes division by that count. The equals sign defines the post score. The authors check the approximation by asking workers to judge whole posts in a random sample.
The discussion analysis proceeds from variation among topics and authors to relationships between successive contributions. To estimate those relationships, the authors use a linear mixed-effects regression with random intercepts for topic and author. A random intercept lets posts associated with a topic or an author share a tendency toward higher or lower scores. Fixed effects describe associations common to the analyzed posts after accounting for those tendencies.
The fixed effects include the previous post’s score, the current position in the reply chain, and how often the current author has already contributed to that chain. They also include total thread length, total number of participants, and the lengths of the current and preceding posts. The regression uses pairwise interactions between fixed effects. An interaction allows the association of one variable with formality to vary with another. Here the central example is whether the relationship with the previous post’s score changes as a thread progresses.
For the analysis of thread progression, the authors select chains from 5 to 20 posts long. Branching can produce several chains with a shared opening sequence. The authors group chains that stem from the same post and randomly retain one chain per group to limit repeated use of the same material. They compare opening and later posts descriptively and leave the opening post out as a response in the mixed-effects regression. Its role as the start of an exchange differs from the role of a post replying to an earlier contribution.
Experiments and results
What the human ratings establish
The genre samples reported for the agreement analysis contain 2,775 News sentences and 1,821 Blog sentences from Lahiri’s corpus, alongside 1,701 Email sentences and 4,977 Answers sentences sampled for the new annotation. The annotation account reports 301 workers and an average of 22 sentences labeled per worker. The paper separately gives 6,574 as the size of its announced sentence release. The release figure and the genre counts in the analysis describe different quantities in the paper’s reporting.
News is the most formal genre by mean sentence rating, at 0.7. Email has a mean of 0.5, Blogs 0.2, and Answers -0.7. The standard deviations put the means in context. In the order from News through Email and Blogs to Answers, they are 0.86, 1.4, 1.1, and 1.3. Email and Answers have broadly spread distributions despite their different average positions on the scale. News occupies a narrower band, and Blogs also show less spread than the interactive genres.
Examples in the paper show why a genre mean is an incomplete guide to a sentence. An Answers sentence about the possible assessment of customs duties scores 2.8. Another Answers sentence jokes with the questioner and emphasizes gas prices in capitals, receiving -3.0. A News example that describes elaborately shaped trees in Baghdad receives 2.6. A short, repetitive News sentence about someone who keeps buying receives -2.2. Both genres include examples on either side of the scale. Their informal examples also illustrate different ways of sounding informal, from compressed colloquial spelling and emphatic presentation to plain, repetitive wording.
The strongest absolute agreement by ICC is for Email, at 0.83 ±0.02, followed by Answers at 0.79 ±0.01. Blogs reach 0.58 ±0.03, while News reaches 0.39±0.05. The median quadratic weighted kappa follows the same ordering. Email is at 0.59±0.04, Answers at 0.54±0.05, Blogs at 0.31±0.05, and News at 0.17±0.06. The two metrics thus identify the same genres as relatively easy or difficult for the workers under this rating procedure.
The authors also examine individual items. At the ends of the scale, there are examples where the workers all give the same extreme response. Around 0, there are examples with substantial agreement, such as a straightforward recommendation to try peppermint tea. An address to a governor that includes a condemnation produces a wider range of judgments. The direct and formal elements of the address coexist with language that can strike readers as informal. The individual ratings show a distinction that the scalar target alone cannot preserve.
Ranking sentences within each genre
The main prediction results use 10-fold cross-validation. Each held-out portion tests how well the regression orders sentences from the same genre as its training data. The paper compares the full feature set with length in characters, Flesch–Kincaid grade level, the part-of-speech F-score, and a published word-level formality lexicon from Brooke and Hirst. It also compares with a predictor using only word sequences and with perplexity from a probability estimator trained on edited news.
The authors’ latter baseline uses a 3-gram estimator with a 64K-word vocabulary that was trained on English Gigaword. Perplexity measures how unexpected the sentence’s words are under the learned news distribution. The authors expect sentences that resemble edited news to have lower perplexity and to sound more formal. They also explore comparing perplexity under informal and formal text distributions. The paper describes that comparison as uncompetitive and leaves its results out of the reported table.
Length and grade level are easy quantities to compute, while the prior F-score and the lexicon embody more specific ideas about formality. The sequence-only regression is the strongest reported baseline across all genres. Because it uses the same general kind of regression and draws on a subset of the full features, it provides a closer test of what the extra linguistic representations contribute than a single measure such as length.
Baselines and full predictor on Email, cross-validated Spearman correlation
The full feature set ranks email sentences more like human raters than any of the reported baselines.
The numbers
| System or setting | Spearman ρ |
|---|---|
| News-trained perplexity | 0.14 |
| Part-of-speech F-score | 0.21 |
| Length in characters | 0.53 |
| Flesch–Kincaid grade level | 0.63 |
| Brooke and Hirst lexicon | 0.55 |
| Word-sequence regression | 0.65 |
| Full feature regression (this paper) | 0.75 |
For Answers, the full predictor reaches a Spearman correlation of 0.70, compared with 0.60 for the sequence-only regression, 0.47 for the lexical baseline, and 0.45 for grade level. In Blogs, the full predictor reaches 0.66 and the sequence-only result is 0.55. Grade level is close to that sequence baseline at 0.54, while length alone is 0.51. The gains from the full feature inventory are therefore visible even where simpler indicators already rank several kinds of sentences well.
Email gives the highest full-system correlation at 0.75. News gives the lowest at 0.48, with the sequence-only baseline at 0.43 and grade level at 0.41. The paper reports significant improvement over the baselines in all genres and a gain of up to 11 points over the strongest baseline. News is both the hardest genre for the predictor in this evaluation and the genre with the lowest agreement among workers. The experiments establish both facts, while leaving the causes of the lower predictive correlation open.
The news-trained perplexity baseline has little relationship with the ratings overall. It is 0.00 in Answers, -0.01 in Blogs, and -0.08 in News. In Email, the observed relationship goes in the direction opposite to the authors’ hypothesis. Sentences that are less predictable from news text tend to receive higher formality ratings. The authors find low-perplexity email sentences that human readers rate as informal among greetings, signatures, passages with names, and sentences written in capitals. The perplexity calculation ignores capitalization, so that source of information is unavailable to it. Familiarity under a news-derived word distribution provides a weak guide to the tone of an email.
Choosing the more formal version of a sentence
The held-out rewrite test changes the task from ranking a collection of sentences to comparing members of a pair. For each pair, the procedure selects the sentence with the higher predicted score. A selection counts as correct when it identifies the worker’s rewrite, since the authors take the rewrite to be the more formal version. The accuracy measures how frequently the rule makes that choice.
Accuracy on held-out Answers original–rewrite pairs
The full predictor identifies the formalizing rewrite more often than the readability rule or random choice.
The numbers
| System or setting | accuracy % |
|---|---|
| Random choice | 50 |
| Flesch–Kincaid grade level | 57 |
| Full feature regression (this paper) | 88 |
The full predictor reaches 88% accuracy, compared with 57% for selecting the sentence with higher Flesch–Kincaid grade level and 50% for random choice. A discussion topic can help separate sentences drawn from unrelated sources. Within a pair, the original and rewrite generally share a topic and much of their meaning, making the test more diagnostic of wording and presentation. The result supports the authors’ claim that the predictor captures stylistic changes. Its scope is the kinds of changes workers make under this rewrite instruction and the convention of taking their rewrite as the correct choice.
Checking the score on debate posts
The Internet Argument Corpus material covers 388K posts across 64 topics, with 104,625 reply chains in the authors’ data. To see whether sentence averages are adequate for the intended analysis, the authors collect human formality judgments for 1,000 randomly chosen posts. The automatic post scores correlate at 0.58 with the human means. The reported post-level agreement range among human judgments spans 0.34 to 0.64 in correlation. The authors regard the prediction as a usable approximation for their analysis of discussion patterns.
The distributions of predicted scores differ by subject. The figure displays the 20 most popular topics and identifies the 10 most popular for use in the other analyses. Economics is an example of a topic skewed towards formal posts, and Fun is an example of one skewed toward informal posts. Both styles appear within every topic. Post scores also concentrate in a narrower range than sentence ratings. Scores for posts in this corpus lie between -1 and 1 in 80% of cases.
People have stylistic tendencies of their own. In the authors’ user analysis, 84% of users have a mean score significantly different from 0 at p < 0.01. At the same time, 91% produce posts on both sides of the authors’ formal and informal cutoffs. A score above 0.25 qualifies as formal for that comparison, and a score below −0.25 qualifies as informal. Users vary their style even when the authors examine their writing within a topic. These observations motivate an analysis of the circumstances around a particular post.
Style, position, and the preceding post
In the Internet Argument Corpus, 3K post–reply pairs have human ratings on other stylistic dimensions. The authors use them to examine whether predicted formality tends to accompany characteristics such as addressing a broader audience, relying on facts, or expressing sarcasm. For politeness, they use the Stanford Politeness Corpus, which contains 11K short posts from Wikipedia discussions with separate human judgments.
The predicted formality of a post is positively associated with addressing a more general audience, with a correlation of 0.32. The correlation with fact-based rather than emotion-based argument is 0.17. In the Wikipedia data, the correlation with politeness is 0.14. The reported correlations for sarcasm and insult are −0.25 and −0.22, respectively. The authors find no significant correlation with expressed agreement or disagreement. They also present examples of formal writing that readers judged sarcastic, impolite, insulting, or emotional. The individual examples show how much leeway remains within the overall tendencies.
Opening posts are significantly more formal on average than later posts in the selected reply chains. The comparison fits the idea that writers make more of the necessary context explicit at the start, when there is less established context for participants to draw on. The mixed-effects analysis then asks what explains variation among replies. Its largest reported predictor is the previous post’s formality, with a coefficient of 0.219. This is a regression coefficient on the post score, distinct from the rank correlations used to evaluate the sentence predictor. The positive estimate indicates that a reply tends to be more formal when the post it answers is more formal, after the included adjustments.
The coefficient for the number of earlier contributions by the same author in the chain is −0.078. Authors with more prior contributions in that thread tend to write less formally. The coefficients for total thread length and number of participants are 0.020 and −0.010, respectively, while the coefficient for position is 0.008. Each describes a term in the fitted regression after adjustment for the other terms. A writer’s accumulating participation and the overall progression of the conversation are represented by different variables.
The interaction between the previous score and position has a coefficient of 0.009. The paper reports p < 0.0001 for all the coefficients it lists in this group of results. The positive interaction indicates that a reply’s association with the preceding post grows stronger at later positions. The authors also estimate the relationship separately at selected positions. They report that the coefficient for the tenth post is more than twice the coefficient for the second. The change refers to the strength of the connection between adjacent scores. It is compatible with an overall decline in formality from the opening post.
What the ablations show
How much each feature group can do alone
The feature comparison fits a predictor using each group in isolation. The scores are reported relative to the performance of the full predictor in the same genre. A high value means that the group can recover much of the full system’s Spearman correlation by itself. The experiment does not measure the performance lost when the group is removed from a predictor that already has every other feature. Several groups can each perform well independently because they pick up overlapping signals.
Word sequences and word embeddings are consistently strong. In Answers, their relative scores are 0.84 and 0.83. In News, the corresponding figures are 0.91 and 0.87. The paper reports that both groups achieve more than 80% of the full predictor’s performance in every genre. Familiar short expressions and the broader properties captured by averaged word vectors can both supply predictions that broadly follow the human ordering. Their strong standalone performance leaves open how much one still adds once the other is available.
The more genre-sensitive groups help explain why a single feature inventory can behave differently across sources. Case features reach 0.50 of the full predictor’s correlation in Answers and 0.24 in Email. Punctuation reaches 0.47 in Answers and 0.20 in News. These are relative scores within each genre. They suggest that readers’ ratings on Answers align especially well with conventions such as sentence capitalization, strings of exclamation marks, or emphatic upper-case wording. Those phenomena appear prominently in the kinds of Answers examples that workers judged informal.
Constituency features reach 0.89 of full performance in Blogs and 0.89 in News, alongside 0.70 in Answers and 0.74 in Email. Named-entity features reach 0.63 in Blogs and 0.72 in News, compared with 0.14 in Answers and 0.34 in Email. Dependency features also do well in the more informational genres, reaching 0.89 in Blogs and 0.85 in News. The result locates signal in grammatical organization and types of reference, beyond the case and punctuation cues that work relatively well in Answers.
The denominator matters in reading all of these values. A feature group can recover a large share of a full predictor whose absolute correlation is modest. A relatively strong feature in News is therefore evidence about what helps with News under this setup. The number cannot be interpreted as the group’s absolute correlation or directly compared with the full-system correlations in the main results. The groups also differ in how much information each representation contains. A small group of punctuation counts and a large group of grammatical patterns offer different opportunities for a regression to learn useful distinctions.
Transfer between genres
The cross-genre comparison tests whether a predictor trained on one source can rank sentences from another. The authors hold the amount of training data equal across the compared systems. The displayed changes are in Spearman correlation scaled by 100 and measured relative to training on the target genre. The diagonal is 0 because it represents the in-genre point of comparison. The off-diagonal entries show the loss associated with a change of training source.
This experiment exposes a distinction between learning a broadly recognizable stylistic cue and learning to use it in another setting. Capitalization can be important in one genre, but its value depends on how often the relevant forms occur and how readers interpret them. Likewise, named entities can be a helpful signal when personal names or places occur within a characteristic kind of writing. Moving the same feature weights to a new source keeps the representation available while changing the distribution of cues and the texts to which they apply.
There is an inconsistency in the paper’s account of the transfer directions. The prose names Answers as the strongest outside source, with losses of roughly 5 points, and describes a 23-point loss when training on News and testing on Answers. The table labels training as rows and testing as columns, which places −23 at Answers training and News testing. Its row for training on Answers contains −17, −13, and −23 for the other genres, while the column for testing on Answers contains −5, −5, and −6 for the outside training sources. The prose and the matrix labels therefore assign different directions to the same pattern. The comparison supports a loss under cross-genre transfer and variation in the size of that loss. The direction of the strongest and weakest transfers cannot be settled from those conflicting labels and descriptions.
What people edit when asked to raise formality
The manual review of Answers rewrites provides a different kind of comparison. Instead of restricting the predictor’s inputs, it examines how people intentionally alter a particular sentence. In the sample of 100 rewrites, capitalization changes appear in 50% and punctuation changes in 39%. Lexical or phrasal paraphrase appears in 33%, and removing fillers appears in 19%. Plotting those proportions as parts of a whole would misrepresent the coding, since several changes can be present in one rewrite.
Consider a sentence that begins in lower-case and also contains an emphatic string of punctuation. Editing it can produce changes in both categories with little change to the proposition. A casual judgment about a car can be expressed in more restrained terms through paraphrase. The reviewed edits therefore range from changes that preserve the words almost entirely to changes in how an evaluation is expressed. The frequency with which workers alter visible conventions is consistent with the relatively high predictive value of case and punctuation in Answers.
Completion appears in 17% of the reviewed rewrites. A fragment can become a full sentence when a worker supplies its missing subject. Adding context is a separate category, found in 16%. In these cases, the worker brings information available elsewhere in the question or answer into the target sentence. A fragment that says only that someone is alive can gain a reference identifying the person being discussed. This supports the idea that part of formalizing a sentence can involve reducing the reader’s reliance on the surrounding conversation.
Other changes include expanding contractions in 16% of cases, spelling edits in 10%, and normalization in 8%. Slang or idiom changes also appear in 8%, and politeness changes appear in 7%. A terse request for clarification, for instance, can be rewritten as a complete, courteous question. Sentence splitting occurs in 4% and changes involving relativizers, words used to introduce certain clauses, in 3%. The distribution describes strategies workers chose in these particular rewrites. Since they could make several edits together, it yields no isolated estimate of how much any single edit raises a formality rating.
Distinguishing participation from resemblance
The forum comparisons are observational controls and subgroup analyses. Accounting for topic and author allows the regression to examine whether scores covary with reply conditions after allowing for habitual differences between writers and typical differences between topics. The analysis also distinguishes a writer’s own history in the thread from the thread’s position. A contributor can enter an established discussion for the first time, while another participant at the same position may already have replied repeatedly.
Looking at the previous score alongside those variables shows that resemblance between neighboring contributions persists when the paper accounts for those sources of variation. The position interaction adds a different comparison. A later reply’s score is more closely associated with the score it answers. This can coexist with authors’ tendency to become more informal as they post repeatedly. One result describes movement along the scale associated with personal participation, and the other describes the strength of the relationship between a reply and its immediate conversational context.
Limitations
Limits the authors identify
The authors take average judgments as their target and leave the analysis of formality within a sentence for future work. An average near the center can represent either agreement that a sentence sounds neutral or disagreement over a sentence with cues at opposing levels. This is consequential whenever the interest lies in how reliably a particular sentence will be interpreted. Predicting its mean correctly can still leave substantial variation in what individual readers hear in it.
The paper also identifies a constraint on comparing the predictor with earlier statistical work. The earlier systems the authors discuss make binary decisions at document level. The authors closely reproduce one email system but omit its results because some of its inputs, such as capitalization in a subject line, are unavailable for individual sentence examples. Other systems and the resources on which they rely are difficult to obtain. The reported baselines provide meaningful comparisons within the chosen evaluation. Claims of improvement are grounded in those comparisons.
The rewrite test depends on the assumption that workers followed the direction of the task successfully. The authors explicitly use that assumption when converting the rewrites into correct choices for pairwise classification. The procedure also permits workers to incorporate information they see in the larger exchange. That is informative about how readers make text less context-dependent, yet it means preservation of content can apply to the exchange as a whole even when a rewritten sentence contains details absent from the original sentence.
For the forum analysis, the authors acknowledge that averaging sentence predictions is an approximation to judging an entire post. A post can mix styles, making it harder to describe with a single score. The human validation supports using the approximation for aggregate patterns, with a correlation of 0.58 on the sampled posts. There can still be individual posts whose overall tone depends heavily on a particularly salient sentence or on the way the writer moves between styles.
The authors leave open why adjacent posts are more tightly associated later in a thread. Writers who begin with similar styles may be more likely to sustain an exchange. Writers who participate in a sustained exchange may also become better at adapting to one another. Either process could generate the reported change with position. The discussion data and regression establish a pattern compatible with coordination, with further evidence required to distinguish these explanations.
Limits that follow from the setup
The rating scale describes the judgments of particular workers on samples from particular writing sources. Agreement in Email and Answers supports using the average for those materials and that procedure. It does not establish that readers with different expectations, or readers given a different communicative situation, would assign the same values. Similarly, a genre label in this study identifies an actual source of sentences. It should not be taken as an estimate for every form of news, blogging, professional correspondence, or community question answering.
The weak News agreement is compatible with several properties of the setup. News has a relatively narrow distribution of mean ratings, so many comparisons concern gradations within a more restricted band. Its sentences may also require information about their original context for readers to interpret their tone similarly. The paper establishes that the workers agree less in this sample. The reported experiments do not isolate which source of difficulty accounts for that result.
The main predictive metric concerns ordering. It cannot establish that scores are numerically calibrated to the human scale. The distinction becomes important when predicted averages are used to interpret forum regression coefficients. Those coefficients are expressed in the units of the predicted post scores. The post validation gives them an empirical connection to human perceptions, while leaving uncertainty about how a change of a given size would be judged by readers in a different setting.
Feature-group performance is likewise evidence about prediction. It cannot establish that a particular grammatical construction causes readers to judge a sentence more formal. Features can track the source, topic, vocabulary, or several related properties of style at once. The rewrite pairs narrow the explanation based on topic, but the workers can change multiple properties together. An estimate of the effect of a particular cue would require comparisons where that cue changed and other relevant properties were held fixed.
Finally, the reply-chain analysis selects threads of a specified length and chooses among chains that share an opening. This reduces repeated counting of shared posts, while defining which exchanges inform the finding about progression. Topic and author intercepts account for stable tendencies represented in the regression. Other circumstances can change from one reply to another, including which participants stay in the thread and how the focus of the exchange develops. Those circumstances matter for a causal account of how one post affects the next. The paper’s evidence is strongest as a description of how scored formality varies across the observed conversations.
What came after
Giving style a role in generation and rewriting
Ficler and Goldberg’s paper on controlling linguistic style in generation takes up the production side of the problem. Pavlick and Tetreault ask how to recognize stylistic variation in language people have already written. A study of control asks whether a generator can produce language with desired stylistic properties. The shared concern is that decisions about expression deserve an explicit place in computational work, alongside the choice of what content to convey. Controlling Linguistic Style Aspects in Neural Language Generation
The GYAFC work carries the question specifically into formality style transfer. Its focus on a corpus, benchmarks, and metrics gives rewriting the status of a task to be evaluated in its own right. In the earlier paper, people’s rewrites help identify cues and provide a test for a formality predictor. The later work addresses the systematic evaluation of changing formality through rewriting. The titles and tasks establish that continuity without establishing that the earlier release or predictor is reused. The GYAFC Dataset for Formality Style Transfer
Delete, Retrieve, Generate approaches sentiment and style transfer through a method organized around deletion, retrieval, and generation. Its connection is to the earlier paper’s distinction between what a sentence says and stylistic properties of how it says it. The later study places the transformation procedure at the center of the problem. The comparison concerns that task connection, since the title supplies no evidence about which formality annotations or scoring method it uses. Delete, Retrieve, Generate
Measuring other dimensions of language use
The email study on feelings and tone brings formality into a setting that was already part of Pavlick and Tetreault’s genre comparison. It considers formality alongside politeness and frustration. That framing matters because the earlier paper finds relationships among pragmatic judgments while also documenting combinations such as formal and impolite writing. A study of email tone can treat those properties as distinct aspects of what people perceive in the same message. Frustrated, Polite, or Formal?
ALDi turns graded measurement towards the dialectness of Arabic text. The connection lies in asking about degree for a property of language variation. Pavlick and Tetreault use an ordered scale so that readers can express intermediate judgments and the predictor can estimate them. The ALDi title identifies a different property and language for quantification. The relationship is through the choice to measure variation in degree, with formality and dialectness remaining distinct objects of study. ALDi
TyDiP makes politeness itself the target of classification across typologically diverse languages. In the debate analysis, politeness is a separately annotated dimension whose association with predicted formality is positive and modest. The later dataset places that neighboring dimension at the center of a cross-language task. This extends the broader line of work on making social judgments about wording explicit enough to evaluate computationally. TyDiP
Work on linguistic properties of prompts also treats formality as one measurable dimension among others. The study on hallucinations frames its question around readability, formality, and concreteness in prompts. In this setting, formality is a property of the input whose relationship to system behavior is under investigation. That gives the original measurement question a different role. Judging how a text is worded becomes part of investigating what happens when it is used as a prompt. Exploring Hallucinations and Prompt Linguistic Nuances
A later study of English spelling variation on Twitter returns to readers’ social perceptions of everyday online writing. It compares human and automated responses to spelling variation. Pavlick and Tetreault’s rewrite analysis includes spelling, normalization, and capitalization among the edits people make when asked to formalize a sentence. The later study directs attention to one class of visible cues and asks how judgments about it compare across kinds of respondents. Social Perceptions of English Spelling Variation on Twitter
Institutions
Fields, topics and concepts
Shelves 5The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 worksHuman-Computer Interaction · 160 works
Topics 1Research subjects and languages the work is about.Machine translation · 1,109 works
Cite
Cite as Ellie Pavlick and Joel Tetreault. 2016. An Empirical Analysis of Formality in Online Communication. Transactions of the Association for Computational Linguistics.
@article{pavlick2016empirical,
title = {{An Empirical Analysis of Formality in Online Communication}},
author = {Ellie Pavlick and Joel Tetreault},
journal = {Transactions of the Association for Computational Linguistics},
year = {2016},
doi = {10.1162/tacl\_a\_00083},
url = {https://doi.org/10.1162/tacl_a_00083}
}References
- Fadi Abu Sheikha and Diana Inkpen. 2010. Automatic classification of documents by formality. In Interntional Conference on Natural Language Processing and Knowledge Engineering (NLP-KE), pages 1–5. IEEE. OpenAlex ↗ · Scholar ↗
- Fadi Abu Sheikha and Diana Inkpen. 2011. Generation of formal and informal sentences. In Proceedings of the 13th European Workshop on Natural Language Generation, pages 187–193, Nancy, France, September. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Cristina Battaglino and Timothy Bickmore. 2015. Increasing the engagement of conversational agents through co-constructed storytelling. Eighth Workshop on Intelligent Narrative Technologies. OpenAlex ↗ · Scholar ↗
- Julian Brooke and Graeme Hirst. 2014. Supervised ranking of co-occurrence profiles for acquisition of continuous lexical attributes. In Proceedings of The 25th International Conference on Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Julian Brooke, Tong Wang, and Graeme Hirst. 2010. Automatic acquisition of lexical formality. In Coling 2010: Posters, pages 90–98, Beijing, China, August. Coling 2010 Organizing Committee. OpenAlex ↗ · Scholar ↗
- Penelope Brown and Colin Fraser. 1979. Speech as a marker of situation. In Social Markers in Speech, pages 33–62. Cambridge University Press. OpenAlex ↗ · Scholar ↗
- Ido Dagan, Oren Glickman, and Bernardo Magnini. 2006. The PASCAL recognising textual entailment challenge. In Machine Learning Challenges. Evaluating Predictive Uncertainty, Visual Object Classification, and Recognising Textual Entailment, pages 177–190. Springer. OpenAlex ↗ · Scholar ↗
- Cristian Danescu-Niculescu-Mizil, Michael Gamon, and Susan Dumais. 2011. Mark my words!: Linguistic style accommodation in social media. In Proceedings of the 20th International Conference on World Wide Web, pages 745–754. ACM. OpenAlex ↗ · Scholar ↗
- Cristian Danescu-Niculescu-Mizil, Lillian Lee, Bo Pang, and Jon Kleinberg. 2012. Echoes of power: Language effects and power differences in social interaction. In Proceedings of the 21st International Conference on World Wide Web, pages 699–708. ACM. Cristian Danescu-Niculescu-Mizil, Moritz Sudhof, Dan Jurafsky, Jure Leskovec, and Christopher *Figure 5 : Effect size of prior posts’s formality* on current post’s formality for posts at different positions in a thread. Effect size can be interpreted as the expected increase in a post’s formality corresponding to an increase of 1 in the prior post’s formality, all else being equal. sions may tend to adapt better to one another as the discussion progresses. We leave further investigation for future work. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/pavlick-2016-empirical-analysis-formality-online-communication/