Design and Implementation of a Multichannel Convolutional Neural Network for Hate Speech Detection in Social Networks
Paper · 2022 · Zeleke Abebaw, Andreas Rauber and Solomon Atnafu
Summary
Detecting hate speech in social media requires a system to distinguish attacks on people’s identities from other kinds of language. The difficulty becomes more acute when a language has limited annotated data: a classifier must learn useful distinctions from relatively few examples, and familiar techniques may behave differently across languages. Zeleke Abebaw, Andreas Rauber, and Solomon Atnafu investigate whether reading a comment through parallel convolutional channels helps under these conditions. Their central proposal is straightforward: let different channels examine different lengths of consecutive words, then combine the features they discover before deciding whether a comment contains hate speech.
The paper studies this approach primarily for Amharic, while also testing it on English. Its experiments use three collections, each containing 2,000 comments labeled as hate or not-hate. The Amharic collection is abbreviated Amh; the English collections are Davidson’s dataset, abbreviated Dvd, and a White Supremacy dataset, abbreviated Whs. For each collection, 1,600 comments serve as training data and 400 as test data. The proposed multichannel convolutional neural network, or MC-CNN, receives word2vec representations of words and processes them through parallel convolutional branches. For Amharic, the selected branches use 4-grams and 5-grams; for English, they use 6-grams and 7-grams. Here, an n-gram is a sequence of consecutive words, and the convolutional window determines how many words a feature detector examines together.
The authors compare the combined network with separate single-channel networks and a support vector machine using TFIDF features. The multichannel network achieves a higher reported F1 score than either single-channel comparison on every collection. Its F1 scores are 80.2 for Amh, 68.5 for Dvd, and 68.0 for Whs. These results support the narrower conclusion that combining the selected channels is useful relative to the individual convolutional alternatives tested. They do not establish that the neural approach is always preferable. In the final comparison, the support vector machine scores 85.5 on Amh, exceeding the proposed network, while its scores of 67.8 on Dvd and 66.8 on Whs are below the corresponding multichannel results.
An equally useful finding concerns the amount of surrounding text a classifier should consider. The paper’s single-channel experiments favor shorter word windows for Amharic than for English. The authors suggest that Amharic’s rich morphology may help explain this: a relatively short word sequence can carry information that requires more words in English. This remains an interpretation of the observed pattern, instead of an independently isolated explanation. The experiments also demonstrate the continuing value of a carefully configured conventional baseline. In particular, the support vector machine’s performance depends strongly on vocabulary selection, and its best Amharic result prevents a simple account in which additional neural machinery wins everywhere.
The contribution is therefore a practical comparison of feature combinations under limited-data conditions, with particular attention to low-resource languages. The authors present the network as a possible deep-learning alternative for hate speech detection, rather than a complete solution to moderation. Their conclusions are bounded by small, separately evaluated, binary-classification datasets. Larger collections, multilingual inputs, mixed-language comments, and more detailed hate categories remain future work. Some numerical inconsistencies and incomplete procedural reporting also limit how precisely the findings can be reproduced or attributed to particular design choices.
Interesting ideas
Read at several phrase lengths. A useful clue may occupy a short expression in one case and a longer sequence in another. Parallel convolutional channels give a classifier access to different spans without requiring the designer to select a single window in advance. The transferable idea is to preserve observations at several scales until they can be evaluated together. It is applicable to classifying documents, discovering lexical patterns, and other tasks whose useful unit exceeds a single word in size but falls short of an entire document.
Combine evidence before making the decision. The proposed network joins features from its branches before producing its classification. Each branch can contribute information that the other does not retain. This is different from choosing a preferred branch and discarding the rest. Elsewhere, the same principle can guide combinations of syntactic observations, dictionary evidence, and statistical signals, provided that their compatibility and actual contribution are checked rather than assumed.
Choose context size empirically. The paper does not treat the same word-window length as equally appropriate for Amharic and English. It searches across settings and obtains different preferred ranges. The broader lesson is that an input representation determines what a fixed window means. A span measured in words need not contain the same amount or kind of information across languages, domains, or preprocessing conventions. Window size should therefore be an evaluated design choice, not a universal constant.
Keep the conventional baseline competitive. The support vector machine is more than a ceremonial comparison: it produces the strongest reported Amharic result. That changes the interpretation of the proposed architecture. A new method may improve on related neural variants while still losing to a less elaborate alternative. Researchers can reuse this discipline whenever a proposed system changes representation, complexity, or training requirements. The relevant question is whether the complete method improves on a credible alternative under the same task conditions.
Treat vocabulary selection as part of the method. The appendix varies the document-frequency limits used to retain TFIDF terms, and the resulting settings differ substantially in vocabulary size, training time, and predictive performance. Feature availability is therefore not merely a storage concern. Selecting what enters a classifier can change both its behavior and its cost. This applies to corpus indexes, lexical statistics, rule induction, and any pipeline that accumulates many potentially weak observations.
Report errors through complementary measures. Precision, recall, and F1 describe different aspects of the decision. A classifier can label many comments as hate while also making many mistaken accusations, or avoid such accusations while missing actual hate comments. Reporting the measures together makes these tradeoffs more visible than a single score alone. For other classification problems, the reusable habit is to connect each measure to a concrete kind of error and preserve enough detail to understand why an aggregate changes.
Bound a claim to the comparison that supports it. The multichannel network wins against the tested single-channel networks across the collections, but it does not win against the support vector machine everywhere. Both findings matter. Separating an architectural comparison from a claim of overall superiority prevents a useful local improvement from becoming an unsupported general conclusion. This is especially valuable when data are scarce, tuning choices are consequential, and experiments cannot cover every plausible alternative.
Deep dive: Design and Implementation of a Multichannel Convolutional Neural Network for Hate Speech Detection in Social Networks
How a multichannel convolutional network detects hate speech in Amharic and English, and what its small-dataset comparisons establish. · about 38 minutes to read
How Mova uses it
Mova is a small language system implemented in Rust, with explicit linguistic rules, learned parameters, structured representations, and bounded operational interfaces. The connections below concern transferable experimental and representation choices. They do not imply that Mova has adopted the paper’s convolutional architecture or that it performs Amharic hate speech detection. The status marks are proposals based on documented mechanisms; they are not evidence that this paper has already produced a measured change in Mova.
Idea: Preserve observations from several phrase lengths. Where: Sections 2.4 and 5.2.3, and Figure 2. Area: linguistic representation. Mova: частково є (the en parser, prag frames, and world representations preserve different kinds of linguistic structure). Mova could compare transparent phrase selectors that inspect different spans around a predicate or target expression, then retain their separate evidence. The proposed addition would concern explicit observations, rather than copying neural channels. Why Mova: it could reveal useful context that a narrowly bounded rule misses without requiring an opaque replacement for the language core.
Idea: Combine compatible features before deciding. Where: Sections 1 and 5.2.3. Area: reasoning and evidence combination. Mova: частково є (groupants describe observations and compatibility, while the correspondence tooling compares explicitly formalized relations). The paper’s feature concatenation suggests testing whether several admitted observations jointly support a decision better than any individual observation. In Mova, that combination would need declared meanings and failure conditions. Why Mova: evidence can be complementary, but explicit compatibility would help prevent unrelated signals from being mistaken for mutual confirmation.
Idea: Measure each component against the combination. Where: Section 5.4.3 and Table 4. Area: evaluation. Mova: вже є (en rules-audit, rule-specific measurements, and regression gates compare changes with prior behavior). The paper offers a concrete reminder to retain component results when evaluating a combined mechanism. A Mova experiment could report each selector alone alongside the proposed combination, using the same assessment items. Why Mova: this would distinguish a useful interaction from a result driven almost completely by an already strong component.
Idea: Select context ranges for the actual language. Where: Section 5.4.2 and Table 3. Area: syntax and morphology. Mova: частково є (English and French have separate deterministic repair rules and lexical resources). The transferable proposal is to measure the context needed by a rule family or statistical reader separately for each supported language. The paper’s specific Amharic and English window choices should not become Mova defaults. Why Mova: a word-count limit can preserve useful evidence in one language while cutting it away in another.
Idea: Test a morphological explanation directly. Where: Section 5.4.2. Area: morphology and experimental design. Mova: частково є (en::morph implements explicit inflection and lemmatization mechanisms, with separately reported evaluations). Mova could compare otherwise matched representations before and after morphological analysis to investigate whether improved word structure changes the useful context range. This would test an explanation that the paper proposes but does not isolate. Why Mova: explicit morphology makes it possible to ask which representation supplies the benefit, rather than attributing a result to a language in general.
Idea: Keep a strong non-neural reference. Where: Sections 5.2.4 and 5.4.3. Area: evaluation. Mova: вже є (the documented system emphasizes deterministic native inference, rule-based mechanisms, and CPU reference behavior). The paper reinforces the need to evaluate any added learned component against the strongest practical native alternative. A neural comparison alone would not establish value for Mova’s direction. Why Mova: the Amharic result shows why a familiar method can remain preferable even when a more elaborate architecture improves within its own family.
Idea: Evaluate the whole representation-and-classifier pair. Where: Sections 5.4.3 and 5.4.4. Area: experimental design. Mova: частково є (the architecture distinguishes parsing, frames, world state, and downstream readers). TFIDF with an SVM and word2vec with a CNN differ in more than their final decision procedure. Mova could preserve that distinction when comparing rule-based, statistical, and structured readers. Why Mova: a gain from better inputs should not be incorrectly credited to a new solver, and a solver should not be blamed for upstream information loss.
Idea: Treat vocabulary pruning as an explicit experiment. Where: Section 5.4.1 and Appendix A. Area: data and statistics. Mova: частково є (dictindex applies documented support thresholds and bounded feature reporting). Mova could compare frequency-based retention policies for candidate features while preserving the source occurrences behind excluded and retained candidates. The paper does not justify a universal threshold. Why Mova: a smaller feature set may improve reliability and cost, but rare useful evidence needs protection from indiscriminate filtering.
Idea: Keep frequency thresholds separate from lexical admission. Where: Section 5.4.1 and Appendix A. Area: lexicography and data admission. Mova: вже є (dictindex statistical proposals remain separate from Nautilus review and dictionary admission). The paper’s pruning results can inform computational feature selection without becoming a rule that infrequent words lack legitimate meanings. Mova should preserve the distinction between a useful classifier feature and an admissible dictionary entry. Why Mova: a free dictionary must retain well-supported rare senses even when a task-specific classifier does not benefit from them.
Idea: Measure resource use alongside predictive quality. Where: Section 5.4.1 and Appendix A. Area: efficiency and evaluation. Mova: вже є (dictindex measurements report sizes and timings, while mova-twin records predicted and measured costs). The paper reports vocabulary size and SVM running time alongside scores, making the practical consequences of feature choices visible. Mova can apply the same comparison to proposed readers and indexes. Why Mova: a useful change should be assessed against its memory and execution costs, especially when a simpler method is competitive.
Idea: Preserve comparable data conditions. Where: Section 3.1. Area: evaluation design. Mova: вже є (held-out splits, fixed assessment boundaries, repeated deterministic measurements, and question-level traces are documented). The paper uses the same stated collection size and train–test allocation for its datasets. Mova can retain matched item sets when comparing mechanisms, while recognizing that equal collection size does not make different tasks equally difficult. Why Mova: comparable conditions reduce avoidable ambiguity about what a measured difference actually reflects.
Idea: Separate tuning from final assessment. Where: Sections 5.2.4 and 5.4.2. Area: evaluation design. Mova: вже є (test sets are reserved for release assessment, and self-improvement changes are gated on held-out data). The paper’s parameter searches make the role of tuning important, although their exact separation from final testing is incompletely described. Mova should record which data select settings and which data assess the chosen method. Why Mova: a setting selected using assessment answers cannot support the same claim as a choice made independently of those answers.
Idea: Report distinct error types. Where: Section 5.3. Area: statistics and diagnosis. Mova: частково є (fast-reader analysis distinguishes missing representation, inference, parameter, and parsing failures). A task-specific binary evaluator could additionally distinguish false accusations from missed target cases and report precision and recall alongside an aggregate. No native hate speech evaluator is established by the digest. Why Mova: the kinds of mistakes matter to diagnosis and practical use, even when an overall score appears unchanged.
Idea: Specify how aggregate scores are constructed. Where: Section 5.3 and Table 4. Area: statistics and reporting. Mova: частково є (school traces retain counted questions and their decisions). Mova could require each reported aggregate to identify its population, class averaging, and underlying decisions. This addresses an uncertainty in the paper, whose final table names an average F1 without fully explaining its construction. Why Mova: a transparent score should be reproducible from the retained evidence rather than depend on an unstated averaging convention.
Idea: Define the target category before collecting evidence. Where: Section 2.1. Area: annotation and semantics. Mova: частково є (compiled principles, typed concepts, and explicit admission conditions define the scope of native judgments). A proposed domain classifier should state what behavior its labels cover before examples are gathered or rules are induced. The paper’s working definition illustrates the need for such a boundary, without establishing Mova policy. Why Mova: a classifier cannot be evaluated coherently if its intended category shifts between annotation, training, and use.
Idea: Keep identity-related harm distinct from generic negativity. Where: Sections 1 and 2.1. Area: pragmatics and semantic representation. Mova: частково є (prag frames retain participants, while global principles and world judgments concern who acted on whom). A future research evaluator could ask whether a negative expression targets an identity, instead of treating negative wording as sufficient evidence. This is a proposed representation requirement, not an implemented detector. Why Mova: explicit targets and relations offer a better basis for explanation than an undifferentiated list of offensive words.
Idea: Audit the treatment of stop words. Where: Section 6. Area: data preprocessing and pragmatics. Mova: частково є (en preserves grammatical structure, and prag explicitly represents negation and attribution). The authors identify their selected settings as operating without stop-word removal. Mova could test any proposed filtering against examples where apparently common words carry scope or grammatical relations. Why Mova: removing a small grammatical item can change an interpretation even when the remaining content words are unchanged.
Idea: Document preprocessing as part of the experimental artifact. Where: Sections 3.1 and 5.1, and the discussion in Section 6. Area: data provenance. Mova: вже є (source manifests, immutable index epochs, parse versions, and source fingerprints preserve processing identity). The paper leaves several transformation details unspecified. Mova’s corresponding practice should record the exact input representation and configuration used by each assessment. Why Mova: a result tied only to a dataset name is insufficient when tokenization, filtering, and normalization can alter the available evidence.
Idea: Preserve the boundaries between dataset and language claims. Where: Sections 5.4.2 and 5.4.4. Area: evaluation and generalization. Mova: вже є (application entries are scoped to their stated measurements, and configured worker capabilities have explicit limits). The paper finds different preferred windows on its Amharic and English collections, but this does not establish universal language properties. Mova should attach a proposed rule or reader advantage to the tested corpus conditions. Why Mova: a useful observation can guide another experiment without becoming an unsupported global fact.
Idea: Test the small-data hypothesis across training sizes. Where: Sections 1 and 6. Area: evaluation design. Mova: нове. The paper motivates its architecture through limited training data but does not provide a learning-curve experiment. A Mova study could compare mechanisms across independently selected amounts of permitted training evidence. The novelty mark concerns this specific proposed experiment; implementation is unknown. Why Mova: it would show whether a method helps because evidence is scarce or simply performs better on one fixed collection.
Idea: Check whether greater capacity explains the combined result. Where: Section 5.2.3 and Table 1. Area: controlled comparison. Mova: нове. Combining branches also expands the available feature machinery, so a corresponding Mova experiment should compare a proposed combination with a suitably matched single mechanism where possible. The digest does not establish such a control for this transfer. Why Mova: improvement should be attributed to complementary observations only after plausible capacity-based explanations have been examined.
Idea: Keep multilingual and mixed-language evaluation separate. Where: Section 6. Area: multilingual evaluation. Mova: частково є (the assessed language core is English, while French parsing and translation work have separate experimental scopes). The paper identifies multilingual and mixed-language data as future directions rather than completed evidence. Mova could preserve the same distinction when extending a reader beyond its documented language. Why Mova: success on separately processed languages does not establish that the same mechanism handles language switching within an input.
Idea: Separate binary classification from finer semantic distinctions. Where: Sections 5 and 6. Area: semantic representation and evaluation. Mova: частково є (typed concepts, frames, and world-state judgments retain distinctions beyond a flat label). The authors propose more detailed hate categories as future work. Mova could evaluate whether its structured observations support such distinctions before introducing any domain decision. Why Mova: a coarse output can hide which relation or target was misunderstood, limiting both diagnosis and explanation.
Idea: Treat a pooled cue as evidence with limited location information. Where: Section 2.3 and Figure 2. Area: interpretability. Mova: частково є (native rules retain reasons and source-bound observations). The paper’s pooling stage motivates a question about what survives aggregation: the strongest activation can be useful without retaining a complete account of its context. A transparent Mova analogue should keep the supporting span with each selected cue. Why Mova: an explanation is more useful when a reader can inspect the actual words and relations that supported it.
Idea: Keep prediction separate from an operational action. Where: Sections 1, 5.3, and 6. Area: operational boundaries. Mova: вже є (the hybrid-system contract distinguishes observations, admitted outcomes, and configured actions). The paper studies classification, even though its motivation concerns safer social media. A hypothetical Mova domain detector should therefore return evidence and uncertainty under its declared scope rather than silently authorize an external consequence. Why Mova: a benchmark label establishes neither the intended downstream action nor the adequacy of the evidence for that action.
Idea: Preserve contradictions rather than silently repairing them. Where: Tables 2, 3, and 4, with Sections 5.2.1 and 5.4.3. Area: scientific reporting. Mova: вже є (disagreements, gaps, rejected tree edits, and source versions are retained explicitly). The paper contains differing values and configuration descriptions that cannot be reconciled from its reporting alone. Mova could represent these as unresolved source claims rather than selecting whichever value makes a cleaner narrative. Why Mova: source fidelity is necessary for trustworthy comparison and later correction.
Idea: Distinguish a measured result from its proposed explanation. Where: Sections 5.4.2 and 5.4.4. Area: reasoning and scientific evidence. Mova: вже є (groupants distinguish observations, assumptions, and evidence, while native conclusions retain their grounds). Better combined-channel scores are measured; complementary hidden features and morphological density are offered as explanations. Mova should store those evidential roles separately. Why Mova: a plausible account can motivate a controlled test without being promoted into an established mechanism.
The problem and its context
What counts as hate speech
The paper begins from a social problem instead of an architectural puzzle. Social platforms make comments easy to distribute, including comments that attack people because of group membership. The authors connect this problem with harm to individuals and with conflict between groups. Their motivation includes examples from political and social unrest, particularly in Ethiopia, where the need for an Amharic detection system has direct practical relevance.
Yet a classifier cannot learn from the broad instruction to detect harmful language without a more specific target. The authors review definitions that emphasize different aspects of hate speech: the damage it causes, the intention to provoke hostility, the humiliation of a target, and the connection between hostility and protected characteristics. They also discuss platform definitions. These descriptions overlap, but they are not interchangeable.
For their own study, the authors center the category on identity-based discrimination expressed in text. Their working definition concerns attacks related to nationality, ethnic or religious membership, sex, or disability. This choice matters because the experimental labels are hate and not-hate, rather than a general positive–negative distinction. A comment can be unpleasant without falling within the intended category, and a system that merely detects emotionally negative language would not necessarily solve the stated problem.
The paper does not develop a detailed annotation manual around that definition. Its experiments instead use existing labeled collections. As a result, the conceptual definition and the operational behavior of the datasets should be distinguished. The authors explain what they mean by hate speech, but the available reporting does not establish exactly how every original dataset’s annotation decisions align with that definition.
This distinction is especially relevant to bias, fairness, and safety. A benchmark prediction is an outcome under a particular labeling scheme. It is not, on its own, a universal judgment about a speaker, a community, or a comment’s legal status. The paper’s empirical contribution concerns text classification under the labels it evaluates.
From designed features to learned features
The authors describe earlier hate speech detection through a contrast between manually specified features and automatically learned representations. In the former approach, a researcher chooses what information to present to a classifier. The paper mentions dictionaries, word counts, word sequences, grammatical tags, and lexical or syntactic signals among the available choices. The effectiveness of the classifier then depends heavily on whether those selected features capture the distinctions that matter.
This is a familiar issue in text classification: the learning algorithm can only exploit information made available to it. A word-count representation may preserve a strong lexical association while losing word order. A phrase-based representation can retain local order but create many sparse features. A dictionary can encode useful prior knowledge while missing new spellings, unfamiliar expressions, or context-dependent meanings.
The paper presents deep learning as an alternative way to obtain features, instead of requiring researchers to specify each useful expression in advance. Convolutional networks learn detectors over local parts of the input. Their training process adjusts those detectors according to the classification objective. This shifts effort away from listing patterns manually, although it does not eliminate design choices about input representation, network structure, or experimental configuration.
Within this setting, a single convolutional channel has a potential limitation: its chosen window constrains the word sequences from which its detectors learn. A setting that works well for one expression may be poorly suited to another. The paper’s hypothesis is that separate channels can retain features that a single channel would miss, particularly when a small dataset makes the representation problem difficult.
What multichannel work had already shown
The authors do not claim to invent multichannel convolution. Their account places the method within an existing line of work on sentence classification and related language tasks. They refer to convolutional approaches used for sentiment, citation screening, Arabic sentiment analysis, and emoji prediction. These examples establish that parallel channels were already a reusable architectural pattern.
The reviewed systems also use different meanings of channel. A channel may process a different representation, such as word-level or character-level material, or use a different kind of component. In the present paper, the defining distinction is the convolutional window length. The channels examine the same kind of embedded text while seeking features over different word spans.
For hate speech and related detection problems, the paper discusses prior combinations involving convolutional, recurrent, and transformer-based components. These studies motivate the general possibility that several processing paths can help. They do not provide a directly controlled answer to the narrower question pursued here: whether combining simple convolutional channels helps on a small Amharic collection relative to the corresponding single-channel alternatives.
The gap is therefore specific. The authors want an automatically learned feature representation that remains useful with limited labeled data in an under-resourced language. English collections provide additional tests of the architecture, but the motivating language is Amharic. The study’s value lies less in introducing an unfamiliar building block than in examining a practical combination under these conditions.
The method, step by step
From a comment to a binary decision
The proposed system maps a comment to a hate or not-hate output through a sequence of representation and feature-extraction stages. Words first receive vector representations. Parallel convolutional branches then inspect local word sequences. Pooling retains selected activations, the branch outputs are joined, and a final classification layer produces the decision.
From a comment to the hate classification
The steps in order.
The important architectural choice occurs before the final classifier. Rather than requiring a single set of local detectors to work at one span length, the network has separate paths for different spans. Their outputs become available together. The authors describe this as a way to recover useful features that would otherwise be lost.
The diagram expresses the processing logic, but several implementation details remain incompletely specified in the paper. It does not fully document the treatment of unknown words, the exact handling of variable comment lengths, or whether embeddings remain fixed during training. These omissions should not be filled with assumptions taken from other convolutional classifiers.
Word representations
The input layer uses word2vec word embeddings. An embedding represents a word with a numerical vector instead of treating it only as an isolated identifier. The paper specifies an embedding size of 100. Each word therefore enters the neural processing stages through a representation with that dimensionality.
The architectural discussion introduces a word vector associated with the word at a particular position and describes a sentence as an ordered collection of such vectors. The position matters: convolution examines adjacent portions of that ordered input. A comment represented only as an unordered collection would not support the same local sequence detectors.
The paper identifies the vector representation but does not fully describe its training history. It does not provide enough procedural information to establish the complete embedding corpus, vocabulary coverage, initialization behavior, or update policy. The references include work on word and sub-word representations, but a cited representation method is not a substitute for a complete account of the actual experiment.
For interpreting the findings, the safe statement is that the CNN systems use word2vec-based inputs with the stated embedding size. It would be unsupported to attribute their performance to a particular unreported corpus or to claim a controlled comparison between fixed and updated embeddings.
Convolutional feature extraction
A convolutional filter examines a local window of embedded words. As it moves through a comment, it produces activations associated with the different windows it encounters. Training adjusts the filter so that certain local configurations produce stronger responses when they help distinguish the labels.
The paper uses 32 filters in its listed CNN configurations. It specifies ReLu activation for the convolutional stage. The key variation is the kernel width: the number of consecutive words considered together. A wider kernel sees a longer local sequence, but the experiments do not support the assumption that wider is always better.
In this setting, the n-gram terminology describes a convolutional span. It should be distinguished from the explicit n-gram vocabulary used by the support vector machine. The SVM receives selected word-sequence features through TFIDF. The convolutional network instead learns functions over windows of embedded words. Both have a notion of local word sequence, but they do not construct or use their representations in the same way.
The first single-channel configuration is described with a kernel of 4 for Amharic and 6 for English. The second is associated with the complementary selected window: 5 for Amharic and 7 for English in Table 1. A surrounding prose description gives the second kernel as 5 without fully restating the English distinction, so the table is the clearest statement of the intended language-specific settings.
Pooling, flattening, and combination
Convolution produces a sequence of activations. Pooling reduces that sequence, retaining strong responses within its scope. The first single-channel description gives a max-pooling size of 2. It also specifies a dropout rate of 0.5. These settings form part of the reported implementation, although the text does not make every shared-versus-branch-specific detail equally explicit for all variants.
Pooling is useful because a cue need not occur at a fixed position in a comment to be informative. A strong local response can survive the reduction even when its location varies. The tradeoff is that aggregation does not preserve all the information contained in the original sequence. The paper evaluates classification performance, instead of examining in detail which positional information is retained or discarded.
Flattening prepares the extracted features for the final decision stage. In the multichannel architecture, the processed outputs of the parallel paths are concatenated. This joins their feature representations so that the classification layer can use signals from both.
The selected multichannel windows are 4 and 5 for Amharic, and 6 and 7 for English. Each convolutional branch has the reported filter setting of 32. The paper’s interpretation is that different branches supply useful hidden features. Its results show an advantage for the combined implementation over its single-channel comparisons, but they do not inspect the learned filters closely enough to identify the exact semantic contribution of each branch.
The output is described as a Dense layer of size 2 with sigmoid activation, corresponding to the binary task. The paper does not fully explain how these outputs are converted into the reported label decisions. A reader should therefore avoid supplying an unreported thresholding or calibration procedure.
Data allocation and neural training
Each collection contains 2,000 comments. The authors assign 1,600 comments to training and 400 to testing, corresponding to their stated 80% and 20% division. The neural experiments use a validation split of 0.1, training for 16 epochs with batches of 20.
An epoch refers to a training pass through the relevant training examples. A batch is the group of examples processed together for a training update. The validation allocation provides a separate portion for monitoring performance within training, but the reporting does not specify all the decisions it governs. In particular, it does not fully establish whether the kernel search uses only validation results.
The paper’s conclusion states that the selected window configurations operate without removing stop words. That is a relevant detail because short, frequent grammatical words can participate in useful local sequences. However, the paper does not offer a controlled stop-word-removal experiment. Retaining them is part of the described setup, not a measured explanation for the result.
The implementation uses TensorFlow 2.3.0 and Keras 2.4.3 for the neural systems. The authors describe a Python 3.5.2 environment and a Dell Vostro 35 machine with 8 GB of RAM, 500GB of storage, and a 2.8GHz processor. These details locate the reported work computationally, but they do not provide a complete timing comparison between the neural systems and the SVM.
The support vector machine reference
The conventional baseline is a support vector machine with TFIDF word features. TF-IDF assigns feature weights using information about occurrence in a document and prevalence across the collection. This supplies the classifier with lexical evidence without learning a convolutional representation.
The authors test unigrams, bigrams, and a combined vocabulary. Unigrams represent individual words; bigrams represent adjacent word pairs. They also vary document-frequency thresholds, which determine which features are retained. Grid search selects settings from the explored configurations.
The body calls the baseline a linear SVM. Appendix A lists linear kernels for Amh and Dvd but a sigmoid kernel for Whs. That discrepancy affects the exact identity of the reported baseline. It does not erase the comparison, but it means that describing every dataset’s baseline as definitively linear would overstate the consistency of the reporting.
The evaluation formulas
The paper defines a true positive as a hate comment correctly assigned to the hate category. A true negative is a correctly rejected not-hate comment. A false positive is a not-hate comment incorrectly labeled hate, while a false negative is a hate comment missed by the classifier.
Recall = TP / (TP + FN)
TP denotes the true-positive count, and FN denotes the false-negative count. Recall measures how much of the actual hate category the classifier retrieves. It is concerned with missed target cases.
Precision = TP / (TP + FP)
FP denotes the false-positive count. Precision measures how much of the material predicted as hate belongs to that category according to the reference labels. It is concerned with incorrect positive decisions.
F-measure = 2 × Recall × Precision / (Recall + Precision)
Recall and Precision are the quantities defined above. The F-measure, called F1 in the results, combines them through their harmonic mean. Its value depends on both quantities, so a system cannot obtain a strong result merely by maximizing one while neglecting the other.
These definitions explain the intended measures, but they do not fully specify the averaging used in every reported table. Table 4 names an average F1 score without giving a complete aggregation procedure. As a consequence, its entries should be reported as the paper’s F1 results rather than assigned an unverified macro, micro, or class-weighted interpretation.
Experiments and results
What is being compared
The principal experiment compares the multichannel network with the separate single-channel CNN systems and the TFIDF-based SVM. All are evaluated on the paper’s stated binary task. The collections are processed separately, so the English experiments are additional monolingual evaluations rather than evidence of a network trained jointly across languages.
The equal stated collection size is useful for the paper’s limited-data motivation. However, Amh, Dvd, and Whs remain different collections with different linguistic and social characteristics. A higher score on one does not establish that its language is intrinsically easier, nor does it show that one classifier will transfer between them.
The paper reports precision, recall, and F1 for its SVM feature experiments. Its final system comparison concentrates on F1. The charts below reproduce the final comparison from Table 4; they do not merge values from different tables into a reconstructed result.
Amh test-set comparison, reported F1
The multichannel network exceeds both single-channel systems, while the SVM remains strongest.
The numbers
| System or setting | F1 score |
|---|---|
| SVM | 85.5 |
| SC-CNN-1 | 78.3 |
| SC-CNN-2 | 74.9 |
| MC-CNN (this paper) | 80.2 |
Dvd test-set comparison, reported F1
The multichannel network has the highest reported result among the compared systems.
The numbers
| System or setting | F1 score |
|---|---|
| SVM | 67.8 |
| SC-CNN-1 | 64.4 |
| SC-CNN-2 | 66.5 |
| MC-CNN (this paper) | 68.5 |
Whs test-set comparison, reported F1
Combining the channels produces the highest reported result in this comparison.
The numbers
| System or setting | F1 score |
|---|---|
| SVM | 66.8 |
| SC-CNN-1 | 65.8 |
| SC-CNN-2 | 67.3 |
| MC-CNN (this paper) | 68.0 |
These results support a consistent architectural observation: the combined CNN exceeds the separately reported CNN alternatives. The broader ranking depends on the dataset. For Amharic, the SVM result means that the proposed network is an improved neural alternative within this experiment, instead of the best classifier overall.
For English, the network also exceeds the conventional reference. The authors describe the advantage over the SVM as slight. Without repeated-run variation, confidence intervals, or a statistical test, the results should remain point comparisons. The paper does not establish how stable the ordering would be under another split or another training initialization.
The single-channel window search
Before presenting the combined architecture’s final comparison, the authors explore kernel widths using a single-channel CNN. Table 3 covers windows from 2 through 8. Its results are central to the decision to use different spans for Amharic and English.
For Amh, the reported F1 scores are 75.7 at a window of 2 and 75.5 at 3. The strongest entry is 78.3 at 4, followed by 76.9 at 5. Wider windows then score 70.3 at 6, 67.6 at 7, and 66.4 at 8. The pattern supports the choice of the shorter neighboring windows for the combined Amharic network.
Dvd follows a different pattern. Its reported scores are 63.5 at 2, 60.0 at 3, and 57.9 at 4. At 5 the score is 64.4, at 6 it is 64.8, and at 7 it is 66.5. The window of 8 scores 65.3. The strongest listed Dvd setting therefore occurs at 7, while the neighboring setting at 6 motivates the selected pairing.
Whs reports 63.9 at 2, 63.6 at 3, and 61.1 at 4. Its score is 65.3 at 5, 65.8 at 6, and 67.3 at 7, before falling to 64.6 at 8. This provides another case in which the selected English range is longer than the preferred Amharic range.
The important result is the shape of the comparison, not a rule that more context inevitably helps. Several intermediate settings are worse than shorter ones, and the longest explored window is not best on any collection. The authors appropriately make window selection part of the empirical procedure.
The SVM feature experiments
The SVM experiments compare different word-sequence vocabularies. On Dvd, Table 2 reports unigram precision of 68.4, recall of 68.0, and F1 of 67.8. The bigram F1 is 59.4, while the combined setting gives 67.3. Under the reported configurations, adding word-pair features does not improve on individual-word features.
For Whs, the unigram setting has precision of 67.6, recall of 67.0, and F1 of 66.8. Its bigram F1 is 56.6, and the combined F1 is 63.3. Again, the selected unigram representation is stronger than the alternatives.
Amh shows the same ordering in Table 2. Unigrams produce precision of 83.7, recall of 88.2, and F1 of 85.8. Bigrams give an F1 of 74.3, and the combined representation gives 85.3. This is important because it prevents the convolutional window findings from being read as a general endorsement of longer explicit word sequences. The effect depends on how those sequences are represented and learned.
The authors use unigram results for the final SVM comparison because unigrams perform best in their feature experiments. However, the final table gives the Amh SVM score as 85.5 instead of the 85.8 found in Table 2 and the appendix. Both values exceed the multichannel Amh result, so the ranking is unchanged, but the numerical inconsistency remains unresolved.
Vocabulary size and running time
Appendix A makes the SVM experiment more informative by including feature-space size and execution time. The paper discusses an Amh bigram setting with 83,826 retained terms, a training time of 3.468758s, and F1 of 74.3. This is a large vocabulary relative to the small training collection, and it performs worse than the selected unigram configuration.
The frequently cited pruned Amh setting contains 517 terms and trains in 0.120911s. It reports precision of 83.7, recall of 88.2, and F1 of 85.8. The document-frequency settings are a minimum of 10 and a maximum of 0.4. The result shows that a compact representation can be both faster and more effective than another, larger configuration.
The comparison needs care. The appendix associates the 83,826-term setting with bigrams and the 517-term setting with unigrams. It therefore changes both feature order and pruning. The paper’s discussion presents the comparison as support for pruning, but these particular figures do not isolate pruning alone.
The appendix does contain more directly matched settings within feature types. For Amh unigrams, the unpruned configuration lists 15,647 terms, training time of 0.326652s, and F1 of 76.2. The selected pruned unigram configuration lists the smaller vocabulary and stronger result described above. This within-unigram comparison is a firmer basis for the claim that frequency-based selection helps in this setup.
Even here, the general conclusion should remain bounded. The results demonstrate that the tested feature-selection settings matter for these experiments. They do not establish that aggressive pruning is always beneficial, particularly for rare expressions or for a different distribution of hate-related language.
Internal consistency of the result record
Some final single-channel figures do not line up completely with the window-search table. Table 1 associates SC-CNN-1 with an English kernel of 6, while Table 4 gives its Dvd F1 as 64.4. In Table 3, 64.4 is the Dvd result at a window of 5; the window of 6 instead scores 64.8.
Likewise, Table 3 lists Amh F1 of 76.9 for the window of 5, whereas Table 4 gives SC-CNN-2 an Amh score of 74.9. The paper does not explain whether these are separate runs, changed conditions, or reporting errors. Treating them as an unexplained discrepancy is more accurate than silently substituting a preferred value.
These issues do not eliminate the broad pattern in the final comparison. They do limit a more precise interpretation of how much the final combination improves over exactly matched constituent branches. They also make reproduction from the written configuration less straightforward than the architecture’s simplicity might suggest.
What the ablations show
Channel combination is useful in the tested implementation
The comparison between the single-channel systems and the multichannel system is the closest thing to an architectural ablation. The multichannel version retains parallel processing paths where the alternatives use a single path. Its stronger final F1 on every collection supports the practical usefulness of the combined implementation.
The authors explain the gain through features obtained from different channels. This is plausible: different window lengths can respond to different local configurations, and concatenation makes those responses jointly available. Yet the experiment does not directly identify complementary learned features or show which examples require which branch.
There is also an alternative explanation that the paper does not rule out. The combined network has more feature-extraction machinery than an individual branch. A stronger result could reflect the amount of available learned capacity, the diversity of window lengths, or an interaction between them. A comparison with a single-channel system matched more closely in capacity would help separate these possibilities.
The result should therefore be stated at the level observed: the tested combined architecture works better than the tested single-channel alternatives. The stronger claim that complementary phrase lengths are uniquely responsible remains an interpretation.
Window width matters, but not monotonically
The single-channel search is a useful sensitivity analysis. It shows that performance changes materially when the local span changes, even though the overall architecture remains a CNN. This supports the paper’s decision to treat kernel width as a central design parameter.
The experiment also rejects a simple monotonic story. Longer windows do not steadily improve the results. In Amharic, the strongest listed span is shorter than the English preferences, and extending beyond the selected range is harmful in the reported search. English also has a preferred range rather than unlimited benefit from longer windows.
The authors relate the language difference to morphological density. Their example is the Amharic form ደበላለቀባቸው, whose supplied English interpretation conveys an action together with information about participants and possession. The point is that a word boundary does not delimit an equivalent quantity of information in every language.
However, the study does not manipulate morphological representation, compare tokenization schemes, or hold domain constant across matched translations. The observed difference is compatible with the authors’ explanation, but it cannot isolate morphology from collection-specific vocabulary, sentence structure, topic, or annotation.
The feature experiments are not a pure representation ablation
The final comparison places TFIDF-based SVM classification beside word2vec-based convolutional classification. This is useful for choosing between complete practical systems. It is less useful for attributing the result solely to the input representation.
The classifier and representation change together. The SVM’s behavior cannot be read as the behavior of TFIDF independently of its decision procedure, and the CNN’s behavior cannot be assigned entirely to word2vec. A direct representation ablation would require more tightly controlled comparisons than those reported.
The same caution applies to the authors’ suggestion that Amharic comments are more structured than the English comments. That observation is offered to explain the SVM’s stronger Amharic result, but the paper does not define a structural measure or present an analysis that relates it systematically to classification outcomes.
The experiments nevertheless establish a useful engineering fact: the best choice among the tested complete systems varies with the collection. That is already enough to justify evaluating a conventional feature-based alternative rather than assuming that the same architecture should dominate everywhere.
Pruning has observable effects, but thresholds are task dependent
The appendix offers a substantial configuration analysis of the SVM. Vocabulary size, training time, testing time, and predictive measures are reported under several document-frequency settings. This gives more insight than a single final baseline score.
Within the Amh unigram comparison, the selected frequency restrictions accompany both a smaller vocabulary and a stronger F1 result. The study therefore supports treating vocabulary selection as a predictive design choice, not merely an implementation convenience.
It does not explain which excluded terms were noise, which were rare but meaningful, or whether particular types of hate expression become harder to detect after pruning. Aggregate improvement can coexist with the loss of a useful rare pattern. The paper’s measurements do not provide a per-expression analysis.
The transferable lesson is consequently procedural: inspect feature selection, measure its effects, and preserve its configuration. The numerical thresholds are successful settings in this experiment, not justified universal defaults.
Several motivated questions remain unablated
The paper does not report an experiment that varies training-set size, despite making limited data central to the motivation. It therefore does not directly establish that the multichannel advantage increases as labeled data become scarcer.
There is no reported stop-word-removal ablation, no detailed comparison of embedding update policies, and no systematic analysis of the learned filters. The study also does not investigate whether additional channels would help or whether the chosen pair is preferable to every plausible pairing.
These absences do not make the existing comparisons uninformative. They identify the boundary between what the paper measures and what its architecture invites a reader to test next. The evidence is strongest for the reported end-to-end rankings and the observed sensitivity to word-window and vocabulary settings.
Limitations
Limits acknowledged by the authors
The authors explicitly describe the evaluation as a binary task on small monolingual collections. A hate/not-hate decision is narrower than identifying the type of hate, the target group, or the structure of an attack. Their conclusion proposes more detailed categories involving religion, ethnicity, and gender as future work.
They also identify larger datasets as an unresolved direction. The reported experiments do not establish how the architecture behaves when much more labeled evidence is available. A design that helps in the tested setting might retain its advantage, lose it, or require different configuration choices under other data conditions.
Multilingual and mixed-language collections are likewise proposed rather than evaluated. Separate Amharic and English experiments do not demonstrate successful handling of language mixing inside a comment. They also do not show transfer from a resource-rich language to a language with fewer resources.
The paper suggests that combining languages could help address data scarcity, but this is an agenda for further research. It should not be read as an implemented training strategy or as evidence that cross-language supervision has already improved the reported system.
Limits visible in the experimental design
A careful reader encounters an uncertainty about label provenance. The paper identifies the source collections and their binary labels, but does not provide a complete account of how the selected comments were sampled or how any original category distinctions were mapped into the study’s task.
It also does not report the class distribution for each selected collection. Without that information, the meaning of an aggregate score is less transparent. A task with different proportions of hate and not-hate comments can present different error tradeoffs even when its total size is the same.
The split procedure is only partly specified. The stated training and test sizes are clear, and neural validation is mentioned. The report does not fully establish randomization choices, stratification, or the isolation of kernel and feature searches from final testing. These are reporting limits; they are not evidence that leakage occurred.
No repeated-run distribution or uncertainty estimate accompanies the headline comparison. Neural training can depend on initialization and data order, but the paper does not quantify such variation. The reported ordering on English therefore remains an ordering of the presented point estimates instead of a demonstrated statistically reliable advantage.
The same issue applies to selection among windows. The paper identifies preferred spans, but does not show whether nearby settings exchange rank under another split or training run. The selected values are useful experimental findings, yet their stability is unknown.
Limits of causal interpretation
The combined architecture changes more than the span of a single detector. It introduces parallel feature extraction and a larger joined representation. Without a more closely matched control, the study cannot determine how much of its advantage comes from diversity of context lengths and how much comes from the expanded representation.
The comparison with the SVM has an analogous limitation. Word representation and classifier both change. The results support choosing among tested pipelines, but they do not establish that word2vec is superior or inferior to TFIDF independently of the surrounding architecture.
The morphology explanation also remains provisional. Amharic word structure supplies a reasonable motivation for shorter word windows, but the study does not separate that factor from the many other differences between its collections. The finding belongs to the tested datasets; a universal language-level conclusion would require broader evidence.
Limits of reproducibility and reporting
Several practical settings are missing or incompletely explained. The paper does not give a complete account of embedding preparation, unknown-word handling, sequence-length decisions, optimization, or final label selection from the sigmoid outputs. The named software packages and architecture provide a starting point, but not a fully specified experimental recipe.
There are also explicit inconsistencies. The Amh SVM score differs between the baseline-results table and the final system table. Some final single-channel scores do not match the corresponding window-search entries. The Whs kernel in the appendix differs from the body’s description of a linear baseline.
These discrepancies should remain visible because they affect different kinds of interpretation. The SVM discrepancy leaves the Amharic ranking intact but makes the exact baseline value uncertain. The single-channel discrepancies make it harder to align the combined system with precisely identified component runs. The kernel discrepancy changes the baseline’s configuration.
Metric reporting has a related ambiguity. The paper defines precision, recall, and F1, but does not fully explain the averaging behind all table entries. A reader cannot safely infer an unreported convention simply because a table uses the word average.
Limits of practical deployment
The experiments measure classification against existing labels. They do not evaluate a deployed moderation process, the quality of human review, or the consequences of acting on a prediction. The social motivation is broader than the demonstrated technical result.
There is no detailed analysis of false-positive and false-negative examples. Accordingly, the paper does not show whether the classifier distinguishes identity mentions from identity attacks, quoted hostility from endorsed hostility, or contextual disagreement from the intended hate category. These are open questions under the reported evaluation, not demonstrated failure cases.
The study also does not establish robustness to new communities, topics, spelling conventions, or changing usage. Its separately evaluated collections provide useful diversity, but they are not a systematic distribution-shift experiment. Performance on one held-out portion should not be converted into a claim about every future social media setting.
Finally, the reported SVM timings should not be treated as a complete efficiency comparison among architectures. The appendix provides useful timing measurements for feature configurations, but corresponding neural training and prediction measurements are not presented with enough detail to support a comprehensive resource ranking.
What came after
Exploring Amharic Hate Speech Data Collection and Classification Approaches is a later citing work from 2023. Its title connects it to the same broad problem: obtaining Amharic hate speech data and studying classification approaches. That connection matters because the earlier paper’s central practical concern is limited labeled evidence, not simply the choice of neural architecture.
The available bibliographic record establishes that the later work cites this study. It does not establish which architectural elements it adopts, whether it reuses the same selected data, or whether it reproduces the multichannel comparison. There is therefore no basis for attributing a particular result or methodological improvement to the citation.
The substantive questions left by Abebaw and colleagues remain clear. A later investigation could examine whether the channel advantage survives repeated runs, whether carefully matched capacity changes its interpretation, and whether the selected word spans remain effective on broader Amharic data. It could also separate data-collection decisions from classifier choices and make the category mapping explicit.
The paper’s lasting value is a concrete experimental proposition: different local spans can be worth combining, especially when the available training evidence is limited. Its own results also supply the necessary restraint. The combination improves on the tested individual CNNs, while a carefully configured SVM remains stronger on Amharic. Both observations belong in any account of what the work established.
Cite
Cite as Zeleke Abebaw, Andreas Rauber and Solomon Atnafu. 2022. Design and Implementation of a Multichannel Convolutional Neural Network for Hate Speech Detection in Social Networks. Revue d intelligence artificielle.
@inproceedings{abebaw2022design,
title = {{Design and Implementation of a Multichannel Convolutional Neural Network for Hate Speech Detection in Social Networks}},
author = {Zeleke Abebaw, Andreas Rauber and Solomon Atnafu},
booktitle = {Revue d intelligence artificielle},
year = {2022},
doi = {10.18280/ria.360201},
url = {https://doi.org/10.18280/ria.360201}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/abebaw-2022-design-implementation-multichannel-convolutional-neural/