<!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>Eficient Text-based Propaganda Detection via Language Model Cascades</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Lin Tian</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Xiuzhen Zhang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maria Myung-Hee Kim</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jennifer Biggs</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Defence Science and Technology Group</institution>
          ,
          <country country="AU">Australia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>RMIT University</institution>
          ,
          <addr-line>Melbourne</addr-line>
          ,
          <country country="AU">Australia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Identifying propaganda social media posts is an important task. We show how to leverage large language models for DIPROMATS challenge Task 1 - automated detection of English propaganda social media posts. We also demonstrate a more eficient way to utilise large language models, designed to speed up the inference time and maintain competitive performance. Our submission is ranked the first among all 34 runs for the task and achieved a normalised ICM score of 0.8202 and an F1 score of 0.6784.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Text-based Propaganda Detection</kwd>
        <kwd>Automated Propaganda Detection</kwd>
        <kwd>Cascades Model</kwd>
        <kwd>GPT-J</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>
        A limited amount of relevant work on propaganda identification has been conducted in NLP
research field. A highly related topic is information campaign detection. Early studies have
focusd on extracting hand-engineered features from the textual contents of user posts [
        <xref ref-type="bibr" rid="ref2 ref3 ref3 ref4 ref5 ref6">2, 3, 4,
3, 5, 6</xref>
        ]. Signals such as writing style, sentiment as well as emotions have been explored [
        <xref ref-type="bibr" rid="ref2 ref4">2, 4</xref>
        ].
User online activities have also been applied [
        <xref ref-type="bibr" rid="ref3 ref5">3, 5</xref>
        ].
      </p>
      <p>
        Recently, approaches combining user posts and online activities for troll detection have
emerged [
        <xref ref-type="bibr" rid="ref7 ref8">7, 8, 9, 10, 11, 12, 13</xref>
        ]. Addawood et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] identified 49 linguistic markers of deception
and measured their usage by troll accounts. They showed that such deceptive language cues
can help to accurately identify trolls. Im et al. [9] proposed a detection approach that relies
on users’ metadata and activity (e.g. number of shared links, retweets, mentions, etc.), and
linguistic features to identify active trolls on Twitter.
      </p>
      <p>There has been an increasing interest towards propaganda detection tasks in recent years.
GPT-3 [14], released by OpenAI, is a recent language model with a massive number of parameters
(175 billion) trained for text generation. The autoregressive language model achieved strong
performance on several NLP tasks, even with limited or no fine-tuning by applying zero-shot or
few-shot learning. Compared with the usage through the API call, we explored an open-source
version of GPT-J (6 billion parameters) for the propaganda detection task of DIPROMATS 2023.</p>
      <p>We designed the whole framework aiming not only for performance accuracy but also for
robustness and model eficiency. When adopting the large language model as a backbone, we
primarily focused on improving the overall performance and speeding up the inference time.
Thus, we compared confidence-based cascades models and ensemble models for this task.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Dataset</title>
      <p>The given English dataset for the propaganda identification task contains 8,048 posts; this
training dataset includes propaganda labels. Among them, we randomly sampled 805 instances
to use as a development dataset and used the rest as a training dataset.</p>
      <p>Table 1 shows the overall statistics of the training data, which consists of 491 total unique
users (via given usernames) with 8,048 posts. The average number of words per post is 37.03,
and each post has an average of one hyperlink.</p>
      <p>The dataset has an imbalanced distribution over the propaganda and non-propaganda labels,
as shown in Figure 1. Note that for given countries, the imbalanced label distribution holds
across all four countries with "European Union" the most imbalanced one.</p>
      <p>The dataset includes four diferent types of online posts (tweet, quoted, retweet and reply),
but most of them are original tweets as shown in Figure 2.</p>
      <p>As we focused on building a text-based model for this task, our work has not utilised the
given meta-features (e.g., username, number of likes, and retweet counts).</p>
    </sec>
    <sec id="sec-4">
      <title>4. Methodology</title>
      <sec id="sec-4-1">
        <title>4.1. Model Training</title>
        <p>Compared to GPT-3 [14], we adopt the open-source GPT-J as our backbone model for all
the experiments. The GPT-J model is a GPT-2-like causal language model trained on the
Pile dataset [15]. As the Pile dataset is an English based dataset, our model can only handle
English data. The subtask1 of the propaganda identification task can be framed as a binary text
classification task.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Cascade Models</title>
        <p>As shown in Figure 3, two GPT-J based models are included in our cascades. One GPT-J is
ifne-tuned with in-domain propaganda training data, the other troll-boosted GPT-J model is
sequentially fine-tuned on the public twitter troll data first and then fine-tuned with in-domain
propaganda training data.</p>
        <p>The confidence checker is working as the confidence-score based filter to distinguish the hard
samples from easy ones. We use a threshold on the confidence score to determine when to exit
from the cascade. The confidence threshold is one of the hyper-parameters in our settings. The
ifnal confidence threshold is picked depending on the best performance on our development set.</p>
        <p>To highlight the practical benefit of cascades, it saves the computation cost and improves the
inference speed compared to ensemble models. Based on our experiments, the cascades models</p>
        <p>Training Steps
yield the best performance on the development dataset.</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Label Smoothing</title>
        <p>One of the common problems of large language models is their over-confidence on prediction
tasks. Label smoothing prevents the network from becoming over-confident and has been used
in many state-of-the-art models, including image classification, language translation and speech
recognition. Label smoothing is a simple yet efectivye regularisation tool operating on the labels.
c</p>
        <p>The intuition behind label smoothing is not lraetting the model learn that a specific input
results in a specific output only. ccu</p>
        <p>
          Instead of using one-hot encoded vectors ([
          <xref ref-type="bibr" rid="ref1">0,1</xref>
          ] in this case), we introduce noise distribution
A
(|). Our new ground truth label for data (, ) would be
        </p>
        <p>
          =
′ ( | ) = (1 − ) ( | ) +  ( | )
{︃1 −  +  ( | )
 ( | )
if  = 
otherwise
(1)
where  is a weight factor,  ∈ [
          <xref ref-type="bibr" rid="ref1">0, 1</xref>
          ] and note that ∑︀
=1 ′ ( | ) = 1.
        </p>
        <p>By applying this trick, the model becomes less confident with extremely confident labels.
This is exactly what we wanted to avoid. As our cascades models are selected purely based on
the confidence score, it leads to estimate better on easy and hard sample selections.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Experiments</title>
      <sec id="sec-5-1">
        <title>5.1. Settings</title>
        <p>For the GPT-J model, we used the huggingface version [16] for our experiments. To fine-tune
the second GPT-J model further, we used the public Twitter Dataset [17]. This dataset contains
diferent groups of users banned by Twitter since October 2018 for engaging in state-sponsored
information operations.</p>
        <p>Furthermore, inspired by [18], we included one more public dataset to improve the models’
robustness and mitigate the performance variance. To make the data similar to the task input
sequence, we sampled the most recent 20 tweets for each user then we assigned positive labels
for troll-users’ tweets and negative labels for non-troll users’ tweets.</p>
        <p>Models that achieved the best performance on our development dataset are used.
Hyperparameters are shown in Table 2.</p>
      </sec>
      <sec id="sec-5-2">
        <title>5.2. Results</title>
        <p>To evaluate the performance of the models, the oficial results are based on normalised ICM [ 19]
and F1 scores.</p>
        <p>Figure 4 shows the training process of our cascade model. The best performance, 80.90
F1 score, is achieved when our cascades models are fully used as our final model to do the
predictions on the test dataset with positive propaganda class identification on 67.84 and
non-propaganda class on 93.97.</p>
        <p>In addition, we compared with pre-trained language models, GPT-2 [20] and GPT-J, and also
ensembles of GPT-J. The comparison results are included in Table 3. The performance scores
are reported based on our development dataset. As shown in the results, the GPT-J performed
better than the base GPT-2 model. The cascades models yield better results over the ensemble
models.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>In this paper, we propose a text-based propaganda classifier with simple cascades models.
We show the efectiveness of using the large language models as the backbone and simple
confidence-based cascades models for quicker inference. The utilisation of cascades model
further shows the benefits of filtering out the hard samples over the label smoothed confidence
scores and achieving the best performance in the propaganda detection task 1 in English. It
further proves that troll detection and propaganda identification are two closely related tasks.</p>
      <p>In future works, we plan to explore the given user meta-features as well as user reactions
towards the source posts to improve the performance and apply this technique to other
classification tasks such as hate-speech or racism identification on social media.
[9] J. Im, E. Chandrasekharan, J. Sargent, P. Lighthammer, T. Denby, A. Bhargava, L. Hemphill,
D. Jurgens, E. Gilbert, Still out there: Modeling and identifying russian troll accounts on
twitter, in: 12th ACM Conference on Web Science, 2020, pp. 1–10.
[10] H. Shafiei, A. Dadlani, Detection of fickle trolls in large-scale online social networks,</p>
      <p>Journal of big Data 9 (2022) 1–21.
[11] J. Stewart, M. Dawson, How the modification of personality traits leave one vulnerable to
manipulation in social engineering, International Journal of Information Privacy, Security
and Integrity 3 (2018) 187–208.
[12] A. Badawy, K. Lerman, E. Ferrara, Who falls for online political manipulation?, in:</p>
      <p>Companion Proceedings of The 2019 World Wide Web Conference, 2019, pp. 162–168.
[13] R. Dutt, A. Deb, E. Ferrara, “senator, we sell ads”: Analysis of the 2016 russian facebook ads
campaign, in: International conference on intelligent information technologies, Springer,
2018, pp. 151–168.
[14] T. Brown, B. Mann, N. Ryder, M. Subbiah, J. D. Kaplan, P. Dhariwal, A. Neelakantan,
P. Shyam, G. Sastry, A. Askell, et al., Language models are few-shot learners, Advances in
neural information processing systems 33 (2020) 1877–1901.
[15] L. Gao, S. Biderman, S. Black, L. Golding, T. Hoppe, C. Foster, J. Phang, H. He, A. Thite,
N. Nabeshima, et al., The pile: An 800gb dataset of diverse text for language modeling,
arXiv preprint arXiv:2101.00027 (2020).
[16] Eleutherai/gpt-j-6b, https://huggingface.co/EleutherAI/gpt-j-6b, 2023. Accessed:
2023-0430.
[17] Twitter transparency dataset, https://transparency.twitter.com/en/reports/
moderation-research.html, 2023. Accessed: 2023-04-30.
[18] L. Tian, X. Zhang, J. H. Lau, Metatroll: Few-shot detection of state-sponsored trolls
with transformer adapters, in: Proceedings of the ACM Web Conference 2023, 2023, pp.
1743–1753.
[19] E. Amigó, A. Delgado, Evaluating extreme hierarchical multi-label classification, in:
Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics
(Volume 1: Long Papers), 2022, pp. 5809–5819.
[20] A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, I. Sutskever, et al., Language models are
unsupervised multitask learners, OpenAI blog 1 (2019) 9.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Pablo</given-names>
            <surname>Moral</surname>
          </string-name>
          , Guillermo Marco, Julio Gonzalo, Jorge
          <string-name>
            <surname>Carrillo-de-Albornoz</surname>
          </string-name>
          ,
          <article-title>Iván GonzaloVerdugo, Overview of DIPROMATS 2023: automatic detection and characterization of propaganda techniques in messages from diplomats and authorities of world powers</article-title>
          ,
          <source>Procesamiento del Lenguaje Natural</source>
          <volume>71</volume>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>De-La-Peña-Sordo</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Santos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            <surname>Pastor-López</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. G.</given-names>
            <surname>Bringas</surname>
          </string-name>
          ,
          <article-title>Filtering trolling comments through collective classification</article-title>
          ,
          <source>in: International Conference on Network and System Security</source>
          , Springer,
          <year>2013</year>
          , pp.
          <fpage>707</fpage>
          -
          <lpage>713</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>I. O.</given-names>
            <surname>Dlala</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Attiaoui</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Martin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B. B.</given-names>
            <surname>Yaghlane</surname>
          </string-name>
          ,
          <article-title>Trolls identification within an uncertain framework</article-title>
          ,
          <source>in: 2014 IEEE 26th International Conference on Tools with Artificial Intelligence</source>
          , IEEE,
          <year>2014</year>
          , pp.
          <fpage>1011</fpage>
          -
          <lpage>1015</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>C. W.</given-names>
            <surname>Seah</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. L.</given-names>
            <surname>Chieu</surname>
          </string-name>
          ,
          <string-name>
            <surname>K. M. A. Chai</surname>
            ,
            <given-names>L.-N.</given-names>
          </string-name>
          <string-name>
            <surname>Teow</surname>
            ,
            <given-names>L. W.</given-names>
          </string-name>
          <string-name>
            <surname>Yeong</surname>
          </string-name>
          ,
          <article-title>Troll detection by domainadapting sentiment analysis</article-title>
          ,
          <source>in: 2015 18th International Conference on Information Fusion (Fusion)</source>
          , IEEE,
          <year>2015</year>
          , pp.
          <fpage>792</fpage>
          -
          <lpage>799</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J.</given-names>
            <surname>Cheng</surname>
          </string-name>
          , C.
          <article-title>Danescu-Niculescu-</article-title>
          <string-name>
            <surname>Mizil</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Leskovec</surname>
          </string-name>
          ,
          <article-title>Antisocial behavior in online discussion communities</article-title>
          ,
          <source>in: Proceedings of the international aaai conference on web and social media</source>
          , volume
          <volume>9</volume>
          ,
          <year>2015</year>
          , pp.
          <fpage>61</fpage>
          -
          <lpage>70</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>T.</given-names>
            <surname>Mihaylov</surname>
          </string-name>
          , I. Koychev, G. Georgiev,
          <string-name>
            <given-names>P.</given-names>
            <surname>Nakov</surname>
          </string-name>
          ,
          <article-title>Exposing paid opinion manipulation trolls</article-title>
          ,
          <source>in: Proceedings of the International Conference Recent Advances in Natural Language Processing</source>
          ,
          <year>2015</year>
          , pp.
          <fpage>443</fpage>
          -
          <lpage>450</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>A.</given-names>
            <surname>Atanasov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. D. F.</given-names>
            <surname>Morales</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Nakov</surname>
          </string-name>
          ,
          <article-title>Predicting the role of political trolls in social media</article-title>
          ,
          <source>in: Proceedings of the 23rd Conference on Computational Natural Language Learning (CoNLL)</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>1023</fpage>
          -
          <lpage>1034</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Addawood</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Badawy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lerman</surname>
          </string-name>
          , E. Ferrara,
          <article-title>Linguistic cues to deception: Identifying political trolls on social media</article-title>
          ,
          <source>in: Proceedings of the international AAAI conference on web and social media</source>
          , volume
          <volume>13</volume>
          ,
          <year>2019</year>
          , pp.
          <fpage>15</fpage>
          -
          <lpage>25</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>