<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Vector Space Models for Automatic Misogyny Identification (Short Paper)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Amir Bakarov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>National Research University Higher School of Economics</institution>
          ,
          <addr-line>Moscow, Russia amirbakarov at gmail.com</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>English. The problem of hate speech and, especially, of misogynous language is one of the most crucial problems of contemporary Internet communities. Therefore, automatic detection of such language becomes one of the most actual natural language processing tasks. The most ubiquitous tools for resolving this task are based on vector space models of texts. In this paper we describe our system that exploits such tools and have shown the best performance on the Italian AMI task of EVALITA 2018.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Italiano. Il problema dell’uso di
discorsi che incitano l’odio, e specialmente
dell’uso di linguaggio misogino, e` uno
dei problemi piu` cruciali delle comunita`
di internet al giorno d’oggi. Pertanto, il
rilevamento automatico di tale
linguaggio diventa uno degli obiettivi piu` attuali
per l’elaborazione del linguaggio
naturale. I sistemi piu` diffusi atti ad affrontare
questo obiettivo sfruttano l’ipotesi
distributiva. In questo articolo, descriviamo
il sistema proposto basato su quest’ipotesi
che hanno dimostrato le migliori
performance nel task AMI di EVALITA 2018
nella lingua italiana.</p>
    </sec>
    <sec id="sec-2">
      <title>1 Introduction</title>
      <p>As the Internet community and several online
discussions grow, the number of manifestations of
hate speech on open web resources also increases.
Such type of speech (also called abusive language
or textual harassment) could get different forms
depending on its focus on the person’s
ethnicity, gender identity, religion, or sexual orientation.
Probably, one of the most destructive forms of hate
speech is the one that abuses a person’s gender
identity. Such form of hate speech is called
misogynous language since misogyny is a specific case
of hate whose targets are women. Misogyny on
the Internet (cybermisogyny, or online sexual
harassment) is one of the crucial problems of
contemporary Internet communities, especially from
the perspective of the societal impact of this
phenomenon.</p>
      <p>
        Thus, the problem of automatic misogyny
identification could be considered as one of the most
important branches of a hate speech detection task.
The successful solution of this problem could lead
to the significant limitation of the diffusion for the
hate speech against women. The problem of
automatic misogynous language detection got
attention from the research community fairly recently,
and the shared task on automatic misogyny
identification held as a part of the EVALITA-2018
campaign is one of the first works trying to deal with
this problem
        <xref ref-type="bibr" rid="ref1 ref3 ref4">(Fersini et al., 2018b)</xref>
        . The aim of
this task is to automatically identify misogynous
content in tweets for the Italian and English
languages.
      </p>
      <p>This paper describes our system that has
outperformed all other systems for the Italian language
and also has shown fairly good results for the
English language. This system is based on using
semantic features of tweets as an input of a
supervised classifier. The semantic features are
considered as latent vectors produced by a vector space
model.</p>
      <p>Our work is organized as follows. Section 2
briefly describes related work on the proposed
task. Section 3 describes the setup of our system,
while Section 4 discusses the results and proposes
an analysis of them. Section 5 concludes the
paper.</p>
      <sec id="sec-2-1">
        <title>Task A (Italian)</title>
      </sec>
      <sec id="sec-2-2">
        <title>Task B (Italian)</title>
      </sec>
      <sec id="sec-2-3">
        <title>Task A (English)</title>
      </sec>
      <sec id="sec-2-4">
        <title>Task B (English)</title>
        <sec id="sec-2-4-1">
          <title>Baseline</title>
        </sec>
        <sec id="sec-2-4-2">
          <title>TFIDF+LR</title>
          <p>TFIDF+XGB
TFIDF+SVD+LR
TFIDF+SVD+XGB</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Related Work</title>
      <p>
        The first notorious works of the task of automatic
misogyny identification were described as shared
task proposed at IverEval 2018 workshop
        <xref ref-type="bibr" rid="ref1 ref3 ref4">(Fersini
et al., 2018a)</xref>
        (a shared task organized jointly with
SEPLN-2018 Conference for Iberian languages),
and SemEval-20191. These tasks proposed certain
baselines based on ubiquitous text classification
techniques (for example, SVM). The automatic
misogyny identification task considered in our
research is the third shared task on this topic
        <xref ref-type="bibr" rid="ref1 ref3">(Anzovino et al., 2018)</xref>
        . We are also aware of certain
other attempts to computationally resolve the task
of automatic misogyny identification, but most of
them were published only as some exploratory
analysis
        <xref ref-type="bibr" rid="ref6">(Hewitt et al., 2016)</xref>
        . Most of the
state-ofthe art approaches to this problem were described
as system reports for the aforementioned
IberEval2018 shared task. As far as we know, there were
no other scholarly works trying to resolve or to
formalize this task.
      </p>
      <p>
        In the natural language processing community
very similar tasks were also considered in other
hate speech online challenges and scholarly works
        <xref ref-type="bibr" rid="ref2">(Davidson et al., 2017)</xref>
        . An extensive overview
of all the research related to hate speech detection
goes beyond the scope of this work, and an
interested reader could be referred to a survey paper
specialized on this topic
        <xref ref-type="bibr" rid="ref9">(Schmidt and Wiegand,
2017)</xref>
        .
      </p>
      <p>
        Apart from computational linguistics and
natural language processing, the problem of
misogynous speech was also a focus of some linguistic
and social science articles
        <xref ref-type="bibr" rid="ref5">(Fulper et al., 2014)</xref>
        .
Most of such scholarly works were trying to
understand the nature of misogynous hate speech
1https://competitions.codalab.org/
competitions/19935
and patterns appearing in this type of language
        <xref ref-type="bibr" rid="ref8">(Poland, 2016)</xref>
        . We think that from the perspective
of natural language processing, such papers could
be useful for the systems that are highly grounded
to linguistic knowledge and manually crafted
resources.
3
      </p>
    </sec>
    <sec id="sec-4">
      <title>Experimental Setup</title>
      <p>In the shared task we had two datasets (for English
and for Italian) of 5000 tweets each. 4000 tweets
in each dataset were considered as a training
sample, and the evaluation of the system was done on
1000 tweets (their labels were hidden until the end
of the competition). The classification task has
included both binary and multi-label classification.</p>
      <p>
        In our work we have used vectors from
termdocument matrix with TF-IDF values. We
propose the text classification based on using
semantic features obtained from vector space models of
texts. We considered the terms as word n-grams,
and used a factorization of the term-document
matrix (we used a method of singular value
decomposition, SVD) and a normalization of
factorized values (in the table with the results we
call it TFIDF+SVD). From this perspective, our
approach is very close to the method of Latent
Semantic Analysis
        <xref ref-type="bibr" rid="ref7">(Landauer et al., 1998)</xref>
        (and
we have also tried to resolve this task using
notfactorized TF-IDF matrix, called TFIDF in the
table). As a supervised classifier we have used a
Logistic Regression classifier, therefore, our system
is based on using TF-IDF n-gram word features
and a Logistic Regression (LR).
      </p>
      <p>For all the methods of vectorization we used
a basic pipeline of text pre-processing
(tokenization, lemmatization and stop-word removal based
on NLTK build-in tools and resources).</p>
      <p>We have also compared it with other
classifiers (for instance, a Gradient Boosting classifier,
XGB in the table) and got worse results on the
certain tasks. All in all, we have compared four
terns that people tend to use in misogynous
language. We would also like to try out more
promisdifferent models. The exact hyperparameters of
ing approaches to text classification based on deep
the models used in our system, and all the code
learning (for example, convolutional neural
netfor reproducing the experiments could be found
at our Gitlab repository: https://gitlab.
com/bakarov/ami-evalita.
4</p>
    </sec>
    <sec id="sec-5">
      <title>Results and Discussion</title>
      <p>The system evaluation was done on two subtasks.
The first subtask had proposed a binary
classification to identify whether the text is either
misogynous or not misogynous (Task A). The second
subtask (Task B) was to classify the misogynous
tweets according to both the misogynistic
behavior (multi-label classification) and the target of the
message (binary-classification). The results of the
system for the English and Italian subtasks for the
misogyny identification task are described in
Table 1. It is notable that our system has
outperformed the baseline put by organizers in most of
the cases, and different combinations of
vectorizers and models have shown different performance
in different tasks.</p>
      <p>After an error analysis conducted on the system,
we have found out that the system fails on
examples where misogyny is expressed without (or with
a very little use of) offensive lexis, or, vice versa,
such lexis is used not in misogynous context (for
example, you pussy boy). This could be explained
by the fact that the system is too much focused on
the lexicon and does not takes into account
syntactic patterns or thematic roles.
5</p>
    </sec>
    <sec id="sec-6">
      <title>Conclusions</title>
      <p>The proposed work has described the system that
has shown the best results for the Italian track on
all the subtasks (and have also got fairly good
results on English). Our system is based on a vector
space model of character n-grams and a supervised
gradient boosting classifier.</p>
      <p>The system described in this paper is one of the
first attempts to the problem of detecting
misogynistic language for the Italian language in the
natural language processing community. We think that
the description of the implementation of our
system could help other researchers to resolve such
important and actual task. We consider this value
as a main contribution of our research.</p>
      <p>In future we plan to give more attention to some
other linguistic features based on analysis of
pat</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Anzovino</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fersini</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          (
          <year>2018</year>
          ).
          <article-title>Automatic identification and classification of misogynistic language on twitter</article-title>
          .
          <source>In International Conference on Applications of Natural Language to Information Systems</source>
          , pages
          <fpage>57</fpage>
          -
          <lpage>64</lpage>
          . Springer.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Davidson</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Warmsley</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Macy</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Weber</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          (
          <year>2017</year>
          ).
          <article-title>Automated hate speech detection and the problem of offensive language</article-title>
          .
          <source>arXiv preprint arXiv:1703</source>
          .
          <fpage>04009</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Fersini</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Anzovino</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          (
          <year>2018a</year>
          ).
          <article-title>Overview of the task on automatic misogyny identification at ibereval</article-title>
          .
          <source>In Proceedings of the Third Workshop on Evaluation of Human Language Technologies for Iberian Languages (IberEval</source>
          <year>2018</year>
          ),
          <article-title>co-located with 34th Conference of the Spanish Society for Natural Language Processing (SEPLN</article-title>
          <year>2018</year>
          ).
          <source>CEUR Workshop Proceedings. CEUR-WS. org, Seville</source>
          , Spain.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Fersini</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nozza</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          (
          <year>2018b</year>
          ).
          <article-title>Overview of the evalita 2018 task on automatic misogyny identification (ami)</article-title>
          . In Caselli, T.,
          <string-name>
            <surname>Novielli</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patti</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Rosso</surname>
          </string-name>
          , P., editors,
          <source>Proceedings of the 6th evaluation campaign of Natural Language Processing and Speech tools for Italian (EVALITA'18)</source>
          , Turin, Italy. CEUR.org.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Fulper</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ciampaglia</surname>
            ,
            <given-names>G. L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ferrara</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ahn</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Flammini</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Menczer</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lewis</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Rowe</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          (
          <year>2014</year>
          ).
          <article-title>Misogynistic language on twitter and sexual violence</article-title>
          .
          <source>In Proceedings of the ACM Web Science Workshop on Computational Approaches</source>
          to Social Modeling (ChASM).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Hewitt</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tiropanis</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Bokhove</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          (
          <year>2016</year>
          ).
          <article-title>The problem of identifying misogynist language on twitter (and other online social spaces)</article-title>
          .
          <source>In Proceedings of the 8th ACM Conference on Web Science</source>
          , pages
          <fpage>333</fpage>
          -
          <lpage>335</lpage>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Landauer</surname>
            ,
            <given-names>T. K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Foltz</surname>
            ,
            <given-names>P. W.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Laham</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          (
          <year>1998</year>
          ).
          <article-title>An introduction to latent semantic analysis</article-title>
          .
          <source>Discourse processes</source>
          ,
          <volume>25</volume>
          (
          <issue>2-3</issue>
          ):
          <fpage>259</fpage>
          -
          <lpage>284</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Poland</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          (
          <year>2016</year>
          ).
          <article-title>Haters: Harassment, abuse, and violence online</article-title>
          . U of Nebraska Press.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Schmidt</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Wiegand</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2017</year>
          ).
          <article-title>A survey on hate speech detection using natural language processing</article-title>
          .
          <source>In Proceedings of the Fifth International Workshop on Natural Language Processing for Social Media</source>
          , pages
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>