<!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>Characterising and Mitigating Aggregation-Bias in Crowdsourced Toxicity Annotations</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Agathe Balayn</string-name>
          <email>a.m.a.balayn@student.tudelft.nl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Panagiotis Mavridis</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alessandro Bozzon</string-name>
          <email>a.bozzong@tudelft.nl</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Benjamin Timmermans</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zoltan Szlavik</string-name>
          <email>zoltan.szlavikg@nl.ibm.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>IBM Netherlands, Center for Advanced Studies</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>TU Delft</institution>
          ,
          <addr-line>Web Information Systems</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>Training machine learning (ML) models for natural language processing usually requires large amount of data, often acquired through crowdsourcing. The way this data is collected and aggregated can have an e ect on the outputs of the trained model such as ignoring the labels which di er from the majority. In this paper we investigate how label aggregation can bias the ML results towards certain data samples and propose a methodology to highlight and mitigate this bias. Although our work is applicable to any kind of label aggregation for data subject to multiple interpretations, we focus on the e ects of the bias introduced by majority voting on toxicity prediction over sentences. Our preliminary results point out that we can mitigate the majority-bias and get increased prediction accuracy for the minority opinions if we take into account the di erent labels from annotators when training adapted models, rather than rely on the aggregated labels.</p>
      </abstract>
      <kwd-group>
        <kwd>dataset bias annotation aggregation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>When using crowdsourcing to gather training data for Machine Learning (ML)
algorithms, several workers work with the same input samples and the
annotations are aggregated into a unique one like the majority vote (MV) to ensure
its correctness (elimination of annotation mistakes and spammers mainly).
Although this data collection method is designed to get high-quality data, we
expect that certain tasks involving subjectivity such as image aesthetic prediction,
hate speech detection, detection of violent video segments, sentence sentiment
analysis, cannot be tackled this way: samples should not be described with unique
labels only since they are interpretable di erently by di erent persons.</p>
      <p>
        The use of hate/toxic speech has increased with the growth of the
Internet [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Predicting whether a sentence is toxic is highly subjective because of its
multitude of possible interpretations. The sentence "I agree with that and the
fact that the article needs cleaning. Some of these paragraphs [..] seem like they
were written by 5 year olds." is judged negative or positive by di erent readers,
but this perceptions' diversity is ignored when selecting one unique label as done
in recent research [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] studied the existence of identity term biases resulting
from the imbalance of a toxicity dataset content, we show with the example
of MV-aggregation that crowdsourcing processing methods on the same dataset
also create an algorithmic bias here towards the majority opinion. When
annotations di er but are all valid for certain annotators, aggregation loses information
and leads to decrease of accuracy and unfairness in ML results, thus we
hypothesize that the bias can be mitigated by using disaggregated data. In this study,
we rst exhibit the presence of the majority-bias and its consequences, then we
propose a methodology to expose and counter its algorithmic e ects.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Majority-biased dataset and consequences</title>
      <p>
        We show on the toxicity dataset [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] that in usual crowdsourcing aggregations of
annotations, certain worker contributions are ignored for the majority and that
it a ects the fairness of ML algorithms' results. The dataset consists of 159686
Wikipedia page comments for which 10 annotations per sample are available.
A large number of annotators (4301) that we have their personal information
rate the phrases with 5 labels of toxicity ranging from -2 (very toxic) to 2 (very
healthy) with 0 being neutral.
      </p>
      <p>
        Subjectivities in the dataset. For each worker, we compute the
average disagreement rate (ADR) with the ground truth (percentage of annotations
di erent from the MV here), and plot the distribution over the dataset after
removing the annotations of the lowest quality workers (spammers) ( g. 1). The
quality score for each worker (WQS) is computed with the CrowdTruth
framework [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] using binary labels ([-2;-1]:toxic, [0;2]:non-toxic), along a unit quality
score (UQS) to represent the clarity of each sentence. Without removing
lowquality workers, the proportion of high agreement is high because most spammers
constantly use one positive label and the dataset is unbalanced with more
samples with non-toxic MV. The more possible spammers are removed, the more
the disagreement increases until the distributions stabilize. Only 0.09% of the
workers always agree with the MV for 50 spammers removed: MV-aggregation
is not representative of most individuals but only of a sentence-level common
opinion.
      </p>
      <p>Algorithmic e ect of the bias. We consider the task of predicting binary
labels. Training traditional algorithms to predict the MV, annotations of only
maximum 0.09% of annotators would be entirely correct: the majority-bias is not
consistent with the worker's individual opinions. We evaluate traditional models
(sec. 3) trained and tested on aggregated and disaggregated labels (table 1). In
both cases accuracy is higher when measured on aggregated data, what shows
that classical input data's treatment makes usual models' predictions biased
towards one type of opinion, here the majority opinion, instead of representing
each subjectivity.</p>
    </sec>
    <sec id="sec-3">
      <title>Method to measure and mitigate the bias</title>
      <p>We claim that a fairer algorithm should return di erent outputs for a same
sample depending on its reader. Here, we propose measures of the
majoritybias' algorithmic e ect and a method to counter its unfairness.</p>
      <p>Bias measure. Global metrics are usually used to optimize the algorithms'
parameters and evaluate them. However, they do not inform on the bias'
effects since most samples' labels have a high-agreement: the slight improvement
when training on disaggregated data hints only lightly at label disaggregation
(table 1, g. 2). To identify the e ects, we propose to measure sentence-level
and worker-level accuracies on the annotations spread in the following bins: we
divide the sentences along their ambiguity score (AS) (percentage of agreement
in annotations) or UQS, the workers with their ADR, WQS or demographics
categories; and also plot histograms of the per-user and per-sentence errors to
identify potential unfairness among all workers or sentences.</p>
      <p>
        Bias mitigation: ML. To account for the full range of valid opinions, we
propose to modify the inputs to the ML models. After removing low-quality
workers, instead of the aggregated labels we feed them with the annotations
augmented with the available worker demographics (age, gender, education, with
a continuous or one-hot encoded representation) that psychology literature [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]
gives as the most in uencing factors of o ensiveness perception (along with
ethnicity not available here). Each (sentence, demographics, annotation) tuple is
considered as one data sample. We employ the Logistic Regression (LR) classi er,
and encode sentences with term frequency-inverse document frequency (tf-idf).
The optimal hyperparameters for each set-up are chosen by performing a grid
search.
      </p>
      <p>Bias mitigation: dataset balancing. We de ne 4 data set-ups to help
the algorithms learn the individual annotations. Sentence AS and MV-toxicity
are computed, and we resample the dataset following the original distribution or
balancing the distribution on these 2 criteria, to obtain a dataset whose
majoritybias is decreased by equally representing samples with high and low agreement
between workers. We also resample the annotations along the MV-toxicity and
demographics categories (removing the least frequent ones) into one dataset
following the distributions and a balanced one, to foster performance fairness
in-between populations.</p>
      <p>Results. Binned metrics like the user-level ADR-binned accuracy ( g. 2 with
bins along the y-axis) enable to show that models are more suited to workers
who agree with the MV (bottom of the y-axis), and highlight the bene t of using
disaggregated data with adapted ML models. On the AS-balanced dataset (left
part of the x-axis), the user representation increases accuracy for workers with
a high disagreement with the majority over using aggregated data or no
usermodel. The resampling choice also helps understanding and mitigating bias'
e ects: balancing on demographics neither clearly shows the performance gap
between minority and high-ADR workers nor improves accuracy with the user
representation, contrary to the AS dataset in which MV-consensus' presence is
reduced.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion and Discussion</title>
      <p>Disaggregating the annotations decreases the majority-bias' e ects with adapted
ML models' inputs and dataset resamplings. Binning the evaluation metrics
enables to understand and verify the existence of these e ects. We only reported
results using the LR classi er but we now investigate adaptations of Deep
Learning algorithm's architectures which are better suited to the large dataset (10
times more annotations than labels) and to the size of the ML inputs.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgements</title>
      <p>This research is supported by the Capture Bias project 3, part of the VWData
Research Programme funded by the Startimpuls programme of the Dutch
National Research Agenda, route "Value Creation through Responsible Access to
and use of Big Data" (NWO 400.17.605/4174).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Aroyo</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Welty</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Crowd truth: Harnessing disagreement in crowdsourcing a relation extraction gold standard</article-title>
          .
          <source>WebSci2013. ACM</source>
          <year>2013</year>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Cowan</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hodge</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Judgments of hate speech: The e ects of target group, publicness, and behavioral responses of the target</article-title>
          .
          <source>Journal of Applied Social Psychology</source>
          <volume>26</volume>
          (
          <issue>4</issue>
          ),
          <volume>355</volume>
          {
          <fpage>374</fpage>
          (
          <year>1996</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Dixon</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sorensen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thain</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vasserman</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Measuring and mitigating unintended bias in text classi cation (</article-title>
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Schmidt</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wiegand</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <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>
          . pp.
          <volume>1</volume>
          {
          <issue>10</issue>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Tsesis</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Hate in cyberspace: Regulating hate speech on the internet</article-title>
          . San Diego L. Rev.
          <volume>38</volume>
          ,
          <issue>817</issue>
          (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Wulczyn</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thain</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dixon</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Ex machina: Personal attacks seen at scale</article-title>
          .
          <source>In: Proceedings of the 26th International Conference on World Wide Web</source>
          . pp.
          <volume>1391</volume>
          {
          <fpage>1399</fpage>
          .
          <string-name>
            <surname>International World Wide Web Conferences Steering Committee</surname>
          </string-name>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>