Elamur Research

RuSentiment: An Enriched Sentiment Analysis Dataset for Social Media in Russian

Paper · 2018 · Anna Rogers, Alexey Romanov, Anna Rumshisky et al.

Summary

A post about getting soaked on the way home may sound exasperated even if its only explicit judgment is cheerful. The reader has to decide how that judgment relates to the events. A practical request with a friendly closing presents a different problem. The goodwill is real, but it may tell us little about the purpose of the message. RuSentiment gives researchers a way to study such readings in Russian. The authors assembled 31,185 public VKontakte posts at a time when openly available Russian sentiment systems were mostly dictionary-based and suitable training data were scarce. They asked readers to judge the prevailing tone of each whole post, a task that brings together sentiment and emotion.

The guidelines recognize both the writer’s feelings and their evaluations, whether stated outright or understood from what the post describes. Readers could assign positive, negative, or neutral, set apart conventional expressions such as congratulations, or skip an item they could not use. The rules also guide decisions about irony, conflicts between feeling and evaluation, and emoticons that suggest a different reading from the words. Each post received 3 judgments. The overall Fleiss’ kappa, a chance-adjusted measure of agreement, was 0.58. Alongside randomly drawn posts, the dataset includes 6,950 additional posts chosen with the help of an early classifier’s uncertain polarity predictions. This batch yielded a greater share of negative posts and lower agreement. The authors took the additional disagreement as a sign that the search had turned up more borderline material.

The paper compares four classifiers using weighted term counts or averages of word vectors. Among the three sources of vectors tested, the most successful across the classifiers was a collection of VK text containing 3.2B tokens. The neural classifier with those vectors achieved an F1 of 0.728 on the 5-class task when trained with both the random and the selected posts. F1 combines precision, the reliability of a predicted label, with recall, the recovery of posts carrying that label. Substituting selected posts for random ones also brought a small improvement at the same training count. The aggregate gains came with a change in what the classifier got wrong. When trained on the expanded data, it assigned the negative label to more neutral test posts. The authors released the dataset, the code for their classifiers, and the VK word vectors so others could test their approaches against the same starting point.

Deep dive: RuSentiment: An Enriched Sentiment Analysis Dataset for Social Media in Russian

RuSentiment labels the tone of Russian VKontakte posts and tests how the choice of training examples affects sentiment classification. · about 35 minutes to read

The problem and its context

A shortage of judged texts

The authors place the need for Russian sentiment analysis in the context of political science and journalism. If researchers want to study attitudes expressed in public writing, they need resources in the languages in which those conversations happen. A list of favorable and unfavorable words offers a starting point. An example with a judgment attached to the entire text offers a different kind of evidence. It shows how a reader interpreted those words alongside whatever else the writer said and whatever the writer expected an audience to infer.

The authors describe a disparity in the Russian resources available at the time. A substantial Russian sentiment vocabulary already existed. RuSentiLex contained 16,057 words, a larger inventory than the hand-built English resource SentiStrength. Yet the authors saw fewer kinds of lexical resources for Russian. They point to several English resources for which they knew of no Russian counterpart, including SentiWordNet.

The supply of judged texts posed a separate problem. According to the paper, openly available Russian systems for detecting sentiment were dictionary-based. The authors cite evidence from earlier work that classification trained on labeled examples can outperform approaches relying on lexical features. That motivates collecting examples of the decision a system will actually have to make. A dictionary can indicate that a word is commonly used to express approval. A judged post can show that approval language used after a description of an ordeal was understood as ironic. The direct evidence for the latter judgment comes from readers’ interpretations of the text in which the word appears. Russian already had a sizeable resource for the former kind of evidence in RuSentiLex.

How earlier datasets defined the reading task

The authors describe SentiRuEval as the largest annotated resource previously available to them. For the 2016 competition, it comprised 10,890 telecommunications tweets and 12,705 banking tweets. Those domains give a study a frame for interpreting what people are talking about. When the source is a set of personal pages with no chosen topic, the subject can change entirely from one post to the next. Before settling on a sentiment, a reader may need to work out whether the writer is reacting to an experience, addressing a friend, or circulating information.

Another Russian project, Linis, reported crowdsourced labels for 19,831 excerpts from blogs. The RuSentiment authors found 3,327 available through the project. The distinction between an excerpt and a post matters independently of how many texts are available. An excerpt may start or stop within a larger piece of writing. A VK post has boundaries chosen by its writer, and a closing courtesy, a change in tone, or a reference to an earlier remark falls within those boundaries if the writer included it. A complete post can still rely on knowledge shared with its audience. Completeness here concerns the unit selected for judgment.

The VK material also varied in length and struck the authors as noisier than the SentiRuEval tweets they examined. They offer domain as one possible reason for the difference. A collection about telecommunications can include commercial or news-like text that has been professionally edited. The observation concerns the collections they worked with. The earlier study they discuss found little difference in spelling or grammar across the social media sources it examined. Its comparison gives a reason to pay attention to how particular samples were assembled before attributing noise to a platform. How Noisy Is Social Media Text?

RuSentiment’s general-domain aim was to admit a range of subjects within its filtered source. The authors also recognize a larger Russian collection that received automatic labels. Their ambition was to pair the broader choice of subjects with manual judgments, so a project using the corpus could train and test against human readings of the posts. Scale, topic, and the origin of the labels are distinct properties in that comparison. A large automatically labeled collection can serve a different purpose from a smaller one in which people have read each item.

Why the label needed a policy

Even with enough texts to read, the project faced a problem of definition. A post can reveal how its writer feels and convey an opinion of something else at the same time. Those judgments can point in opposite directions. A reader who is asked only whether the post is favorable or unfavorable must choose which signal answers the question. If different readers make that choice according to different priorities, their labels describe different aspects of the post.

Much of the conceptual vocabulary was already available. The paper draws on work about opinions, emotion, sentiment strength, and how to mark expressive language in user-written text. Its authors describe their contribution as arranging existing distinctions into a procedure that could be applied quickly and with enough consistency to build a corpus. Work on opinions at the sentence or expression level gives a point of comparison. Identifying where a judgment occurs is one annotation objective, while assigning a prevailing label to a complete message requires a decision about how the signals in it fit together. Sentence and Expression Level Annotation of Opinions

The authors chose a 3-point polarity scale because they prioritized annotation speed over detail. A finer scale asks a reader to decide how strongly the writer feels after determining the direction of the sentiment. RuSentiment puts more of the reader’s effort into identifying the direction when it is unstated or when there are conflicting clues. Its broader scale was a deliberate choice relative to the 5-point scale the authors discuss in SemEval’s Twitter sentiment task.

There was a related choice about the use of social media conventions. Earlier approaches used markers such as hashtags and smileys to obtain labels automatically. That procedure can turn observable characters into evidence for a great many examples. The RuSentiment authors were interested in a distinction it can pass over. A smile may express the feeling conveyed by the words, or it may make an otherwise sharp remark easier to receive. A marker useful for finding likely expressions of a feeling can therefore be insufficient to determine what the entire message communicates. The paper discusses this issue in connection with sentiment learning from Twitter hashtags and smileys.

The method, step by step

Selecting material for readers

The starting material came from research into political bias. It consisted of posts from the personal VK pages of users who belonged to communities on opposing sides of the 2014 Maidan conflict in Ukraine. The authors took public material posted outside those communities and screened it against a political vocabulary. The list contained 169 keywords, including names of political entities and expressions associated with the conflict. The screen acted on the content of the posts, while the earlier research collection determined which people’s pages supplied them.

The authors also defined what would count as usable text before assigning any sentiment. Posts had to be 10-800 characters long. At least 50% of the characters had to be alphabetic, and at least 30% had to belong to the Russian Cyrillic alphabet. The screening excluded URLs and VK postcards. A post could have at most 4 hashtags and needed at least 2 comments. The authors used the hashtag and comment conditions to help retain meaningful material. These eligibility rules and the later Skip decision operate at different points. The first can be applied from counts and identifiable features of a post. The second lets a reader decide whether a surviving post can actually receive a judgment under the study’s policy.

The release contains only publicly posted material and omits VK post identifiers. For the reading itself, the authors built a web interface and recruited six native speakers with linguistic training. They report that the work took 5 months, at an average rate of 250-350 posts per hour. Pilot rounds and linguistic analysis helped turn the initial distinctions into workable instructions. The work of a pilot was to expose recurring choices that a general instruction to rate sentiment would leave to individual judgment. The eventual label scheme depended as much on deciding those cases consistently as on identifying straightforward approval and disapproval.

From VK posts to the RuSentiment classification experiment

The steps in order.

From VK posts to the RuSentiment classification experimentStep 1: Screen public posts from personal pages1. Screen public posts from personal pagesStep 2: Draw random posts and collect judgments2. Draw random posts and collect judgmentsStep 3: Resolve labels and hold out test posts3. Resolve labels and hold out test postsStep 4: Train preliminary classifiers for each polarity4. Train preliminary classifiers for each polarityStep 5: Sample posts with intermediate polarity scores5. Sample posts with intermediate polarity scoresStep 6: Have readers label the selected posts6. Have readers label the selected postsStep 7: Compare classifiers trained with different samples7. Compare classifiers trained with different samples

Reading feelings and evaluations

The annotation concerned the predominant sentiment of a post considered as a whole. The people reading it had five possible outputs: Positive, Negative, Neutral, Speech Act, and Skip. The first distinction to make was whether the message expressed a discernible sentiment. A statement of fact, a request for information, a plot description, or commercial information could be neutral when the writing conveyed no clear feeling or evaluation. For positive and negative judgments, the guidelines then helped readers consider what kind of sentiment they were seeing and how the writer expressed it.

The first question concerns the object of the judgment. An exclamation of delight expresses the writer’s own emotional state. Calling a piece of music good conveys an evaluation of something external. Both can justify Positive. In the paper’s examples, the expressions that support these readings are fairly direct, but the distinction survives when the wording is less direct. The writer can imply that they are tired of an experience or imply that someone else should act differently. Which of those things the post is doing matters especially when the two signals disagree.

The other question concerns explicitness. A countdown to the end of exams can carry a feeling about the exam period through the situation and the way the writer brings it up. The guidelines treat such descriptions as eligible evidence when the experience has a widely recognizable emotional implication. A recommendation to try a drink implies that the writer considers it worth trying. It expresses a favorable assessment through the recommendation. This is a different route to the same broad label as calling the drink good.

The paper uses rhetorical questions to illustrate both sides of the distinction. A writer fretting about how to find something now gives the reader evidence of distress. A writer asking someone whether they ought to be studying can convey criticism of that person’s conduct. The first example bears on the writer’s state and the second on an external judgment. Both share their grammatical form with neutral questions. An annotator has to work out whether the post is seeking an answer or using the question to communicate a reaction. The possibility of communicating a judgment indirectly is part of what the guidelines capture through cases of implicature.

The four combinations of feeling or evaluation and direct or indirect expression describe the evidence a reader may use. They are part of the instructions, and the final output still collapses them into the broad polarity labels. Accordingly, two posts can share Positive even if one is an emotional outburst and the other is a recommendation expressed without an obvious adjective of approval. The reading policy brings both into scope while keeping the judgment itself brief. This is a central design choice of the project’s linguistic annotation.

Separating social formulas from the main message

The authors set aside a class called Speech Act for conventional expressions of goodwill, such as greetings, thanks, and congratulations. These expressions were common in the VK material. Their positive tone is recognizable, but they can be of quite different interest depending on the purpose of a sentiment study. A collection of praise and enjoyment, for example, has a different purpose from one that also counts routine messages of congratulation. A separate category preserves the option to include such posts or leave them out. The authors left them out of the binary polarity task. The label has a specific meaning here within the broader study of speech acts.

The presence of friendly words did not automatically make the post a Speech Act item. The paper describes a writer looking for a used electric guitar, asking others to pass on the request, and closing gratefully. The request is the organizing act of the message. Under the guidelines its prevailing label is Neutral. The positive formula concerns how the request is made. If a post is chiefly a message of thanks, the conventional expression has a different role and is eligible for its own category. The distinction requires judging the function of the expression in the whole post.

Skip covered posts that were unclear, excessively noisy, or outside the target language. The authors also set aside jokes, poems, lyrics, and comparable material when it was not the user’s own composition. They acknowledge that choosing to share a joke might itself convey a positive mood. Their choice gives precedence to what can be read from the user’s own writing. Skip was also used at the aggregation stage when the readers reached no majority. The same final label could therefore originate in a decision about the text’s eligibility or in a decision about how to handle a set of judgments.

Choosing between conflicting cues

The guidelines address 7 recurrent kinds of mixed sentiment. The authors required a prevailing polarity in such cases. Irony is one of the clearest reasons the reader needs the whole post. In the paper’s example, someone damages their shoes, gets drenched, and concludes by praising the day. The praise takes its force from the misfortunes it follows. The resulting reading is negative. The general rule is to decide which sentiment dominates, with the authors observing that in irony it is typically negative.

There is another kind of conflict in a message expressing that the writer misses the addressee. The addressee is valued, yet the immediate feeling is sadness. One reader might give the implied evaluation priority and another might give the feeling priority, even if they understand the message in the same way. The instructions settle that choice in favor of the writer’s emotional state. In this example, the result is a negative label. The rule matters because the two signals really are present. The priority determines which one the annotation will preserve as the post’s prevailing sentiment.

A hashtag may merely identify a company, in which case the guidelines treat it as neutral. Another tag may explicitly name a feeling or allude to an experience associated with a feeling. The paper gives tags about the beach or partying as examples of the latter possibility. These tags can contribute to interpretation when they bear on the overall sentiment. A tag’s function depends on the message. The guideline asks whether it helps convey a stance or feeling, whether by reinforcing the rest of the text or by pulling against it.

Emoticons receive a different rule. If the writing expresses no sentiment verbally, the emoticon alone does not determine polarity. If the emoticon and the words point the same way, the words are sufficient. A conflict is the case in which the instructions call for weighing the emoticon alongside the text. The reader then assigns the prevailing sentiment using both. The authors had observed many friendly emoticons in VK writing that seemed to soften an utterance. A friendly ending to a sharp remark can change how the encounter feels without reversing the substance of the remark. The policy keeps room for a symbol to change the interpretation where there is evidence for it in the relationship between symbol and words.

These rules make the order of reading important. An annotator needs to recognize the evidence, identify what it is about, and judge its role in the complete post. A negative experience followed by praise poses a question about irony. Sadness accompanied by appreciation poses a question about which sentiment should take priority. A courteous ending to a request poses a question about the relation between a formula and the purpose of the message. All can contain positive language, yet the instructions direct the annotator to consider different features before settling on a label.

Combining judgments and holding out test material

Every post received 3 judgments. The authors used a majority rule for assigning a class. In notation, the condition for assigning a class by that rule is:

v(p, c) ≥ 2

Here p denotes a post and c a candidate class. The function v counts how many readers gave p the label c. The parentheses enclose the two inputs and the comma separates them. The sign ≥ means “at least,” and 2 is the minimum number of matching judgments required out of the 3 collected. If the 3 judgments were all different, the authors routed the item to Skip as unclear. A majority for Skip and a failure to obtain any majority could thus lead to the same released class by different routes.

A class assignment and the level of agreement answer separate questions. The rule settles what label to use. Fleiss’ kappa measures how consistently the readers used the labels across the collection, adjusting for agreement that would be expected by chance given how frequently the labels are used. A divided majority can be sufficient for the reference label even though it contributes less agreement than a unanimous decision. This difference becomes important in interpreting the sample chosen with the help of the classifier.

The first random batch contained 18,453 annotated posts. The annotation section also reports a random draw of 2,967 posts to construct a test set. Test judgments supply a reference for evaluating predictions on held-out texts. Drawing test posts randomly keeps the test tied to the eligible source pool. The later targeted draw was intended to alter the training material available to the classifier. It would have answered a different question to test mainly on the kinds of posts that the early classifier already found uncertain.

Turning posts into numerical inputs

The classification experiments compare two ways to represent a post. One assigns a coordinate to each term and uses a weight reflecting its frequency in the post and its prevalence across documents. A post uses only a portion of the vocabulary, so most coordinates are empty. This representation lets a classifier respond to particular terms, with their weights also reflecting how broadly those terms are distributed. The authors use TF-IDF.

The other input represents the words by numerical vectors in a shared space. To represent the whole post, the authors take the mean of the vectors for its constituent tokens. In notation, for the tokens contributing vectors to the post, this is:

m = (v₁ + ⋯ + vₙ) / n

The vector m is the representation of the post. Each v with a subscript is a contributing token vector, with ₁ indicating the first and ₙ the last of the n vectors being averaged. The plus signs and the intervening ⋯ indicate addition across all those vectors, coordinate by coordinate. The parentheses group that sum and the slash indicates division by the count n. The equals sign gives the resulting mean. Reordering the words while keeping the same contributing token vectors leaves this input unchanged. This representation makes it inexpensive to obtain a fixed-size input from texts of different lengths. The word-level vectors are word embeddings.

The paper recognizes that averaging is one of several ways to combine this information. It cites work on how much information can persist in simple sentence representations and points to alternative approaches to text composition. The relevant property for these experiments is that the classifier receives a summary of the token vectors. Any clues that require knowing which words occur in which order have to be reflected indirectly in that summary. The authors were willing to make that trade for a cheap representation, drawing in part on analysis of sentence embeddings with auxiliary tasks.

All the vectors in the comparison use FastText. FastText can incorporate information from pieces of words. Forms that share parts can therefore contribute related evidence even when the complete forms differ. The authors chose it with Russian’s many word forms and the misspellings in their VK material in mind. These were reasons for using this family of representations. The experiments then vary the source of the vectors within that family. FastText

Two sets of vectors were already available, one from CommonCrawl and one from Russian Wikipedia. The authors trained the VK set on 3.2B tokens, the units into which the text was split for training. They report default FastText settings, a vector size of 300, and a minimum frequency of 100. Vector size is the number of coordinates used to describe a word, and minimum frequency is a count threshold for training. The VK collection used for learning these vectors included RuSentiment posts. The paper puts their share of that collection at less than 0.001%. Learning the vectors and learning to predict the post labels were separate stages.

Training classifiers and choosing additional posts

The authors compared logistic regression, a linear support vector machine, gradient boosting, and a neural classifier. The first two learn linear decision rules over the given features, using different criteria for fitting them. Gradient boosting combines a succession of predictors. The neural classifier used four fully connected layers with nonlinear transformations between them and was implemented in PyTorch. A fully connected layer can draw on every output of the previous layer. The nonlinear transformations allow the resulting decision to depend on combinations of inputs in ways unavailable to a linear rule. All four approaches receive a representation of the post, which is the input to the text classification task.

The shortage of negative and positive examples in the initial random material led the authors to try a targeted draw. They first trained classifiers to look for a particular polarity against the remaining eligible classes. The neural classifier performed best in the preliminary experiments, but it missed many labeled examples of the polarity it was supposed to find. The authors examined how the predictions were distributed across probability bins. A bin groups posts whose probability scores fall in a similar interval. This exposed cases carrying the same human label at opposite ends of the classifier’s scoring range.

The authors then used the neural classifier to propose posts for further reading. They report selection targets of 3,500 candidates for negative and 2,500 for positive. Candidates were drawn in equal numbers across bins in the 0.3-0.7 probability range. The paper gives 6,950 as the total of additional posts annotated through this procedure. The polarity named in a screening run identifies the score being used to find candidates. The final label comes from the readers. A post selected through the negative run can therefore become a useful neutral example if that is what the readers judge it to be.

The authors describe this as active learning-style selection because a trained classifier helped decide which text should receive human attention next. The procedure was designed around the intermediate range of its scores. The initial diagnostic had shown errors at more extreme scores too. The draw itself concentrates on posts for which there is less separation between accepting a polarity and rejecting it according to the classifier’s score. After annotation, the authors could ask what happened when examples found this way replaced random examples, or when both kinds of material were used together.

Experiments and results

The samples and measures

The reported counts refer to several stages. The full release contains 31,185 posts. The first random annotation stage contains 18,453, and the annotation account describes a random test draw of 2,967. In the initial random stage, the authors report 41.3% Neutral, 20.5% Positive, 10.3% Negative, and 13.9% Speech Act. They report Skip for 9.4% and complete disagreement in a further 4.6% of cases, which they also placed in Skip. The distribution helps explain the need for a closer look at errors. Negative posts were less common than positive ones, and a decision rule could do well on many ordinary posts while recovering negative examples poorly.

Fleiss’ kappa was 0.654 for the initial random batch and 0.604 for the random test draw described in the annotation section. These numbers concern readers’ judgments before or apart from the question of how well the classifier can reproduce the assigned labels. The benchmarks use precision, recall, and F1 for that latter question. For a given class, precision is the fraction of predictions of that class that are correct. Recall is the fraction of the genuinely labeled cases of that class that the classifier finds. F1 balances the two through a harmonic mean, which gives a lower value when either component is low.

The preliminary binary results identify the target polarity for each reported F1 and recall. The later tables give scores for the 5-class problem. The paper does not specify how those table metrics are aggregated across classes. The training-sample comparison reports averages across three runs. These details matter when interpreting movements in task-level recall, since such a number cannot identify by itself which classes benefited or whether gains were shared equally.

Classifiers and representations on random data

The baseline grid reports 20,896 randomly selected posts for the 5-class comparison without uncertainty selection. Each classifier was evaluated with TF-IDF and with the average vectors from CommonCrawl, Wikipedia, or VK. This allows two readings of the experiment. Comparing across a row of input choices shows how one classifier responds to different descriptions of the text. Comparing classifiers that use the same description shows how each uses the evidence it receives.

The neural classifier obtained its strongest baseline result with VK FastText. Its F1 in that setting was 0.717, its precision was 0.718, and its recall was 0.717. The other word-vector sources gave lower F1 for this classifier, and its TF-IDF result was lower again. The chart compares only the inputs to the neural classifier, so its ordering concerns one classifier under the same random-data experiment.

Neural classifier F1 by text representation on random RuSentiment data

The vectors trained on VK give the neural classifier its strongest result in the random-data comparison.

Neural classifier F1 by text representation on random RuSentiment dataTF-IDF: 0.593TF-IDF0.593CommonCrawl FastText: 0.604CommonCrawl FastText0.604Russian Wikipedia FastText: 0.661Russian Wikipedia FastText0.661VK FastText (this paper): 0.717VK FastText (this paper)0.717
The numbers
System or settingF1
TF-IDF0.593
CommonCrawl FastText0.604
Russian Wikipedia FastText0.661
VK FastText (this paper)0.717

With VK vectors, the linear support vector machine reached an F1 of 0.687, with precision of 0.690 and recall of 0.691. Of the other classifier families, it came closest to the neural classifier in that setting. It also had the best F1 with TF-IDF, at 0.664. Its F1 scores with Wikipedia and CommonCrawl vectors were 0.632 and 0.586, respectively. A reader would therefore choose a different leading classifier from the grid if the input had to be TF-IDF.

Gradient boosting likewise had its best F1 with VK vectors, at 0.624. Its F1 was 0.587 with TF-IDF, 0.577 with Wikipedia vectors, and 0.527 with CommonCrawl vectors. Logistic regression presents a more qualified result. Its highest F1 was 0.626 with TF-IDF, ahead of its 0.622 with VK vectors. The VK input gave it precision of 0.691 and recall of 0.611, while TF-IDF gave precision of 0.654 and recall of 0.615. Its F1 with Wikipedia and CommonCrawl vectors was 0.574 and 0.526, respectively.

The comparison supports a consistent ordering among the embedding sources by F1. VK led Wikipedia and CommonCrawl for each classifier. The ordering against TF-IDF depends on the classifier. In particular, the neural classifier’s strongest result tells us something about the combination of the neural decision rule and the VK representation, since its TF-IDF result sits below that of the support vector machine. The authors use the successful pairing of neural classifier and VK vectors in the later comparison of training samples.

The diagnostic for individual polarities

The preliminary experiments used 13,764 training posts and 3,441 test posts. The authors state that neither preliminary sample overlapped the final test set. Positive and negative were treated as separate binary prediction tasks, each considered against the rest, with the Speech Act category excluded. The best preliminary classifier obtained F1 of 0.637 for positive and 0.550 for negative. The corresponding recall figures were 0.477 and 0.587. The result for positive was stronger by F1 while recovering a smaller fraction of the corresponding reference cases. Those outcomes describe different properties of the predictions.

The authors then checked where the human-labeled cases lay on the probability scale. For a concrete example, they compare true negative posts given a negative score of 0.9 with true negative posts scored 0.1. The former were recognized as negative, while the latter had been placed at the opposite end of the scale. The authors report nearly as many examples in one of those groups as in the other. They saw a related pattern for positive in spite of that polarity’s greater supply of training examples.

This diagnostic tells the reader more than the binary F1 does. A low recall could include cases clustered near a decision threshold, where a small move in the threshold would recover them. Here the authors could point to examples of the target polarity receiving very low scores as well. They interpreted the distribution as a sign that the classifier’s representation of the polarity was insufficiently developed. That observation motivated the attempt to acquire different examples. The reported diagnostic does not establish that the probability bins are calibrated, which would require showing that predicted chances track observed outcomes in a specific way.

The sample comparison on the 5-class task

The authors next held the classifier and representation fixed and changed the material available for training. Their comparison names 21,268 in the random-only input row. A replacement condition kept that count and exchanged 6,950 random examples for selected ones. The expanded condition used the random set together with the 6,950 selected posts. The paper accounts separately for 463 random examples that arrived late, with 372 placed in training and 91 in testing for the comparison. The authors report checking that these examples did not change the general performance pattern.

F1 on the RuSentiment test set by composition of the training data

Replacing some random posts improves F1 slightly, and keeping both sources of posts gives the highest score.

F1 on the RuSentiment test set by composition of the training dataRandom posts only: 0.717Random posts only0.717Selected posts replace part of the random set: 0.720Selected posts replace part of therandom set0.720Random and selected posts combined (this paper): 0.728Random and selected posts combined (thispaper)0.728
The numbers
System or settingF1
Random posts only0.717
Selected posts replace part of the random set0.720
Random and selected posts combined (this paper)0.728

The precision and recall were 0.718 and 0.717 with random training data alone. Replacement brought precision to 0.722 and recall to 0.730. Using both batches yielded precision of 0.729 and recall of 0.736. The authors note that recall moved the most in the comparison at fixed count. The fact that precision also rose is relevant to the overall performance claim. The detailed direction of errors, however, has to be read from the results by label.

The annotation outcomes help explain why the substitution produced a meaningfully different training set. The authors report a greater proportion of negative posts in the selected material and smaller proportions of Speech Act and Skip. The positive proportion stayed close to that in the random sample. The selected sample had a Fleiss’ kappa of 0.449, compared with the overall figure of 0.58 for the corpus. The paper links the lower agreement to more majority decisions with a dissenting reader. Selecting by the classifier’s score thus produced a batch whose class mix and judgment patterns differed from those of the initial random material.

What the ablations show

What the representation comparisons control

The comparison grid varies the classifier and the post representation. The most consistent feature result is the ordering among the FastText sources. VK trains the embeddings on the same kind of writing the classifiers encounter at test time, and its vectors give every tested classifier a higher F1 than the corresponding use of CommonCrawl or Wikipedia vectors. This matters because it makes the result broader than an isolated success for the neural classifier. Linear and boosted decisions also benefited in the comparison restricted to the three embedding sources.

The TF-IDF rows reveal an interaction. The support vector machine uses the sparse representation better than the neural classifier does in this experiment, and logistic regression has its best F1 with the sparse input. The evidence for the top pairing therefore comes from comparing the actual combinations. It cannot be inferred simply from the greater flexibility of nonlinear layers or from the fact that a representation was trained on VK. The VK average gave the neural classifier a more effective input in these runs, while the support vector machine remained competitive when the input instead represented terms directly.

The vector comparison changes a source corpus along with the available vectors trained from it. It establishes their relative effectiveness in the tested setup. The experiment does not identify the share of the gain due to any particular vocabulary, the amount of source text, or other differences between the published sets and the authors’ own training run. Likewise, using FastText throughout the vector comparison keeps sub-word information available in every such condition. The grid therefore cannot measure how much of the VK result depended specifically on sub-words. The suitability of sub-words to misspellings and variation in Russian is the authors’ reason for using this representation family.

What can be attributed to replacing examples

The substitution at fixed training count is the most direct test of whether the particular selected posts are helpful. The classifier sees a different set of examples while receiving the same kind of input and the same number of labels. The movement from F1 of 0.717 to 0.720 supports a small advantage for the selected material in that comparison. The recall change is larger in the paper’s account. This result is about the batch as a whole. It could reflect changes in the balance of labels as well as changes in the kinds of examples carrying each label.

The expanded condition has a different interpretation. Its F1 of 0.728 shows the best performance the authors obtained when both batches were available. Adding the selected posts also increases the amount of training data. The paper gives no expanded random-only condition at a matched count. The fixed-count result is consequently the cleaner evidence for replacing ordinary posts with selected ones. The expanded result answers how the neural classifier performed when the researchers kept all the material they had judged.

The class proportions show one reason that targeted selection can affect what a classifier learns. Negative cases occupy more of the selected sample, while conventional social formulas and skipped items occupy less. The share of positive posts remains similar. A draw aimed at uncertainty about either polarity can yield posts that readers place in neutral or in another category. Its outcomes depend on where the classifier is uncertain and on what those posts turn out to express. This is different from choosing the number of human-labeled examples to keep from each class after annotation.

Agreement supplies another check on the type of material found. The authors trace the lower kappa to more cases where a majority was sufficient for the label but one reader disagreed. That pattern is compatible with the goal of acquiring material near a judgment boundary. It does not reveal which boundary a given post tested. A division between Neutral and Negative and a division between Speech Act and Positive could have different consequences for training and still contribute to an overall decline in agreement. The paper reports the pattern of agreement and offers increased coverage of borderline material as its interpretation.

Where predictions changed on the test set

The authors also compare confusion matrices for the random-only and expanded conditions. A confusion matrix counts the joint outcomes of a reference label and a predicted label. In the paper’s display, rows give the readers’ labels and columns give the classifier’s decisions. The cells in which those match count correct predictions. Off-diagonal cells identify particular errors, so Neutral predicted as Negative can be distinguished from Negative predicted as Neutral. F1 combines information across decisions and does not retain that direction.

The classifier trained with the expanded data more often called neutral test posts negative. It also assigned negative to more skipped posts, with a less pronounced shift. Both matrices describe predictions on the RuSentiment test set. The authors interpret the changes as evidence that the extra training material made the classifier more sensitive near the negative boundary. For a reader concerned with distinguishing criticism or distress from ordinary information, the errors are part of the result. The stronger aggregate score coexists with more false negative-label assignments in those reference groups.

Positive posts did not show a comparable shift. The authors suggest that the larger supply of positives in the initial random training material may be relevant. The experiments do not change that supply independently, so this remains an explanation of the observed pattern. The matrices also compare random-only training with the expanded condition, whereas the fixed-count comparison is reported through the aggregate metrics. It is therefore possible to identify the direction of the error change for expansion without attributing that exact pattern to replacement at fixed count.

The tests vary the collected examples and the inputs to the classifiers. They offer no direct experiment on individual annotation rules. For example, the paper studies the results under its treatment of mixed mood and evaluation, but it does not have readers relabel the same sample using a different priority and retest the classifiers. The observed difference between neutral and negative predictions therefore concerns performance under the chosen reading policy.

Limitations

Tradeoffs identified by the authors

The authors deliberately designed for quick annotation. The broad scale helps readers make a usable prevailing judgment even when the evidence is varied. It does not record emotional intensity, and the distinctions used to reach the label are richer than the final category. Direct criticism, a recommendation against doing something, and a rhetorical question implying disapproval can all give the same result. The labels support analysis of prevailing polarity. A study specifically concerned with how frequently a feeling is stated outright would need judgments about the form of expression as well.

The priority given to mood in a conflict is another stated choice. When someone misses another person, the annotation gives the sadness priority. A study of personal relationships might be equally interested in the favorable evaluation implied by the same message. Keeping a positive and a negative interpretation together would answer a different question than the prevailing-sentiment judgment. The paper judged the additional mixed category difficult to use and capture. Its solution produces a decision that is practical to collect, with the loss of information about simultaneous attitudes and feelings.

The conventional-language and authorship policies set other boundaries. Keeping Speech Act separate can preserve the distinction between goodwill expressed in a social formula and approval of an experience or entity. Where either kind of signal is of interest, the category lets the analyst retain both. The policy for jokes and lyrics excludes the expressive act of choosing to share such material from the sentiment label. The authors recognize that a shared joke may say something about the poster’s mood. Their annotation scope gives priority to the sentiment in the writer’s own contribution.

The authors also accept lower agreement as the cost of finding more borderline examples. A majority is still enough to settle the reference label, so a lower kappa does not mean the selected data could not be used. It does mean that the apparent definiteness of the final category can hide disagreement among readers. The authors’ interpretation treats some of the dissent as a sign of useful diversity. Their measure describes agreement in aggregate, leaving the nature of individual disputes to be investigated separately.

Limits that follow from the setup

The population behind the posts is narrower than VK as a whole. The original research selected users through their community membership during the Maidan conflict. Filtering political terms and taking posts from outside the communities changes the writing that enters the dataset but does not resample the users. The minimum comment count also selects posts that elicited some engagement. Restrictions on characters, script, hashtags, and URLs further shape the sample. A random test draw from the eligible material estimates performance on that slice of writing. The study gives no corresponding estimate for VK posts as a whole, for posts with very little engagement, or for political writing removed by the intake rules.

There is also a distinction between using the complete text of the post and having all the context a reader might need. A post can refer to an earlier conversation, a shared event, or somebody known to its audience. The annotation policy’s use of Skip makes room for a reader unable to work out the meaning. The reported results give no breakdown of which errors depend on missing context. The experiment consequently evaluates decisions made from the post in the authors’ setup, with unclear texts handled by the same annotation procedure.

Skip has multiple routes into the released category. A post may be hard to read, fall outside the intended language, contain excluded material, or lack an agreed sentiment. The classifier receives one output label for all those situations. A change in the rate of prediction of Negative for skipped items cannot tell a reader whether the error arose mainly from text that was out of scope or from text on which the human readings diverged. The paper makes the annotation policy intelligible, but the error analysis does not resolve this mixture.

Another boundary concerns the representation training. The held-out test procedure applies to supervised learning of sentiment labels. The unsupervised VK embedding corpus included RuSentiment posts, which the paper reports made up less than 0.001% of that corpus. There is no companion run in which all evaluation posts are explicitly removed from the embedding text. The test therefore tells us how the released word vectors perform in the authors’ setup. It leaves the effect of exposure to RuSentiment text during embedding training unmeasured, and the small reported share alone cannot quantify what that effect would be.

The paper’s counts also have to be read against their local descriptions. In the overview, 21,268 is a count of randomly selected posts said to include the 2,967 test items. In the training-sample comparison, 21,268 labels the random input condition. The random baseline grid uses 20,896, and the note about late material gives separate additions for training and testing. The descriptions leave the complete accounting across the release and all splits unresolved. The sampling account similarly gives the negative and positive selection targets and the total of 6,950 annotated posts without specifying how the target counts map onto that total. The counts label the stated comparisons, but they are insufficient to reconstruct all memberships or replicate the draws from the descriptions alone.

The aggregate gains are reported as averages, with no spread across runs supplied for the training-sample comparison. The ordering in the table establishes what was observed on the stated experiment. It leaves open how stable the small fixed-count gain would be across fresh random draws or with a different classifier selecting the candidates. The test also does not compare several selection ranges or successive rounds of acquisition. What the study establishes about efficiency is limited to the comparison involving this particular selected batch and its substitution for part of the random material.

Finally, the authors propose that their guidelines could be used in other languages and domains. Mood, evaluation, implied sentiment, and formulaic goodwill give a clear basis for that proposal. The experiment itself used native Russian readers judging VK posts. Which experiences have a readily shared emotional implication and which forms count as ordinary courtesy can vary with the writers and audience. Adapting the procedure would require decisions about those conventions. The paper supplies evidence from Russian VK annotation and leaves agreement after such an adaptation untested.

What came after

The works that cite RuSentiment carry the task of building sentiment resources into several different language and genre settings. Their connection is clearest in the material they choose to make available for study. The citations document a link to the Russian work. Specific transfers of its labels, classifier-guided selection, or word vectors are undocumented in these later-work descriptions.

One project focuses on corpus creation for sentiment analysis in Tamil-English code-mixed text. Code mixing makes the presence of more than one language part of what defines the relevant writing. That changes the role played by language in corpus selection. In RuSentiment, the Russian script requirement and the option to skip a post outside the target language help determine eligibility. In the Tamil-English project, mixed writing is what the corpus is designed to cover. The documented connection is through construction of a sentiment resource, with a different answer to the question of what language use belongs in it. Corpus Creation for Sentiment Analysis in Code-Mixed Tamil-English

The Malayalam-English work also makes code mixing central, this time for a different language pair. It addresses the availability of a sentiment dataset for that combination. Its parallel with RuSentiment is that the material people write in a particular setting determines what the resource has to contain. A collection of monolingual examples would define a different task from one that includes both languages within the text being judged. The citation connects the Malayalam-English dataset to preceding sentiment resource work, while the documented subject of the collection identifies where it extends that work. Malayalam-English Code-Mixed Sentiment Dataset

L3CubeMahaSent keeps the focus on sentiment in social media and takes Marathi tweets as the unit. RuSentiment’s use of complete VK posts gave the annotation policy a place to consider the relationship between a main message and a greeting, sign-off, or other cue. A tweet-based dataset establishes its own unit of reading in a different platform setting. The contribution documented for the Marathi work is a sentiment resource for those tweets. Its citation shows that the question of obtaining judged social media text is shared with RuSentiment across the change in both language and platform. L3CubeMahaSent

The Kazakhstan movie-review work returns to material that includes Russian, now alongside Kazakh and code-switched writing. Its unit, the movie review, gives the text an evaluative subject before a reader begins interpreting the sentiment. That differs from the general-purpose personal post, where a reader may first need to establish whether the writer is evaluating anything at all. A review can still contain descriptions, conflicting assessments, or indirectly expressed judgments. The genre supplies a common subject around which such readings can be organized. The later study’s contribution is a review collection defined by that genre and by its multilingual coverage. Movie Reviews from Kazakhstan

The cited works thus extend the resource-building problem along distinct dimensions. The code-mixed datasets make a language combination central to eligibility. The Marathi dataset retains the social media focus and defines its material through tweets. The Kazakhstan collection puts Russian into a multilingual review setting with a specified evaluative subject. The comparison these projects permit is between the decisions that define their material. RuSentiment supplies one documented case in which the choice of writing, the instructions for reading it, and the composition of the training sample all enter into what a sentiment score can tell us.

Cite

Cite as Anna Rogers, Alexey Romanov, Anna Rumshisky, Svitlana Volkova, Mikhail Gronas and Alex Gribov. 2018. RuSentiment: An Enriched Sentiment Analysis Dataset for Social Media in Russian. Proceedings of the 27th International Conference on Computational Linguistics.

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

@inproceedings{rogers2018rusentiment,
  title = {{RuSentiment: An Enriched Sentiment Analysis Dataset for Social Media in Russian}},
  author = {Anna Rogers, Alexey Romanov, Anna Rumshisky, Svitlana Volkova, Mikhail Gronas and Alex Gribov},
  booktitle = {Proceedings of the 27th International Conference on Computational Linguistics},
  year = {2018},
  url = {https://aclanthology.org/C18-1064/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/rogers-2018-rusentiment-enriched-sentiment-analysis-dataset/