<!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>Conspiracy Theory Text Classification Based on CT-BERT and BETO Models</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jiahong Huang</string-name>
          <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="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ruihao Zhu</string-name>
          <email>brotherblaozhu281@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mingcan Guo</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kaiyin Sun</string-name>
          <email>sunkaiyin123@163.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Foshan Huaying School</institution>
          ,
          <addr-line>Foshan</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Foshan University</institution>
          ,
          <addr-line>Foshan</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2024</year>
      </pub-date>
      <abstract>
        <p>Conspiracy theories serve as significant conduits for disseminating false information, leading to the misguidance of the public and impacting the ability to make informed decisions. Identifying such theories poses numerous challenges. For this, PAN 2024 has introduced two tasks: the binary classification task that distinguishes between conspiratorial and critical texts, and the task of detecting elements of oppositional narratives. In this paper, Covid-Twitter-BERT and BETO are fine-tuned to address these challenges. The assessment results indicate that the model achieved MCC scores of 0.8198 and 0.6192 on the English and Spanish test sets for subtask 1, respectively. For subtask 2, span-F1 scores of 0.5886 and 0.4994 were attained on the English and Spanish test sets, respectively.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;PAN 2024</kwd>
        <kwd>Conspiracy Theories</kwd>
        <kwd>Binary Classification</kwd>
        <kwd>Covid-Twitter-BERT</kwd>
        <kwd>BETO</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>2. Method</title>
      <p>The contest encompasses two distinct subtasks. Subtask 1 is a binary text classification task, which
requires determining whether the text falls into the category of "critical" or "conspiracy." Subtask 2 is
a token-level classification task, which involves identifying the goals, efects, agents, and
groups-inconflict within the text. Both tasks include texts in both English and Spanish.</p>
      <p>
        Numerous studies have demonstrated the outstanding performance of Transformer-based models [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]
in classification tasks. In this competition, the tasks were primarily accomplished by fine-tuning BERT
[
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] models and constructing classifiers. To better adapt to the application scenarios of each task, diferent
BERT models were fine-tuned, and classifiers were constructed accordingly. Two models were primarily
utilized: CT-BERT and BETO. CT-BERT, a Transformer-based natural language processing (NLP) model,
has been pre-trained on a large corpus of Twitter messages related to COVID-19, showcasing strong
comprehension and analytical capabilities for COVID-19 information on social media. BETO, on the
other hand, is a BERT model trained on a large Spanish corpus, enabling it to more accurately understand
word meanings, syntactic structures, and semantic relationships when processing Spanish texts.
      </p>
      <p>Data processing was initially conducted for model fine-tuning. The datasets for this task are presented
in two languages, English and Spanish. Each dataset consists of 4000 texts with their annotations. Each
text is associated with a dictionary containing the ID, tokenized text, the binary category, and the span
annotations. 1Span annotations comprise a list of dictionaries, with each dictionary corresponding to an
annotated span, which includes the span’s category and text, identified by the start and end characters.
The data for each language was partitioned into a training set and a validation set in a 9:1 ratio.</p>
      <sec id="sec-2-1">
        <title>2.1. The method for subtask 1</title>
        <p>For subtask 1, the BERT model is fine-tuned using the AutoModelForSequenceClassification as the model
architecture to construct a binary classifier. This architecture is designed for sequence classification
tasks, capturing the sequential characteristics of text data, thereby enhancing the model’s generalization
capability. The fully connected layer of the model outputs the probability distribution of the target
categories, which is then transformed into the probabilities of each class using the softmax activation
function. During fine-tuning, the Adam optimizer and the cross-entropy loss function are employed,
with the number of epochs set to 100. The model that performs best on the validation set, according to
the evaluation results of each epoch, is selected and saved.</p>
        <p>The CT-BERT and BETO models were fine-tuned, with CT-BERT being applied to English texts
and BETO to Spanish texts, followed by an evaluation of their performance on the validation set.
During the experimentation, it was observed that CT-BERT, once trained on a Spanish dataset, also
demonstrated efective processing capabilities on the English dataset. This led to the hypothesis that
CT-BERT possesses multilingual learning capabilities. Consequently, an attempt was made to merge
the English and Spanish training datasets into a single multilingual dataset for training CT-BERT. It
was found that, for Task 1-Spanish, the CT-BERT model trained with the multilingual dataset showed
specific improvements over the model trained with a single language dataset, with an approximate
increase of 0.012 in MCC on the validation set.</p>
        <p>Furthermore, the model’s performance in Spanish was relatively poor. A multi-model voting approach
was also attempted to enhance the model’s accuracy in Spanish texts. The models used for voting
include:
• BETO
• CT-BERT trained with a Spanish dataset
• CT-BERT trained with a merged bilingual dataset
1https://pan.webis.de/clef24/pan24-web/oppositional-thinking-analysis.html#data</p>
        <p>It was discovered that post-voting, the model’s predictive accuracy on Spanish texts significantly
increased.</p>
        <p>Table 1 shows the results of various models on validation set.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. The method for subtask 2</title>
        <p>
          For subtask 2, based on the Baseline [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] approach, the BERT models are fine-tuned using the Adam
optimizer and the cross-entropy loss function, with the number of epochs set to 15. The Baseline for
subtask 2 achieves token-level classification through a BERT-based multi-task token classifier (separate
classification heads, common transformer backbone). The CT-BERT and BETO models are fine-tuned
individually, with the CT-BERT model being applied to English texts and the BETO model to Spanish
texts.
        </p>
        <p>Table 3 shows the results of various models on validation set.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Results</title>
      <sec id="sec-3-1">
        <title>3.1. The result of subtask 1</title>
        <p>
          For subtask 1, on task1-English, results were submitted utilizing the CT-BERT model trained with the
English dataset. On task1-Spanish, two submissions were made: one from the CT-BERT model trained
with the Spanish dataset and another employing a multi-model voting approach. The oficial evaluation
metric for subtask 1 is the MCC [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], Table 2 shows the results of various models for subtask 1.
        </p>
        <p>On task1-English, the model’s performance surpassed the baseline, ranking fifth among all participants
and outperforming the majority of competing methods. This suggests that the CT-BERT model is able
to obtain higher-quality text encoding in this task, demonstrating its superior performance. On
task1Spanish, the multi-model voting method showed an improvement over the single CT-BERT model
prediction method, with an approximate increase of 0.03 in the MCC score. This suggests that the
multi-model voting approach can enhance model performance to a certain degree. Additionally, a
significant discrepancy was observed between the model’s performance on the test set and the validation
set. This suggests that our model is sufering from overfitting, which may be due to the validation set
being too small or the selected samples not being representative enough. To resolve this issue, we can
ifne-tune the hyperparameters and retrain the model. Moreover, employing k-fold cross-validation
can provide a more thorough assessment of the model’s performance, thereby reducing the risk of
overfitting.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. The result of subtask 2</title>
        <p>
          For subtask 2, on task2-English, predictions were made using the CT-BERT model, while on
task2Spanish, the BETO model was utilized. The oficial evaluation metric for subtask 2 is span-F1 [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ], and
Table 4 shows the results of various models for subtask 2.
        </p>
        <p>On task2-English, the model demonstrated superior performance, achieving an approximate increase
of 0.06 in span-F1 score compared to the baseline, securing the third place among all participants and
surpassing the majority of the competing methods. On task2-Spanish, the model also exceeded the
baseline, meeting the expected outcomes. These results indicate that the CT-BERT and BETO models
are suitable for this token-level classification task and exhibit commendable performance.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion</title>
      <p>In the present study, the text classification was realized by fine-tuning the BERT model, accomplishing
all subtasks of the Oppositional Thinking Analysis 2024 task. This included distinguishing between texts
of critical and conspiratorial nature and detecting elements within oppositional narratives. The results
surpassed the baseline performance in the majority of the evaluated metrics. The top-performing model
achieved an MCC score of 0.8198 on the task1-English test dataset and a span-F1 score of 0.5886 on
task2-English, outperforming the majority of competing models. This suggests that the CT-BERT model
is able to obtain higher-quality text encoding in this task, demonstrating its superior performance.</p>
      <p>For future work, other outstanding models tailored to the task scenario can be explored, with the aim
of leveraging ensemble learning to develop a robust learner and thereby enhance model performance.
In addition, Analyzing the correlation between narrative elements and text categories statistically can
reveal potential patterns and trends in text classification, providing additional features and information
for the model, which may further improve the accuracy of classification.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>This work is supported by the Social Science Foundation of Guangdong Province, China (No.GD24CZY02)</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>K. M. Douglas</surname>
            ,
            <given-names>R. M.</given-names>
          </string-name>
          <string-name>
            <surname>Sutton</surname>
          </string-name>
          ,
          <article-title>What are conspiracy theories? a definitional approach to their correlates, consequences, and communication</article-title>
          ,
          <source>Annual Review of Psychology</source>
          <volume>74</volume>
          (
          <year>2023</year>
          )
          <fpage>271</fpage>
          -
          <lpage>298</lpage>
          . URL: https://www.annualreviews.org/content/journals/10.1146/annurev-psych-
          <volume>032420</volume>
          -
          <fpage>031329</fpage>
          . doi:https://doi.org/10.1146/annurev-psych-
          <volume>032420</volume>
          -031329.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Ayele</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Babakov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Bevendorf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X. B.</given-names>
            <surname>Casals</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Chulvi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Dementieva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Elnagar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Freitag</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Fröbe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Korenčić</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mayerl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Moskovskiy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Mukherjee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Panchenko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Potthast</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Rangel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Rizwan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Rosso</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Schneider</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Smirnova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Stamatatos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Stakovskii</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Stein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Taulé</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Ustalov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Wiegmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. M.</given-names>
            <surname>Yimam</surname>
          </string-name>
          , E. Zangerle,
          <article-title>Overview of PAN 2024: Multi-Author Writing Style Analysis, Multilingual Text Detoxification, Oppositional Thinking Analysis, and Generative AI Authorship Verification</article-title>
          , in: L.
          <string-name>
            <surname>Goeuriot</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Mulhem</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          <string-name>
            <surname>Quénot</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Schwab</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Soulier</surname>
          </string-name>
          ,
          <string-name>
            <surname>G. M. D. Nunzio</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Galuščáková</surname>
          </string-name>
          ,
          <string-name>
            <surname>A. G. S. de Herrera</surname>
          </string-name>
          , G. Faggioli, N. Ferro (Eds.),
          <source>Experimental IR Meets Multilinguality, Multimodality, and Interaction. Proceedings of the Fifteenth International Conference of the CLEF Association (CLEF</source>
          <year>2024</year>
          ), Lecture Notes in Computer Science, Springer, Berlin Heidelberg New York,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>D.</given-names>
            <surname>Korenčić</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Chulvi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X. B.</given-names>
            <surname>Casals</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Taulé</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Rosso</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Rangel</surname>
          </string-name>
          ,
          <source>Overview of the Oppositional Thinking Analysis PAN Task at CLEF</source>
          <year>2024</year>
          , in: G. Faggioli,
          <string-name>
            <given-names>N.</given-names>
            <surname>Ferro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Galuščáková</surname>
          </string-name>
          , A. G. S. de Herrera (Eds.),
          <source>Working Notes of CLEF 2024 - Conference and Labs of the Evaluation Forum</source>
          ,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Müller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Salathé</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. E.</given-names>
            <surname>Kummervold</surname>
          </string-name>
          ,
          <article-title>Covid-twitter-bert: A natural language processing model to analyse covid-19 content on twitter</article-title>
          ,
          <year>2020</year>
          . arXiv:
          <year>2005</year>
          .07503.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J.</given-names>
            <surname>Cañete</surname>
          </string-name>
          , G. Chaperon,
          <string-name>
            <given-names>R.</given-names>
            <surname>Fuentes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-H.</given-names>
            <surname>Ho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Kang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Pérez</surname>
          </string-name>
          ,
          <article-title>Spanish pre-trained bert model and evaluation data</article-title>
          ,
          <year>2023</year>
          . arXiv:
          <volume>2308</volume>
          .
          <fpage>02976</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>A.</given-names>
            <surname>Vaswani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Shazeer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Parmar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Uszkoreit</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Jones</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. N.</given-names>
            <surname>Gomez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Kaiser</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Polosukhin</surname>
          </string-name>
          , Attention is all you need,
          <year>2023</year>
          . arXiv:
          <volume>1706</volume>
          .
          <fpage>03762</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J.</given-names>
            <surname>Devlin</surname>
          </string-name>
          , M.-
          <string-name>
            <given-names>W.</given-names>
            <surname>Chang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Toutanova</surname>
          </string-name>
          , Bert:
          <article-title>Pre-training of deep bidirectional transformers for language understanding</article-title>
          ,
          <year>2019</year>
          . arXiv:
          <year>1810</year>
          .04805.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S.</given-names>
            <surname>Ruder</surname>
          </string-name>
          ,
          <article-title>An overview of multi-task learning in deep neural networks</article-title>
          ,
          <year>2017</year>
          . arXiv:
          <volume>1706</volume>
          .
          <fpage>05098</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>D.</given-names>
            <surname>Chicco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Tötsch</surname>
          </string-name>
          ,
          <string-name>
            <surname>G. Jurman,</surname>
          </string-name>
          <article-title>The matthews correlation coeficient (mcc) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation</article-title>
          ,
          <source>BioData Mining</source>
          <volume>14</volume>
          (
          <year>2021</year>
          ). URL: https://api.semanticscholar.org/CorpusID:231816620.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>G.</given-names>
            <surname>Da San Martino</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Barrón-Cedeño</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Petrov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Nakov</surname>
          </string-name>
          ,
          <article-title>Fine-grained analysis of propaganda in news article</article-title>
          , in: K. Inui,
          <string-name>
            <given-names>J.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Ng</surname>
          </string-name>
          ,
          <string-name>
            <surname>X.</surname>
          </string-name>
          Wan (Eds.),
          <source>Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)</source>
          ,
          <article-title>Association for Computational Linguistics</article-title>
          , Hong Kong, China,
          <year>2019</year>
          , pp.
          <fpage>5636</fpage>
          -
          <lpage>5646</lpage>
          . URL: https://aclanthology.org/D19-1565. doi:
          <volume>10</volume>
          .18653/v1/
          <fpage>D19</fpage>
          -1565.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>