Is Your Toxicity My Toxicity? Exploring the Impact of Rater Identity on Toxicity Annotation
Nitesh Goyal, Ian Kivlichan, Rachel Rosen, Lucy Vasserman
Introduction
Toxic language, defined as rude, disrespectful, or unreasonable language that is likely to make someone leave a discussion (Dixon, 2018), is a pervasive problem online. Detecting toxic language in online conversations using machine learning (ML) models is an active area of interest. However, models built to detect such online toxicity in conversations can be biased. Recent work has shown that some of the classifiers based on these models are more likely to label non-toxic language from minority communities as toxic compared to equivalent language from non-minority communities (Gomes et al., 2019; Sap et al., 2019). For example, it has been shown that the Perspective APIwww.perspectiveapi.com, a publicly available API to detect toxicity in text, is more likely to predict high toxicity scores for comments written in African American English than for other comments (Sap et al., 2019). Likewise, Gomes et al. (2019) has shown that non-toxic tweets from drag queens are more likely to be scored as toxic by the Perspective API than tweets by known white supremacists.
As of today, ML models that define online content as toxic or not fall short of reaching the goal of being free from bias. As is evident from the examples above, when models fail, they do not fail equally for all identities. Some identity groups, already disenfranchised, are hurt even more than others because the prevalence of toxic comments directed towards all identity groups is not equal. Similarly, the presence of harder to detect microaggressions is likely unequal across groups. While this is not intentional, it does create inequity. ML models are based on huge datasets that have been trained on data labeled by human raters or annotators, also known as crowd workers. However, every human annotator cannot be fully aware of the intricacies of how different communities are being hurt using toxic language. Though certain phrases and words might seem innocuous to those outside an identity group, they may be known to be toxic to people who self-identify as that identity through their shared and lived experiences–or vice versa: some comments are perceived within identity groups to be non-toxic, but may be perceived by outsiders as toxic. What if we could ask those who self-identify with an identity group to rate content that was related to their community? This way, those who are likely to be targeted, and who would be best equipped to label the data, would be the ones to determine the ground truth for models that classify toxicity online. This paper continues to build upon research in this space of creating groups of annotators based on some differentiating factor(s) (Kocoń et al., 2021; Akhtar et al., 2021; Duzha et al., 2021; Wich et al., 2021). More specifically, we explore how raters from two relevant identity groups, African American and LGBTQ, label data that represents those identities, and whether their ratings vary from those provided by a randomly selected pool of raters who do not self-identify with these identity groups.
Related Work
Our work fits within a broader picture of trying to understand annotator identity or lived experience as a source of expertise, particularly within the context of abusive language and toxicity. We use the term “annotator” and “rater” interchangeably throughout this work to acknowledge that past literature has used both terms.
We are not the first researchers who have been interested in understanding demographics of crowd workers and how that may impact crowdwork. For example, Berg (2015) and Posch et al. (2018) have asked questions about gender, age, and education level, among others. Further, Posch et al. (2018) found that in the U.S., female crowdworkers are the majority, but in most other countries they are the minority. With respect to age, the authors found that most crowdworkers are between 18 and 34 years old; that remains consistent with previous findings (Berg, 2015).
We are also not the first to explore the impact of identity in building models for online conversation. Some papers have explored the identity of comment authors (Huang et al., 2020; Subramanian et al., 2021). In particular, Halevy et al. (2021) explored author dialect as a proxy for author identity, fine-tuning a toxic comment classifier on African American English to reduce racial bias in the model. And by looking at identity on the community level, Wich et al. (2020b) explored how conversations in different political communities have different norms. Our work expands upon this previous work by focusing on the identity of the annotators, instead of the authors.
Others have explored identity from the perspective of who the comment is targeting. Kurrek et al. (2020) looked at the usage of online slurs, in particular pejorative terms used against three distinct groups of people—gay men, Black people, and transgender people. The authors have explicitly mentioned that due to the limitations of their research environment, understanding relationships between annotator identity and annotations is a limitation of their work, something we explore in this paper. Others have also identified annotator bias as an area for future work (Huang et al., 2020; Basile et al., 2021). Our work expands Kurrek et al. (2020) in three ways: first, by going beyond slurs and considering impact on multiple facets: toxicity, identity attacks, profanity, insults, and threats. Second, by annotating an entirely different dataset (Civil Comments instead of Reddit) by hundreds of carefully selected raters that belong to a specific identity group instead of 20 raters of mixed identity groups. Third, Kurrek et al. (2020) point out in Section 3.3 of their work that they could only perform limited analysis on the relationship between annotator demographics and annotations. They left this as an area for future work, which our work expands upon.
Other papers have considered the identity of annotators in groups, but along different lines than this work. For example, Sap et al. (2019) grouped annotators based on whether they have been primed to think about dialect and race. Authors found that annotators’ different understandings of the same word in the same language could lead to racial biases in machine learning models when detecting hate speech. Our work expands on these previous works by focusing on lived experiences of people instead of asking annotators to imagine those experiences. Furthermore, Waseem (2016) grouped annotators based on domain expertise and found that amateur annotators (recruited without selection criteria) were more likely than experts (feminist and antiracist activists) to mislabel content as racist or sexist. This points to the importance of expertise, as expressed through the lived experiences and identity of the feminist and antiracist activists. Our work builds upon and differentiates in a few ways: we use and contribute an annotated version of the Civil Comments dataset instead of annotating Twitter, and we focus on lived identities of crowd workers and not the expertise of activists, who can be challenging to recruit, making the work difficult to scale. Annotations by specialized raters, however, can be easily scaled up using various platforms that provide the ability to hire panels of raters based on several identity metrics. Perhaps most importantly, Waseem (2016) grouped feminist and antiracist activists together into one group, while we separate the identities into separate groups explicitly, showing nuanced differences between identities and annotations, i.e. that different identities are not the same and can not generically be grouped together.
Further, even when using experts who have deeper knowledge, annotating data appropriately is a challenge. In particular, Davidson et al. (2019) found biases even in the expert-annotated data. Authors found that that a classifier trained on expert-annotated data flagged Black-aligned tweets as sexist at nearly twice the rate of White-aligned tweets. Based on this, they cautioned that experts, like activists, may also hold biases similar to those of academics and crowdworkers, and emphasized the need for further work on exploring expertise and its role in the annotation process. In this work, we do not focus on expertise of trained experts because such experts are not always available and can be expensive to find and recruit. Instead we focus on crowd worker annotators and use their identities and lived experiences as a proxy for expertise.
Yet other works have grouped annotators into pools by forming clusters of annotators who rate similarly (Akhtar et al., 2020; Basile, 2021; Akhtar et al., 2021) or by using community-detection algorithms on a graph of annotators (Wich et al., 2020a). Other have incorporated a diversity of annotators in their rater pools but not explicitly grouped annotators according to identity and drawn conclusions based on identity groups specifically (Zeinert et al., 2021).
Identity effects on annotation have also been studied from the perspective of how gender can impact inter-annotator agreement, toxicity labels, and the resultant classifier performance (Binns et al., 2017). Wulczyn et al. (2017) found that female annotators gave lower toxicity ratings on average than male annotators on the Wikipedia Detox dataset (note that there are different possible reasons for this), and analyzed which lexical features were weighted most heavily by classifiers trained on data labeled only by male or female annotators. More recently, broad comparisons of classifiers trained on data from demographically different annotator groups based on gender, first language, age, and education performed differently as measured by the classifier F1 score (harmonic mean of precision and recall) (Al Kuwatly et al., 2020). They found that these features correlate with significant differences in classifier performance.
Identity has also been recently explored by Larimore et al. (2021). Using a relatively small dataset, the authors found that White and non-White annotators rate tweets differently, especially in the context of certain topics (e.g. police brutality, antiracist politics, or empowering history), suggesting that the standards for evaluating racist language annotations should reflect the interpretations of those who are impacted or are at the receiving end. This lays the foundation for further research with larger data sets that can focus on particular identities and unpack their impact on ratings that power machine learning models that in turn are used to moderate content on the internet.
To summarize, understanding how demographics of annotators can impact annotations has been studied in seven different ways so far in the literature:
Creating rater pools a posteriori by clustering raters based on their ratings and maximizing distances between these clusters instead of on the basis of their identities (Akhtar et al., 2020; Basile, 2021; Wich et al., 2020a).
Creating identity-based pools on pre-existing datasets that looks for differences based on markers like age, gender, ESL, education e.g. on the Wikipedia Detox Dataset (Kocoń et al., 2021).
Creating small, expert-based pools that perform annotations based on certain markers e.g. 3 annotators annotating immigrant/native status (Akhtar et al., 2021; Duzha et al., 2021; Wich et al., 2021).
As non-grouped random raters representing diversity to understand impact on annotations (Zeinert et al., 2021; Mohammad, 2021)
As identity-trained classifier-evaluation where classifiers trained on different pools of raters based on markers like gender, first language, age and education are evaluated as to how they perform in terms of precision and recall (Al Kuwatly et al., 2020).
As effects of comment authors’ demographic differences and not the annotators’ demographics as we study (Huang et al., 2020; Yoder, 2021; Liu et al., 2021; Mosca et al., 2021), or creating new data sets based on political sub-communities of authors (Wich et al., 2020b).
As focusing on model-robustness-evaluation to detect identity markers like race and gender correctly (Wang et al., 2021), multi-lingual hate speech classification (Aluru et al., 2020), and model-fairness-evaluation (Halevy et al., 2021; Gencoglu, 2021).
Our work was motivated by three pieces of recent research and these works are perhaps the closest to ours. Work by Basile et al. (2021) acts as the motivation for our work since it provides theoretical grounding of why data annotations matter for machine learning. Another close work is that by Sap et al. (2019), where annotators are primed to think as if they might belong to specific ethnicities. While there is indeed value in asking annotators to consider putting themselves in the shoes of others, our work builds upon Sap et al. (2019) ’s work by actually recruiting annotators that belong to these communities. Third, Kurrek et al. (2020) presents work where the focus is on detecting slurs in Reddit data by a team of 20 annotators that are a mix of genders, ethnicities, and sexual orientations. The authors created a team of 20 annotators who represented inter-sectional identities across the three identity factors and they annotated slurs together as a team. Our work is a direct next step to this where we provide annotations on a different data set (Civil Comments dataset instead of Reddit), and we focus on toxicity, identity attacks, insults, profanity, and threats instead of slurs, while showing relationships between annotators’ ethnicities and sexual orientations and their annotations. One of the goals of doing such annotations has also been to contribute this annotated dataset to the wider research community, who can use it to build models that can be used for classification and evaluation, or perform deeper qualitative analysis.
This work has the following three primary contributions:
We explore the impact on toxicity, insult, threat, identity attack, and profanity ratings of online conversations as perceived by two groups of annotators (referred to as specialized rater pools): African American and LGBTQ American raters
We are open-sourcing a large corpora of Civil Comments dataset and raters’ annotations of conversations in this corpora across toxicity, insult, threat, identity attack, and profanity. We created and used this dataset to answer the above question and are sharing this dataset to encourage future research
We found that while specialized rater pools do create a statistically significant difference in annotations for online conversations as perceived by the two specialized rater pools, there are nuances to these differences, highlighting pros and cons of using specialized rater pools.
Methods
Based on prior research, it is clear that individual raters will rate content differently. However, it is unclear whether raters will rate toxicity differently in comments written by or about their own identities than a randomly selected pool of raters who do not self-identify with these identities. Since we are focused on two particular communities, African Americans and LGBTQ Americans, we pose the following two Research Questions:
RQ1: Annotations by African American-identified raters on data related to the African American community will be measurably different from data annotated by raters who do not identify as African American
RQ2: Annotations by LGBTQ identified raters on data related to the LGBTQ community will be measurably different from data annotated by raters who do not identify as LGBTQ
2. Specialized and Control Rater Pools
We define specialized rater pools as groups of raters that self-identify as specific identities, instead of a randomly selected group of raters chosen irrespective of their identities. Thus, for the purposes of this paper, we have two specialized rater pools: an African American specialized rater pool and an LGBTQ American specialized rater pool. We chose to focus on these two identities because repeated bias with respect to these groups has been demonstrated in toxicity models previously (Sap et al., 2019; Gomes et al., 2019). So, to investigate our research questions, we ran three crowdrating tasks on a sample set of data with the following U.S.-based rater pools:
A specialized rater pool with raters who identify as African American.
A specialized rater pool with raters who identify as LGBTQ.
A control rater pool with raters who identify as neither African American nor LGBTQ.
One thing to note is the language used to describe the raters in rater pool (1); we are using the community description “African American” instead of “Black” to refer to this group. This is an intentional distinction; these group names, while often used interchangeably, are not identical–African American refers to a specific ethnicity within the Black community (Quander and Froneberger, 2019). Since previous work focused on African American English, we wanted to choose a group description that would be more likely to encompass speakers of that dialect, in order to build upon past work.
For the control rater pool (3), we alternatively considered having a rater pool consisting of raters selected at random irrespective of self-described identities. However, this would have led to interaction effects owing to identity groups present across both the control and specialized rater pools. Instead, the control rater pool consists only of raters who do not self-identify with either of the groups. This ensures that the rater pools remain disjoint. While we recognize that in a normal crowd-rating situation, raters of all identities are included at random, the goal of this paper is to understand if rater identity impacts toxicity annotation, and so we separate raters into distinct groups to test this question.
3. Designing Rater Pools: Crowd Contributor and Identity Considerations
We worked with a third-party company to provide raters that perform annotation jobs. They recruited participants, on our behalf, to participate in this experiment. For the sake of this experiment, they managed constraints for recruiting raters, for which we specified age 18-35, English speaking, U.S. based raters.
Further, the third-party company provided a screener survey to select participants. We provided them with 50 screener questions and explanations for this purpose. These screener questions covered all aspects of toxicity and its subtypes, including identity attack, but we made sure to not include any ambiguous examples related to the experiment’s identity groups in the screener questions to avoid asserting correct answers for these cases. Candidates taking the screener task saw the explanations when they got an item wrong, and were required to maintain an accuracy of 75% or higher to be considered for further participation. The third party company chose participants with the highest accuracy for the task and placed them into rater pools based on their self-described identities.
Raters with intersectional identities were chosen for a single rater pool rather than multiple rater pools so that the experimental groups remained disjoint. We did request that the third-party company keep the percentages of intersectional identities within each rater group within a tolerance of 1.5\color[rgb]{0,0,0}\times the U.S. population averages (e.g. at the time the task was run, the LGBTQ percentage of the U.S. population was 4.5% (Newport, 2018), and the African American population percentage was 13.4% (U.S. Census Bureau, 2019). So we requested the percentage of the LGBTQ rater pool that also identifies as African American should be no higher than 20.1%, and the percentage of the African American rater pool that also identifies as LGBTQ should be no higher than 6.75%, the population rates). This study has been approved by all internal review processes.
4. Ethical Considerations when Working with Rater Identity
There is a growing recognition of the importance of considering the ethical implications of how researchers perform work, especially with crowdworkers. In our context, raters perform the crowdwork of annotating potentially toxic text. We discuss the ethical considerations we applied throughout this work.
Minimize Data Leakage: As our third-party partner professionally manages raters, all of the three rater pools were constructed by them. They interfaced with the raters and had access to rater level information. We only received pseudonymized annotations that we analyzed. This was done to minimize leaking any identity-related information about the raters.
Wage Fairness: We wanted to make sure that raters were paid fairly (Berg, 2015). While the raters are employed by the third-party vendor that we partnered with for the study, the vendor ensured us that raters were paid at least minimum wage for the jurisdiction.
Limit Toxic Content Exposure: Additionally, we restricted the toxicity of the data we asked for annotations, to limit participants’ exposure to toxic content around their own identities. We did this by sampling 30% of comments above a Perspective API toxicity threshold of 0.6, and the rest of the comments below that threshold, so that according to Perspective, they would be exposed to a maximum of 30% toxic comments.
Psychological Safety: Additionally, we considered raters’ psychological safety. We gave raters the option to use a crowdrating platform-provided chatroom to communicate about the task so that they would have support, if needed. While this work involved limited engagement with toxic content, we still wanted to provide extra support.
Upfront Transparency: We committed to transparency as recommended by Kazimzade and Miceli (2020). Since rater identity was being used to place raters into specialized pools, we informed raters about this. We also asked the vendor to communicate to raters that this is a study, so that we had rater consent to use the annotations for research purposes, since raters might otherwise expect the data was only for other common data annotation use cases, such as model building.
5. Dataset
The dataset used for this study is the Civil Comments dataset, which has been used previously for similar research about annotating toxic comments (Borkan et al., 2019). The full Civil Comments dataset consists of approximately 2 million news comments from a now-defunct commenting platform. It has crowdsourced labels for toxicity and toxicity-subtypes, with 22% of comments also labeled for identities. This data is public https://www.kaggle.com/c/jigsaw-unintended-bias-in-toxicity-classification/data and the dataset itself is released under a CC0 license. It contains many references to identities, which is why we chose this dataset for this study.
From this dataset of 2 million news comments, we randomly sampled identity-neutral comments, as well as comments that mention each of the two identity groups in the study (African American and LGBTQ). The identity-neutral comments were sampled by excluding comments with identity labels (as provided by the dataset itself) for these identities. Next, we controlled for the rate of toxicity using Perspective API to mitigate the negative effects of toxicity exposure on raters, as we discussed in the Ethical Considerations section above. We recognize that Perspective API will make some errors here–this will affect our efforts to mitigate toxicity exposure, but will not otherwise affect the final results of the experiment, as raters will see each comment without knowing what the Perspective API score is or how the comment was sampled.
When sampling comments that mentioned each identity, we used a combination of identity labels as provided by the dataset as well as machine learning models that detect identity mentions in the text for the same identity labels used in the Civil Comments dataset. The comments that mentioned the identities were meant to serve as a proxy for both community-specific discussions and comments written about identities. Our sampling strategy means both are included, though it is challenging to distinguish between the two.
Overall, we created a dataset that contained a total of 25,500 comments from the Civil Comments dataset, with 8500 comments sampled to be identity agnostic, and 8500 comments sampled for each identity group (8500 for LGBTQ and 8500 for AA). The complete annotated data (including all individual annotations) reflecting 382,500 annotations is available on Kaggle in CSV and TSV formats as Google Specialized Rater Pools Dataset at https://www.kaggle.com/datasets/google/jigsaw-specialized-rater-pools-dataset Nitesh Goyal, Ian Kivlichan, Rachel Rosen, & Lucy Vasserman. (2022). [Data set]. Kaggle. https://doi.org/10.34740/KAGGLE/DSV/3533200. We hope that by releasing this data, we will enable the broader research community to build models using it to better understand the differences between the way annotators in the different pools annotate. Besides building new models,the community can also use this opportunity to dig deeper and perform content analysis on this datatset, which is beyond the goals of this paper.
We next discuss the Likert scales and annotation template used for the task.
6. Task Design
All three rater pools were presented with the same full set of 25,500 comments, in a pre-sorted randomized order, for which we receive 5 ratings per annotator, a standard practice for similar work as shown by Larimore et al. (2021). Hence, the resulting dataset contained 15 ratings per comment: 5 ratings from annotators from each rater pool in the study. The task as seen by the raters uses the same template that has been used in previous works, for example by Dixon (2018). The task asks raters to rate comment toxicity, as well as other components of Toxicity on a Likert scale as first defined in Dixon (2018) and defined inline below.
Toxicity is defined as “a rude, disrespectful, or unreasonable comment that is likely to make people leave a discussion”. This is measured on a 4-point Likert scale with values between and 1, where = Very toxic, = Toxic, 0 = Unsure, and 1 = Not toxic.
Identity Attack is defined as “negative or hateful comments targeting someone because of their identity”. This is measured on a 3-point Likert scale from to 1.
Insult is defined as “insulting, inflammatory, or negative comment towards a person or a group of people”. This is measured on a 3-point Likert scale from to 1.
Profanity is defined as “swear words, curse words, or other obscene or profane language”. This is measured on a 3-point Likert scale from to 1.
Threat describes “an intention to inflict pain, injury, or violence against an individual or group”. This is measured on a 3-point Likert scale from to 1.
More details on the task itself are included in the Appendix: the full instructions are included in Figure 2, and sample questions in Figure 3.
7. Measures
Toxicity Mean Difference: For each annotated comment, Toxicity Mean Difference is the difference in means of scores between each of the specialized rater pools and the control group, when the annotators rated the comment on a 4-point Likert scale as “a rude, disrespectful, or unreasonable comment that is likely to make people leave a discussion”.
Identity Comments with High Agreement: This is defined as the percentage of the comments that contain identity information and raters between control and specialized rater pools agree highly such that the Toxicity Mean Difference = 0.
Identity Comments with Low Agreement: This is defined as the percentage of the comments that contain identity information and raters between control and specialized rater pools disagree highly such that the Toxicity Mean Difference .
7.2. Regression Analysis
Toxicity Odds Ratio: This is the proportional odds for specialized rater pools to rate annotations as more likely to be toxic
Identity Attack Odds Ratio: This is the proportional odds for specialized rater pools to rate annotations indicating higher likelihood of involving an identity attack
Insult Odds Ratio: This is the proportional odds for specialized rater pools to rate annotations as more likely to be insulting
Profanity Odds Ratio: This is the proportional odds for specialized rater pools to rate annotations as more likely to include profanity
Threat Odds Ratio: This is the proportional odds for specialized rater pools to rate annotations as more likely to be threatening
Results and Analysis
For each label, we consider the histogram (counts) where raters disagree. In Figure 1 we show the probability distribution of the mean differences: mean(specialized rater pool) mean(control rater pool), with negative differences meaning that the specialized pool rated the comment as more likely to be toxic (or another label), and positive differences meaning the specialized pool rated the comment as less likely to be toxic. Notably for all labels, the distributions of the histograms are similar on the negative and positive sides, indicating that there is not a trend towards more or less toxicity (or other labels) among the specialized pools; the disagreements go in both directions.
In Table 1 we also explore the overall amount of disagreement between the rater pools, by showing the percentage of comments where the absolute value of the mean difference is greater than or equal to 1. We find that toxicity has the largest proportion of comments with disagreement (¿12% for both African American and LGBTQ rater pools), whereas the threat and profanity attributes have the least amount of disagreement, with ¡1%.
We also consider how toxicity itself interacts with agreement between the rater pools by looking at the percentage of comments that are toxic (mean score ¡ 0) among high and low disagreement comments. In Table 2 we see these differences for the African American and control rater pools, and in Table 3 we see these differences for the LGBTQ and control rater pools. From this data we can see that according to all the rater pools, high disagreement comments have a higher percentage of toxicity than low disagreement comments, with the control rater pools overall finding more of these comments toxic than the specialized rater pools.
1.2. Comments mentioning identity
In Table 4 we examine the percentage of comments that mention identities for different levels of agreement between each of the African American and LGBTQ specialized rater pools and the control pool. We can see that comments with high disagreement between the specialized rater pools and the control pools tend to mention identities more often (71% of the time) compared to comments with no disagreement (50% and 49% of the time). This supports the hypothesis that specialized rater pools are critical for understanding comments that reference identity groups, since annotators in specialized rater pools are more likely to disagree with control group raters on these comments.
2. Regression Analysis
Since the outcome variables for Regression Analysis are not binary (4-point Likert scale or 3-point Likert scale), we ran an ordinal logistic regression analysis to evaluate RQ1 and RQ2 (Agresti, 2002; Pregibon, 1981). We used the SPSS Advanced Statistics module to created dummy variables for recoding the dependent variables (Toxicity Score, Identity Attack, Insult, Profanity and Threat) and used the PLUM and GENLIN commands to perform the analysis. This test has 4 assumptions and all of them were met: (a) dependent variable (Toxicity Score, Identity Attack, Insult, Profanity and Threat) should be ordinal; (b) one or more independent variables that are continuous or categorical (Rater Pool category: control, LGBTQ, African American); (c) There should be no multicollinearity if there are two or more continuous independent variables (we only have one non-continuous variable: Rater Pool category); (d) There should be proportional odds. Using separate Binomial Logistic Regressions on the dummy variables, we found that variables in the equation had similar \color[rgb]{0,0,0}\exp(B) values across the 3 dummy variable tests for all the measures, where denotes the exponential and is the coefficient estimate. Subsequently, a cumulative odds ordinal logistic regression with proportional odds was run as a final model to determine the effect of rater pool as a independent variable, with comment id and rater id as covariates, on identifying dependent variables Toxicity Score, Identity Attack, Insult, Profanity and Threat. The deviance goodness-of-fit test indicated that the model was a good fit to the observed data but most cells were sparse with zero frequencies.
The final model statistically significantly predicted the dependent variable over and above the intercept-only model, , . The final model didn’t code control as the intercept since the control involved random participants. The odds of the control pool rating comments to be toxic was 0.957 (95% CI, 0.939 to 0.976) times that of LGBTQ rater pool, a statistically significant effect, , . The odds of the control pool rating comments to be toxic was 0.986 (95% CI, 0.968 to 1.004) times that of the African American rater pool, not a statistically significant effect, , . This indicates that the control pool was slightly less likely to rate comments as toxic than the LGBTQ pool, with no statistically significant difference between the control and the African American rater pool.
2.2. Identity Attack Odds Ratio
The final model statistically significantly predicted the dependent variable over and above the intercept-only model, , . The odds of the control pool considering comments to be identity attacks was 0.905 (95% CI, 0.886 to 0.925) times that of the LGBTQ rater pool, a statistically significant effect, , . The odds of the control pool considering comments to be identity attacks was 0.942 (95% CI, 0.923 to 0.962) times that of the African American rater pool, a statistically significant effect, , . Similar to toxicity, this indicates that the control pool was slightly less likely to rate comments as identity attacks than the specialized pools.
2.3. Insult Odds Ratio
The final model statistically significantly predicted the dependent variable over and above the intercept-only model, , . The odds of the control pool considering comments to have to be insults was 0.930 (95% CI, 0.912 to 0.948) times that of the LGBTQ rater pool, a statistically significant effect, , . The odds of the control pool considering comments to be insults was 1.066 (95% CI, 1.046 to 1.086) times that of the African American rater pool, a statistically significant effect, , Here we see that the control pool was again less likely to rate comments as insults than the LGBTQ rater pool, but was more slightly likely to rate comments as insults than the African American pool.
2.4. Profanity Odds Ratio
The final model statistically significantly predicted the dependent variable over and above the intercept-only model, , . The odds of the control pool considering comments to be profanity was 0.957 (95% CI, 0.932 to 0.982) times that of the LGBTQ rater pool, a statistically significant effect, , . The odds of the control pool considering comments to be profaned was 0.954 (95% CI, 0.930 to 0.978) times that of the African American rater pool, a statistically significant effect, , . Again, the control pool is less slightly likely to rate comments as profanity than both specialized pools.
2.5. Threat Odds Ratio
The final model statistically significantly predicted the dependent variable over and above the intercept-only model, , . The odds of the control pool considering comments to be threats was 0.820 (95% CI, 0.784 to 0.858) times that of the LGBTQ rater pool, a statistically significant effect, , . The odds of the control pool considering comments to be threats was 0.714 (95% CI, 0.684 to 0.745) times that of the African American rater pool, a statistically significant effect, , . Again the control pool is less likely to rate comments as threats than both specialized pools.
Despite relatively small differences, ratings by the control pool were statistically significantly less likely to be tagged as identity attacks, profanity, and threats compared to ratings by the African American rater pool
Despite relatively small differences, ratings by the control pool were statistically significantly more likely to be tagged as insults compared to ratings by the African American rater pool
Ratings by the control pool were not statistically significantly less likely to be tagged as toxic compared to ratings by the African American rater pool
Despite relatively small differences, ratings by the control pool were statistically significantly less likely to be tagged as toxic, having identity attacks, including insults, profanity, and threats compared to ratings by the LGBTQ rater pool
The control pool disagrees more with the LGBTQ pool about identity attacks as compared to disagreeing about identity attacks with the African American pool
The control pool rates more comments to be toxic than perceived by both the African American and LGBTQ pools, when there is significant disagreement
3. Preliminary Content Analysis
While there might be variability within every rater pool along such lines as political affiliation, gender, educational level, etc, the statistically significant difference shown in the previous section indicates that there are reasons other than chance for certain differences. While a full qualitative analysis of 25000+ comments is beyond the scope of this paper, we performed content analysis (Weber, 1990) of a sample of these comments to understand why some comments are rated differently between control pools and specialized rater pools.
We created a sample dataset by identifying the top 100 comments with high mean differences () between the control pool and specialized rater pools. One of the authors next categorized these comments at very high-level domain related themes, like political, religious, gender-based etc. Given the source dataset, it is not surprising that many of the comments are political in nature. So, many of the comments that raters disagreed on were political. When multiple themes were discovered in a comment—the comment was assigned to both the domains.
By highlighting the comments that were rated significantly differently between control and specialized rater pools in the sections below, we want to share some examples of what kind of content is disagreed upon significantly. We also share how likely Perspective API based ML models consider these comments to be toxic to draw comparison against a well established ML model being used in industry and for academic research.
We present in Table 5 and Table 6 a few examples of comments where the rater’s African American or LGBTQ identity appears closely tied to the themes presented in the comment. We chose these comments because of their high differences in means between the control and African American/LGBTQ rater groups (they are among the top 100 with the highest differences in means between rater groups). We also consider here the fraction of the rater scores who marked the comment as toxic. The fraction of raters who mark the comment as toxic is the score we use as input for model training, as discussed in the next section. As a point of comparison, we also include Perspective API’s scores for these comments.
FALSE NEGATIVE CASE: First, where the specialized rater pool rated the comment as more toxic than the control rater pool. If we were only considering ratings from the control rater pool for model building, this could result in models having false negatives–where the comment is actually more toxic than what the model score indicates.
FALSE POSITIVE CASE: Second, where the specialized rater pool rated the comment as less toxic than the control rater pool. If we were only considering ratings from the control rater pool for model building, this could result in false positives–where the comment is actually less toxic than what the model score indicates.
In both cases, we see that it would be problematic to consider only ratings from the control group, where voices from the minority communities are not heard.
For most comments, the Perspective scores are closer in distance to the control rater pool scores, indicating that the current models of Perspective API could benefit from the inclusion of specialized rater pools for annotations.
4. Models
We also wanted to consider how models would perform when trained on the data from the study. We want to understand this because while it’s interesting to see differences in the underlying data, the biases observed in prior work were in models, which get trained from the data. Therefore, it is important to test not only the data, but the models themselves.
To test this, we trained three BERT (Devlin et al., 2019) models (pretrained on data from online conversations) on the data from each of the rater pools. In Table 7, we show the area under the receiver operating characteristic curve (AUC) on three different test sets, a synthetic test set (Dixon et al., 2018), the HateCheck dataset from (Röttger et al., 2021), and the Civil Comments test data (Borkan et al., 2019). We compare these models to Perspective API’s current models (Developers, 2020).
Unsurprisingly, the Perspective models usually outperform any of the models trained on data from the experiment, as Perspective has far more training data. However, the LGBTQ data model from the study in this paper is sometimes competitive with this model, indicating that even with less training data, models trained on data from specialized rater pools can have performance benefits on test sets that consider identities.
We also want to consider whether the models trained on the African American and LGBTQ specialized rater pool data perform differently on identity-related comments than the model trained on the control data. To test this, for the Civil Comments test data, we analyzed those comments that are tagged with the “homosexual_gay_or_lesbian” identity label for which the model trained on the LGBTQ data and the model trained on the control data most disagree. We also analyzed those comments that are tagged with the “black” identity label for which the model trained on the African American data and the model trained on the control data most disagree. These represent examples where model score differences are high, and identities are also mentioned. See some examples in Table 8 and Table 9.
We also considered the bias metrics on a synthetic based test set (Dixon et al., 2018). For more details please refer to the Appendix, where these are shown in Figure 4 for the control data model, in Figure 5 for the LGBTQ data model, and in Figure 6 for the African American data model.
While deeper qualitative analysis is beyond the goals of this current work, we noticed that when the model results deviated significantly from each other for some comments, certain patterns emerged. The BPSN metric–background-positive, subgroup-negative–was first defined in (Borkan et al., 2019) and represents the ROC AUC calculated on a set of comments containing toxic comments that don’t contain the identity term in question (background positive), and non-toxic comments containing the identity term (subgroup negative). As seen in Figure 4, the control model performs less well for the identity terms “gay”, “queer”, “homosexual”, and “muslim” based on BPSN scores. As seen in Figure 6, the African American annotated model improves the BPSN bias performance for the term “muslim” but performance drops for the terms “gay” and “queer”. As seen in Figure 5, the LGBTQ annotated model improves the BPSN bias performance for “queer”, “homosexual”, and “muslim”, and slightly for the term “gay”. So, in summary, the specialized rater pool data trained models show improvements in BPSN bias scores for several terms over the control data trained models.
Discussion
A large amount of machine learning research involves the use of crowdworkers, but we as researchers are only now starting to think about how the raters self-identify, and how that might affect the way they annotate toxicity. We discussed earlier the example of African American English; raters who do not identify as African American and are not trained linguists may not have a nuanced understanding of African American English, and that can affect how they rate it for toxicity (Sap et al., 2019).
In this work, we utilize “specialized rater pools”: pools of raters crafted based on a particular dimension. In our case, we focus on one part of their identity, either ethnicity (African American) or sexual orientation/gender-identity (LGBTQ). With specialized rater pools, we challenge the status quo for who gets to decide what is toxic. This adds an additional question: who is it that gets to decide which models for toxicity are state of the art? As it stands now, published datasets such as Civil Comments (Borkan et al., 2019) and HateCheck (Röttger et al., 2021) are the gold standard, and so the annotators for the datasets are in effect the deciders. Yet specialized rater pools were not used for these annotations, so it is a majority vote from an average sampling of the population that determines which models are more effective at detecting toxicity. But what if members of the affected communities were to be able to make these decisions? After all, they are the ones who are impacted the most by toxicity directed towards their identities.
Also, we would like to imagine a world in which the gold standard for toxicity datasets was data annotated by specialized rater pools—a concept recently championed by Basile et al. (2021). Then we would not only be able to measure which models perform best, but also according to whom. This would force researchers and the industry to reckon with the fact that not all identity groups are served equally by existing toxicity classifiers, and would encourage development of models that work well for more communities, as determined by specialized rater pool annotations.
2. When to Use Specialized Rater Pools?
In our Results section, we found that raters from specialized rater pools rated comments statistically significantly differently than those from control pools in multiple measures. In particular, while LGBTQ specialized rater pools rated significantly differently than the control pool in their toxicity score, the African American and control pool showed no significant difference in their toxicity scores. This highlights that there is something about toxicity score and LGBTQ rater pools that is worth further investigation. Is it that the toxicity score itself is not the best metric to test for identity related differences? Perhaps we should be paying closer attention to other metrics like identity attacks where there were statistically significant differences across all the pools. For example, we found that there were higher percentages of identity mentions in comments with high disagreement between the control and specialized rater pools than in comments with low disagreement. More specifically, this means that if specialized and control rater pools disagree on a comment, the comment is more likely to contain an identity reference than if the two rater pools had agreed on the comment. Therefore, we recommend that for comments containing identity references, specialized rater pools should be used to confirm whether or not there is a difference in opinion between groups, which if not addressed could lead to model bias due to the control group’s lack of understanding of in-group language around an identity group, or lack of experience being on the receiving end of toxicity towards an identity group.
Often, datasets focused on toxicity and bias contain many identity references (Waseem, 2016; Borkan et al., 2019; Röttger et al., 2021). Therefore, we hypothesize that the use of specialized rater pools to annotate these datasets would produce differing annotations than what is currently published. Given that these datasets are used to determine what is the state of the art for toxicity modeling, we hypothesize that the “best” models (as determined today) may not continue to be seen as the best if data was relabeled with specialized rater pools. Further, our work provides a new recommendation for other researchers. Researchers should pay attention to determine if their datasets have identity mentions or attacks. If they do, they should consider using specialized rater pools for data annotation.
3. Specialized Rater Pools beyond Ethnicity and Sexual Orientation
In Section 3, we presented a model of how such pools can be created, and what considerations are necessary when crafting such pools and doing research related to the identity of crowdworkers. We have shown that identity can make a significant impact on the way annotators annotate toxicity, identity attacks, insults, threats, and profanity in text. This opens up the design and empirical space for ML engineers and researchers to use our work as an example and consider all the different kinds of specialized rater pools we should be imagining, considering, designing, and testing with. It is equally important to perform this work as participatory research in collaboration with all the different rater pools, which we strived for.
Our goal in this research is to ask researchers and industry professionals to think more critically about who the annotators are for their data and how their identities are impacting the annotations, since this in turn impacts the models they build and models that other researchers build that depend on their data. Using specialized rater pools may enable researchers to build models that work better for more identity groups. While this does not resolve all bias issues (because, for example, members of marginalized communities may still show bias towards their own communities), it still shows a good faith effort towards reducing model bias by directly consulting the experts–the communities themselves.
4. Specialized Rater Pools Dataset and Future Directions
One of the contributions of this work is the creation and publication of the specialized rater pool dataset, as discussed in Section 3.5. This consists of 382,500 annotations of 25,500 comments in the Civil Comments dataset by three carefully curated pools of raters that self-identify as LGBTQ, African American, and neither LGBTQ nor African American. We aim to encourage the research community to dig more deeply into Google Specialized Rater Pools Dataset at https://www.kaggle.com/datasets/google/jigsaw-specialized-rater-pools-dataset Nitesh Goyal, Ian Kivlichan, Rachel Rosen, & Lucy Vasserman. (2022). [Data set]. Kaggle. https://doi.org/10.34740/KAGGLE/DSV/3533200.
and perform subsequent analysis into when and how identity-based specialized rater pools might be integrated into ML development. As a starting point, this could include replicating our results. We additionally hope that the community will use this dataset as an opportunity to expand upon this work by imagining and creating their own specialized rater pools across other identities.
Further, we performed preliminary content analysis in the paper. Our initial findings suggest that the identity attack, threat, and profanity categories are the differentiating reasons for different ratings between the control pool and specialized rater pools. Qualitative researchers can choose to perform deeper linguistic and content analysis to identify the specific markers in language that lead to these differences. Practitioners can use this dataset and approach to compare how their existing datasets will perform when rated by specialized rater pools.
Finally, we expect this dataset to be useful for the machine learning community. In lieu of identity group information, several recent works have constructed simulated groups using methods like graph clustering on the basis of annotators’ responses (Akhtar et al., 2020; Basile, 2021; Wich et al., 2020a). The dataset we are releasing here makes this information accessible, enabling further evaluation and comparison of these methods with the underlying identity groups. Additionally, ML practitioners could further analyze the predictions generated by models trained on different identity pools’ annotations, expanding upon our work in Section 4.4. For example, the data in Sap et al. (2019) could be further evaluated using models trained on data from these three specialized rater pools so as to further understand different sources of potential bias. Overall, we hope that this specialized rater pool dataset will create new opportunities and research directions for academics and practitioners alike.
Limitations
The specialized rater pools in this study were limited to African Americans and LGBTQ Americans, but future research should be expanded to include other groups as well to explore if these findings would hold true for other identity-related rater pools. Similarly, even though the comments should be rated by the group that is targeted, we need more research to understand what happens when different pools disagree. This becomes increasingly important when working with intersectional identities. This work focused on binary identities, and future work should go beyond binary identities.
Future work could also include more community-specific data sources to look at community-specific discussion, instead of discussions about communities, to be more reflective of the relationship between conversations and the identity-related linguistic markers. Future work should also consider deeper qualitative research methods to fully understand how and why the data differs.
Conclusion
The intent of the research was to determine if specialized rater pools, made up of individuals who identify as African American or LGBTQ American, rate comments differently than control rater pools made up of individuals who don’t identify as these identities. We show this to be true in several cases. We also look at the performance on models trained on data from the study and show that even models trained on smaller datasets labeled by specialized rater pools can perform better than models trained on larger datasets labeled by randomly assigned annotators.
References
Appendix A Rater Template
In this appendix, we include the rating template (Figure 2) and examples for the rating instructions (Figure 3) used for this work.
Appendix B Model Bias Metrics
We list bias metrics for the three models we trained on data from the three different specialized rater pools. Figure 4 lists metrics for the control pool model, Figure 5 for the LGBTQ pool model, and Figure 6 for the African-American pool model.