<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Gricean Maxims | Language Technologies Lab</title><link>https://nlp.unibo.it/tag/gricean-maxims/</link><atom:link href="https://nlp.unibo.it/tag/gricean-maxims/index.xml" rel="self" type="application/rss+xml"/><description>Gricean Maxims</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Tue, 01 Oct 2024 00:00:00 +0000</lastBuildDate><image><url>https://nlp.unibo.it/media/logo.svg</url><title>Gricean Maxims</title><link>https://nlp.unibo.it/tag/gricean-maxims/</link></image><item><title>A Grice-ful Examination of Offensive Language: Using NLP Methods to Assess the Co-operative Principle</title><link>https://nlp.unibo.it/publication/korre-etal-2024-grice/</link><pubDate>Tue, 01 Oct 2024 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/korre-etal-2024-grice/</guid><description>&lt;h2 id="research-setting"&gt;Research setting&lt;/h2&gt;
&lt;p&gt;Pragmatics studies how people mean more than their words say.
In this field, the philosopher H. P. Grice described the cooperative principle: in a conversation, each contribution should serve the shared purpose of the exchange.
He broke the principle down into four maxims, listed below.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Maxim&lt;/th&gt;
&lt;th&gt;What it asks of a speaker&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Quality&lt;/td&gt;
&lt;td&gt;Do not say what you believe to be false, or what you lack evidence for.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Quantity&lt;/td&gt;
&lt;td&gt;Be as informative as required, and not more.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Relevance&lt;/td&gt;
&lt;td&gt;Be relevant.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manner&lt;/td&gt;
&lt;td&gt;Avoid obscurity and ambiguity. Be brief and orderly.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;The four Gricean Maxims. Source: Table 1 of the paper.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;A speaker who breaks a maxim by accident violates it.
A speaker who breaks it on purpose, for a rhetorical or humorous effect, flouts it.
The paper asks whether offensive comments in online conversations break the maxims more often than safe ones.
Its data is ToxiChat, a set of Reddit threads in which each turn (one message in the thread) is labeled as offensive or safe.&lt;/p&gt;
&lt;figure class="lt-viz lt-annotate"&gt;
&lt;div class="lt-annotate-legend" role="group" aria-label="Labels"&gt;
&lt;button type="button" class="lt-annotate-key lt-c1" data-lt-label="safe" aria-pressed="false"&gt;Safe&lt;/button&gt;
&lt;button type="button" class="lt-annotate-key lt-c2" data-lt-label="offensive" aria-pressed="false"&gt;Offensive&lt;/button&gt;
&lt;/div&gt;
&lt;p class="lt-annotate-text"&gt;
&lt;mark class="lt-c1" data-lt-label="safe"&gt;Title: [Question] Why do Libertarians get so much flack from the rest of reddit Like seriously I was downvoted when I said &amp;#34;Libertarian is a good one&amp;#34; on a post about third party voting.&lt;span class="lt-annotate-tag"&gt;Safe&lt;/span&gt;&lt;/mark&gt;
&lt;mark class="lt-c2" data-lt-label="offensive"&gt;Because the rest of reddit are unironically communists.&lt;span class="lt-annotate-tag"&gt;Offensive&lt;/span&gt;&lt;/mark&gt;
&lt;mark class="lt-c2" data-lt-label="offensive"&gt;Bullshit most are democrats&lt;span class="lt-annotate-tag"&gt;Offensive&lt;/span&gt;&lt;/mark&gt;
&lt;/p&gt;
&lt;figcaption&gt;A three-turn thread from ToxiChat with its offensiveness labels (Table 4 of the paper).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id="motivation"&gt;Motivation&lt;/h2&gt;
&lt;p&gt;Natural Language Processing (NLP) usually treats offensive language as a detection task: a model labels each message as offensive or not.
This view says little about how an offensive conversation works.
Studies that apply the Gricean Maxims to hate speech read the texts by hand.
Studies that turn the maxims into metrics do not look at offensive language.&lt;/p&gt;
&lt;figure class="lt-viz lt-gap"&gt;
&lt;div class="lt-viz-scroll"&gt;
&lt;table&gt;
&lt;thead&gt;&lt;tr&gt;&lt;th scope="col"&gt;Approach&lt;/th&gt;&lt;th scope="col"&gt;Uses the Gricean Maxims&lt;/th&gt;&lt;th scope="col"&gt;Measures them with NLP tools&lt;/th&gt;&lt;th scope="col"&gt;Studies offensive language&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;Sarcasm in hate speech on Instagram (Pasa et al., 2021)&lt;/th&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-times-circle lt-no" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;no&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;Dialog evaluation by user survey (Jwalapuram, 2017)&lt;/th&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-times-circle lt-no" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;no&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-times-circle lt-no" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;no&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;Maxims as metrics (Freihat et al., 2018; Tewari et al., 2020; Ge et al., 2023)&lt;/th&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-times-circle lt-no" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;no&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;Speech acts in hate speech (Hidayati and Arifuddin, 2021)&lt;/th&gt;
&lt;td&gt;&lt;i class="fas fa-times-circle lt-no" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;no&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-times-circle lt-no" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;no&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;Speech-act-guided toxic stance detection (Upadhyaya et al., 2023)&lt;/th&gt;
&lt;td&gt;&lt;i class="fas fa-times-circle lt-no" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;no&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="is-ours"&gt;
&lt;th scope="row"&gt;This paper &lt;span class="lt-ours"&gt;This work&lt;/span&gt;&lt;/th&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;figcaption&gt;How the paper relates to the prior work it discusses (Sections 1 and 3).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Objective.&lt;/strong&gt; Translate each Gricean Maxim into an NLP metric, compare offensive and safe comments with these metrics, and use them to pick examples for a close qualitative reading.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="approach"&gt;Approach&lt;/h2&gt;
&lt;p&gt;Each maxim gets its own NLP tool, which scores every human turn of ToxiChat.
The paper then compares the scores of offensive and safe turns.
Lastly, it filters the offensive turns by these scores and reads selected examples by hand, as in traditional discourse analysis.&lt;/p&gt;
&lt;figure class="lt-viz lt-pipeline"&gt;
&lt;ol&gt;
&lt;li class="lt-pipeline-step"&gt;
&lt;span class="lt-pipeline-index"&gt;&lt;i class="fas fa-comments" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;ToxiChat turns&lt;/strong&gt;
&lt;span&gt;Reddit threads, each turn labeled offensive or safe.&lt;/span&gt;
&lt;/li&gt;
&lt;li class="lt-pipeline-step is-highlight"&gt;
&lt;span class="lt-pipeline-index"&gt;&lt;i class="fas fa-ruler" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;One metric per maxim&lt;/strong&gt;
&lt;span&gt;Each turn gets four maxim scores.&lt;/span&gt;
&lt;ul class="lt-pipeline-branches"&gt;
&lt;li&gt;&lt;b&gt;Quality&lt;/b&gt; Deception classifier&lt;/li&gt;&lt;li&gt;&lt;b&gt;Quantity&lt;/b&gt; Syntactic cohesion&lt;/li&gt;&lt;li&gt;&lt;b&gt;Relevance&lt;/b&gt; Embedding similarity&lt;/li&gt;&lt;li&gt;&lt;b&gt;Manner&lt;/b&gt; Ambiguity, readability, profanity&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="lt-pipeline-step"&gt;
&lt;span class="lt-pipeline-index"&gt;&lt;i class="fas fa-balance-scale" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Compare classes&lt;/strong&gt;
&lt;span&gt;Offensive turns against safe turns, maxim by maxim.&lt;/span&gt;
&lt;/li&gt;
&lt;li class="lt-pipeline-step"&gt;
&lt;span class="lt-pipeline-index"&gt;&lt;i class="fas fa-search" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Close reading&lt;/strong&gt;
&lt;span&gt;Selected offensive examples analyzed by hand.&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;figcaption&gt;The analysis pipeline of the paper (Section 4). Only the human turns of the ToxiChat training set are used; the bot turns are left out.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Maxim&lt;/th&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Signal of a broken maxim&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Quality&lt;/td&gt;
&lt;td&gt;A BERT text classifier trained to detect deceptive hotel reviews (1,600 reviews about 20 hotels), with a macro-F1 of 0.926 ± 0.021 on its test set&lt;/td&gt;
&lt;td&gt;The turn is predicted as untrue&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Quantity&lt;/td&gt;
&lt;td&gt;Informativeness from syntactic cohesion, scored from 0 to 1&lt;/td&gt;
&lt;td&gt;Below 0.25 (under-informative) or above 0.75 (over-informative)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Relevance&lt;/td&gt;
&lt;td&gt;Cosine similarity of BERT embeddings between a reply, the thread title, and the previous reply&lt;/td&gt;
&lt;td&gt;The reply is judged not relevant&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manner&lt;/td&gt;
&lt;td&gt;Lexical ambiguity from WordNet word senses, Flesch readability (higher is easier), and a profanity word list&lt;/td&gt;
&lt;td&gt;High ambiguity, low readability, or profanity&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Maxim metrics. Source: Section 4.1 of the paper.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="results"&gt;Results&lt;/h2&gt;
&lt;p&gt;The paper scores the human turns of the ToxiChat training set and compares, for each maxim, the share of offensive and safe turns that break it.&lt;/p&gt;
&lt;ul class="lt-viz lt-proj-numbers"&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;53.8%&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;of offensive turns contain profanity, against 16.4% of safe turns&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;40%&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;of offensive turns are predicted as untrue, against 30% of safe turns&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;95.37%&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;of offensive turns are optimally informative, against 95.79% of safe turns&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Measure&lt;/th&gt;
&lt;th&gt;Offensive&lt;/th&gt;
&lt;th&gt;Safe&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Quality: predicted untrue&lt;/td&gt;
&lt;td&gt;371 (40%)&lt;/td&gt;
&lt;td&gt;673 (30%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Quantity: optimally informative&lt;/td&gt;
&lt;td&gt;886 (95.37%)&lt;/td&gt;
&lt;td&gt;2186 (95.79%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Quantity: over-informative&lt;/td&gt;
&lt;td&gt;21 (2.26%)&lt;/td&gt;
&lt;td&gt;50 (2.19%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Quantity: under-informative&lt;/td&gt;
&lt;td&gt;22 (2.37%)&lt;/td&gt;
&lt;td&gt;46 (2.02%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manner: contains profanity&lt;/td&gt;
&lt;td&gt;53.8%&lt;/td&gt;
&lt;td&gt;16.4%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Main results per maxim. Source: Tables 5 and 6 and Figure 5 of the paper.&lt;/em&gt;&lt;/p&gt;
&lt;figure id="figure-most-replies-are-relevant-in-both-classes-and-irrelevant-replies-are-more-frequent-among-safe-turns-figure-2-of-the-paper"&gt;
&lt;div class="d-flex justify-content-center"&gt;
&lt;div class="w-100" &gt;&lt;img alt="Most replies are relevant in both classes, and irrelevant replies are more frequent among safe turns (Figure 2 of the paper)." srcset="
/publication/korre-etal-2024-grice/relevance_hu_2e52dc67bfbe9f7c.webp 400w,
/publication/korre-etal-2024-grice/relevance_hu_36bbd230d0445bf.webp 760w,
/publication/korre-etal-2024-grice/relevance_hu_d56d16b55bbcba9e.webp 1200w"
src="https://nlp.unibo.it/publication/korre-etal-2024-grice/relevance_hu_2e52dc67bfbe9f7c.webp"
width="760"
height="253"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;figcaption&gt;
Most replies are relevant in both classes, and irrelevant replies are more frequent among safe turns (Figure 2 of the paper).
&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Offensive and safe turns score almost the same on Quantity and Relevance.
Ambiguity and readability are also similar in the two classes.
The clear difference is profanity, a break of the Maxim of Manner, which is much more frequent in offensive turns.
Untrue statements, a break of the Maxim of Quality, are also more frequent in offensive turns.
In the close reading, the authors disagree with the Relevance metric on both examples they chose.
The metrics can therefore err on single turns.&lt;/p&gt;
&lt;h2 id="takeaways"&gt;Takeaways&lt;/h2&gt;
&lt;ol class="lt-viz lt-takeaways"&gt;
&lt;li&gt;&lt;strong&gt;Offensive and safe turns mostly break the maxims alike.&lt;/strong&gt;&lt;span&gt;Offensive turns are as informative and as relevant as safe ones. They differ in profanity, which breaks the Maxim of Manner, and partly in truthfulness.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;NLP metrics can filter data for linguists.&lt;/strong&gt;&lt;span&gt;Scores on each maxim make it fast to find the examples worth a close reading. Discourse analysis thus becomes semi-automatic.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The metrics need human checks.&lt;/strong&gt;&lt;span&gt;The close reading found likely errors of the Relevance metric. The paper calls for testing the metrics in other settings and with human experts.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</description></item></channel></rss>