LTL-UDE at SemEval-2019 Task 6: BERT and Two-Vote Classification for Categorizing Offensiveness
Paper · 2019 · Piush Aggarwal, Tobias Horsmann, Michael Wojatzki et al.
Summary
An offensive post can be easy to recognize even when the object of the attack is unclear. Aggarwal and colleagues examine these judgments separately in their contribution to SemEval-2019 Task 6. Subtask A asks whether a social media post is offensive. Given a post already classified as a targeted offense, Subtask C asks which category its target belongs to: an individual, a group, or an entity in the catch-all “other” category. The authors compare word-list lookup, classifiers that use a numerical representation of the whole post, and BERT, which they adapt using labeled examples from the task.
For Subtask A, a support vector machine, or SVM, leads the authors’ development evaluation using a representation built by adding together vectors for the words in a post. The order changes on the official test. BERT leads the reported systems with macro F1 of .798 and accuracy of .839, placing 10th out of 103 entries. Majority voting among classifiers falls short of the strongest individual system on each split. The authors also try expanding BERT’s training set by translating posts out of English and back again to generate alternative phrasings. That version scores lower than ordinary BERT on development data.
For Subtask C, the authors address the shortage of training examples labeled other by preparing different labels for a pair of binary classifiers. Both learn to distinguish individual from group. In one training set, the authors give the other examples the individual label. In the counterpart, they give those same examples the group label. When the classifiers agree on a new post, their common answer becomes the prediction. When they disagree, the system predicts other. A pair of multilayer perceptrons, or MLPs, gives the strongest reported target results by macro F1, with .565 on development data and .556 on the official test. The target submission places 19th out of 65.
The target comparison illustrates why the choice of metric matters. On development data, the ordinary SVM has higher accuracy than the MLP pair, .733 against .708. The pair leads on macro F1, .565 against .480. Accuracy gives each post equal weight, while macro F1 gives each category equal weight when averaging scores that reflect both missed examples and incorrect assignments. In the authors’ view, the SVM’s results indicate that it strongly favors one class. They also report a learning curve for offensiveness detection in which larger portions of the available training set yield diminishing gains. That trend leads them to favor improving the classifier. The target experiment establishes an advantage for the complete relabeling and voting procedure on the reported metric, while the frequency with which disagreement correctly identifies other remains an open question.
Deep dive: LTL-UDE at SemEval-2019 Task 6: BERT and Two-Vote Classification for Categorizing Offensiveness
How LTL-UDE used BERT to detect offensive posts and turned disagreement between classifiers into a prediction for a rare target category. · about 33 minutes to read
The problem and its context
The decisions a classifier has to make
The authors motivate the study with a practical problem. People can direct hostile remarks at individuals or groups in online discussions, and platform operators may want to intervene before or after a post appears. Reading each post takes human attention. At the volume the authors describe, checking every contribution manually is impractical. Automated classification offers a way to make part of that judgment at scale. The experiments reduce the problem to decisions with specified inputs and labels, so the authors can measure how frequently a system makes the expected choice.
Subtask A is the broader of the decisions studied in the paper. Its input is a post, and its output is either offensive or non-offensive. The system can encounter posts from either category. A correct answer requires a judgment about the post as a whole, which is why the paper can compare very different ways of using the words in it. A list can flag a suspect expression, a numerical representation can summarize the vocabulary, and a pretrained system can be adapted to assign the label. Each approach is evaluated on the same kind of output.
Subtask C begins with more information. The post has already been identified as an offense directed at a target. The output describes the kind of target involved. The task abbreviates the labels as IND for an individual, GRP for a group, and OTH for other. Other covers targets outside the individual and group categories. A classifier can receive credit here by choosing the correct category under the premise that an attack is already established. The task asks for a type of target, so the system can answer with a single label even though a reader might describe the particular target in much more detail.
The difference in premises changes which mistakes matter. A detector can correctly mark a post as offensive while leaving the target question entirely unresolved. A target classifier can correctly recognize the category a post attacks while relying on the benchmark to supply the earlier judgment. Running the latter task therefore means working with a different set of examples and evaluating a different decision. The authors use the Offensive Language Identification Dataset, OLID, and study selected decisions from the shared evaluation. The dataset is associated with Predicting the Type and Target of Offensive Posts.
These tasks are instances of text classification. Each system has to return a label from a set established in advance, and its performance is judged against the recorded labels for its inputs. This gives the authors a common way to evaluate a rule based on dictionary membership and a classifier trained on labeled posts. It also gives the target experiment a clear criterion for improvement. The fallback can be assessed as a predictor of the same target categories used by the direct classifiers, even though its components learn a different classification problem.
How earlier research formulated related problems
The paper situates offensiveness alongside several neighboring areas of research. It points to Understanding Abuse for the framing of abusive language, and to Benchmarking Aggression Identification for work framed in terms of aggression. It also identifies cyberbullying research as part of this broader effort and relates offensiveness detection to hate-speech detection, citing Hateful Symbols or Hateful People?. The paper draws on these fields for context and methods. Its own experiments make the questions precise through the shared task’s label definitions.
One family of earlier approaches describes a post through features selected by researchers. A feature can capture the occurrence of a word sequence, something about the written form of an expression, or information about how words are organized syntactically. Those features give a classifier different kinds of evidence about the text. A machine can then learn which patterns tend to occur with the labels assigned to the examples. The paper cites Detecting Hate Speech on the World Wide Web as part of the background for such feature-based work.
Word lists supply linguistic judgments in a more direct form. A collection such as HurtLex identifies expressions considered potentially hurtful. A system can check the words in a new post against such a resource immediately. How that check contributes to the final prediction depends on the classification rule. The experiment in this paper makes a hit sufficient for an offensive prediction. That choice provides a transparent comparison for systems that learn from labeled examples: the reader can trace the lexical judgment back to the presence of a listed expression.
The authors also describe work that used topic modeling to study offensive tweets. Here the representation attempts to capture recurring topics in a collection, supplying a way to characterize text beyond the presence of a particular listed word. The technique named in the paper is Latent Dirichlet Allocation. This appears as an example from earlier research. The experimental comparisons within the paper instead use a lexical rule, aggregated word representations, and a pretrained system adapted to the classification task.
Within earlier feature-driven work, the paper mentions support vector machines and regression classifiers. It also describes the use of convolutional neural networks in related evaluations. That background explains why the authors compare both the evidence available to a system and the procedure that interprets it. A numerical feature vector can stay broadly the same while the classifier changes. Alternatively, the starting evidence itself can change, as it does when the authors replace a lookup rule with a learned representation of the post. Those choices lead to comparisons with different explanatory value.
Why the target labels call for a different approach
The authors find comparatively few examples of other in the target data. A direct classifier has to learn a usable distinction for each label from the posts assigned to it. When few examples illustrate a category, the supervised evidence for making that distinction is limited. The authors see this as a particular problem for OTH. Its definition tells a reader when it applies: the target has to fall outside the individual and group categories. The examples still have to teach a classifier how to recognize that condition from a post.
The team’s response is to make the individual–group distinction the explicit learning problem and to use the scarce examples to perturb it. The original individual and group labels agree across the training arrangements. The other examples are assigned opposite roles. The result is a pair of learned judgments that can agree strongly enough to produce a principal target category or diverge and produce the residual label. This gives other a route into the output even though it has no dedicated output in either constituent classifier.
The proposal thus concerns the relationship between the target categories and the training labels, as well as classifier choice. A three-way classifier learns from examples of other under their recorded label. In the paired procedure, those same examples influence competing binary treatments of the target distinction. The prediction changes when those treatments lead to different answers. The experiments ask whether this use of the scarce examples produces better target classifications under the shared task’s evaluation.
The method, step by step
From the original post to classifier input
The authors begin by converting text to lower-case and using the Ark Tokenizer, associated with Part-of-Speech Tagging for Twitter, to split posts into words. Tokenization establishes the units that the subsequent procedure can examine. For a lookup rule, those units are candidates for comparison with the list. For the aggregate representation, they are candidates for retrieving word vectors. Lowercasing gives capitalized and uncapitalized versions of a spelling the same written form at this stage. The paper describes these steps as common preprocessing across the experiments.
The lexical approach uses abusive-language resources whose size the paper reports separately. The Profane Word List contains more than 1,300 English tokens, and the UdS Lexicon of Abusive Words has 1,651 entries. The authors give 9,313 as the number of terms in the HurtLex resource. These are counts of items in the resources. The rule uses the presence of a matching word in any of the lists to assign the offensive label. The complementary outcome, for a post without a hit, is the non-offensive prediction.
This decision procedure treats the occurrence of a listed word as sufficient evidence about the post. A single hit can settle the classification even if the remaining words give a reader a reason to interpret that occurrence differently. Conversely, a post whose words all escape the lists receives the non-offensive label under this rule. The setup gives the comparison a clear meaning. It measures the usefulness of the supplied lexical inventories when their entries act as direct triggers, without requiring the reader to infer an additional scoring policy.
The next approach gives a classifier a denser description. Word embeddings represent words as numerical vectors, with each word associated with a series of values. The authors use pretrained embeddings from Advances in Pre-Training Distributed Word Representations, which they describe as trained on Common Crawl. Pretraining supplies the vectors before the offensiveness classifier learns from the task labels. The post can then be represented in terms of values drawn from this existing resource.
To build the post vector, the procedure adds corresponding coordinates from its word vectors. A coordinate in the result gathers contributions from the same coordinate of each included vector. The sum has the same number of coordinates as an individual embedding, so posts of different lengths can reach the classifier in a common numerical format. The authors rescale the resulting values to lie between zero and one. They give the destination range and describe the aggregation in words. The precise statistics used to carry out the rescaling are unspecified.
The sum has a property that helps explain what the downstream classifier receives. Rearranging the same vectors preserves the sum, since the order of addition leaves each coordinate’s total unchanged. The resulting representation encodes the combined contributions of the words, with sequence information lost in the aggregation. This is worth distinguishing from the way tokenization divides the original text. The tokenizer prepares an ordered sequence of units. It is the subsequent operation of addition that removes that order from the post vector.
Learning a decision from the post vector
A post vector is input to a classifier. Training supplies pairs of such inputs and task labels, allowing the classifier to learn how the numerical features relate to the required outputs. The paper tests an SVM, logistic regression, a random forest, and a decision tree. It uses scikit-learn implementations with default parameters for these classifiers. The comparison puts different ways of making a decision over the post features into the same evaluation.
An SVM uses the training examples to learn a boundary for separating categories in the representation it receives. Logistic regression also learns feature-based scores for choosing a label. A decision tree organizes its choices as a series of tests on feature values. A random forest makes decisions using a collection of trees. These are different treatments of the numerical input. A post may have the same aggregated vector in these comparisons, while the way each classifier converts it into a label varies.
The paper also trains a multilayer perceptron using the same general preparation and feature extraction. An MLP transforms its input through learned intermediate units before deciding on an output. Here the authors use 100 hidden units. The hidden units use ReLU, an activation that passes positive input values through and suppresses negative ones. That operation lets the transformation respond differently across ranges of its input. The authors use the scikit-learn implementation and choose Adam to update the learned parameters during training.
The authors also describe initializing the MLP with the fastText word embeddings of Mikolov and colleagues. The description identifies both the embedding resource and the use of the same feature-extraction steps as the conventional classifiers. It leaves the exact connection between embedding initialization and the post-level MLP input brief. What matters for following the experiments is that the MLP is evaluated as a direct classifier and then reused as a constituent of the target fallback. Using an MLP on either side of the latter procedure gives the authors a way to vary the supervision while keeping the classifier family the same.
Adapting BERT and varying its training data
BERT follows a different route to a numerical representation of the post. The authors begin with pretrained BERT-base, which has already learned parameters before seeing the shared task’s labeled examples. They then use fine-tuning, meaning that training on the task adjusts that existing system for the new classification decision. This gives BERT a representation learned and adapted within its own training procedure. The classifiers that use the sum of word embeddings receive a separately constructed input vector.
The paper specifies a sequence length of 128 and batches of 32 for BERT fine-tuning. Sequence length concerns how much input text the BERT setup handles as a sequence. Batch size concerns how many training examples are processed together at a training step. These settings identify the reported run. The comparison with the posting-vector classifiers concerns the resulting configurations as a whole, including their different starting representations and the ways those representations are connected to the classification decision.
The authors test whether alternative phrasings can improve fine-tuning. They use Google’s translation service to translate training text through Russian, Chinese, and Arabic and back into English. This use of machine translation is a way of generating candidate English paraphrases from labeled posts. The training condition called BERT-trans repeats fine-tuning with the enriched dataset. Its premise is that a different wording can supply another instance of the same classification evidence.
The intended benefit depends on what survives the round trip. In terms of the task, a useful variant would provide a new wording while preserving the properties that justify the label. The paper compares the resulting augmented condition with ordinary BERT on development data. It evaluates the translation procedure collectively, so the comparison concerns fine-tuning with the enriched training material as a whole. Separate effects for the Russian, Chinese, and Arabic routes would require route-specific outcomes.
Taking a majority vote for offensiveness
The paper combines BERT, the posting-vector SVM, and logistic regression in a voting ensemble. Each produces its ordinary offensive or non-offensive judgment. The ensemble returns the label supported by the majority. Its inputs are completed predictions about the same post, so this combination happens after each constituent has applied its own representation and decision procedure.
The authors try voting because a related German shared task had reported benefits from combining classifiers. The possible gain follows from how mistakes are distributed. If one classifier gets a post wrong while the others get it right, the vote gives the correct outcome. If the classifier standing alone has the correct answer, the vote produces an error. The prediction rule is clear before evaluation, while its value depends on which kinds of agreement occur in practice.
This fixed rule also sets the terms for comparing the ensemble with its members. A majority winner can draw support from the systems evaluated on their own, but the vote gets no extra weight from a constituent’s favorable development score. Every constituent supplies a label, and the count of votes decides the output. The authors evaluate whether this particular combination achieves better results than the reported individual systems.
Creating the two views of the target task
The target procedure begins with training posts labeled IND, GRP, or OTH. The authors prepare two versions of the supervised problem. In the version where other is joined to individual, all the known other examples acquire IND as their training label. In the version where other is joined to group, those examples acquire GRP. An example already marked individual remains individual in both versions, and the same is true of group examples. The differences in supervision are therefore concentrated on the examples originally labeled other.
Target classification with complementary training labels
The steps in order.
Both learners solve a binary task because each receives only individual and group as outputs during training. An other post still influences training. In the first arrangement, it supports the individual side of the distinction. In the other arrangement, the same post supports the group side. The classifiers can therefore learn different boundaries even when they use the same representation and belong to the same family. The construction uses the recorded other examples to create that difference.
At prediction time, a post goes to both trained classifiers. An individual vote from each yields IND, and a group vote from each yields GRP. Either order of conflicting votes yields OTH. The final rule is symmetric with respect to the order in which the votes arrive. The training setup has distinct sides, however, because the two binary problems handle other examples differently. When the authors put an SVM on one side and an MLP on the other, reversing the ordering can change which learner receives which supervision.
The authors describe the remapped labels as introducing a small amount of noise into the individual–group distinction. They reason that agreement despite this change provides grounds for keeping a principal label. Disagreement signals a case for the fallback. Here noise has a specific source. The authors deliberately give different labels to the same subset of known training examples. They preserve the classification target at evaluation time, where other remains a category with its original meaning.
Consider the logic for a new post whose target label is unknown. A learner trained with other on the individual side might choose individual, while its counterpart chooses group. Under the task-level rule, this post receives other. Each binary judgment supplies part of the evidence for that prediction. The training assignments encourage the pattern the authors want, but the judgments also depend on how each learner generalizes. An unresolved individual or group case can generate the same conflict, which is why the accuracy of the fallback is an empirical question.
The paper tests pairs made from SVMs and MLPs. Matching pairs keep the classifier family fixed across the differing label assignments. Mixed pairs vary the family as well. The paper reports both SVM+MLP and MLP+SVM as distinct configurations and leaves the correspondence between the written ordering and the individual remapping implicit. In addition to these pairs, the authors evaluate direct target classifiers. The procedures are specified in prose, including the sum of word vectors, the majority vote, and the target decision rule. The authors make the experimental source code publicly available under the name OffensEval2019.
Experiments and results
The evaluation and its baselines
The authors evaluate on OLID using a held-out development collection and the competition’s official test. For Subtask A, their development split is 25% of the original training data. It contains 3,240 posts, with 1,048 labeled offensive and 2,192 labeled non-offensive. Those figures describe the authors’ development material. The official test supplies a separate evaluation, which matters here because the relative positions of the strongest systems change between the splits.
The tables report accuracy and macro F1. Accuracy is the share of evaluated posts assigned their recorded labels. For each category, F1 combines precision and recall. Precision asks how frequently a prediction of the category is correct. Recall asks how frequently examples that belong to that category are recovered. Macro F1 averages the category scores with equal weight. On the target task, this gives the residual category the same influence on the average as individual or group, even though there are fewer examples of other in the authors’ analysis.
The simplest baseline issues the same answer for every input. For offensiveness, this is NOT, the non-offensive label. For target classification, it is IND. These baselines show the performance attainable by always choosing a fixed label under the evaluation distribution. The lexical matching condition in Subtask A supplies a different comparison. It inspects the text, making its answer depend on the presence of listed words. The constant predictor therefore gives a reference for the contribution of using the text at all, while the lexical rule tests an explicit and limited way to use it.
The development comparison for offensiveness
The posting-vector SVM achieves the highest macro F1 in the Subtask A development comparison. BERT follows, with the majority vote next. The result shows that a classifier using aggregated word vectors can outperform the more elaborate alternatives on this held-out collection. The translation experiment also appears here, making it possible to compare the original and enriched BERT training arrangements on the same evaluation.
Macro F1 for offensiveness detection on OLID development data
The posting-vector SVM leads, and ordinary BERT scores above its translation-enriched version.
The numbers
| System or setting | macro F1 |
|---|---|
| Posting-vector SVM (this paper) | .795 |
| BERT | .771 |
| Majority vote | .767 |
| BERT with translation enrichment | .732 |
| Logistic regression | .704 |
| MLP | .687 |
| Random forest | .641 |
| Lexical matching | .619 |
| Decision tree | .567 |
| Always predict NOT | .400 |
Accuracy places the same systems at the top. The SVM scores .814 on the Subtask A development set, with BERT at .799. The vote achieves .789, and BERT with translated training examples reaches .768. Both metrics therefore give the advantage to ordinary BERT over BERT-trans on development data. The comparison is about a change in BERT’s training material and its measured performance on those held-out posts.
Logistic regression achieves development accuracy of .728, followed by the MLP at .705. The random forest reaches .678, and the decision tree reaches .585. Their different scores show the range of outcomes associated with the reported classification procedures over the embedding-based input. A reader choosing among these configurations on the development results would have evidence favoring the SVM under either reported measure.
Lexical matching reaches development accuracy of .680. The always-NOT baseline scores .667. By macro F1, the lexical system has .619 against the baseline’s .400. The scores tell different stories about the extent of the lexical rule’s advantage. Treating every post as non-offensive captures enough examples to obtain substantial accuracy. Assigning the offensive label in response to a word-list hit gives the rule a way to recover offensive examples and improves its standing when each category has equal weight in the metric.
The decision tree provides another example of why the baseline matters. Its development macro F1 of .567 exceeds the constant predictor’s .400, whereas its accuracy of .585 is below the constant predictor’s .667. Learned predictions can attain a more favorable result across categories while losing overall correct decisions. The paper’s leading SVM avoids that particular tradeoff on Subtask A development data, where it leads both measures.
The official test comparison for offensiveness
On the official Subtask A test, BERT ranks ahead of the other reported systems. The majority-vote ensemble is next, and the SVM follows. This ordering differs from the development results under both metrics, showing the value of reporting the independent evaluation alongside the authors’ split.
Macro F1 for offensiveness detection on the OLID official test
BERT leads the reported official test comparison, ahead of the vote and the SVM.
The numbers
| System or setting | macro F1 |
|---|---|
| BERT (this paper) | .798 |
| Majority vote | .748 |
| Posting-vector SVM | .729 |
| Always predict NOT | .418 |
BERT’s official test accuracy is .839. The ensemble records .782 and the SVM .761, with the always-NOT reference at .720. BERT thus has the best reported official test result on both measures. The paper gives the BERT submission a shared-task rank of 10th out of 103. The rank describes the competition standing, while the figures in the comparison identify how the authors’ systems and the constant-label reference performed.
The vote’s test score falls between BERT and the SVM. The authors suggest that the combination brings some robustness, a reading supported in a limited sense by its advantage over the SVM on that split. The strongest component on the official test is still BERT by itself. The majority vote also sits below the best individual result on development data, where the SVM leads. Those comparisons give the performance of the combination on each evaluation without assuming that separate strengths necessarily add up.
The authors report BERT-trans on the development split. The official test entries cover the ensemble, BERT, the SVM, and the fixed-label reference. Accordingly, the development results are the basis for the observed decline with translation augmentation. The official test establishes which of the reported test systems performs best, while the training-data comparison addresses a different question under the development conditions.
Target classification on development data
The strongest reported development macro F1 for Subtask C comes from the MLP+MLP pair. The other fallback configurations also finish above the direct MLP and the direct SVM on that measure. This part of the table compares the effect of using the complementary training arrangement across different pairings, alongside the alternatives that learn the target labels directly.
Macro F1 for target classification on OLID development data
The MLP pair leads the development comparison, with the other fallback pairs ahead of the direct classifiers shown.
The numbers
| System or setting | macro F1 |
|---|---|
| MLP+MLP fallback (this paper) | .565 |
| SVM+MLP fallback | .550 |
| MLP+SVM fallback | .541 |
| SVM+SVM fallback | .535 |
| Direct MLP | .523 |
| Logistic regression | .508 |
| BERT | .492 |
| Direct SVM | .480 |
| Decision tree | .462 |
| Always predict IND | .255 |
Accuracy favors the ordinary SVM at .733. BERT follows on that measure at .730, ahead of the MLP pair at .708. The ordinary SVM’s macro F1 of .480 ranks below the MLP pair’s .565. The authors interpret this combination of high accuracy and lower macro F1 as evidence that the SVM strongly favors a class. A high count of correct posts can coexist with uneven classification quality across the target categories.
The other paired systems illustrate how accuracy and macro F1 can produce different orderings within the same method. SVM+MLP has development accuracy of .688, the MLP+SVM arrangement has .699, and SVM+SVM has .701. SVM+MLP comes first among these configurations in development macro F1. In accuracy, the SVM pair leads the mixed arrangements. When explaining which pair does better, the metric is therefore part of the claim about its performance.
The ordinary MLP has .699 development accuracy. It trails the MLP pair on this measure as well as on macro F1. The ordinary SVM and SVM pair instead trade places depending on the metric. The direct SVM has .733 accuracy and the pair has .701, with the paired procedure ahead on macro F1. Comparing pairs with their respective direct classifiers reveals how the effect of the training arrangement depends on the learner and on what the evaluation rewards.
Logistic regression achieves .707 accuracy in the Subtask C development evaluation, close to the MLP pair’s .708, while its macro F1 is .508. The decision tree records .604 accuracy. The random forest records .676 accuracy, and the paper prints its macro F1 as ..461. The extra decimal point makes that entry ambiguous as written. The fixed IND prediction has development accuracy of .621 and macro F1 of .255, which gives a reference for how far the scores can diverge when a system commits to one target category.
Target classification on the official test
The official target results cover MLP+MLP, SVM+MLP, and the always-IND baseline. The MLP pair achieves .556 macro F1 and .666 accuracy. The mixed pair achieves .498 macro F1 and .615 accuracy. Predicting IND for every post gives .213 macro F1 and .469 accuracy on that split. The MLP pair thus leads the reported test comparison on both measures, and the paper gives the submission a rank of 19th out of 65.
The authors describe the MLP pair as robust across the development and official test sets. The evidence they emphasize is the similarity of its macro F1 values, .565 on development data and .556 on the official test. The accuracy values for the same pair are .708 and .666, respectively. Stability here depends on which measure the reader is following. The paper’s description of robustness is most directly grounded in the paired system’s macro F1 across those evaluations.
The mixed pair records .550 development macro F1 and .498 on the official test. Comparing that pattern with the MLP pair helps explain the authors’ preference for the latter. It leads on development, leads among the reported official target results, and retains a more similar macro F1 across the evaluations. The official comparison is narrower than the development comparison, so the common basis for reading the pair’s result against all the direct alternatives is the development evaluation.
The learning curve for offensiveness
The authors also ask how performance changes as the classifier receives more of the available training examples. They split the training material into equally sized blocks, using a randomized allocation described in relation to the labels. They train with progressively more blocks and measure performance against a fixed development set. The plotted quantity is F1, and the horizontal axis expresses the amount used as a percentage of the available training data.
The fixed evaluation set is important to what the curve can reveal. If both the amount of training data and the posts used for evaluation changed, a score change could reflect an easier or harder set of test examples. Holding the development material fixed ties the comparison to training on increasing portions of the source collection. The figure conveys the shape of the resulting relationship, and the paper gives the trend through the graph instead of tabulating the score at every point.
The authors see smaller gains as the amount of training material grows. They take this as a reason to prioritize improving the classifier over simply supplying more examples. The empirical basis for that interpretation is the slope over the amounts studied. In this experiment, adding randomly allocated blocks answers a question about more material drawn from the existing training collection. It leaves the effects of acquiring different kinds of evidence, such as examples concentrated on a particular failure, unresolved.
What the ablations show
Adding translated training text changes the outcome
The paper gives several controlled comparisons and diagnostic analyses, while a systematic component-by-component ablation is absent. The closest comparison of a single intervention is ordinary BERT against BERT-trans. The authors repeat fine-tuning after enriching the training set with text returned to English by the translation service. The ordinary condition leads in both development macro F1 and accuracy. The intended benefit of adding more formulations therefore fails to appear in the reported development evaluation.
The experiment assesses the additions through their effect on the end task. That is a different measurement from inspecting the returned sentences for fluency or similarity to the originals. A collection of generated texts could contain recognizable paraphrases and still provide little useful variation for the distinction the classifier has to learn. A translation could also change wording that contributes to an offensiveness judgment. Those are explanations compatible with the experiment’s design. The paper measures the resulting development scores and leaves the mechanism behind their decline undetermined.
The comparison keeps the outcome attached to the whole enrichment condition. The translation routes are evaluated together, and the labels attached to the training material do their work through the repeated fine-tuning. The observed performance says that this combination was less effective on the development set. A per-route decomposition or a direct check of label preservation would answer questions about which changes mattered, for which the reported metrics supply no resolution.
Voting depends on where the component errors fall
The offensiveness vote tests whether combining completed predictions improves on separate classifiers. Development results place it below the SVM and BERT. On the official test it overtakes the SVM, and BERT remains ahead. The ensemble thus gains relative to one reported component on the test and trails the best reported component on both splits. This is evidence about the implemented voting rule with these constituents.
The ensemble’s position also illustrates why individual scores give an incomplete account of a vote. On a given post, it matters whether the mistakes of different classifiers coincide. Summaries over a collection give the net correctness of each system but leave that joint pattern hidden. The tables establish how the vote performs. They do not show whether it consistently repairs one constituent’s errors or exchanges one kind of error for another.
A separate contribution of the design is that it fixes the rule before the comparison. The prediction depends on which label gets a majority, with each system supplying an ordinary label for that post. There is no additional reported weighting step that could adapt the vote to the evaluation results. The paper’s comparison therefore directly addresses the behavior of an unweighted majority for this set of systems.
Direct and paired target classifiers test the combined intervention
The target experiment includes a comparison of the direct MLP with the MLP pair and a parallel comparison for the SVM. For both families, the paired form leads its direct counterpart in development macro F1. The development accuracy comparison differs between the families. Pairing improves the MLP’s reported accuracy, whereas the direct SVM keeps an accuracy advantage over the SVM pair. The most consistent result of the intervention in these comparisons is the improvement on the measure that gives equal weight to the categories.
Identical classifier families can benefit from the pairing because the training examples of other have different assignments. The MLP+MLP result gives evidence for the full procedure using that kind of learner on both sides. Mixing families gives another test of the setup. The reversed mixed configurations have different development scores, which is consistent with the training arrangements giving the two sides different roles. Their ranking also establishes that a mixture of classifier families was unnecessary for the best development result.
The direct-versus-paired comparison simultaneously changes how the learner sees OTH, how many trained decisions contribute, and how the output is computed. The results answer whether that package can outperform the ordinary target classifiers by macro F1. The separate contributions of relabeling, pairing, and the final disagreement rule remain unidentified. In particular, the aggregate gain cannot say by itself how much performance changed specifically for other.
The distinction between the two kinds of voting in the paper is useful here. The offensiveness ensemble takes a majority among classifiers that can all issue the same set of task labels. In the target procedure, a conflict creates a label unavailable to either binary component. One test asks whether simpler aggregation can improve ordinary predictions. The other asks whether the relationship between predictions can implement part of the task’s output space. Each rule has to be judged under its respective task and measure.
Changing the input and changing the learner answer different questions
The higher development performance of the posting-vector SVM relative to word-list matching supports the authors’ use of information beyond a direct lexical trigger. That comparison changes how the post is described and how a judgment is made. The list supplies a yes-or-no condition, while the SVM trains a decision over values accumulated from words across the post. The observed difference applies to the whole change in approach.
Comparisons among the posting-vector classifiers put more of the input preparation in common. There, changes in the reported scores show that the procedure learning from the features matters. The SVM’s development lead does not follow from the representation alone, since other classifiers also have access to the aggregate. BERT’s official test lead, in turn, is evidence for its complete fine-tuned configuration. The result leaves the contribution of individual aspects of its representation open.
The authors conclude that semantic features matter and suggest going further in that direction. Their experiments establish the practical strength of particular uses of embeddings and BERT in these evaluations. They do not measure a specific semantic capability independently, such as whether a system can connect an attacking description to the entity it modifies. That narrower kind of claim would depend on examples or controlled changes designed to measure it.
Varying training size isolates one property of the data
The learning curve offers a comparison that keeps the development set in place and changes how much of the existing training material is available. The smaller gains toward the upper end of the plotted range are consistent with the authors’ view that the next improvement is more likely to come from a better classifier. The comparison addresses volume under the sampled arrangement. The topic distribution, annotation procedure, and category definitions remain properties of the source collection.
This analysis has a different scope from the translation experiment. The curve adds portions of the existing labeled material. Translation creates variants of that material and uses them in an enriched training set. A flattening learning curve and a decline with translation can coexist because the two procedures change the data in different ways. Together they show the outcome of the reported changes in training evidence, while leaving the value of other sources of examples undetermined.
Limitations
Limits identified by the authors
The authors say that the systems leave considerable room for improvement. They propose that offensiveness detection could benefit from features that convey more meaning beyond word forms. The comparison with lexical matching and the results for embeddings motivate that direction. The paper leaves the design of those richer features open, so the proposal concerns where to look for better performance instead of an improvement already measured.
They also identify the shortage of other examples as a central difficulty in target learning. The fallback gives those examples an indirect role in training. It still depends on the examples available for learning where the different assignments should influence the predictions. The paper presents the small category as the reason to try the method and reports performance for the resulting configuration. It supplies a qualitative description of that imbalance rather than an exact count for other in the target comparisons.
The authors’ discussion of translation and training size points to separate empirical limits. They expected the translated variants to improve BERT, and the development scores went in the opposite direction. They also find that adding increasingly large portions of the supplied training corpus brings smaller gains. Their preference for improving the classifier follows from that observed curve. It is a judgment about the scope for gains under the tested setup, with evidence from the data and conditions they examine.
Limits visible in the evaluation setup
The target classifier is evaluated with targeted status given. Its measured success concerns which type of target a known offense has. In a system receiving unrestricted posts, the set reaching that classifier would depend on prior judgments about offensiveness and whether an attack is directed. An error in those judgments would change the inputs to the target stage. The isolated evaluations give results for the decisions the authors test, and leave the performance of a complete sequence of such decisions unmeasured.
The operational motivation has a similarly specific relation to the evidence. The authors discuss the burden of reviewing many posts. Their experiments measure agreement with labels on benchmark data. Work measuring moderator effort, publication decisions, or the consequences of errors for users would require observation of the process in which the classifier is used. The competition scores apply directly to the defined tasks.
The dev-to-test reversal for offensiveness is an observed change in ranking with an unspecified cause. The paper reports scores by system and split, giving a clear record of the reversal. A breakdown of posts that the SVM handles better than BERT, and vice versa, would be needed to tie it to the language or composition of particular examples. The fact that the systems exchange positions supports keeping the development and official test conclusions distinct.
The respective claims about robustness also have limited reach. For the target pair, similar macro F1 values describe the reported development and official test evaluations. For the offense ensemble, the official test places the vote ahead of the SVM and behind BERT. The paper supplies no uncertainty intervals or repeated-run variation to quantify the stability of those relationships. Similarity across the reported splits and robustness across repeated training or additional collections are different empirical questions.
Limits of the evidence about other
OTH is defined by the kind of entity attacked. The final rule predicts OTH whenever the constituents disagree, whatever caused that disagreement. A principal-category post could be hard for the binary classifiers in different ways and trigger the fallback. A true other post could draw matching votes and receive a principal label. The relabeling makes a particular pattern plausible, and the evaluation has to establish how frequently that pattern occurs.
Macro F1 shows that the paired MLP gives a stronger aggregate result across the target categories than the direct alternatives on development data. The paper leaves class-specific precision, recall, and confusions unreported. This limits the explanation that can be drawn from the result. The OTH precision would indicate how frequently a fallback prediction belongs to the intended category, and OTH recall would indicate how frequently examples of that category produce disagreement. The aggregate score provides neither value.
There is also a question about the cost of the fallback for the principal categories. Conflicting votes can take an IND or GRP example out of the corresponding output category. The overall accuracy and macro F1 reveal the net effect under their weighting rules, while the confusion pattern would show which cases account for it. In particular, superiority in macro F1 is compatible with several distributions of improvement among the categories. The paper establishes the advantage of the full MLP pairing more directly than it verifies the proposed explanation for that advantage.
Other also has a specific relationship to the remaining target labels. The authors know that a post entering Subtask C has a target, and they use OTH for a target outside the individual and group types. Transferring the disagreement rule to a different scarce category would require evidence about how its examples affect the binary distinction in that task. The reported comparisons support the procedure under OLID’s target definitions and evaluated distributions.
Limits of the training and reporting detail
The conventional classifiers use scikit-learn defaults. For the MLP, the paper names the hidden-unit count, activation, optimizer, and the source of the initialization embeddings. For BERT, it identifies the pretrained version together with sequence length and batch size. This gives the reader the main settings behind the results. The account leaves some questions of implementation open, including the exact rescaling convention for posting vectors and the detailed connection between fastText initialization and the reported MLP features. The released code is relevant for pursuing those details.
The comparison measures the systems in the configurations used by the authors. A detailed, matched search over settings is outside what the paper reports. The rankings therefore have a concrete meaning for these implementations. They give less information about what each classifier family might achieve after changes to its settings. The main quantitative results also come without reported variation over repeated runs or alternate development splits, so there is no estimate of sensitivity to those choices.
The learning curve gives a visual account of performance with successively more data. Its placement makes it part of the offensiveness results. The description leaves the full associated training configuration and variation over different block assignments unspecified. The curve supports the authors’ reading of diminishing gains in the reported experiment. Extrapolating to other classifier choices, larger collections, or examples sampled for particular properties would go beyond the range of that measurement.
Finally, the translation experiment documents a single aggregate condition for adding text generated through the named routes. The evaluation remains on English posts. The use of other languages is part of the process for making candidate training variants, so the results address English classification under that procedure. The paper leaves the fidelity of individual translations, the effect of each route, and the performance of the classifiers on posts originally written in those languages unmeasured.
What came after
The documented citing work is the OffensEval overview. It covers the shared task in which LTL-UDE submitted its offensiveness detector and target classifier. Aggarwal and colleagues also cite the overview when identifying the evaluation they entered. The relationship connects the account of the team’s design decisions to the account of the competition those systems took part in.
The overview is a record of the common evaluation. The LTL-UDE paper gives the more specific account of what its authors trained, how they constructed the different target labels, and what they observed on their development split and the official test. The documented connection establishes the competition context for those results. Adoption of the disagreement rule, a modified version of it, or an independent test of its treatment of other is unestablished by that connection.
The experimental record therefore supports a precise account of the contribution’s reach. The LTL-UDE evaluation demonstrates how a scarce target label can be recovered as a possible output of competing binary judgments and shows that the MLP pairing leads the reported target comparisons by macro F1. The shared-task overview places that result in the common evaluation. Whether disagreement consistently recovers the intended category under different data or label definitions remains a question beyond these works.
Cite
Cite as Piush Aggarwal, Tobias Horsmann, Michael Wojatzki and Torsten Zesch. 2019. LTL-UDE at SemEval-2019 Task 6: BERT and Two-Vote Classification for Categorizing Offensiveness. Proceedings of the 13th International Workshop on Semantic Evaluation.
@inproceedings{aggarwal2019ltl,
title = {{LTL-UDE at SemEval-2019 Task 6: BERT and Two-Vote Classification for Categorizing Offensiveness}},
author = {Piush Aggarwal, Tobias Horsmann, Michael Wojatzki and Torsten Zesch},
booktitle = {Proceedings of the 13th International Workshop on Semantic Evaluation},
year = {2019},
doi = {10.18653/v1/s19-2121},
url = {https://doi.org/10.18653/v1/s19-2121}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/aggarwal-2019-ltl-ude-semeval-2019-task/