Aggression Detection in Social Media: Using Deep Neural Networks, Data Augmentation, and Pseudo Labeling
Paper · 2018 · Segun Taofeek Aroyehun and Alexander Gelbukh
Summary
An aggressive social media post can be easy to recognize when the attack is explicit. When the hostility is indirect, the same words may look innocuous without the context that gives them their force. Aroyehun and Gelbukh study whether a classifier can distinguish overt aggression, covert aggression and non-aggressive writing from the text of a post. They enter the English track of a shared task that supplies labeled Facebook posts for training and evaluates submissions on Facebook and on a separate test set from an unnamed social media platform.
The authors compare several neural networks with a strong linear classifier that looks for recurring sequences of characters. On the development set, the linear classifier scores best when all systems learn from the original training data. The neural networks improve when the authors expand that data by translating posts into other languages and back into English, carrying over the original labels. They also experiment with pseudo labeling. A classifier assigns aggression labels to tweets collected for hate speech research, and those assigned labels allow the tweets to be used in further training. The development results show a larger gain from adding the translated posts than from adding the pseudo-labeled tweets to the expanded training set. A separate comparison finds little benefit from adding a sentiment score.
The leading submission differs across the test sets. On Facebook, a long short-term memory network, or LSTM, trained with the translated examples achieves a weighted macro-F1 of 0.6425 and ranks first among 30 submissions. On the unnamed platform, a network that combines convolution with an LSTM scores 0.5920 and ranks third among 30 participating systems. That submission also uses pseudo-labeled tweets and a sentiment feature, so the test comparison reflects differences in training data and input as well as architecture.
On both test sets, the leading submission handles non-aggressive posts best and covert aggression least well. Overt aggression is the smallest class in the original training set, yet it is recognized more successfully than covert aggression. The results therefore point to a distinction between having fewer examples of a class and having examples whose defining cues are harder to recover from the words of a post.
Deep dive: Aggression Detection in Social Media: Using Deep Neural Networks, Data Augmentation, and Pseudo Labeling
A study of how neural networks, translated training examples and pseudo labeling help detect overt and covert aggression in social media posts. · about 36 minutes to read
The problem and its context
The difference between overt and covert aggression
Comments and replies allow social media users to engage directly with one another. The authors place their study in the context of the harm that can accompany those interactions, including abuse, trolling and bullying. They describe automatic detection as a way to identify potentially harmful material at the scale of online conversation. Their experiment gives that broad motivation a narrower, testable form. A system receives the text of a post and predicts the aggression category assigned by a human annotator.
The shared task is an instance of text classification. The unit being classified is a whole post. Someone building a binary detector might ask whether aggression is present. The benchmark asks the system to distinguish overtly aggressive posts from covertly aggressive ones while also recognizing non-aggressive posts. This label scheme makes the distinction between explicit and indirect expression part of the prediction problem. A system that reliably separates overt attacks from ordinary writing still has to decide where a less explicit post belongs.
Covert aggression poses a particular difficulty because some of its evidence may reside in the way an expression is used. A classifier can encounter ordinary words in both a non-aggressive post and a post read as hostile. In the latter, the hostility can be conveyed by the way those words are put together or by an implication the reader draws from them. The authors connect this difficulty to earlier observations about posts that lack explicit aggressive vocabulary. Their experiments test whether the available training examples help a system recover enough of that distinction from the text.
Earlier research also gives a reason to be cautious about treating a conspicuous word as a sufficient cue. Aroyehun and Gelbukh discuss prior work that found profanity and hate speech difficult to distinguish. A word that attracts attention can appear in utterances assigned different labels. In the other direction, a post can carry an attack without containing a conspicuously hostile word. These are different sources of classification error. The first concerns what an obvious cue means in context, while the second concerns how much evidence is visible in the wording at all. Automated Hate Speech Detection and the Problem of Offensive Language
The category system also gives the study a different emphasis from work that tries to tell varieties of abuse apart. The paper mentions racism, sexism, bullying and hate speech as examples of phenomena that other multiclass tasks may distinguish. Here, overtness and covertness concern how aggression is expressed. A classifier receives credit for assigning the benchmark category. The setup does not ask it to identify a target, explain an insinuation or determine which kind of social harm a post might cause. Understanding Abuse
The authors describe uneven class frequencies as a common issue in research on online abuse. In a collection where the behavior of interest is uncommon, the negative category can overwhelm the rest of the data. Once the research question divides the behavior into more specific categories, training evidence for any one distinction may be sparser still. For this paper, the practical issue is whether the available examples contain enough recurring cues for a classifier to learn the boundaries among the shared task’s categories.
What earlier classifiers could draw on
One tradition in the work surveyed by the authors starts by deciding which properties of posts to measure. The resulting features become the input to a supervised classifier such as logistic regression, a support vector machine or a random forest. The researcher controls what counts as evidence by choosing the representation. Sequences of words or characters are an economical choice. They turn a document into a record of which recurring pieces of text occur in it, without requiring a separate linguistic analysis of every sentence. A Survey on Hate Speech Detection
Another tradition uses a neural network to learn which patterns in its input help distinguish the labels. The authors cite work applying convolutional networks to hate speech and work combining convolution with a recurrent network. In these systems, the researcher still chooses how words enter the network and what operations it can perform. The network learns which combinations of its inputs are useful for classification. This offers another way to work with posts that may contain irregular spelling, acronyms, mixed languages or unconventional grammar. The paper argues that those properties can make features extracted by natural language processing tools unreliable. Using Convolutional Neural Networks to Classify Hate-Speech
The study’s choice of a strong linear baseline follows naturally from this concern. A system using fragments of the written text already needs relatively little feature engineering. It gives the neural networks a meaningful point of comparison because both approaches can work without a detailed account of each post’s grammatical structure. The difference is in how they turn text into evidence. The linear approach scores pre-defined kinds of fragments, while the neural approaches learn combinations of numerical word representations during training.
A separate strand of earlier work uses information about posts or users in addition to the words. The paper discusses that option alongside practical limits on access to metadata. Some platforms may expose little information, and anonymous posting can make user information unavailable or difficult to use. Those circumstances motivate finding out what can be learned from the post itself. They also help delimit the experiment. A classifier with access to a richer account of the interaction would face a different prediction problem. A Unified Deep Learning Architecture for Abuse Detection
The authors identify weak supervision as their closest methodological precedent. They describe work on hateful comments that used unlabeled material to improve on systems trained with manual labels alone. That approach is relevant because the labor of annotation limits the amount of task-specific training data available. For aggression detection, additional posts are easy to imagine obtaining. The difficulty is finding a way to attach useful labels to them without repeating the original annotation process or assuming that another dataset’s categories are equivalent.
There was also a question of where to evaluate the resulting system. The paper describes publicly accessible hate speech research as concentrated on Twitter. The shared task’s Facebook data provide a different setting, while the separate set from an unnamed platform introduces a test beyond the source of the human-labeled training posts. This gives the authors a way to ask whether the training choices that look promising on Facebook also produce competitive classifications on posts from another source.
The method, step by step
Prepare the posts and retain the aggression labels
The organizers supplied an annotated corpus covering English and Hindi. Aroyehun and Gelbukh use the English portion. The original Facebook posts concern entities or issues in India, and each post carries a label for overt aggression, covert aggression or no aggression. The accompanying account of the corpus describes the linguistic annotation procedure. In the classifier study, those labels serve as the answers the systems learn to predict. The authors also notice duplicate content associated with different post identifiers, an observation that matters when reasoning about how many distinct examples the training set supplies. Aggression-Annotated Corpus of Hindi-English Code-Mixed Data
The authors normalize posts before using them in their experiments. They lower-case alphabetic characters and report removing punctuation, digits, URLs, repeated characters, usernames, non-English characters and alphanumeric material. Other operations try to preserve a cue in a form the system can use. Emoji are converted to text descriptions, and a hashtag is split into constituent tokens where possible. A spell-checker addresses misspellings. The paper describes the operations without giving a complete order of execution or exact rules for ambiguous cases.
These choices affect what remains available to classify. Lowercasing allows upper-case and lower-case spellings to contribute evidence to the same representation. Describing an emoji as text allows its meaning to enter through the same input as the words. Splitting a hashtag can expose familiar words that otherwise occur only inside a single string. At the same time, removing punctuation and repeated characters restricts the system’s ability to use those forms directly. The preprocessing defines the version of the post that the classifiers actually see.
Tokenization is the division of text into units for processing. The neural networks described here use words as the units passed to their embedding layers, with some information about a word’s internal structure entering through fastText. The linear comparison also includes a representation built directly from characters. As a result, the notion of a recurring feature differs between the two approaches even when the normalized text is the same. A sequence can be available as evidence to the character classifier without having to coincide with a word boundary.
From labeled posts to shared-task predictions
The steps in order.
Establish the character-based baseline
The baseline adapts NBSVM, a method whose name combines naive Bayes and the support vector machine. Its feature representation uses naive Bayes log-count ratios. At a high level, the ratios use labeled training data to reflect how strongly the occurrence of a feature is associated with one side of a class comparison. Taking the logarithm expresses that association as a feature weight that can favor either side. Aroyehun and Gelbukh use these features with logistic regression in place of the original support vector machine. The paper keeps the NBSVM name for the adapted system. Baselines and Bigrams
The authors try both word and character n-grams. An n-gram is a contiguous sequence of units, with the length given by the “n” in its name. With words as units, a feature can represent a recurring phrase. With characters as units, a feature can represent a piece of a word. A piece may recur across different surface forms even when the complete words differ, a property that makes character features relevant to irregular social media writing. The character variant scores higher on the development data, so the authors use it as the main baseline. They give no development score for the word variant.
The baseline is linear in its input features. Its decision is built from the weighted contributions of the features derived from the post. A character fragment can be useful because it tends to occur in examples of a class, with the classification determined by the evidence from all the fragments together. This establishes a demanding comparison for the neural networks. They have to demonstrate that learning a richer representation helps beyond what can already be recovered from recurrent pieces of spelling and phrasing.
Expand the training set through translation
The first data expansion starts with a post that already has a human-assigned label. The authors translate the text into an intermediate language and then translate the result back into English using the Google Translate API. They use French, Spanish, German and Hindi as the intermediate languages. The label travels with the original example. A returned English version is used as another training input carrying the aggression category assigned to the source post. The authors report that this increases the training-set size by a factor of 5. Machine translation
The aim is to vary the wording while keeping enough of the original meaning for its label to remain usable. The intermediate language can affect what lexical choices are made on the way back into English. A classifier may therefore encounter different formulations associated with the same kind of aggression. The training objective treats each formulation as an example of the original category. Any benefit depends on the new wording still offering evidence a classifier can learn from.
The authors draw an analogy to enlarging an image dataset with transformations such as rotation or scaling. For text, they explicitly describe label preservation as a weak assumption. A returned sentence may preserve the subject matter yet alter a phrase that made the original attack explicit or indirect. A paraphrase can also remove an ambiguity that mattered to the annotator. Translation offers more observable forms of a post, with a possibility of changing precisely the distinction the task asks the classifier to make.
Each round-trip version shares a source with the original and with the other versions of that post. The paper calls the resulting set highly interdependent. An enlarged set in this setting gives the network more inputs to process. How much new evidence it gains depends on how they vary. A nearly unchanged rendering repeats much of the source’s evidence, while a rendering with different phrasing can broaden what the network sees. Both still describe the same underlying item, which is important when interpreting the development gains.
Give related tweets provisional labels
The second expansion starts with posts collected independently of the Facebook corpus. The authors use two publicly available Twitter datasets collected for hate speech detection. They report a combined supply of 22,075 tweets, with the available total subject to what can still be retrieved from Twitter. Their working assumption is that the collections contain examples of the kind of behavior the aggression task aims to detect. The source of these posts makes this a way to diversify the training inputs ahead of evaluation on an unnamed platform.
Hate speech and the benchmark’s overt, covert and non-aggressive categories serve different labeling purposes. The authors assign aggression labels by applying the classifier that achieved the highest performance on the development set. Each resulting prediction becomes a pseudo label, meaning a provisional training target supplied by a classifier. This makes a tweet usable in the aggression task without having to establish a direct mapping from an existing hate speech category to an aggression category.
The tweets contribute new text, while the aggression supervision comes from what a classifier has already learned. If its decision is plausible, training on that tweet can expose the next network to a useful example expressed in unfamiliar language. If the decision is wrong, training also gives that error the status of an answer to learn. The difference from back-translation is that the source text itself is new to the Facebook training collection. The uncertainty also enters in a different place. For translation, a human-assigned label is carried over to altered wording. For the tweets, the label is inferred for independently collected wording.
The paper’s general description says that the pseudo-labeled tweets were added to the original training data before retraining. The results and submission descriptions identify settings that use both augmentation and pseudo labeling, and the development table reports the two techniques together in one condition. These accounts establish that both sources of additional examples were used in the combined condition. The paper gives no per-class breakdown of the resulting pseudo labels or a separate score for training with the original posts and pseudo labels alone.
Represent each word with complementary information
The neural networks take numerical word representations as input. Word embeddings represent words as vectors, so a layer can learn to respond to patterns across the coordinates of several words in sequence. The authors explore pretrained vectors from word2vec, GloVe, SSWE and fastText. Coverage is a practical issue in this comparison. The authors report that fastText supplied the broadest coverage, although a lookup still left about 5000 missing entries in their experiment.
The authors use the pretrained fastText system to infer a vector for each word in their vocabulary. Inferring a vector lets them use information from within the word even when the full form is absent from the vocabulary associated with pretraining on Wikipedia. That capability is relevant to abbreviations and unusual spellings, both of which the paper identifies as features of social media writing. The method thus retains a role for information below the word level even though the sequence that enters the network consists of word representations. Advances in Pre-Training Distributed Word Representations
A word’s input contains a 300 dimensional fastText vector and a 50 dimensional vector learned for the task. The authors concatenate them, placing the coordinates from each component together in the representation passed to the network. The fastText component supplies information obtained before training on the aggression examples. The task-specific component begins with random values and changes during training. It gives the network room to develop representations shaped by what proves predictive of aggression in this corpus.
The two components address distinct questions. A pretrained representation gives the network a starting point for a form that may be sparsely represented in the labeled posts. The learned component can give greater prominence to distinctions that matter for the three task labels. A word can have useful similarities to other words in general usage while playing a more specific role in the posts assessed here. Both kinds of evidence are available to subsequent layers in the same input vector. The paper compares the candidate pretrained sources in terms of coverage, without reporting an aggression score for each embedding choice.
Learn local patterns and patterns across the post
A convolutional neural network, or CNN, looks for useful patterns in neighborhoods of words. It can learn a response to a local configuration and apply that response at different positions in a post. This allows a phrase-sized clue to contribute wherever it occurs. The features can express patterns in the word vectors, so their scope is broader than a rule that matches a particular character sequence exactly. The authors draw on earlier use of convolutional networks for sentence classification. Convolutional Neural Networks for Sentence Classification
An LSTM reads a sequence while updating a state that carries information forward. That lets it use earlier material when interpreting what follows. A bidirectional LSTM, abbreviated BiLSTM, reads the sequence in both directions by using a forward and a backward LSTM. Each direction processes the post in its own order. Together they can make information on either side of a position available to the representation. The comparison asks whether those different ways of processing a sequence help distinguish aggression categories.
The authors also combine convolution and recurrence. In CNN-LSTM, the convolution first detects local patterns, and the LSTM then reads the resulting sequence of features. In LSTM-CNN, the recurrent layer considers the words first, and convolution looks for local patterns in the sequence of recurrent representations. Changing the order changes what the second layer receives. When recurrence comes second, it tracks patterns already identified in local spans. When convolution comes second, it works on inputs that already carry sequential information.
CNN-BiLSTM and BiLSTM-CNN explore the same two orders with a bidirectional recurrent layer. The authors consider these the most complex architectures in the comparison. They are able to combine information from both directions with local pattern detection. The hypothesis behind the combinations is that the aggression decision may benefit from evidence at different scales. A short phrase can be important in its own right, while the surrounding words can affect how it should be read. The experiments compare how useful those architectural choices are with the training evidence available.
At the end of each neural network, a fully connected layer takes the representation learned from the post and produces the values used for classification. A softmax converts these values into probabilities across the categories. The predicted category is the one with the highest probability. This rule turns the network’s representation into a single label per post, as the benchmark requires. It also means that the main evaluation concerns which label wins, even when the network’s probabilities for the leading alternatives are close.
Train the networks and choose submission recipes
Training minimizes sparse categorical cross-entropy. In this setting, the training target is the category identifier for the post. The loss penalizes the network when it assigns low probability to that category. Back-propagation determines how the loss changes with the trainable parameters, and RMSprop uses this information to update them. The authors describe fitting within 5 epochs, where an epoch is a pass through the training data. They use early stopping and feature dropout to limit overfitting. The spatial dropout probability at the embedding layer is 0.2.
The first submission uses an LSTM trained on the augmented data. It represents the recipe in which round-trip translations expand the labeled set and a recurrent network makes the prediction. The second submission uses CNN-LSTM and adds the pseudo-labeled material to the augmentation recipe. It also takes a sentiment score for the post. This score joins the representation after convolution and recurrence, giving the classifier a direct input related to the post’s affective content.
The placement of sentiment helps clarify the question the feature experiment addresses. The network has already processed the words in sequence when this extra value enters. To improve the prediction, the score has to provide information that is useful beyond the representations learned from the post. Negative affect can accompany aggression, but the shared task asks for distinctions that a sentiment score alone cannot express. A cue related to affect could help some posts while leaving the overall ranking of candidate labels mostly as it was.
The ensemble is the third submission. It collects predictions from neural systems trained under the augmented condition and the condition combining augmentation with pseudo labeling, with sentiment also described in the ensemble setup. A majority vote turns the individual predictions into a final label. In a vote, agreement matters at the level of chosen categories. The paper does not give the full roster of voters or a rule for ties, so the ensemble result describes the submitted combination as a whole. The individual submission recipes and the ensemble all enter evaluation on both test sets.
Experiments and results
The splits and the measure of success
The original English training split contains 12,000 examples, and the development split contains 3001. The Facebook test split contains 916 examples. The separate social media test split contains 1257 examples from the unnamed platform. The development set is where the authors compare architectures and training conditions, select the character representation for their baseline and identify the classifier used to assign pseudo labels. The two test sets provide the final comparison of the submitted systems.
Roughly 42% of the original training examples are non-aggressive, approximately 34% are covertly aggressive and approximately 24% are overtly aggressive. These figures describe the training labels. The reported lengths of training posts range from 1 to 1200 tokens. A classifier therefore needs to accommodate very short posts as well as much longer ones. The authors’ observation about repeated content also means that the number of training records and the amount of distinct wording they contain are different properties of the split.
The reported metric is weighted macro-F1. F1 for a class combines precision and recall. Precision asks how frequently a prediction of that class agrees with the assigned label. Recall asks how frequently an example assigned to that class receives the right prediction. A high value requires both. In the weighted aggregate, the class scores are weighted by their representation in the evaluated set. As a consequence, the overall value reflects performance across the categories while giving more weight to classes with more examples.
That measure is useful for comparing systems under the benchmark’s scoring rule. It leaves some questions to a class-level analysis. An overall score can improve when decisions on a well-represented category get better, even if a difficult category benefits less. It also gives no direct account of whether a post was missed as non-aggressive or recognized as aggressive but assigned the wrong subtype. The test confusion matrices help the authors distinguish those cases.
There are two different baselines in the article’s comparisons. The character NBSVM tests whether the neural architectures outperform a strong text classifier on the development split. The test tables include the organizers’ random baseline. A comparison with that random baseline shows how far a submission stands above the reference supplied for the track. The paper gives no character NBSVM score on either test set, so the tables do not extend the development comparison with the linear classifier to the held-out platforms.
Character features lead before augmentation
With the original English training data, character NBSVM achieves a development weighted macro-F1 of 0.5116. The CNN reaches 0.4989 under the same training condition, the LSTM reaches 0.4940 and the BiLSTM reaches 0.4714. Among the combined architectures, the CNN-LSTM records 0.4702 and the BiLSTM-CNN records 0.4836. In this setting the linear classifier leads every neural alternative. The best neural score comes from the CNN, even though architectures in the comparison can process a sequence in more elaborate ways.
The character baseline’s score moves to 0.5135 when trained with augmentation, an increase the paper gives as 0.0019 on development weighted macro-F1. Every neural architecture improves with augmentation. The LSTM takes the lead in that condition at 0.5679, with the LSTM-CNN reaching 0.5624. The CNN scores 0.5520 and the BiLSTM-CNN scores 0.5523. Even the lower augmented neural scores, such as 0.5272 for CNN-BiLSTM and 0.5274 for BiLSTM, exceed the augmented character baseline.
Adding pseudo-labeled examples to the augmented condition produces the highest development score in the paper, 0.5822 for CNN-LSTM. BiLSTM reaches 0.5776 in the same condition, and CNN reaches 0.5741. The winning architecture changes along with the training recipe. The authors describe the gains from augmentation as larger than the additional gains from pseudo labeling. Since the comparison of leading scores involves changing which architecture leads, the table’s same-architecture entries are also important for seeing which systems benefit from the extra tweets.
Leading classifiers by training condition on the English development set
The development leader changes from character features to neural networks as the authors expand the training data.
The numbers
| System or setting | Weighted macro-F1 |
|---|---|
| Character NBSVM, original data | 0.5116 |
| LSTM, augmented data | 0.5679 |
| CNN-LSTM, augmented and pseudo-labeled data (this paper) | 0.5822 |
The chart follows the strongest classifier in each reported training condition. Its comparison captures the practical choice facing the authors when choosing a recipe for submission. It also makes clear why the paper emphasizes data. Searching across architectures on the original training set still leaves the best neural network behind the character baseline. With translated data, even the neural architectures that lead neither the augmented condition nor the combined condition surpass that baseline on development.
Facebook favors the augmented LSTM
On the Facebook test set, the augmented LSTM achieves weighted macro-F1 of 0.6425. The CNN-LSTM with the combined training recipe and sentiment feature achieves 0.6058, while the voting ensemble achieves 0.5897. The random baseline is 0.3535. The LSTM’s score ranks first among 30 submissions. This is the track where the test posts come from the same named platform as the original training posts.
Submitted classifiers and random baseline on the English Facebook test set
The LSTM trained with translated examples leads the Facebook submissions.
The numbers
| System or setting | Weighted macro-F1 |
|---|---|
| Random baseline | 0.3535 |
| Augmented LSTM (this paper) | 0.6425 |
| CNN-LSTM with pseudo labels and sentiment | 0.6058 |
| Voting ensemble | 0.5897 |
The Facebook result gives a practical example of a relatively simple neural architecture succeeding with expanded training data. The submitted CNN-LSTM combines local and sequential feature learning and has additional sources of training and input information. The LSTM nonetheless gives the stronger aggregate score in this test. The comparison concerns the full submissions. In particular, the CNN-LSTM score does not tell us what would have happened if the authors had trained that same architecture only on the augmented data and submitted it without the sentiment feature.
The Facebook confusion analysis examines the LSTM. The authors report that the most numerous mistakes in absolute terms concern posts labeled non-aggressive. The network frequently assigns covert aggression to posts whose reference label is non-aggressive. When the authors look at the difficulty of recognizing members of each category relative to that category, covert aggression is the weakest. A recurring error in that direction is to assign the non-aggressive label to a covertly aggressive post. These observations describe both directions of confusion across the boundary between the same categories.
The difference between an absolute number of mistakes and difficulty relative to a class matters here. A classification can be frequent enough among the examples to generate many errors even when the network usually handles it successfully. Conversely, a category can contribute fewer mistakes in total while still being hard to recognize within its own set of posts. The authors’ ordering for the Facebook LSTM places non-aggressive posts first, overt aggression next and covert aggression last.
The unnamed platform favors CNN-LSTM
The surprise test set reverses the order of the submitted LSTM and CNN-LSTM. CNN-LSTM reaches a weighted macro-F1 of 0.5920, which ranks third among 30 systems. The ensemble reaches 0.5682, and the LSTM scores 0.5400. All three exceed the organizers’ random baseline, which is 0.3477 for this split. The leading submission is the one that combines translated examples, pseudo-labeled tweets and the sentiment feature with convolution followed by recurrence.
Submitted classifiers and random baseline on the English social media test set
The CNN-LSTM submission leads the comparison on the unnamed social media platform.
The numbers
| System or setting | Weighted macro-F1 |
|---|---|
| Random baseline | 0.3477 |
| Augmented LSTM | 0.5400 |
| CNN-LSTM with pseudo labels and sentiment (this paper) | 0.5920 |
| Voting ensemble | 0.5682 |
The result is consistent with the authors’ motivation for bringing in texts from outside Facebook. The system that uses those texts leads their submissions on the separate platform. The comparison also changes the architecture and adds sentiment, however, so the held-out result measures the effectiveness of the combined recipe. It cannot establish how much of the result comes from the tweets themselves or how much the convolutional layer contributes when trained on the same mixture as the LSTM.
On the unnamed platform, the confusion matrix describes the CNN-LSTM. The authors again find the weakest class performance on covert aggression. One prominent error is different from the one they discuss for the Facebook LSTM. Here, the true covert label is often replaced with overt aggression. In such cases the network still predicts aggression, but chooses the explicit category. The two test analyses thus show different ways for the covert class to be hard to recover. It can be missed as non-aggressive, or the form of aggression can be misidentified.
The authors again place non-aggressive posts ahead of overt aggression, with covert aggression last. The consistency of that ordering across the leading submissions is striking because the overt category has the lowest frequency in the original training split. The authors connect its relative success to earlier observations about readily identifiable aggressive words. The class ordering gives that explanation some plausibility, while the aggregate confusion patterns leave open which specific cues led to correct or incorrect predictions.
What the ablations show
Augmentation helps across architectures
The most informative comparisons keep a neural architecture in place while changing the training material. Each neural architecture has a development result with the original data and one with augmented data. The LSTM moves from 0.4940 to 0.5679 weighted macro-F1, and CNN-LSTM moves from 0.4702 to 0.5296. For LSTM-CNN, the corresponding scores are 0.3679 and 0.5624. All of these comparisons concern the same English development split. The breadth of the improvements matters because the result is shared across different ways of organizing convolution and recurrence.
The character baseline’s comparatively small change provides a useful point of contrast within the reported experiment. The linear classifier already provides the strongest result on the original training data. Feeding it more versions of the source posts adds little to its development score, whereas neural systems obtain substantially better scores when trained on the expanded set. This supports the authors’ narrower empirical conclusion that the extra data helped their neural classifiers get past the linear reference.
The comparison combines two properties of augmentation. It increases the number of training records and changes their wording. The experiment does not include a condition in which the original posts are simply repeated to give the network as many training inputs. The authors therefore demonstrate the benefit of the constructed training set as a package. The table does not tell us how much of the gain depends specifically on alternative phrasing, or how much is due to giving the networks more exposure to examples whose labels were already available.
There is a similar distinction between the shared effect of augmentation and the choice of intermediate languages. The authors report a marginal improvement using French, Spanish, German and Hindi. They do not publish a score for each language or show which kinds of changes each one introduces. The experiment supports treating these translation routes together as a successful means of enlarging this training set. It leaves their individual contributions and the effects of their translation errors unresolved.
Pseudo labeling helps some networks more than others
The comparison between the augmented condition and the combined condition asks what happens when the additional tweets enter the training recipe. CNN-LSTM rises from 0.5296 to 0.5822 weighted macro-F1 on the English development set. BiLSTM rises from 0.5274 to 0.5776, and CNN rises from 0.5520 to 0.5741. Those results explain the authors’ interest in using out-of-domain posts. The newly labeled material can coexist with the translated examples in a recipe that yields a stronger classifier on the development set.
The gains are uneven. The LSTM goes from 0.5679 with augmentation to 0.5561 in the combined condition. The BiLSTM-CNN also declines, from 0.5523 to 0.5440. The paper’s prose singles out the LSTM as the exception to the improvement trend, while its table records the decline for BiLSTM-CNN as well. The appropriate reading of the entries is that the benefit depends on which network receives the extra examples. No pseudo-label result is given for the character NBSVM.
The rankings also caution against reading the improvement as a simple relationship between the amount of data and a score. The augmented LSTM is the strongest neural classifier in its condition. Including pseudo labels gives the highest development score to CNN-LSTM, while the LSTM’s own development result falls. A comparison of the best systems therefore favors the combined condition, but the result of adding its tweets depends on the architecture. Both views are part of the evidence.
The missing pseudo-label-only condition limits the analysis of complementarity. The table shows that combining the tweets with augmentation can improve results over augmentation alone. It does not show whether training on those tweets alongside the original posts would have made translation unnecessary for any of the architectures. It also gives no accuracy estimate for the assigned tweet labels. A useful result from a training mixture can coexist with substantial label error if some of the examples still supply useful patterns.
Layer order and added features have conditional effects
The development results offer a direct comparison of the order of convolution and recurrence. With augmentation, LSTM-CNN scores 0.5624 weighted macro-F1, compared with 0.5296 for CNN-LSTM. Under augmentation and pseudo labeling, CNN-LSTM scores 0.5822 and LSTM-CNN scores 0.5729. Thus, the preferred order for those architectures changes with the training recipe. The experiment makes a stronger case for evaluating the interaction between structure and data than for claiming that either order is generally better.
Adding a backward direction to the recurrent layer also yields different outcomes across the table. With original training data, the LSTM scores 0.4940 and the BiLSTM scores 0.4714 on development weighted macro-F1. In the combined condition, the BiLSTM achieves 0.5776, ahead of the LSTM’s 0.5561. Bidirectionality creates access to another view of the sequence, but the comparison provides no steady improvement across conditions that could be attributed to that access alone. Likewise, neither of the architectures that combine convolution with bidirectional recurrence leads a reported development condition.
The authors separately experiment with including and removing the sentiment score. They report no substantial gain and give no numerical result for this comparison. That makes sentiment a feature the paper investigates without establishing a material contribution to performance. It is present in the strongest submission on the unnamed platform. Its presence in that recipe does not resolve whether the score helped on that particular test set, because the submitted comparison changes other inputs and the architecture at the same time.
The ensemble comparison tests majority voting under the authors’ chosen set of voters. The vote does not beat the strongest individual submission on either held-out split. On the unnamed platform, the ensemble places between the CNN-LSTM and the LSTM. On Facebook, it falls behind both. The aggregate results show where voting placed this collection of systems. They do not establish whether the voters made similar errors on the same posts, or whether useful minority predictions were overridden. A single class label from the vote leaves those explanations open.
The test confusion matrices are diagnostic analyses rather than additional training ablations. Their contribution is to show what the score gains leave difficult. The covert class remains last for the leading submission on each split, even though the leading training recipes differ. At the same time, the common wrong label for a covert example differs between the descriptions of the two test sets. That combination suggests the importance of keeping the decision about the presence of aggression separate in the analysis from the decision about whether it is overt.
Limitations
Limits the authors identify
The authors explicitly qualify the assumption that round-trip translation preserves a label. They expect an English rendering to be sufficiently close to the source in meaning, while recognizing that translation and back-translation can introduce errors. Each augmented item inherits its source label. The paper does not describe a fresh annotation check on the translated versions, so it does not establish how often a rendering preserves the distinction between covert and overt aggression. The authors also call attention to the dependence among examples created from the same post.
The supply of Twitter material is another qualified part of the method. The authors state that the number of available tweets can change. More fundamentally, they use material from hate speech collections because they expect the texts to contain relevant phenomena. That expectation motivates trying the data. It does not provide a verified aggression label for any individual tweet. The tweets acquire their task labels through a classifier selected on the development set, so the value of the extra supervision depends in part on how well its predictions travel from Facebook to Twitter.
The paper frames its neural-versus-linear conclusion around the task and the training sets it tests. Its own results show that more elaborate architectures can lose to simpler ones and that the best submission varies across tracks. The authors also flag improving performance on classes with fewer training examples as an avenue for future work. Their class-level discussion makes clear why this is a challenge. Frequency can matter, yet the rarest category in their data is easier for the submitted systems than covert aggression.
Limits of the evidence
The benchmark measures agreement with a particular set of assigned aggression labels. The reference decisions provide the target for learning and evaluation. Success on that target does not establish that the same decision would hold for another community or in a conversation whose relevant context is absent from the post. Because the task operates on the text of an individual item, it also cannot measure the contribution that surrounding replies or information about participants might have made. A benchmark error can therefore reflect difficulty recovering the intended reading from the input that was available.
The language and collection constrain the scope of the results. The authors evaluate the English part of a corpus that also covers Hindi. Using Hindi as an intermediate translation language changes the route used to produce extra English examples. It does not test aggression detection on Hindi inputs. The original Facebook posts also concern entities and issues in India. A test from another platform broadens the collection settings evaluated, but the platform is unnamed. That makes it difficult to connect the performance difference to specific conventions or to infer how the classifier would behave on an independently chosen platform.
The duplicate posts the authors observe in training complicate any interpretation of sample size. The paper establishes that different post identifiers can share content in that split. It gives no measurement of overlap with the held-out splits or comparison after deduplication. Thus the record counts are precise descriptions of the reported splits, while the amount of independent training material is less clear. The same issue appears in another form with translated versions, whose dependence is built into their generation.
The training comparison also cannot establish how many newly annotated posts the neural classifiers would need to surpass character NBSVM. There is no reported learning curve based on different amounts of independently annotated data. The authors increase the training set with transformed versions and a collection of tweets with inferred labels. Both the quantity and the nature of the evidence change. Their data support the claim that the neural classifiers benefit from the expansions they tried, while leaving the amount of human-labeled data required an open question.
The assembly of pseudo-labeled data offers few checks on the quality of its target labels. There are no reported confidence thresholds, human validation results or class distributions for the assigned labels. A classifier that has difficulty with covert aggression on Facebook may give particularly uncertain labels to that category in tweets. The published setup does not show whether this happened. Without a check of the labels or a corresponding per-class ablation, the results cannot establish whether pseudo labeling helps the difficult category, simply adds useful material for easier categories, or does some of each.
The leading submission on the unnamed platform gives evidence for the combined recipe on that particular test. It does not provide a controlled platform-transfer comparison. The benchmark changes the source of the test posts, while the submitted systems vary in architecture, training composition and sentiment input. The absence of a test score for character NBSVM also matters. The paper demonstrates the advantage of expanded neural training over that baseline on development, while its final rankings compare neural submissions to other shared-task entries and to the organizers’ random baseline.
The experiments report point scores and final rankings. They do not give variation over repeated training runs or uncertainty intervals for the differences. This matters when interpreting close development scores. Different weight initializations or training trajectories could affect a small ordering, and the article does not measure the size of that variation. The consistent advantage of augmentation across all the neural architectures is a different kind of observation from a small score difference between two networks trained on the same mixture.
Some implementation details also remain unspecified. The paper identifies the shape of the word input, the training objective, the optimizer and the use of dropout and early stopping. It does not give all the settings needed to reproduce the exact classifiers, such as the convolutional filter configuration, the recurrent layer sizes or the early-stopping rule. The sentiment computation and the membership of the voting ensemble are also described only in broad terms. Those gaps affect how closely a new implementation could reproduce the results and how easily it could isolate the contribution of each component.
Finally, the confusion matrices identify the labels the classifiers mix up, instead of the words or contextual cues responsible for those decisions. The authors relate the relative success on overt aggression to prior observations about explicit vocabulary. That reading is compatible with the reported class ordering. The setup does not isolate aggressive words as a feature or measure how the predictions change when such words are absent. The stronger conclusion is about the categories as evaluated. Covert aggression is the least successfully handled class for the leading submission on each track.
What came after
From an aggression benchmark to other shared tasks
The shared-task overview situates the study in the benchmark within which the authors’ submissions were evaluated. It concerns aggression identification on social media, and Aroyehun and Gelbukh describe it as the source of their classification task and evaluation. Its relation to this paper is contemporaneous. The overview supplies the common problem, while the submission study asks what happens when a team changes its architecture and training data inside that problem. The shared benchmark makes their rankings interpretable alongside results from other teams. Benchmarking Aggression Identification in Social Media
OffensEval extends the shared-task framing to the identification and categorization of offensive language on social media. That framing retains the broad problem of deciding how a post should be categorized while changing the phenomenon named by the task. The aggression paper places explicitness at the center of its label distinction. OffensEval’s title identifies a wider categorization problem around offensive language. The connection is the use of an evaluation task to make distinctions among forms of problematic online expression measurable. The citation relationship does not establish that OffensEval adopted the aggression paper’s label scheme or training procedures. OffensEval
These two connections show why the definition of the target matters when comparing work in this area. The shared aggression benchmark fixes the exact distinction that Aroyehun and Gelbukh aim to learn. A benchmark for offensive language gives its participants a related objective, framed around a different term. A system’s success on the covert category in the aggression study therefore cannot be carried over to another benchmark simply because both studies use social media posts. What transfers as a research question is how reliably systems can make the distinctions a particular evaluation asks of them.
Language transfer and the supply of training evidence
The work on multilingual offensive language identification uses cross-lingual embeddings. Its connection to the aggression study concerns the use of information across languages. Aroyehun and Gelbukh pass posts through intermediate languages to create variations in English, then use English representations for the classification task. Cross-lingual embeddings bring the relation among languages into the representation itself. The later work thus addresses offensive language in a multilingual setting, where a language connection is useful to the classification problem even when the training texts are not paraphrases of the same post. Multilingual Offensive Language Identification with Cross-lingual Embeddings
The study of Marathi makes the low-resource setting explicit. It concerns cross-lingual offensive language identification for a particular language, whereas Aroyehun and Gelbukh experiment with making more usable training inputs for an English benchmark. Both are concerned with what a classifier can learn when the available task data are limited. The Marathi work frames the question around transfer across languages. Its cited description establishes the language and the research problem, without identifying a specific use of pseudo labeling or reporting a result comparable to either English test score. Cross-lingual Offensive Language Identification for Marathi
The distinction matters because language can play several roles in an experiment. In the aggression study, French, Spanish, German and Hindi are routes for producing English variants of already labeled posts. In multilingual classification, the language of the material being identified is itself part of the problem. These relationships make the later work relevant to the paper’s concern about limited training evidence without implying that the same intervention was applied or that it had the same effect.
Images and writing style as sources of evidence
MultiOFF extends offensive-content identification to memes containing image and text. The aggression classifier receives the words of a post. A meme can present relevant evidence through the combination of what it depicts and what its text says. MultiOFF treats both forms as part of the material for identifying offensive content. Its connection to the aggression study is a shift in what counts as the item to classify and what information the classifier can draw on. The cited work concerns a dataset for that setting, with no claim that it uses the earlier paper’s training recipe. Multimodal Meme Dataset (MultiOFF)
The stylometry study looks at aggression, including misogynistic aggression, in English social media text. Computational stylometry uses measurable patterns of writing style as evidence. That gives the later work a distinct focus within text-based aggression detection. Aroyehun and Gelbukh compare character features against representations learned by neural networks, asking how those systems behave when supplied with more training material. The stylometry work examines the role of style itself in identifying aggression. Its focus on misogynistic aggression also brings a more specific form of the behavior into view. Computational Stylometry and Misogynistic Aggression
The citing work broadens different parts of the original research problem. Shared tasks expand the categorization questions, cross-lingual studies ask how evidence can be used across languages, and work on memes and stylometry changes which cues are available or examined. The links establish these research connections. The empirical result of Aroyehun and Gelbukh’s own study remains specific to their benchmark. Expanded training made the neural classifiers more competitive, the strongest recipe depended on the test source, and covert aggression remained the hardest category for both leading submissions.
Cite
Cite as Segun Taofeek Aroyehun and Alexander Gelbukh. 2018. Aggression Detection in Social Media: Using Deep Neural Networks, Data Augmentation, and Pseudo Labeling. Proceedings of the First Workshop on Trolling, Aggression and Cyberbullying (TRAC-2018).
@inproceedings{aroyehun2018aggression,
title = {{Aggression Detection in Social Media: Using Deep Neural Networks, Data Augmentation, and Pseudo Labeling}},
author = {Segun Taofeek Aroyehun and Alexander Gelbukh},
booktitle = {Proceedings of the First Workshop on Trolling, Aggression and Cyberbullying (TRAC-2018)},
year = {2018},
url = {https://aclanthology.org/W18-4411/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/aroyehun-2018-aggression-detection-social-media-deep/