<!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>
      <journal-title-group>
        <journal-title>ORCID:</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Spreaders on Twitter</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Wenbin Lin</string-name>
          <email>lwblinwenbin630@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zhongyuan Han</string-name>
          <email>hanzhongyuan@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jinxi Zhang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zengyao Li</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Guiyuan Cao</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jianhong Yu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Leilei</string-name>
          <email>kongleilei@fosu.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Foshan University</institution>
          ,
          <addr-line>Foshan</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Irony and Stereotype, BERT</institution>
          ,
          <addr-line>Multi-model voting</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2022</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>The PAN 2022 profiling irony and stereotype spreaders on Twitter(IROSTEREO) challenge focuses on determining whether a person is an irony and stereotype spreader. In this paper, we propose a method based on a BERT model and multi-model voting. The task of "Profiling Irony and Stereotype Spreaders on Twitter (IROSTEREO)" is considered as a binary classification task by our team, and a BERT model is used to determine whether an author is an irony and stereotype propagator. By using this model, we can achieve the task of "Profiling Irony and Stereotype Spreaders on Twitter (IROSTEREO)". In the end, we achieved an accuracy of 0.9333.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Irony is an ironic tone or writing technique in speech or writing, where the true meaning of the words
cannot be understood from the words alone, but in fact, the original meaning is the opposite of the literal
meaning and usually needs to be understood in context and context. In real life, there are often irony
and stereotype purveyors on social software, and their comments are extremely influential on the social
climate, so ifsoftware can accurately determine whether what a person says is sarcastic or not and block
his comments in time, it can ensure that those comments will not influence the social climate. At
PAN’22, reviewers will focus on profiling ironic authors on Twitter[1]. Special emphasis will be given
to those authors that employ irony to spread stereotypes. Our goal will be to classify authors as ironic
or not depending on their number of tweets with ironic content.</p>
      <p>After establishing the goal and after a rigorous discussion among our team, we concluded that the
task of "analyzing satirists and stereotypes on Twitter" is a binary classification task, i.e., the goal of
the task is for us to determine whether the author is a satirist and stereotypist. Therefore, by analyzing
multiple papers, our team felt that using a multi-model voting and BERT model would be a good fit for
this task.</p>
      <p>For this task , we will use the BERT model to train and predict the dataset and then apply a
multimodel voting approach to improve the accuracy of the final results. For this task, our goal is to analyze
which authors belong to the irony and stereotype purveyors and which authors do not belong to the
irony and stereotype purveyors.</p>
      <p>2022 Copyright for this paper by its authors.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Datasets</title>
    </sec>
    <sec id="sec-3">
      <title>3. Method</title>
      <p>After our team's counting, there are 420 authors in the training set this year, and each author has
200 tweets, which are all XML files, so there are 84,000 tweets in total. Also, the folder contains a list
of authors and a “truth.txt” file with basic facts. The first column in the “truth.txt” file corresponds to
the author ID, and the second column contains the truth tag. We divided the training set into a training
set and a test set; the ratio of the training set to the test set is 4:1. Thus, more test data can be obtained.</p>
      <p>We deem the task as a binary classification task. For each author, each paragraph of sentences is fed
into the training model to make predictions, and eventually, an array of predictions with only two
elements will be obtained. We believe that the second element of the array can be used as a basis for
determining whether a given author is an irony and stereotype purveyor. If the second element of the
prediction array has a larger value than the first element, then we can assume that the author is a satirist
and stereotype purveyor. If the second element of the prediction array has a smaller value than the first
element, then we can assume that the author is not a satirist or stereotype purveyor[2].
3.1.</p>
    </sec>
    <sec id="sec-4">
      <title>Processing of training set data</title>
      <p>The official data is not a straightforward collection of sentences, and the XML file given contains
many tags and symbols that are not useful, so we need to do some processing on the official data given.</p>
      <p>During the training set data processing, we removed some useless punctuation and symbols such as
"#user", "#RT" and "#CD". Then for each author, we cut operation for each document, that is, every
512 words into a paragraph, followed by "\t" and "1" and "o", the width of "\t" is equivalent to the
position of 8 spaces, "1" represents the true value of the paragraph is true at this time because the
subsequent model is certain to need a parameter representing the true value, so we first put all sentence
parameters are set to "1", "o" on behalf of the paragraph belongs to the author, if the last paragraph is
less than 512 words, then we add "\t" and "1" and "n" after the paragraph, "n" on behalf of the next
paragraph does not belong to the author. The entire paragraph division is shown in Figure 1.Next, we
put all the authors of the txt file into a txt file inside, and then apply the 5-fold method to all the authors
into 5 parts, for each part of the data are rotated as a test set, and the remaining four parts are used as
the training set, so we have 5 sets of training and test sets, and then because there is a random function
"random.shuffle(xml_list)" in 5-fold, for each author, it will disrupt the order of all the sentences in it,
and then repeat the above operation, i.e., for each part of the data is rotated as the test set, and the
remaining four parts are used as the training set, so that we have another 5 sets of training and test sets,
after this data processing we have a total of 10 sets of training and test sets.</p>
    </sec>
    <sec id="sec-5">
      <title>Processing of BERT model and multi-model voting</title>
      <p>We trained the above 10 datasets using the popular BERT model. At the end of each epoch of
training, the model obtained at that point is predicted for the corresponding test set, and when the
prediction results are the best so far, the model is saved. A prediction method is by predicting each
segment individually and getting the respective corresponding conformity, and finally calculating their
arithmetic mean, when the value is greater than 0.5, then the authors are considered then we consider
the authors to be sarcastic and stereotypical authors, and label these authors with the corresponding
prediction labels, and get an array of labels about these author categories. A "1" label indicates that the
author is an author of that category, and a "0" label indicates that the author is not an author of that
category. After the 10 models are trained in multiple rounds by the above method, the authors are
predicted by the same prediction method, and the results are voted by adding the 10 labels directly and
setting a threshold value, when the number of votes for an author is greater than this threshold value,
we consider the author as an irony and stereotypical author, otherwise, the author is not.</p>
      <p>The structure of the whole model is shown in the Figure 2 below.</p>
    </sec>
    <sec id="sec-6">
      <title>4. Results</title>
      <p>The predictions of the 10 models were counted and further differentiated by voting, with 1 vote
when the model predicts a satirical author for one of the authors, and no vote otherwise. Then a number
of votes is set as a boundary, and only when the number of votes is more than this value can this author
be considered a satirical author, and this is taken as the final prediction result. The results of the
experiment are shown in the table below.</p>
      <p>Table 1
Accuracy under different parameters</p>
      <p>After the best model was selected, this model was next used to evaluate the validation set, and the
results are shown in the table below.</p>
      <p>These are the results of our team's work on this year's "Profiling Irony and Stereotype Spreaders on
Twitter (IROSTEREO)" task. Finally, the top three teams had scores of 0.9944, 0.9778 and 0.9722
respectively. Our team achieved an accuracy of 0.9333 and was ranked 32nd.</p>
    </sec>
    <sec id="sec-7">
      <title>5. Conclusion</title>
      <p>In this paper, we propose an approach based on a BERT model and multi-model voting. The task
of "Profiling Irony and Stereotype Spreaders on Twitter (IROSTEREO)" is considered as a binary
classification task by our team, and is analyzed using a BERT model and a multi-model voting approach
for correlation. Using this approach, the task of "Profiling Irony and Stereotype Spreaders on Twitter
(IROSTEREO)" can be implemented. In the end, we achieved a score of 0.9333 in this method.</p>
    </sec>
    <sec id="sec-8">
      <title>6. Acknowledgements</title>
    </sec>
    <sec id="sec-9">
      <title>7. References</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <article-title>This work is supported by the Natural Science Foundation of Guangdong Province, China (No</article-title>
          .
          <year>2022A1515011544</year>
          ). [1]
          <string-name>
            <surname>Ortega-Bueno</surname>
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chulvi</surname>
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rangel</surname>
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            <given-names>P.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Fersini</surname>
            <given-names>E. Profiling</given-names>
          </string-name>
          <string-name>
            <surname>Irony</surname>
          </string-name>
          and Stereotype
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <article-title>Spreaders on Twitter (IROSTEREO) at PAN 2022</article-title>
          .
          <article-title>In: CLEF 2022 Labs and Workshops,</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <given-names>Notebook</given-names>
            <surname>Papers</surname>
          </string-name>
          , CEUR-WS.
          <year>org</year>
          . [2]
          <string-name>
            <given-names>Zhijie</given-names>
            <surname>Zhang</surname>
          </string-name>
          , Zhongyuan Han, Leilei Kong, Xiaogang Miao, Zeyang Peng, Jieming Zeng,
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <given-names>Writing</given-names>
            <surname>Style</surname>
          </string-name>
          <article-title>Similarity-Notebook for PAN at CLEF 2021</article-title>
          . In CLEF 2021 Labs and
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Workshops</surname>
          </string-name>
          , Notebook Papers,
          <year>September 2021</year>
          .
          <article-title>CEUR-WS.org</article-title>
          . [3]
          <string-name>
            <surname>Devlin</surname>
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chang</surname>
            <given-names>M.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            <given-names>K.</given-names>
          </string-name>
          , et al.
          <article-title>Bert: Pre-training of deep bidirectional transformers for</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>language understanding</surname>
          </string-name>
          [C]//Proceedings of the 2019 Conference of the North American
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>