---
title: "TexTrolls — paper by Ghanem et al. (2019) — summary and ideas"
description: "TexTrolls uses writing style and topic-specific language to distinguish Russian Internet Research Agency accounts from other Twitter users."
canonical: "https://research.elamur.ai/free/en/papers/ghanem-2019-textrolls-identifying-russian-trolls-twitter/"
---
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/ghanem-2019-textrolls-identifying-russian-trolls-twitter/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2019](https://md.research.elamur.ai/free/en/papers/2019/) / TexTrolls: Identifying Russian Trolls on Twitter from a Textual Perspective

# TexTrolls: Identifying Russian Trolls on Twitter from a Textual Perspective

Paper · 2019 · Bilal Ghanem, Davide Buscaldi and Paolo Rosso

**Authors:** [Bilal Ghanem](https://md.research.elamur.ai/free/en/authors/bilal-ghanem/), [Davide Buscaldi](https://md.research.elamur.ai/free/en/authors/davide-buscaldi/) and [Paolo Rosso](https://md.research.elamur.ai/free/en/authors/paolo-rosso/) · **Year:** 2019 · **Venue:** arXiv (Cornell University) · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

arXiv (Cornell University) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [arXiv 1910.01340](https://arxiv.org/abs/1910.01340)

## Summary

A Twitter account can resemble an ordinary participant in a political debate while being operated as part of a coordinated campaign. TexTrolls asks whether the language in an account’s tweets can help identify accounts that Twitter attributed to the Russian Internet Research Agency, or IRA, in connection with the 2016 US presidential election. The authors compare English-language IRA accounts with a sample of US-based users who tweeted about the election and its debates. Each prediction concerns an account and draws on a collection of its tweets.

The authors represent that collection in different ways. One approach uses [topic modeling](https://md.research.elamur.ai/free/en/concepts/topic-modeling/) to find recurring subjects in the tweets, then describes the language an account uses within each subject. It can capture, for example, whether an account uses more words associated with fear when discussing one subject and more words associated with joy when discussing another. The other approach builds an account-wide writing profile from grammatical patterns, common function words and stylistic details such as capitalization and punctuation. It adapts techniques from native language identification to the task of recognizing accounts in the IRA dataset.

In cross-validation, the paper reports a macro F1 of 0.94 for its approach combining thematic and profiling features. The native-language-inspired features achieve 0.91 on their own and are the strongest individual feature set highlighted by the authors. Grouping tweets by theme generally improves the results for the dictionary-based features, with the largest reported gain for emotion cues. The authors’ inspection of tweets illustrates why grouping can help. Fear is prominent in some divisive themes, while joy is among the leading cues in the theme the authors call Supporting Trump. Such patterns also appear in some comparison accounts.

The experiment establishes that writing patterns can distinguish the accounts in this dataset, under the paper’s sampling and evaluation conditions. The prediction target is Twitter’s account attribution. A high score therefore leaves open questions about the native language of an individual writer, whether a tweet contains false information, and whether the campaign changed anyone’s opinion. The authors’ close reading also identifies cases where words offer little evidence, including accounts that mostly share ordinary social media material or post links with minimal accompanying text.

## Deep dive: TexTrolls: Identifying Russian Trolls on Twitter from a Textual Perspective

TexTrolls uses writing style and topic-specific language to distinguish Russian Internet Research Agency accounts from other Twitter users. · about 34 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

#### Recognizing an account from what it writes

The paper starts from a practical difficulty in studying online influence campaigns. An account can present itself as a member of the community it addresses. The authors describe IRA accounts using English and choosing profile details that could make them resemble the US audience they were trying to reach. Such a profile can supply a location and an interface language with little connection to the person operating the account. The difficulty extends to the messages themselves. An account may post material that seems ordinary in isolation or express a political view indirectly.

Twitter’s disclosure gave the authors a set of accounts already attributed to the IRA. The attribution makes it possible to ask a question retrospectively. Given a collection of tweets from an account, does its language resemble that of the disclosed accounts or the accounts sampled for comparison? The distinction is an instance of [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/), with an account’s collection of tweets serving as the text to classify.

The authors are interested in recurring habits across posts. Some evidence might come from form, such as the kinds of grammatical constructions a writer favors. Other evidence might come from how language changes with the subject. An account could sound enthusiastic when promoting a candidate and apprehensive when dealing with a divisive issue. Pooling its posts gives an account-level view of its language. Keeping separate profiles for different subjects makes it possible to see whether the overall impression hides a recurring shift.

The paper places the accounts alongside earlier categories of suspicious users. The classification it cites distinguishes robots, cyborgs and human spammers. The authors treat IRA trolls as a related category whose activity is directed towards communities. They also cite earlier work suggesting that IRA accounts could involve people working with software. This context explains why a detector built around a simple distinction between automated and human writing would answer a different question. A person can write plausible posts while participating in an organized campaign.

The meaning of *troll* is consequently local to the study. It refers to the IRA accounts in Twitter’s release that meet the selection criteria. Someone who posts an insult, shares a political slogan or writes unusual English could exhibit features considered in the paper. The label used for training comes from the account attribution and covers a narrower category than those behaviors do.

#### What previous investigations measured

The prior investigations described in the paper looked at different parts of the operation. The study by Gorrell and colleagues examined domains linked by IRA accounts and compared them with links circulated in discussion of Brexit. It also compared accounts with left- and right-oriented personas through measures such as retweets received, follower totals and the propaganda strategies the researchers observed. A domain can reveal which sources accounts circulate, whereas a retweet count describes how their material moves through the platform. Both give information that the wording of an individual tweet may leave out.

Boyd and colleagues studied the IRA’s activity on Twitter and Facebook. Their analysis of paid Facebook advertisements traced the subjects the operation emphasized before and after the US presidential election. The TexTrolls authors also cite reporting on divisive material posted by IRA pages. Those observations motivate the idea that subject matter can organize an analysis of campaign language. TexTrolls asks how to use that structure when the input for a decision is a collection of tweets by an individual account.

Other previous work treated the accounts as collections of behavioral and profile signals. Zannettou and colleagues examined items including descriptions, screen names, posting clients, locations, time zones and the domains of shared links. Im and colleagues took up the possibility that Twitter’s disclosure might have missed accounts. Their investigation used profile information and language-related evidence, including the distribution of languages and the use of stopwords, to look for suspicious accounts in a further Twitter sample. TexTrolls shares the interest in linguistic habits and puts the emphasis on an account’s written posts.

The paper also discusses work on the people who encountered and redistributed IRA material. Badawy and colleagues examined users who shared the campaign’s posts. A related study used political ideology, estimated likelihood of being a bot and indicators of account activity to predict who would spread the material. In those studies, the act of redistribution helps define the people being studied. In TexTrolls, the prediction concerns the account identified as part of the operation. A person who repeats an operation’s message can be relevant to its reach without holding the same role as the account that produced it.

#### Why the authors examine both subject and style

The writing-profile part of the paper draws on research in native language identification and authorship attribution. Native language identification work cited by the authors looked for recurring linguistic choices in essays. It gives them a way to ask whether similar choices recur in English tweets, including patterns involving function words and grammar. Authorship attribution contributes a different set of measurements, from repeated letters to capitalization. Both lines of work suggest that form can carry information even when the subject changes.

The thematic part starts from the observation that accounts engaged with divisive subjects and could use different emotional language in different settings. If a collection includes several political subjects, a single average over its words can obscure which expressions accompany which discussions. The authors therefore give the subjects a role in constructing the account representation. The same kinds of lexical cues can then be read in the context of the topic where they occur. The emotional question belongs to the study of [sentiment and emotion](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/).

These lines of inquiry give the paper related but distinct objectives. It asks whether topic information improves discrimination, whether text alone can support an account-level decision in the selected data, and what emotion cues reveal about the campaign’s messages. The classification questions can be investigated by comparing scores. The question about public opinion has a broader scope. In practice, the paper examines how emotional wording varies and illustrates possible uses of that language through examples.

### The method, step by step

#### Start with a set of tweets for each account

The labels and the text enter the procedure through different routes. The IRA label comes from Twitter’s release of accounts associated with the campaign. The authors select accounts in that release that mainly use English, remove posts in other languages and retain tweets the selected accounts originally posted. To form the regular-user group, they look for users participating in election-related discussion and screen them using location and the language of the Twitter interface. The two groups then supply the text used in the classification experiments.

The working unit after collection is an account. A tweet can contribute evidence about its words, subject or style. The procedure collects those measurements across the account’s posts before producing a prediction. This matters because a tweet can be too short to show more than a few cues and because the claim evaluated by the classifier concerns the account.

The text plays different roles in the two representations. For the thematic representation, it supplies words that help locate a tweet in a group of related discussions. The resulting grouping determines where the tweet’s lexical measurements contribute to the account profile. For the writing profile, the text supplies punctuation, case, function words and grammatical structure. Each representation has its own preparation because a detail that is incidental when discovering subjects can be informative when describing style.

From a collection of tweets to an account prediction The steps in order.

#### Discover subjects before labeling them

The authors use Latent Dirichlet Allocation, abbreviated LDA, to discover recurring subjects. The idea is to infer topics from words that tend to occur in related contexts. An inferred topic can be inspected by looking at the vocabulary most associated with it. In this study, the algorithm is unsupervised. The starting input is the distribution of words in the tweet collection, and the distinction between IRA and regular-user accounts is used later for the classification task.

The topic-discovery input is a restricted version of the tweets. The authors keep nouns and proper nouns, lower-case the text and remove special characters while preserving the hash sign used for hashtags. Using nouns emphasizes names, entities and other expressions that help characterize what a message is about. Lowercasing lets capitalized and lower-cased instances contribute together in this part of the analysis. The restriction to grammatical word categories belongs to [part-of-speech tagging](https://md.research.elamur.ai/free/en/topics/part-of-speech-tagging/).

The authors also remove the hashtags they used when collecting election tweets. Those hashtags already reflect the researchers’ selection of material. If kept for discovery, they could repeatedly signal the collection query itself, even when the nearby words suggest distinct discussions. Other hashtags can still contribute to the identity of a topic. This distinction matters in the later inspection of their meanings, where the authors consider both prominent words and prominent hashtags.

After trying different topic counts, the authors choose seven themes. The names come from their inspection of the inferred vocabulary. The collection includes Police shootings and Crimes, along with Civil Rights and Black People. Islam and War is another theme. Two themes concern the candidates and are labeled Supporting Trump and Attacking Hillary. These names make a statistical grouping easier to discuss and express the authors’ reading of its prominent vocabulary.

The labels carry interpretive limits that the paper itself illustrates. The candidate-related groups contain opposing positions. An item associated with Supporting Trump could oppose him while using much of the same vocabulary as a supportive item. The authors choose the labels that fit the most representative words and hashtags. In distinguishing Police shootings from Crimes, they use the concentration of vocabulary about police, firearms and shooting in the former. The latter includes more discussion of sexual violence against children and women, according to their reading.

The authors also see broad agreement with subjects previously found in IRA Facebook advertisements. They interpret the overlap as evidence of similar organization across the platforms. Within the method, the immediate role of the topics is more specific. They supply bins in which to measure how accounts write. A grouping may be helpful for that task even if its name describes only the dominant discussion and leaves some constituent tweets difficult to interpret.

#### Measure the language used within a theme

Once tweets can be represented by theme, the authors describe each tweet through several families of lexical cues. A lexicon associates words with categories. Finding a listed word supplies evidence for the category under that dictionary’s definition. Context remains important when interpreting a match. A report of somebody else’s fear, for example, can contain a fear cue even if the writer’s own position is unclear.

Emotion and sentiment are related measurements in this part of the method. The authors use the NRC emotion lexicon, which the paper describes as covering roughly 14K words and the eight Plutchik emotions. This gives them categories with which to examine how different kinds of emotional language are distributed. The NRC resource also supplies positive and negative sentiment cues. The finer emotion labels let the analysis distinguish patterns that a broad positive or negative label would combine.

The paper uses lists of offensive and sexual expressions because the authors encountered slang when reading a sample of IRA tweets. They interpret such wording as a possible part of an account’s imitation of everyday US usage. The feature itself measures the presence of expressions from a list. That separation between a measurement and its interpretation is important. A cue can be recorded whenever the wording occurs, and the attribution of a purpose depends on reading the tweet and understanding the setting.

Stance cues are another group. The authors draw on lexicons from earlier stance research to mark language associated with belief, denial, doubt and claims of knowledge, among other categories. The lists also cover negation, questions, reporting and vocabulary about falsity. Such cues provide a rough description of how a writer frames a statement. They can suggest that a tweet questions or presents a claim without identifying the target of that position in every case. The thematic grouping supplies a subject for interpretation, while the lexical cues supply a description of the language used around it.

The dictionaries for bias and subjectivity capture patterns such as assertive wording, hedging and reporting, as well as wording from a general bias lexicon. Some categories are built around types of verbs. Factive verbs, for example, can present the proposition they introduce as established. The authors also include implicative verbs, which can signal that one situation follows from the way another is described. These are clues to presentation. The procedure leaves questions about the truth of the proposition to other evidence.

The LIWC dictionary supplies categories that include pronouns, anxiety and cognitive processes. Other dimensions cover language of insight, causation, discrepancy, tentativeness and certainty. The selection also includes inhibition and inclusive wording. These categories describe different aspects of how a message is expressed. Pronoun use can help characterize how a tweet refers to people or groups, while tentative wording can help describe how firmly it presents a claim.

The authors use another set of word categories to capture moral framing. These come from moral foundations research and cover concepts such as care and harm, fairness and cheating, and loyalty and betrayal. The categories also include authority and subversion, as well as sanctity and degradation. The feature records how readily these cues appear within a discussion. A word counted under harm, for instance, can occur in a message condemning harm, attributing it to others or describing an event.

#### Turn themed tweets into a single account profile

A tweet’s lexical measurements make up a feature vector, which is an ordered list of values. The order ensures that a given position represents the same cue across tweets. The authors group these vectors by theme for each account. They describe computing an average and a standard deviation for each feature within each theme. The average is meant to capture the typical level of a cue, and the standard deviation is meant to indicate how much its use varies across the posts in that theme.

The paper gives the following expression for the thematic profile. The square-root term is transcribed with the deviations as printed.

```
userₓ = ⨀ⱼ₌₁ᵀ [ (∑ᵢ₌₁ᴺʲ Vᵢⱼ) / Nⱼ ⊙ √((∑ᵢ₌₁ᴺʲ (Vᵢⱼ − V̄ⱼ)) / Nⱼ) ]
```

Here `x` identifies the account and `userₓ` is its resulting feature vector. The theme index is `j`, which runs from `1` through `T`, the number of themes. `Nⱼ` is the number of tweets from the account in theme `j`. The upper bound written `ᴺʲ` above each inner sum denotes that same `Nⱼ`. The index `i` runs over those tweets, and `Vᵢⱼ` is the vector of lexical measurements for tweet `i` in theme `j`. `V̄ⱼ` is the mean of those vectors. The summation sign `∑` adds the indicated vectors, division by `Nⱼ` averages them, and `√` denotes a square root applied to the entries. The inner `⊙` joins the two groups of values in the brackets end to end. The outer `⨀` repeats that concatenation across themes. The parentheses group the arithmetic, and `−` subtracts a feature’s mean from its value for a tweet.

There is a discrepancy between the written explanation and the displayed arithmetic. Standard deviation uses squared deviations inside the sum. In the printed expression, the signed deviations from the mean cancel, so the square-root term as written carries no spread information for a nonempty group. The prose identifies the intended feature, while the paper leaves open which expression was implemented. It also gives no convention in the equation for an account with an empty theme, where division by `Nⱼ` would be undefined.

Keeping the theme-specific blocks in the representation allows different values to coexist for the same lexical category. If an account’s tweets about one subject use much more fear vocabulary than its other tweets, the fear feature can reflect that shift because the values occupy different positions. The classifier receives the resulting array. It can use the separate values as evidence for an account label even though there is no explicit rule stating how particular themes should contrast.

The distinction between the mean and the intended measure of spread also matters here. A theme can have a high average because an account uses a cue fairly consistently or because a portion of its posts use it intensely. Variation within the theme would help distinguish those possibilities. Differences between the averages of separate themes describe a different kind of variation. The representation puts both kinds of information within reach, subject to how the spread term was implemented.

#### Build a writing profile across the account

The second branch uses features inspired by native language identification, which the authors abbreviate NLI. Here the abbreviation refers to patterns associated with a writer’s language background. The authors use it as a source of measurements for account classification. The training categories remain IRA and regular user, and the procedure described in the paper yields account predictions in those categories.

The NLI set comprises stopwords, part-of-speech tags and syntactic dependency relations. A bag of stopwords represents the occurrence of common words such as function words by recording them as features without keeping their full sequence. Because many function words recur across subjects, the resulting features can describe ordinary grammatical choices that a reader might pass over. They can still vary with topic, expression and genre, so their interpretation depends on the comparison being made.

The grammatical tag and dependency features view the text at different levels. A part-of-speech tag represents the grammatical category of a word. A dependency relation records how a word is connected to another word in the analysis, such as which expression modifies or completes another. An account can favor certain grammatical categories or relations even when the individual words change. The latter group of features is obtained through [dependency parsing](https://md.research.elamur.ai/free/en/concepts/dependency-parsing/).

The authors use spaCy to obtain the grammatical information. They clean the tweets while retaining dots, commas and first-letter capitalization. They also use patterns to collapse repeated dots and repeated characters in the text processed for NLI. This preparation gives the grammatical analyzer a more regular input. The authors tried TweetNLP and say that spaCy yielded higher overall results. Their description gives no score for that tool choice.

Stylistic measurements make some of the visibly irregular details of tweets into evidence in their own right. The selected features count special characters, repeated characters and letters, URLs, hashtags and user mentions. The authors also measure tweet length and the upper-case ratio. The paper defines repetition using two cutoffs: at least two characters in a row and at least three letters in a row. These thresholds say when a repetition enters the stylistic measurements. They do not specify how much evidence a repetition provides for either account class.

The grammatical and stylistic operations thus assign different roles to textual form. Repeated punctuation can complicate grammatical analysis, while a writer’s tendency to repeat punctuation is itself something a writing profile can record. Likewise, the topic branch can lower-case words for subject discovery and the style branch can use upper-case text as a feature. The paper’s design makes context determine which details are retained for which measurement.

#### Aggregate writing habits across tweets

For the writing profile, the authors concatenate the native-language-inspired and stylistic measurements at tweet level. They describe taking a mean and standard deviation over the account’s tweets without grouping those tweets by the discovered subjects. The procedure yields a profile of the personae’s observed output in the dataset. It gives repeated usages a way to stand out across posts, while leaving the account’s distribution across themes to the separate thematic branch.

The paper writes the profiling expression as follows.

```
userₓ = [ (∑ᵢ₌₁ᴺ Vᵢ) / N ⊙ √((∑ᵢ₌₁ᴺ (Vᵢ − V̄)) / N) ]
```

Here `x` is the account, `userₓ` is its writing-profile vector, and `N` is the account’s total number of tweets for this profile. The index `i` runs from `1` through `N`. `Vᵢ` denotes the joined grammatical and stylistic feature vector for tweet `i`, and `V̄` is the mean of those vectors. In this transcription, `⊙` represents the separator in the paper’s profiling equation and means end-to-end concatenation. The brackets enclose the joined result. The summation sign `∑` adds vectors, `/` divides by the tweet count, `−` subtracts the mean vector, and `√` denotes the entrywise square root. The parentheses show which terms belong inside the sum and the square root.

This equation has the same disagreement with the prose as the thematic equation. The account-wide deviations are printed without squares, so they cancel when summed around their own mean. A standard-deviation feature would involve squared deviations. Both equations are informative about how the authors intend to group the input. Their written form is insufficient to establish that the reported classifier actually received the intended variation measures.

#### Learn the account distinction

The authors test several classifiers and select logistic regression on the basis of its reported F1 performance. Logistic regression learns weights for the feature values using examples with known labels. In this setting, those values describe concentrations of lexical cues by theme and account-wide properties of writing style. The learned weights allow different cues to contribute differently to the account decision. The authors keep the classifier’s default parameters.

This final step is supervised. The classifier learns the association between feature patterns and known account labels. Topic discovery supplies structure for one of its inputs, and the dictionaries and grammatical analyzer supply measurements. The decision about whether an account belongs with the disclosed IRA group comes from training on labeled accounts. The paper evaluates variants of the input separately to see which measurements make the distinction easier.

The paper identifies Twitter’s elections-integrity release as the source for the disclosed IRA accounts and gives a repository address for its own data and classifier. Its method depends both on the release that supplies the positive examples and on the authors’ procedure for assembling accounts to serve as a comparison. Those collection choices determine which texts the features describe and which account distinction the evaluation measures.

### Experiments and results

#### The accounts in the evaluation

The Twitter release initially contains 3,841 accounts. The authors retain 2,023 IRA accounts after focusing on accounts whose main language is English and applying their tweet filters. They remove non-English tweets and keep originally posted material from the selected accounts. The purpose is to study the part of the campaign that could plausibly address US readers in English. As a result, this experiment concerns a subset of the disclosed operation.

The comparison accounts come from a random sample of users found through election- and party-related hashtags queried through Twitter’s API. Users in the sampling procedure posted at least 5 tweets in the window beginning on August 1 and ending on December 31, 2016. The collection emphasizes the presidential and vice-presidential debates and election day. The authors also require the comparison users to show a location within the US and to use an English-language interface. The aim is to gather users engaged in overlapping political discussion instead of choosing people from unrelated parts of Twitter.

The resulting account labels are highly imbalanced. IRA accounts make up 2% of the dataset and regular accounts make up 98%. The authors describe such an imbalance as realistic. They also report that the two groups supply similar total volumes of tweets, which they attribute to frequent posting by the IRA accounts. The proportions of accounts therefore convey a different picture of the collection from the distribution of its messages. Account labels, rather than individual tweets, are the objects of the final predictions.

The authors chose the period on the expectation that the debates and election would coincide with intense activity by the operation. This gives the experiment shared political context for the two groups. It also means that the comparison concerns people who were reachable through the authors’ election sampling procedure. The group called regular represents that sample of accounts and is used as the negative class in the experiment.

#### The evaluation and its metrics

The authors report precision, recall and F1. For a class of interest, precision describes the share of predictions for that class that match the labels. Recall describes the share of labeled members of that class recovered by the classifier. F1 combines precision and recall into a single measure that depends on both. In a dataset dominated by one class, reading results at the class level matters because the majority can account for most correct decisions even when the minority is poorly recovered.

The paper calls its measure a “macro weighted” version of F1 in the setup and refers to it as macro F1 when it discusses the headline results. These descriptions leave the averaging convention unclear. Ordinary macro averaging gives the classes equal influence, whereas support weighting gives more influence to a class with more examples. With the class proportions in this study, the choice can materially affect what a headline number communicates. The scores below retain the paper’s macro F1 label.

The evaluation uses 5-fold cross-validation. In this design, each fold in turn serves as a held-out part of the dataset, with the other folds supplying the training examples. This gives multiple evaluations within the same collection. The paper reports logistic regression as the best classifier it tested on its chosen F1 measure and uses default settings. The reported comparison concerns this cross-validation procedure. The paper gives no separate test on accounts collected for another election or another campaign.

#### What the baselines test

The random-selection and majority-class baselines give reference behavior for simple classifiers. The majority-class baseline always predicts the more frequent class. On this collection, that means labeling every account as regular. This baseline shows why a measure must reflect how well the classifier recovers the minority class. The random baseline supplies a reference for decisions made without using the textual cues that the proposed approach is meant to exploit.

The bag-of-words baseline collects all the tweets from an account into a single document and represents the document by its words. It gives a simple lexical comparison against the paper’s richer measurements. It can use the vocabulary associated with an account, including words related to its favorite subjects. It has no separate positions for the same kind of lexical cue appearing in different themes. The comparison therefore asks how useful it is to organize text by subjects and linguistic categories when a classifier can already learn from words pooled at account level.

The Tweet2vec baseline is motivated by earlier observations about the operation’s participation in hashtag games. In such a game, a recurring hashtag invites a response to a shared prompt. The paper describes IRA accounts taking part in ways that could attack or offend others. Tweet2vec uses sequences of characters in a tweet to learn to predict its hashtags. Its bidirectional gated recurrent architecture can use character context from either direction and represent the input for the prediction task. The authors train it with approximately 3.7M tweets from their collection and use the implementation’s default settings.

For classification, the authors give logistic regression the internal numeric representation produced by Tweet2vec. This checks whether a representation learned for hashtag prediction also helps distinguish accounts associated with the campaign. The baseline tests a particular route from tweets and hashtags to account attribution. The reported description leaves open some details of how the tweet representations were combined for the account-level evaluation.

The comparison labeled Network Features uses follower and followee counts. The former records how many accounts follow a user, and the latter records how many that user follows. The authors select these quantities from the limited account details they describe in Twitter’s release. This baseline asks how much evidence two simple social statistics carry under the same classification setup. It represents a narrower source of evidence than the link activity, relationships and profile fields surveyed in the earlier research.

#### What the results establish

The authors report a macro F1 of 0.94 for their approach combining theme-based and writing-profile features in cross-validation. The NLI features on their own reach a reported macro F1 of 0.91. Taken together, these results show how much discrimination the authors obtain from a single family of writing measurements and what they achieve when the feature representation includes a broader description of the accounts’ tweets.

Reported macro F1 on the IRA and regular Twitter account dataset in cross-validation The combined thematic and profiling approach scores higher than the native-language-inspired features alone.

**The numbers**

| System or setting | macro F1 |
| --- | --- |
| Native-language-inspired features alone | 0.91 |
| Combined thematic and profiling features (this paper) | 0.94 |

The paper reports that adding themes generally improves the lexical feature sets it evaluates. The largest gain the authors identify is for emotion cues. That comparison matters because emotion categories give a simple example of a signal that can change with the subject. The word-based measurements can carry more information when tweets about different subjects occupy different parts of the profile. The authors pursue this finding through a descriptive analysis of emotional vocabulary.

The authors describe the follower and followee baseline as performing poorly. They relate the result to previous observations that the operation’s accounts followed many users and encouraged reciprocal attention. The experiment itself shows the limited discrimination obtained from the follower and followee counts used in that configuration. It leaves the performance of richer network information open.

The authors also describe poor performance for Tweet2vec. They take this to mean that the hashtag-prediction representation did not usefully identify the IRA accounts in their experiment, in spite of the group’s reported activity in hashtag games. Participating in a recognizable game and being distinguishable through a representation trained to predict hashtags are different empirical questions. A game can be shared with many other users, and the predictive representation can emphasize aspects of its text that say little about the account label.

The paper describes a table of independent feature results and discusses the broad ranking and thematic trends in prose. Its numerical statements give the macro F1 values plotted above. The individual precision and recall values, and the exact baseline and themed-versus-unthemed scores, cannot be recovered from those statements. This limits quantitative comparisons to the explicitly reported scores and the qualitative findings the authors describe.

### What the ablations show

#### Holding the cues fixed and changing their grouping

The principal controlled comparison is between representations of the lexical features with and without thematic grouping. In the ungrouped version, occurrences of a cue contribute to an account-wide view of its language. In the grouped version, an occurrence contributes to the description of its own theme. The latter gives a classifier access to information about how the account uses the cue as the subject varies. Testing the features independently makes it possible to observe whether the reported gain is concentrated in a particular kind of measurement.

The authors find that the change helps the thematic feature families overall and identify the strongest improvement for emotion. The comparison supports a claim about representation. A vocabulary of emotional cues is more discriminating in their experiment when its measurements retain subject information. The comparison does not isolate whether the improvement comes from a contrast in emotional language, differences in which topics the groups discuss, or a mixture of those signals. The authors investigate the first possibility by examining emotional patterns in the IRA tweets.

The comparison also clarifies an important distinction between the themes and the lexical measurements. Theme labels are ways of organizing tweets. The emotion and other dictionary features describe text within those groups. An issue that evokes similar language from many users can still contribute to classification if one set of accounts changes its wording more strongly when it moves to another issue. Conversely, a classifier could make use of the prominence of a cue in a single theme. The reported comparison establishes that the extra organization helps on the collected examples. It leaves the precise contribution of each possible explanation open.

#### Reading the fear and joy patterns

The emotion analysis looks at the prevalence of different lexical cues by theme. The authors report that fear is among the top two emotion categories for the Black People and Islam and War themes, which they discuss in connection with divisive messaging. In Supporting Trump, they find less fear and place joy among the prominent emotion categories. The contrast shows why an account-wide average can be a coarse description. A profile that distinguishes the subjects can reflect which emotional language accompanies each of them.

The paper follows the comparison across themes with a closer look at an IRA account. In a post associated with Islam and War, the account mocked a question about protection from Islamophobia and redirected attention to terrorism. The example associated with Supporting Trump used excited praise and an election slogan. The authors examine the average fear and joy cues for the account in those themes and describe a reversal in their relative prominence. They interpret the smaller separation in the Islam and War example in light of the post’s ironic wording.

The example shows a change in the relative ordering of cues for the same account across themes. It does not chart a change of mind or date a switch over time. Nor do emotion categories by themselves tell the reader whether the account endorsed, quoted or mocked the words that trigger them. The authors’ reading of the example adds information the dictionary alone cannot supply. Their observation that some regular users exhibit a similar pattern also puts the contrast in perspective. They describe it as more evident in IRA accounts, leaving its prevalence and distribution unquantified.

This analysis speaks to the authors’ question about the operation’s use of emotion by describing patterns consistent with distinct rhetorical treatments of different subjects. Its evidence is the vocabulary in tweets and the interpretation of selected examples. An effect on public opinion would require observations about the audience. The paper’s classification experiment and close reading both concern the messages the accounts produced.

#### Inspecting the writing-profile features

The authors follow the high NLI score by inspecting the most important tokens in each of its feature subsets. They show the top 10 for parts of speech, dependency relations and stopwords. The inspection asks whether a feature set that works at prediction time has a recognizable linguistic basis. It also puts the three sources of grammatical evidence side by side, so the reader can see which kinds of cues the classifier draws on.

The authors relate some prominent function words and a grammatical tag to prior findings on English tweets by different language groups. The paper points to stopwords such as *as*, *about* and *because*, and discusses `RP`, which it glosses in its tag set as an adverb or particle label. The authors read part of the pattern as consistent with earlier observations about preposition use. They call for further work on the remaining features. These examples concern associations found in feature analysis, and the grammatical roles of individual words still depend on context.

An importance ranking has a narrower meaning than a controlled removal experiment. It identifies features that stand out in the classifier’s analysis. It does not provide the score obtained by removing each word or grammatical category. Correlated features can carry overlapping evidence, and a feature can be prominent because it separates the sampled groups for several reasons. The reported score for the NLI feature set demonstrates its overall usefulness in the study. The token inspection provides possible linguistic explanations for part of that usefulness.

#### Comparing the groups’ lexical cues

The linguistic analysis compares the IRA and regular-user groups on the presence of cues for morality, LIWC categories, bias and subjectivity, stance, and offensive or sexual wording. The authors describe their quantity as the percentage of tweets containing one or more cues, with the values averaged over themes. This is a descriptive comparison of the groups’ language. It serves a different purpose from evaluating held-out predictions.

The authors use a Mann–Whitney U test to identify significant differences. This test uses ranks to compare the values from groups. In the paper’s table, the levels of statistical evidence are marked at p-value thresholds of ≤ 0.001, ≤ 0.01 and ≤ 0.05. These are the reporting thresholds for the linguistic comparisons. The authors report only significant contrasts in that table, so the presentation foregrounds markers on which the groups differ under this procedure.

A significant group-level difference tells the reader something about how a cue is distributed in the comparison. An individual user may nevertheless display the cue in the same way as many users in the other group. The comparison also leaves room for shared causes among cues. The same post can trigger a moral category, an emotion category and a stance category, so separate findings can describe overlapping aspects of the material. The paper describes the measurements and significance convention without giving numerical cue-by-cue results in its discussion.

#### Looking at the cases the classifier struggled with

The authors manually inspect errors and describe IRA accounts whose tweets furnish sparse or misleading evidence. Some accounts asked general questions with little overt ideological direction. A lexical feature can record that a question is being asked, but a general question can give few clues about the operator’s affiliations. The authors found that these accounts were difficult to interpret even when they read the posts themselves.

The largest category in their discussion comprises accounts sharing ordinary social media material. The paper illustrates this with a post linking to a cat video involving a trashcan. The thematic procedure assigned the post to Attacking Hillary. The example shows a weakness of letting an inferred subject determine where every cue enters the account profile. Little of the post’s meaning supports the topic label, yet its contribution can still land in that part of the vector.

Other accounts supplied little more than links. The authors attempted to inspect linked material and found that most of the links in this group led to deleted tweets. They suggest that some such accounts may have helped boost the visibility of other accounts or their content. The observed evidence is the scarcity of readable material and the destination of the links they could check. The proposed boosting role is an interpretation of what that activity could have accomplished.

The paper places these examples under a false-positive heading even though it describes them as IRA accounts that the method misclassified. With IRA as the positive label, an IRA account assigned to the regular class would be a false negative. The discussion is therefore most clearly read as an account of missed IRA cases and weak textual evidence. It leaves the frequency and characteristics of regular accounts incorrectly flagged as IRA unresolved.

### Limitations

#### Limits the authors identify

The authors identify irony as a recurring complication in their manual reading. Irony can make the apparent emotional cues of a post diverge from the position a reader understands it to express. In the election discussion they examine, wording that sounds playful or dismissive can accompany a threat-related message. The feature set counts lexical evidence, while the interpretation of ironic force depends on how the words are used. The authors propose adding irony detection as future work and report no evaluation of such a component.

The mixed topic labels are another limit acknowledged in the analysis. Supporting Trump and Attacking Hillary describe prominent tendencies in the vocabulary, and the authors find opposing stances inside both themes. Some posts also receive a topic that makes little sense on inspection. These problems matter because all subsequent thematic measurements depend on how the posts are grouped. A statistical group can help describe the dataset while remaining an imperfect guide to the subject and stance of a particular tweet.

The authors flag the lack of usable wording in some accounts. General questions, ordinary shared posts and links with little description leave a text-only classifier with weak evidence. Inspection of external content could supply additional context for some accounts, but the authors’ attempt was limited by deleted material. Their suggestion that these accounts served to amplify others remains a possible explanation for behavior whose function the available tweets could not establish.

Finally, the authors describe their interpretation of the writing features as unfinished. Some important tokens appear compatible with prior observations, while they leave other patterns for further investigation. The emotional change they call attention to is also present in some regular accounts. Their observations support treating writing and emotional patterns as statistical evidence that needs a comparison group, especially when the decision concerns a specific account.

#### Limits of the sampling and evaluation

The two account groups come from different collection procedures. Twitter’s release supplies the IRA group. Hashtag searches and profile criteria supply the regular-user group. Filtering puts both groups in a broadly comparable English-language political setting. Differences in the way the accounts were selected could still appear in their language. For instance, querying election hashtags for the comparison group can affect what types of discussion enter that group. Removing the query tags before topic discovery addresses their direct influence on that step. It leaves open how the collection procedure shaped the vocabulary around those tags and the composition of the account sample.

The groups can also differ in how much text is available per account. The paper describes similar overall tweet volumes in spite of the large disparity in account counts and attributes this to intensive IRA activity. An account with many tweets gives a more stable basis for estimating recurring habits than one with sparse text. This can affect the mean and spread of its cue measurements and the number of themes represented. The error analysis confirms that some accounts yield very little usable text. The experiments do not isolate the consequences of giving each account a comparable amount of writing.

Cross-validation tests how well the classifier transfers among subsets of the same collected accounts. The paper does not report a test on a later period, another operation or another platform. Its setup also leaves unclear which corpus-level transformations were refitted within each training fold. In particular, learning topics or tweet representations from an entire collection and learning them only from the training data define different evaluation conditions. The description does not resolve the distinction, so the extent to which unseen text was excluded from every feature-learning step is uncertain.

Other ambiguities affect reproducibility. The conflicting descriptions of F1 leave the exact averaging convention unspecified, and the two feature formulas omit the squared deviations implied by their prose. The account-level treatment of empty thematic groups is also unstated. These details matter for reproducing the experiment and interpreting its scores. A reader can follow the broad sequence from accounts to tweets to features to classifier, while some choices required for a faithful implementation remain unknown.

The reported comparison concerns the proportion of IRA accounts in this dataset. Applying the same classifier to a population with a different proportion would change how to interpret its positive predictions. Without class-specific precision and recall values for the results discussed, the macro F1 score is insufficient to determine how frequently regular accounts would be flagged or how many IRA accounts would be missed. The qualitative error examples illuminate some failure modes without measuring their rates.

#### What account classification can establish

The NLI features are trained and evaluated against account attribution. Their success is compatible with language-background effects, the authors’ main motivation for using them. It is also compatible with recurring stylistic habits, shared conventions among campaign operators or differences introduced by the collection procedure. The paper gives no independent native-language labels for the writers in the experiment and does not establish that a given account always had the same writer. The score therefore supports using those features to distinguish these labeled groups under the stated conditions. It supplies no direct estimate of how well the procedure identifies a writer’s native language.

The same distinction applies to emotion and stance cues. A word associated with fear can occur in a warning, a quotation, a joke or a criticism of fearmongering. A theme can contain people on both sides of an issue using similar vocabulary. Dictionary matches and inferred topics therefore describe observable features of language, while a claim about intention requires additional evidence. The paper’s manual readings show how a researcher can make that interpretation in selected cases. They do not turn every cue match into a reliable judgment of intent.

The experiment also leaves several outcomes outside its reach. Its labels identify accounts in a disclosed campaign, instead of verifying whether an individual post makes a false claim. The work describes the messages’ content and the cues associated with their authorship, without measuring audience exposure, changes in beliefs or effects on the election. The most defensible conclusion is that topic-conditioned language and writing profiles provide information about known campaign accounts in the sampled Twitter discussions.

### What came after

The later use of TexTrolls in published research is undocumented here. The sequel the authors themselves describe is a research proposal. They suggest testing whether irony detection could help interpret posts whose literal wording gives an incomplete picture of their emotional tone. That would extend the account-classification study by examining a difficulty the authors encountered while reading the tweets. The paper reports the proposal without a follow-up experiment.

## Cite

Cite as Bilal Ghanem, Davide Buscaldi and Paolo Rosso. 2019. TexTrolls: Identifying Russian Trolls on Twitter from a Textual Perspective. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.1910.01340](https://doi.org/10.48550/arxiv.1910.01340) · [arXiv 1910.01340](https://arxiv.org/abs/1910.01340)

```bibtex
@misc{ghanem2019textrolls,
  title = {{TexTrolls: Identifying Russian Trolls on Twitter from a Textual Perspective}},
  author = {Bilal Ghanem, Davide Buscaldi and Paolo Rosso},
  year = {2019},
  doi = {10.48550/arxiv.1910.01340},
  eprint = {1910.01340},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1910.01340}
}
```

> 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)
