<!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>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>An Exploration of LLM-Guided Detection of Discursive Patterns in Dutch Social Media</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Swarupa Hardikar</string-name>
          <email>swarupa.hardikar@han.nl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maya Sappelli</string-name>
          <email>maya.sappelli@han.nl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Annette Klarenbeek</string-name>
          <email>annette.klarenbeek@hu.nl</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>HAN University of Applied Sciences</institution>
          ,
          <addr-line>Ruitenberglaan 26, 6826 CC Arnhem</addr-line>
          ,
          <country country="NL">The Netherlands</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Hogeschool Utrecht</institution>
          ,
          <addr-line>Utrecht</addr-line>
          ,
          <country country="NL">The Netherlands</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Radboud University</institution>
          ,
          <addr-line>Toernooiveld 212, 6525 EC, Nijmegen</addr-line>
          ,
          <country country="NL">The Netherlands</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper presents a generative large language model (LLM)- guided approach to detect discursive patterns in Dutch social media. Newsrooms of municipalities and public organizations follow public debate on social media to be aware of and prepare for local and global issues and rumours. The onset of these issues and rumours are now detected by communication specialists in newsrooms. Using discourse analysis, we can ground their findings in theory. Devices from discursive psychology such as emotional evaluations are the lowest level components that can help spot and understand issues[1]. Thus, a rule-based NLP approach was developed to highlight these devices in a learning environment1. As a next step, we compare the rule-based approach to a large language modeling approach in order to assess the risks and benefits of both methods. We analyze the detection of two discursive patterns in Dutch tweets: magnifying (exaggerated) language use and assigning negative labels to persons or organizations. We compare the generated responses from two Dutch conversational LLMs finetuned on the Dutch language - Geitje-7B-Ultra and Fietje-2-Chat - and a rule-based NLP baseline using a two-fold evaluation process. The results show mixed performance, with the highest performing LLM setups yielding an accuracy of 64% for the maximizing language category and 73% for the negative labels to organizations/persons category. In comparison, the rule-based algorithm achieves an accuracy of 68% for both categories. Although the LLMs perform well in precision, they frequently find patterns in examples where no discursive markers were annotated. Moreover, the rationale analysis shows relatively poor results, pertaining to multiple factors including model size and interpretation of instructions. The results indicate that although there is merit in conducting discursive analysis using generative language models, it comes with the above risks. Recommendations for future work include combining the usage of language models with the rule-based setup for more robust detection as well as further indication of guidelines to improve upon the reasoning process.</p>
      </abstract>
      <kwd-group>
        <kwd>Discursive pattern detection</kwd>
        <kwd>Large Language Models</kwd>
        <kwd>social media analysis</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Social media is an important source of information for newsrooms, not only for news production and
dissemination, but also for managing the efects of potential rumors and issues locally. Therefore,
newsrooms of municipalities and public organizations follow public debate to be aware of and prepare
for local and global issues and rumors. The onset of these issues and rumors are now detected by
communication specialists in newsrooms. They can be supported by making sense of what role each
message plays in the entire conversation using discourse analysis. This can help spot changes in the
discourse, such as changes in topic, relevance or efects of the online discussion in the ofline world.</p>
      <p>
        Devices from discursive psychology such as emotional evaluations are the lowest level components
that can help spot and understand issues [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The identification of these components can be facilitated
through the training of communication specialists. In [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], a rule-based NLP approach was developed
which highlights a subset of psychological devices in Dutch social media messages. They have developed
      </p>
      <p>CEUR</p>
      <p>ceur-ws.org
the approach with the purpose of making a learning environment1 and the learning experience more
interactive.</p>
      <p>Some aspects of detecting psychological devices are particularly challenging because of required
knowledge of changing contexts that are dificult to capture in a rule-based approach. Generative
large language models (LLMs) have recently gained prominence in their use for various NLP tasks,
especially because of their reasoning capabilities in application to specific use cases and show promise
with analyzing changing contexts. On the other hand, their generative nature means that they are not
suited for all analysis tasks.</p>
      <p>In this explorative experiment, we aim to compare the use of LLMs for detecting psychological
devices to the use of the rule-based NLP algorithm. Moreover, we explore the reasoning capabilities
of small open source LLMs, especially in regards to Dutch text. Finally, we also look at the efect of
prompt engineering techniques towards the reasoning process in such a task.</p>
      <p>To this efect, we can construct the primary research question: How do open source small Dutch
LLMs compare against rule-based systems in detecting discursive patterns in Dutch social media?
The research question is supplemented by the following sub-questions:
1. How well can small LLMs reason when given psychologically rich input?
2. Can innate bias hamper the decision-making processes of LLMs?
3. How do prompt engineering techniques influence small LLM reasoning?</p>
    </sec>
    <sec id="sec-2">
      <title>2. Relevant Literature</title>
      <p>There is ample research on analyzing social media messages from various perspectives. These analyses
and methods can be used to tag and enrich messages in order to improve the sense-making of these
messages down the line. In this paper, we focus on elements that are related to the onset or development
of rumors and societal issues.</p>
      <p>
        One such aspect is the the organization of an event such as a demonstration. Although event detection
has been researched extensively [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4, 5</xref>
        ], they are primarily focused on big or planned events rather
than spontaneous emergence of demonstrations.
      </p>
      <p>Another relevant aspect is the detection of whether a tweet is a rumor or not, which helps to
understand the truth value of a message. In this regard, Zhao et al. [6] use regular expressions to
detect tweets containing rumors based on linguistic expressions such as ”is this true?”, ”really?”. In
contrast, Ma et al. [7] use a recurrent neural network approach on groups of tweets using aggregated
information across diferent time intervals to detect rumors. Finally, Tian et al. [ 8] focus on the early
detection of rumors, using stance learning as a measure for user attitude in comments in combination
content analysis. Their CNN (convolutional neural network) and BERT neural networks outperform
RNN (recurrent neural network) models and simpler models such as SVM (support vector machines).</p>
      <p>More recently, LLMs have been used in social media analysis as well: [9] use LLMs to identify issues
raised by citizens based on training data obtained from both human annotators and data augmentation
using GPT (generative pre-trained transformer). The focus of the issues is on the topical identification
of challenges faced by cyclists. The GPT is presented with a prompt to classify the tweet which includes
the categories to choose from. Prompts with more examples outperformed the zero shot setting.</p>
      <p>
        While the above methods are focused at messages as a whole, we are interested in communication
strategies used within a messages - these can reveal specific intentions of authors, which can support
sense-making from an intent-centric perspective. Many strategies can be derived from the discursive
framework, but certain strategies such as assigning a negative label to a person or organization,
emotional evaluation, factual language use or intensifying language, as used in the rule-based algorithm
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], have not been investigated in NLP research before. However, there are many aspects in social
media that have been researched that may be related.
      </p>
      <p>An interesting aspect is cyber-bullying, which could be related to the strategy of ’assigning a negative
label to a person or organization’. Sainju et al. [10] take a keyword-based approach to detect bullying
messages, achieving a performance of 70% accuracy.</p>
      <p>Gopalakrishna et al. [11] provide a method for the detection of stress and relaxation magnitude in
social media messages, which may be relevant for emotional evaluations. Another approach related to
emotional evaluations comes from [12]. They fine-tune an LLM-based sentiment analyzer on US-based
tweets on public support for nuclear power. Their classifier was less likely to overfit compared to other
machine learning approaches. Moreover, they used an LLM to segment tweets into topics and found a
relation between topic and sentiment, where some topics conveyed a negative sentiment more often.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Data and Methodology</title>
      <p>
        3.1. Data
In [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], annotated data was collected in collaboration with 3 linguistic and communication specialists.
They annotated a total of 917 posts from 5 cases using a discursive psychological framework [13].
      </p>
      <p>In this experiment, we focus on a primary use case consisting of 98 annotated tweets (542 total)
published on the social media platform X concerning the planned cutting of trees in an area of the
Netherlands that caused some outrage on X in 2021.</p>
      <p>In total, 24 diferent strategies were annotated. Of these, we only consider the following devices:
maximizing/exaggerating language use (”uitvergrotend taalgebruik”) (UT) and negative label(s) to an
organization or individual (”negatief label aan organisatie of persoon”) (NLO). These two devices are
among the more straightforward and well-defined ones. Moreover, they occur relatively frequently and
require a range of aspects to consider such as sentiment and syntactical and orthographic features. In
this use case, the NLO category occurs in 13.4% of the annotated messages and UT in 7.2%.</p>
      <sec id="sec-3-1">
        <title>3.1.1. Example Selection</title>
        <p>Due to compute constraints, the class imbalance in gold labels as well as the qualitative requirement
of manually evaluating LLM reasoning per instance, we compiled a small data set of 22 instances per
discursive pattern task. These were designed as follows:
• 6 true examples containing the discursive pattern in question.
• 5 false examples manufactured from the above five, with all discursive markers removed.
• 11 false examples not containing the respective discursive pattern. These examples are the same
for both categories.</p>
        <p>Example Tweets
• Maximizing (Exaggerating) Language Usage/UT: ”Nederland gaat vlot in de vernieling met
grootste catastrofe is de gigantische immigratie. Weet u wat gezinshereniging betekent voor uw
belastinggeld. En gehele familieleden clans die hier kunnen komen.” [14]
• Negative Label(s) to Organizations/NLO: ”Opnieuw zijn Romeo’s ingezet, ze veroorzaken
opstootjes zodat de politie reden heeft om te arresteren” [ 14]</p>
        <sec id="sec-3-1-1">
          <title>3.2. Methodology</title>
        </sec>
      </sec>
      <sec id="sec-3-2">
        <title>3.2.1. Language Models</title>
        <p>To conduct the experiment for each discursive pattern, we use two open-source Dutch conversational
LLMs: Fietje-2-chat 2 (2 billion parameters) and GEITje-7b-ultra 3 (7 billion parameters)
2https://huggingface.co/BramVanroy/fietje-2-chat
3https://huggingface.co/BramVanroy/GEITje-7B-ultra</p>
        <p>Further, for each model, we test 3 prompt setups in total: a 0-shot prompt, a 1-shot prompt and
a 1-shot prompt containing clear instructions derived from the annotation guidelines. Each prompt
expects a JSON object containing the answer as well as a rationale behind the answer. As the models
are finetuned for the Dutch language, the prompts are also fully in Dutch 4.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.2.2. Rule-based NLP Algorithm</title>
        <p>In the context of a learning environment, it was deemed important to have a transparent algorithm for
detecting the devices. Therefore, a rule-based algorithm was developed together with the annotators
to capture the strategies they use for annotation. The algorithms contain semantic, syntactical,
orthographic and sentiment features that are determined using existing and well-known python libraries
and models, paticularly SpaCy [15] for syntactic analysis and entity recognition and Pattern.nl [16] for
sentiment detection.</p>
        <p>The maximizing language (UT) algorithm consists of the following aspects:
• use of any term in a word list curated by the communication specialists. This list contains 399
terms consisting of one or more words that usually have a semantic interpretation of being
maximizing, such as the word ”geweld” (violence)
• use of superlatives (”grootste catastrofe”)
• use of adverbial modifiers (”dit is heel erg”)
• use of more than 2 exclamation marks
• use of shouting (e.g. ”WAT EEN ONZIN ”)
• use of elongations (e.g. ”nooooooit” )</p>
        <p>The assigning a negative label to a person or organization (NLO) is a simple algorithm consisting
of the following aspects:
• polarity score &lt; 0 for sentence ( pattern.nl 3.6 ) that contains an entity ( spaCy 3.7.5 nl_core_news_lg
model ) OR
• polarity score &lt; 0 for a QUOTE and any entity in the message.</p>
      </sec>
      <sec id="sec-3-4">
        <title>3.2.3. Evaluation</title>
        <p>While LLMs are being increasingly used for classification tasks, their black-box properties often limit
the user from understanding how the LLM generates the answer. For the current psychologically rich
task, this requirement is extremely relevant. Thus, to analyze the reasoning process of the LLM in
generating a classification label for this task, we implement a 2-step evaluation procedure for the setups
defined in the previous section.</p>
        <p>Binary Classification Report The first step solely concerns the yes/no answer identifying the
presence of the required discursive pattern generated by the system. It calculates the precision, recall,
f1-score and accuracy of the predicted answers using the scikit-learn Python library [17].</p>
        <p>As our experimental examples are imbalanced (6 ”Yes” and 16 ”No” instances per category, we focus
primarily on the macro average scores of precision, recall and f1-score for each setup per task. Precision
is the ratio of true positives to the sum of true positives and false positives, while recall is the ratio of
true positives to the sum of true positives and false negatives. An f-1 score is the harmonic mean of
precision and recall 5.
4The prompts can be found here: https://github.com/swrp-h/discursive-pattern-detection
5https://developers.google.com/machine-learning/crash-course/classification/accuracy-precision-recall</p>
        <sec id="sec-3-4-1">
          <title>Qualitative Assessment of LLM-generated Rationales For the second step, we manually assess</title>
          <p>the rationales generated for each instance for their correctness. This assessment includes factors such
as adherence to the guidelines, presumptions and outright hallucinations. The rationale evaluation is
divided into 3 categories in total: ”Correct”, ”Partially Correct” and ”Wrong”, and is conducted by a
native speaker of the Dutch language.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Results</title>
      <p>As previously highlighted, we first indicate the results for the quantitative classification conducted by
the LLM- and rule-based systems, followed by a qualitative analysis of the rationales provided for the
correct classifications made by the LLM systems.</p>
      <sec id="sec-4-1">
        <title>4.1. Step 1: Classification Results</title>
        <sec id="sec-4-1-1">
          <title>4.1.1. Magnifying/Exaggerating Language Use (UT)</title>
          <p>Overall, we see that for UT, the best-performing setup is that of the rule-based system with a macro
f1-score as well as accuracy of 0.68. This is followed by the Fietje setup using the zero-shot prompt
(macro f1 = 0.58). The Geitje model shows, counterintuitively, the lowest performance with a macro
f1-score of 0.50. On the other hand, its prompt 1 (one-shot examples) and prompt 2 setups (one-shot
examples and guidelines) do indicate higher precision and recall compared to the Fietje setups.
Prompt Performances For the Geitje setups, the introduction of a one-shot example (Prompt 2) to
the base prompt (Prompt 1) drastically improves performance (with the macro f1-score increasing from
0.19 to 0.50; prompt 1 &lt; prompt 2), but the addition of further guidelines hampers the score (macro f1
= 0.40; prompt 2 &gt; prompt 3). It is also noticed that for Fietje, the addition of further examples and
guidelines increasingly worsens its performance instead of improving it (prompt 1 &gt; prompt 2 &gt; prompt
3), with the corresponding macro f1-scores being 0.58, 0.54 and 0.25 respectively.</p>
        </sec>
        <sec id="sec-4-1-2">
          <title>4.1.2. Negative Labels to Organizations/Persons (NLO)</title>
          <p>For the NLO category, the results are more scattered. Although the rule-based system has the highest
macro f1-score among all the setups, the zero- and one-shot (prompt 2) Geitje setups show the highest
precision and recall (0.70 and 0.72 respectively), which are only slightly higher than those of its prompt
3 (one-shot with guidelines) setup. The highest accuracy is yielded by the zero-shot Fietje setup, but
the same setup shows the lowest macro f1-score for the category (0.42).</p>
          <p>Prompt Performances For Fietje in this category, we see a continuous increase in scores with further
adaptation of the base prompt (prompt 1 &lt; prompt 2 &lt; prompt 3; macro f1: 0.42, 0.50, 0.55), a trend
which is not observed for the previous category. On the other hand, for Geitje, there is only a slight
increase in performance with the inclusion of a one-shot example (prompt 1 &lt; prompt 2; macro f1:
0.54, 0.59), and the addition of guidelines does not further improve performance. In contrast, the final
prompt performs slightly worse than the one-shot-only approach (prompt 2 &gt; prompt 3; macro f1: 0.59,
0.55). This is in trend with the performance of the Geitje setups in the previous category.</p>
        </sec>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Step 2: Qualitative analysis of LLM-generated rationales</title>
        <p>The qualitative analysis is naturally exclusive to the LLM setups, as we attempt to gauge the reasoning
process of the chosen models while making their judgment.
Overall, it can be observed that the rationales generated by both models are qualitatively weaker for this
category. We see this most distinctly for the Geitje setups, where prompt 1 yields 50% partially correct
rationales and 50% completely wrong rationales and no correct rationales. In line with the classification
results, there is improvement with the addition of a 1-shot example (prompt 2) with 33% correct and
44% partially correct rationales, but adding further guidelines (prompt 3) considerably hampers the
reasoning process, with 62.5% of the rationales being completely incorrect.</p>
        <p>Interestingly, the Fietje setups show better reasoning, with the percentage of correct rationales
ranging between 28.5% and 42.9%. However, the percentage of incorrect rationales also remains high
at 35.7% to 50%. Interestingly, rationales seem to be more correct without the addition of one-shot
examples with or without additional guidelines. Similar to the Geitje prompt 2 setup, there is also a
higher prevalence of partially correct rationales for the prompt 2 setups (one-shot example) for Fietje at
28.6%.</p>
        <sec id="sec-4-2-1">
          <title>4.2.2. Negative Labels to Organizations/Persons (NLO)</title>
          <p>For this category, LLM rationales are relatively more correct. The Geitje setups indicate the highest
percentage of correct rationales among the correctly classified results, with the prompt 1 approach
having 75% correct answers and prompts 2 and 3 having 92.3% and 91.7% correct rationales respectively.
There are no wrong rationales for the prompt 1 and 2 setups, while the prompt 3 setup indicates 8%.
Further, there are fewer partially correct rationales (25% and lower).</p>
          <p>The Fietje setups show weaker reasoning capabilities compared to the Geitje ones when classifying
negative labels to organizations/persons. In direct contrast to the classification results, the quality
of rationales drops consistently from prompt 1 (75%) to prompt 3 (41.7%). On the other hand, the
percentages of wrong rationales remain at 18% or lower. In fact, the prompt 2 setup results indicate no
wrong rationales, although there is a prevalence of partially correct rationales (45.5%). This prevalence
is also present for the one-shot with guidelines (prompt 3) setup (41.7%).</p>
          <p>Model
Geitje</p>
          <p>Fietje
RB Algo</p>
          <p>Prompt</p>
          <p>P1
P2
P3
P1
P2
P3
–</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Error Analysis and Discussion</title>
      <sec id="sec-5-1">
        <title>5.1. Error Analysis for LLMs</title>
        <p>Below, we highlight the most common error types encountered while using the two chosen LLMs for
our categories.</p>
        <p>• Echoing of 1-shot example within the output: This type of error is seen in both models, but
predominantly in the Fietje-2-chat outputs. For the latter two prompts, it is seen that the models
sometimes simply return the one-shot example provided in the input as output. Thus, although
the model scores higher for the classification, it is an incorrect judgment.
• Contradictory answer-rationale pairs: In some cases, the models correctly returned a
rationale indicating why the tweet can be classified as containing magnifying language, but the
corresponding answer label was a ”no”, indicating disagreement between the two.
• Inclusion of quotations for judgment: In a few instances, the model took into account
the quote a tweet was referring to, thereby impairing judgment. e.g. In the tweet ”Nederland
presenteert plannen voor onze natuur. Rutte gaat vertrekken. [LINK] QUOTE @WerkgroepG:
[...]: ze kappen 110.000 bomen voor EU subsidie i.h.k.v. herstel van natuur en vervolgens verkoopt
SBB die bomen...”, although the main tweet does not indicate negative labels being assigned to an
organization/individual, the model instead evaluates (and subsequently determines as NLO) the
content within the quoted part.
• Poor understanding of grammatical devices: The models misinterpret the meanings of
superlatives and adverbial modifiers. e.g.: the phrase (”gezondheidsproblemen en meer ellende”)
is cited to indicate the usage of superlatives, which is grammatically incorrect.
• Poor Understanding of negative terms: In a few cases, the models label a tweet as positive
for NLO while citing words that are not necessarily negative within context, such as within the
example ”De tweet bevat negatieve termen zoals ’kappen’...” - in this case, the word ”kappen”
(English: ”cutting”) is not negative.
5.2. Error Analysis for the Rule-Based Algorithm
• Flagging of adverbial modifiers which are not magnifying/exaggerating : Often, the system
identifies tweets as positive for UT while flagging irrelevant adverbial modifiers such as ”eigenlijk”
or ”natuurlijk” (English: ”actually”, ”natural”).
• Flagging of contextually irrelevant words: As it is context-agnostic, the rule-based algorithm
can sometimes identify false positives for UT on the grounds of flagging irrelevant words such as
”meer” or ”mooi” (English: ”more”, ”nice”)
• Overlooking of multi-word hashtags: For multi-word hashtags such as ”#KlimaatReligie” or
”#CorruptFuckers”, the algorithm is not able to separate the words, making it overlook a negative
label to an organization.
• Weak Sarcasm detection: In the example ”Twee zorgvuldig formulerende oudere heren en de
volkse toon van een @VVD bestuurder die nog geen plant of dier uit de na te streven habitat
weet te noemen[...]”, the system is not able to identify a sarcastic remark towards an organization,
which prevents it from making an NLO detection.
• Named Entity Detection Issues: For the snippet ”TIS WERKELIJK ONGELOFELIJK !!!” written
in full caps, the system incorrectly identifies the words as named entities.</p>
      </sec>
      <sec id="sec-5-2">
        <title>5.3. Discussion</title>
        <p>The results indicate similar scores for the best-performing LLM setup and the rule-based algorithm,
with the latter narrowly demonstrating higher performance.</p>
        <p>The chosen LLMs performed suficiently in terms of surface-level classification, demonstrating
capabilities such as: (a) an implicit understanding of exaggerations or negative sentiment being directed
at a certain entity and (b) (mostly) the capability of telling quotes apart from the actual tweet. However,
the rationale analysis indicates that their reasoning capability is prone to erroneous judgment. Although
the size of the selected models - 2 and 7 billion parameters respectively - contributes to such judgment,
it is recommended not to take, for our task, LLM-based classifications at face value. The models also
often show weakness in identifying the correct grammatical devices and, especially for Fietje-2-chat,
are prone to echoing errors.</p>
        <p>Interestingly, the prompt experimentation yielded unexpected results. The intuitive assumption was
that the addition of a one-shot example and detection guidelines would improve performance; however,
our setups showed that the addition of a one-shot example generally improved the performance of
only one model and the addition of further guidelines mostly yielded lower scores compared to the
one-shot-only setups. This might indicate that detection guidelines that may contradict a model’s
innate bias may confuse its judgment process.</p>
        <p>The rule-based algorithm returns nearly equivalent scores as the LLM setups, even outperforming
most setups for the UT category. On the other hand, for the NLO category, the algorithm shows some
lacunae, such as the presence of a named entity and a negative sentiment always yielding a positive
result or context-blindness. There is also a higher chance of misinterpretation of sentiment or the
selection of irrelevant adverbial modifiers with this approach.</p>
        <p>Overall, both methods can be improved, and in particular, more research should be done on how the
LLM can follow instructions more reliably.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>When given the task of detecting discursive patterns in tweets, smaller LLMs fall short of optimal scores,
performing along similar lines to a straightforward rule-based algorithm.</p>
      <p>We saw that introducing guidelines to the prompt negatively afected performance, suggesting that
there may be information in the prompt that contradicts the innate information in the model. This is
counterintuitive given our assumption that the addition of detection guidelines would mostly better
aid the reasoning process. Thus, this warrants further discussion of the interaction between model
biases and external instructions, especially in the context of psychologically rich tasks, as well as a
re-visitation of the annotation guidelines used to create our prompts.</p>
      <p>Although our chosen LLMs are smaller and can be run locally on a personal computer, they utilize
more resources compared to the rule-based algorithm, which is computationally eficient as well as
transparent. However, the rule-based algorithm shows weaknesses in regards to missing subtext and
hyperbole, causing incorrect judgment. It may also return false positives for examples where negative
sentiment and named entities coexist but are not linked.</p>
      <p>Some limitations of the experiment included the skewed distribution of labels in the dataset and LLM
sizes. For the latter, an interesting direction would consist of further expanding this experiment while
using state-of-the-art LLMs such as GPT-4 or Claude 3.</p>
      <p>We thus conclude that for the task, both approaches - LLM-guided and rule-based - have their merits
and weaknesses. Instead of comparing one with the other, it would be beneficial to combine certain
aspects of each to construct a system more traceable than a simple LLM classification and better at
detecting subtext and implicit devices than a rule-based system.</p>
    </sec>
    <sec id="sec-7">
      <title>7. Acknowledgments</title>
      <p>This publication is part of the project 360 Graden Newsroom of the research programme RAAK Publiek.
[5] A. Hürriyetoğlu, H. Tanev, V. Zavarella, J. Piskorski, R. Yeniterzi, E. Yörük, Challenges and
applications of automated extraction of socio-political events from text (case 2021): Workshop and
shared task report, arXiv preprint arXiv:2108.07865 (2021).
[6] Z. Zhao, P. Resnick, Q. Mei, Enquiring minds: Early detection of rumors in social media from
enquiry posts, in: Proceedings of the 24th international conference on world wide web, 2015, pp.
1395–1405.
[7] J. Ma, W. Gao, P. Mitra, S. Kwon, B. J. Jansen, K.-F. Wong, M. Cha, Detecting rumors from
microblogs with recurrent neural networks.(2016), in: Proceedings of the 25th International Joint
Conference on Artificial Intelligence (IJCAI 2016), ????, pp. 3818–3824.
[8] L. Tian, X. Zhang, Y. Wang, H. Liu, Early detection of rumours on twitter via stance transfer
learning, in: Advances in Information Retrieval: 42nd European Conference on IR Research, ECIR
2020, Lisbon, Portugal, April 14–17, 2020, Proceedings, Part I 42, Springer, 2020, pp. 575–588.
[9] V. G. dos Santos, G. L. Santos, T. Lynn, B. Benatallah, Identifying citizen-related issues from social
media using llm-based data augmentation, in: International Conference on Advanced Information
Systems Engineering, Springer, 2024, pp. 531–546.
[10] K. D. Sainju, N. Mishra, A. Kufour, L. Young, Bullying discourse on twitter: An examination of
bully-related tweets using supervised machine learning, Computers in human behavior 120 (2021)
106735.
[11] R. Gopalakrishna Pillai, M. Thelwall, C. Orasan, Detection of stress and relaxation magnitudes for
tweets, in: Companion Proceedings of the The Web Conference 2018, 2018, pp. 1677–1684.
[12] O. H. Kwon, K. Vu, N. Bhargava, M. I. Radaideh, J. Cooper, V. Joynt, M. I. Radaideh,
Sentiment analysis of the united states public support of nuclear power on social media using
large language models, Renewable and Sustainable Energy Reviews 200 (2024) 114570. URL:
https://www.sciencedirect.com/science/article/pii/S136403212400296X. doi:https://doi.org/10.
1016/j.rser.2024.114570.
[13] J. Potter, Attitudes, social representations and discursive psychology. (1996).
[14] ???? URL: https://husite.nl/bep/birds-eye-perspective/.
[15] M. Honnibal, I. Montani, spaCy 2: Natural language understanding with Bloom embeddings,
convolutional neural networks and incremental parsing, 2017. To appear.
[16] T. D. Smedt, W. Daelemans, Pattern for python, Journal of Machine Learning Research 13 (2012)
2063–2067. URL: http://jmlr.org/papers/v13/desmedt12a.html.
[17] F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer,
R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, E. Duchesnay,
Scikit-learn: Machine learning in Python, Journal of Machine Learning Research 12 (2011)
2825–2830.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>B.</given-names>
            <surname>Stinesen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Sneijder</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Klarenbeek</surname>
          </string-name>
          ,
          <article-title>Geruchtvorming op social media: Een discursief psychologische analyse van twitterberichten over een zoektocht naar twee vermiste kinderen</article-title>
          ,
          <source>Tijdschrift voor Communicatiewetenschap</source>
          <volume>44</volume>
          (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>M. V. D. T. A. K. M Sappelli</surname>
            ,
            <given-names>L Meijer</given-names>
          </string-name>
          ,
          <article-title>Poster: Automatic detection of discursive patterns in dutch social media</article-title>
          ,
          <source>in: Computational Linguistics in the Netherlands (CLIN)</source>
          ,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Saeed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. A.</given-names>
            <surname>Abbasi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Maqbool</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sadaf</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Razzak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Daud</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. R.</given-names>
            <surname>Aljohani</surname>
          </string-name>
          , G. Xu,
          <article-title>What's happening around the world? a survey and framework on event detection techniques on twitter</article-title>
          ,
          <source>Journal of Grid Computing</source>
          <volume>17</volume>
          (
          <year>2019</year>
          )
          <fpage>279</fpage>
          -
          <lpage>312</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>F.</given-names>
            <surname>Atefeh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Khreich</surname>
          </string-name>
          ,
          <article-title>A survey of techniques for event detection in twitter</article-title>
          ,
          <source>Computational Intelligence</source>
          <volume>31</volume>
          (
          <year>2015</year>
          )
          <fpage>132</fpage>
          -
          <lpage>164</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>