<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Multilingual | Language Technologies Lab</title><link>https://nlp.unibo.it/tag/multilingual/</link><atom:link href="https://nlp.unibo.it/tag/multilingual/index.xml" rel="self" type="application/rss+xml"/><description>Multilingual</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Wed, 01 May 2024 00:00:00 +0000</lastBuildDate><image><url>https://nlp.unibo.it/media/logo.svg</url><title>Multilingual</title><link>https://nlp.unibo.it/tag/multilingual/</link></image><item><title>A Corpus for Sentence-Level Subjectivity Detection on English News Articles</title><link>https://nlp.unibo.it/publication/antici-et-al-2024-subjectivity/</link><pubDate>Wed, 01 May 2024 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/antici-et-al-2024-subjectivity/</guid><description>&lt;h2 id="research-setting"&gt;Research setting&lt;/h2&gt;
&lt;p&gt;Subjectivity detection decides whether a sentence states facts or carries the opinion of its author.
The paper defines a sentence as subjective when its content is based on or influenced by personal feelings, tastes, or opinions, and as objective otherwise.
It supports tasks such as sentiment analysis, bias detection, and fact-checking, where opinions must be separated from facts that can be checked.
Training a classifier for this task needs a corpus: a collection of sentences labeled by human annotators who follow written annotation guidelines.&lt;/p&gt;
&lt;figure class="lt-viz lt-svg"&gt;
&lt;svg viewBox="0 0 640 300" role="img" aria-labelledby="newssd-task-title" xmlns="http://www.w3.org/2000/svg"&gt;
&lt;defs&gt;&lt;marker id="newssd-arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"&gt;&lt;path class="lt-s-head" d="M0 0 L10 5 L0 10 z"/&gt;&lt;/marker&gt;&lt;/defs&gt;
&lt;title id="newssd-task-title"&gt;Two sentences from the annotation guidelines. The sentence about India filming the video at the royal residence reports facts and is labeled OBJ. The sentence calling it a sad truth that villages in Portugal are dying conveys the author's opinion and is labeled SUBJ.&lt;/title&gt;
&lt;text class="lt-s-sub" x="20" y="22"&gt;ONE SENTENCE AT A TIME&lt;/text&gt;
&lt;text class="lt-s-sub" x="472" y="22"&gt;LABEL&lt;/text&gt;
&lt;rect class="lt-s-tok" x="20" y="34" width="420" height="100" rx="8"/&gt;
&lt;text class="lt-s-txt" x="230" y="60"&gt;India, who was the bridesmaid at the King’s wedding&lt;/text&gt;
&lt;text class="lt-s-txt" x="230" y="81"&gt;to Princess Diana in 1981, could not be seen in the&lt;/text&gt;
&lt;text class="lt-s-txt" x="230" y="102"&gt;footage, but filmed the video as she walked through&lt;/text&gt;
&lt;text class="lt-s-txt" x="230" y="123"&gt;the grounds of the royal residence.&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#newssd-arrow)" d="M444 84 H486"/&gt;
&lt;rect class="lt-s-box lt-s-pred" x="490" y="62" width="130" height="44" rx="22"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="555" y="89"&gt;OBJ&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="555" y="124"&gt;reports facts&lt;/text&gt;
&lt;rect class="lt-s-tok" x="20" y="166" width="420" height="62" rx="8"/&gt;
&lt;text class="lt-s-txt" x="230" y="192"&gt;It is a sad truth that many of the villages in&lt;/text&gt;
&lt;text class="lt-s-txt" x="230" y="213"&gt;this region of Portugal are dying.&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#newssd-arrow)" d="M444 197 H486"/&gt;
&lt;rect class="lt-s-box lt-s-sel" x="490" y="175" width="130" height="44" rx="22"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="555" y="202"&gt;SUBJ&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="555" y="237"&gt;author’s opinion&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="320" y="276"&gt;Subjective: based on or influenced by personal feelings, tastes, or opinions&lt;/text&gt;
&lt;/svg&gt;
&lt;figcaption&gt;The task on two example sentences from the annotation guidelines (Table 8 of the paper). A model reads one sentence at a time and returns OBJ (objective) or SUBJ (subjective).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;Two terms recur on this page:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Inter-annotator agreement (IAA)&lt;/strong&gt; measures how consistently annotators label the same sentences. The paper uses Krippendorff&amp;rsquo;s alpha, where 1 means perfect agreement and 0 means agreement no better than chance.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Macro-F1&lt;/strong&gt; is the F1 score (the balance of precision and recall) computed for each class and then averaged, so objective and subjective sentences count equally. It ranges from 0 to 1, and higher is better.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="motivation"&gt;Motivation&lt;/h2&gt;
&lt;p&gt;Perceiving subjectivity is hard even for experts.
It depends on interpretation, background knowledge, and personal bias.
The standard way to build corpora spots subjective words from a lexicon, a fixed list of opinion words for one language and domain.
Moving such resources to another language needs extra tools such as machine translation.
Guideline-based alternatives exist, but they struggle with ambiguous sentences and annotator bias.&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;No lexicons or machine translation&lt;/th&gt;&lt;th scope="col"&gt;Disagreements discussed and resolved&lt;/th&gt;&lt;th scope="col"&gt;Sentence level&lt;/th&gt;&lt;th scope="col"&gt;Hand-labeled corpora in two languages&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;Lexicon-based corpus creation (Riloff and Wiebe, 2003; Wiebe and Riloff, 2005)&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;not discussed&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;Evidentiality-based annotation (Wiebe et al., 1999b)&lt;/th&gt;
&lt;td&gt;not discussed&lt;/td&gt;
&lt;td&gt;certainty rating instead&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;Multilingual detection through translation (Banea et al.)&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;not discussed&lt;/td&gt;
&lt;td&gt;not discussed&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 class="is-ours"&gt;
&lt;th scope="row"&gt;This paper (NewsSD-ENG) &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;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 positions itself against the related work it discusses (Sections 1 and 6 of the paper).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Objective.&lt;/strong&gt; Write annotation guidelines for sentence-level subjectivity that do not depend on language-specific cues. Use them to build an English news corpus, and test whether they carry over to Italian.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="approach"&gt;Approach&lt;/h2&gt;
&lt;p&gt;The authors follow the prescriptive paradigm: annotators share one written belief about what counts as subjective, and every disagreement leads to a discussion and a clearer rule.
Seven annotators with near-native English and a linguistics or computing background label the sentences.
The articles come from 8 British news outlets and cover controversial political affairs, such as law, civil rights, and economics.
The guidelines start from those of SubjectivITA, an earlier Italian news corpus, and are refined in two pilot studies.&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-book" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Starting guidelines&lt;/strong&gt;
&lt;span&gt;Adapted from the Italian SubjectivITA guidelines.&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-users" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;First pilot&lt;/strong&gt;
&lt;span&gt;270 sentences, IAA 0.40, edge cases discussed.&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-balance-scale" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Second pilot&lt;/strong&gt;
&lt;span&gt;With article context, IAA 0.38. Without it, 0.53.&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-clipboard-check" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Final guidelines&lt;/strong&gt;
&lt;span&gt;Isolated sentences, five subjective cases, clear objective cases.&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;figcaption&gt;How the guidelines were built (Section 2 of the paper).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;A sentence is subjective when its author expresses an explicit opinion, uses sarcasm or irony, exhorts, uses discriminating or downgrading words, or uses rhetorical figures to convey an opinion.
Opinions of a third party, such as quotes, are objective.
The author&amp;rsquo;s own stated emotions are objective too, since the author is a reliable source about their own feelings.
Annotators see each sentence alone, because article context made them label ambiguous sentences as subjective more often and increased their workload.&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-user-edit" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Two annotators&lt;/strong&gt;
&lt;span&gt;Each sentence is labeled independently by two annotators.&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-comments" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Discussion&lt;/strong&gt;
&lt;span&gt;The pair discusses ambiguous sentences to agree.&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-gavel" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Third annotator&lt;/strong&gt;
&lt;span&gt;Breaks the tie in the remaining cases.&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;figcaption&gt;The three-stage annotation of the final corpus (Section 3 of the paper).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;To test whether the guidelines carry over to other languages, the authors re-annotate quotes and emotions in SubjectivITA with the same criteria, creating NewsSD-ITA.
They then train classifiers in three settings:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Setting&lt;/th&gt;
&lt;th&gt;Training data&lt;/th&gt;
&lt;th&gt;Test data&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Monolingual&lt;/td&gt;
&lt;td&gt;One language (en→en or it→it)&lt;/td&gt;
&lt;td&gt;Same language&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Multilingual&lt;/td&gt;
&lt;td&gt;English and Italian together (en+it)&lt;/td&gt;
&lt;td&gt;English or Italian&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cross-lingual&lt;/td&gt;
&lt;td&gt;One language only&lt;/td&gt;
&lt;td&gt;The other language, with no training examples in it&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="results"&gt;Results&lt;/h2&gt;
&lt;p&gt;The authors first measure corpus quality with IAA, and then compare classifiers by macro-F1 on the test sets of NewsSD-ENG (English) and NewsSD-ITA (Italian), averaged over three seed runs.
Two classifiers use tf-idf word features: a support vector machine (SVM) and a logistic regressor (LR).
Two are multilingual transformers: M-BERT and M-SBERT.
A random and a majority-class baseline complete the comparison.&lt;/p&gt;
&lt;p&gt;NewsSD-ENG holds 1,049 sentences from 23 articles: 638 objective and 411 subjective.&lt;/p&gt;
&lt;ul class="lt-viz lt-proj-numbers"&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;0.83&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;IAA after the pair discussion, up from 0.51 after independent labeling&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;-0.21&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;average IAA of a lexicon-based tool (TextBlob) with the annotators&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;0.80&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;macro-F1 of M-BERT on English when trained on English and Italian, against 0.75 on English alone&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class="lt-viz lt-bars"&gt;
&lt;figcaption class="lt-viz-title"&gt;Macro-F1 on the English test set &lt;span&gt;(higher is better)&lt;/span&gt;&lt;/figcaption&gt;
&lt;ul&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;M-SBERT, monolingual&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 69%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.69&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;M-SBERT, multilingual&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 71%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.71&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;M-SBERT, cross-lingual&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 67%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.67&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;M-BERT, monolingual&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 75%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.75&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;M-BERT, multilingual&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 80%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.80&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;M-BERT, cross-lingual&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 60%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.60&lt;/span&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="lt-viz-note"&gt;Macro-F1 of the two transformers on the NewsSD-ENG test set in each setting. Source: Table 4 of the paper (average over three seed runs).&lt;/p&gt;
&lt;details class="lt-viz-table"&gt;
&lt;summary&gt;Show as table&lt;/summary&gt;
&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope="col"&gt;System&lt;/th&gt;&lt;th scope="col"&gt;Macro-F1 on the English test set&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;M-SBERT, monolingual&lt;/td&gt;&lt;td&gt;0.69&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;M-SBERT, multilingual&lt;/td&gt;&lt;td&gt;0.71&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;M-SBERT, cross-lingual&lt;/td&gt;&lt;td&gt;0.67&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;M-BERT, monolingual&lt;/td&gt;&lt;td&gt;0.75&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;M-BERT, multilingual&lt;/td&gt;&lt;td&gt;0.80&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;M-BERT, cross-lingual&lt;/td&gt;&lt;td&gt;0.60&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/details&gt;
&lt;/figure&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Setting&lt;/th&gt;
&lt;th&gt;English macro-F1&lt;/th&gt;
&lt;th&gt;English SUBJ F1&lt;/th&gt;
&lt;th&gt;Italian macro-F1&lt;/th&gt;
&lt;th&gt;Italian SUBJ F1&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Majority baseline&lt;/td&gt;
&lt;td&gt;Monolingual&lt;/td&gt;
&lt;td&gt;0.33&lt;/td&gt;
&lt;td&gt;0.00&lt;/td&gt;
&lt;td&gt;0.42&lt;/td&gt;
&lt;td&gt;0.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Random baseline&lt;/td&gt;
&lt;td&gt;Monolingual&lt;/td&gt;
&lt;td&gt;0.50&lt;/td&gt;
&lt;td&gt;0.50&lt;/td&gt;
&lt;td&gt;0.47&lt;/td&gt;
&lt;td&gt;0.36&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SVM&lt;/td&gt;
&lt;td&gt;Monolingual&lt;/td&gt;
&lt;td&gt;0.44&lt;/td&gt;
&lt;td&gt;0.24&lt;/td&gt;
&lt;td&gt;0.59&lt;/td&gt;
&lt;td&gt;0.34&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LR&lt;/td&gt;
&lt;td&gt;Monolingual&lt;/td&gt;
&lt;td&gt;0.55&lt;/td&gt;
&lt;td&gt;0.48&lt;/td&gt;
&lt;td&gt;0.60&lt;/td&gt;
&lt;td&gt;0.42&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;M-SBERT&lt;/td&gt;
&lt;td&gt;Monolingual&lt;/td&gt;
&lt;td&gt;0.69&lt;/td&gt;
&lt;td&gt;0.69&lt;/td&gt;
&lt;td&gt;0.69&lt;/td&gt;
&lt;td&gt;0.56&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;M-BERT&lt;/td&gt;
&lt;td&gt;Monolingual&lt;/td&gt;
&lt;td&gt;0.75&lt;/td&gt;
&lt;td&gt;0.71&lt;/td&gt;
&lt;td&gt;0.74&lt;/td&gt;
&lt;td&gt;0.59&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SVM&lt;/td&gt;
&lt;td&gt;Multilingual&lt;/td&gt;
&lt;td&gt;0.49&lt;/td&gt;
&lt;td&gt;0.34&lt;/td&gt;
&lt;td&gt;0.60&lt;/td&gt;
&lt;td&gt;0.35&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LR&lt;/td&gt;
&lt;td&gt;Multilingual&lt;/td&gt;
&lt;td&gt;0.64&lt;/td&gt;
&lt;td&gt;0.65&lt;/td&gt;
&lt;td&gt;0.61&lt;/td&gt;
&lt;td&gt;0.42&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;M-SBERT&lt;/td&gt;
&lt;td&gt;Multilingual&lt;/td&gt;
&lt;td&gt;0.71&lt;/td&gt;
&lt;td&gt;0.76&lt;/td&gt;
&lt;td&gt;0.69&lt;/td&gt;
&lt;td&gt;0.56&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;M-BERT&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Multilingual&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.80&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.80&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.77&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.66&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;M-SBERT&lt;/td&gt;
&lt;td&gt;Cross-lingual&lt;/td&gt;
&lt;td&gt;0.67&lt;/td&gt;
&lt;td&gt;0.74&lt;/td&gt;
&lt;td&gt;0.66&lt;/td&gt;
&lt;td&gt;0.49&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;M-BERT&lt;/td&gt;
&lt;td&gt;Cross-lingual&lt;/td&gt;
&lt;td&gt;0.60&lt;/td&gt;
&lt;td&gt;0.46&lt;/td&gt;
&lt;td&gt;0.65&lt;/td&gt;
&lt;td&gt;0.46&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Macro-F1 and F1 on the subjective class (SUBJ). Source: Table 4 of the paper.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The annotation reaches near-perfect agreement after discussion, and a third annotator was needed for fewer than 10% of the sentences.
The lexicon-based tool disagrees with the annotators, which suggests that lexicons do not suit this task.
Training on English and Italian together never lowers performance and helps M-BERT most: macro-F1 rises by 5 points on English and 3 points on Italian.
In the cross-lingual setting, M-SBERT stays close to its monolingual scores, while M-BERT loses performance.&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;A careful corpus for English news.&lt;/strong&gt;&lt;span&gt;NewsSD-ENG labels 1,049 news sentences with guidelines refined through pilot studies and discussion, reaching an IAA of 0.83.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The guidelines travel across languages.&lt;/strong&gt;&lt;span&gt;They rely on no lexicon or translation, and the matching Italian corpus can be added to training without any loss.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mixing languages helps.&lt;/strong&gt;&lt;span&gt;Multilingual training gives the best macro-F1 on both test sets, 0.80 on English and 0.77 on Italian with M-BERT.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>Unfair clause detection in terms of service across multiple languages</title><link>https://nlp.unibo.it/publication/10-1007-s-10506-024-09398-7/</link><pubDate>Mon, 01 Apr 2024 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/10-1007-s-10506-024-09398-7/</guid><description>&lt;h2 id="research-setting"&gt;Research setting&lt;/h2&gt;
&lt;p&gt;Terms of Service (ToS) are the contracts that online services ask consumers to accept.
Some of their clauses may be unfair to consumers under European consumer law, for example a clause that limits the liability of the provider.
Unfair clause detection is the task of finding these clauses automatically, one sentence at a time.
Legal experts give each relevant clause one of nine categories, such as choice of law (&lt;code&gt;law&lt;/code&gt;) or jurisdiction (&lt;code&gt;j&lt;/code&gt;).
They also give it a level: 1 for clearly fair, 2 for potentially unfair, and 3 for clearly unfair.&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="unfair-law2-j3" aria-pressed="false"&gt;Unfair (law2, j3)&lt;/button&gt;
&lt;button type="button" class="lt-annotate-key lt-c2" data-lt-label="fair-j1" aria-pressed="false"&gt;Fair (j1)&lt;/button&gt;
&lt;/div&gt;
&lt;p class="lt-annotate-text"&gt;
&lt;mark class="lt-c1" data-lt-label="unfair-law2-j3"&gt;This Agreement is governed by the laws of England and Wales and is subject to the exclusive jurisdiction of courts of England and Wales.&lt;span class="lt-annotate-tag"&gt;Unfair (law2, j3)&lt;/span&gt;&lt;/mark&gt;
&lt;mark class="lt-c2" data-lt-label="fair-j1"&gt;If you are a resident of Northern Ireland you may also bring proceedings in Northern Ireland, and if you are a resident of Scotland, you may also bring proceedings in Scotland.&lt;span class="lt-annotate-tag"&gt;Fair (j1)&lt;/span&gt;&lt;/mark&gt;
&lt;/p&gt;
&lt;figcaption&gt;A real annotated clause from the English Klarna ToS, quoted in Appendix A of the paper. The first sentence is a potentially unfair choice of law (law2) and a clearly unfair jurisdiction clause (j3). The second sentence is a clearly fair jurisdiction clause (j1).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;CLAUDETTE is such a detector for English, and it labels a sentence as positive when the experts marked it as unfair or potentially unfair.&lt;/p&gt;
&lt;h2 id="motivation"&gt;Motivation&lt;/h2&gt;
&lt;p&gt;Most legal language technology is built for English.
The European Union works in 24 official languages, and many ToS exist in several language versions.
Annotating a new corpus for every language takes time and legal experts who are native speakers of that language.
The language versions of one contract also differ: some are translations of the English text, while others add clauses for one country.
For example, the Italian Klarna ToS replaces the clauses above with Italian law and the court of the consumer&amp;rsquo;s home, which the experts labeled as clearly fair.&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;Work&lt;/th&gt;&lt;th scope="col"&gt;Legal documents&lt;/th&gt;&lt;th scope="col"&gt;Unfair clauses in ToS&lt;/th&gt;&lt;th scope="col"&gt;Annotation projection&lt;/th&gt;&lt;th scope="col"&gt;Machine translation as a strategy&lt;/th&gt;&lt;th scope="col"&gt;Several target languages&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;MULTI-EURLEX (Chalkidis 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-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;Annotation projection for ToS (Galassi et al., 2020)&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;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;Machine translation vs. new models (Isbister et al., 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-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;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 work it discusses in Section 2. Columns list the properties that the paper uses to position itself.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Objective.&lt;/strong&gt; Find out whether an English unfair clause detector can be extended to other languages without annotating a new corpus for each one. The paper compares four strategies on German, Italian, and Polish.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="approach"&gt;Approach&lt;/h2&gt;
&lt;p&gt;The authors first built a parallel corpus of the same 50 ToS in English, German, Italian, and Polish.
Legal experts annotated all 200 documents.
They then compared four strategies to obtain a detector for a target language, shown in the figure at the top of this page.
Annotation projection copies the labels of each English sentence onto the matching sentence of the target-language version of the same contract.
Machine translation means an off-the-shelf automatic translation tool.&lt;/p&gt;
&lt;figure class="lt-viz lt-stages" id="lt-stages-2453112405-2"&gt;
&lt;div class="lt-stages-tabs" role="tablist"&gt;
&lt;button type="button" role="tab" id="lt-stages-2453112405-2-tab-0" aria-controls="lt-stages-2453112405-2-panel-0" aria-selected="true" tabindex="0"&gt;1. New corpus&lt;/button&gt;
&lt;button type="button" role="tab" id="lt-stages-2453112405-2-tab-1" aria-controls="lt-stages-2453112405-2-panel-1" aria-selected="false" tabindex="-1"&gt;2. Projection&lt;/button&gt;
&lt;button type="button" role="tab" id="lt-stages-2453112405-2-tab-2" aria-controls="lt-stages-2453112405-2-panel-2" aria-selected="false" tabindex="-1"&gt;3. Translate training set&lt;/button&gt;
&lt;button type="button" role="tab" id="lt-stages-2453112405-2-tab-3" aria-controls="lt-stages-2453112405-2-panel-3" aria-selected="false" tabindex="-1"&gt;4. Translate queries&lt;/button&gt;
&lt;/div&gt;
&lt;div class="lt-stages-panel" role="tabpanel" id="lt-stages-2453112405-2-panel-0" aria-labelledby="lt-stages-2453112405-2-tab-0"&gt;
&lt;p class="lt-stages-name"&gt;1. New corpus&lt;/p&gt;
&lt;ol class="lt-stages-flow"&gt;
&lt;li class="is-idle"&gt;
&lt;strong&gt;English corpus&lt;/strong&gt;
&lt;/li&gt;
&lt;li class="is-idle"&gt;
&lt;strong&gt;Machine translation&lt;/strong&gt;
&lt;/li&gt;
&lt;li class="is-evolved"&gt;
&lt;i class="fas fa-user-edit" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Target-language corpus&lt;/strong&gt;
&lt;span&gt;New labels&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-trained"&gt;
&lt;i class="fas fa-fire" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Classifier&lt;/strong&gt;
&lt;span&gt;Trained&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="lt-stages-text"&gt;Legal experts annotate a new corpus in the target language, and a new classifier is trained on it. The English corpus and the English system are not used.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="lt-stages-panel" role="tabpanel" id="lt-stages-2453112405-2-panel-1" aria-labelledby="lt-stages-2453112405-2-tab-1"&gt;
&lt;p class="lt-stages-name"&gt;2. Projection&lt;/p&gt;
&lt;ol class="lt-stages-flow"&gt;
&lt;li class="is-data"&gt;
&lt;i class="fas fa-file-alt" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;English corpus&lt;/strong&gt;
&lt;span&gt;Data&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-frozen"&gt;
&lt;i class="fas fa-lock" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Machine translation&lt;/strong&gt;
&lt;span&gt;Used as is&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-data"&gt;
&lt;i class="fas fa-file-alt" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Target-language corpus&lt;/strong&gt;
&lt;span&gt;Data&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-trained"&gt;
&lt;i class="fas fa-fire" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Classifier&lt;/strong&gt;
&lt;span&gt;Trained&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="lt-stages-text"&gt;The labels of the English corpus are projected onto the original target-language versions of the same contracts. Sentences are matched with sentence embeddings and dynamic time warping. A new classifier is trained on the projected labels.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="lt-stages-panel" role="tabpanel" id="lt-stages-2453112405-2-panel-2" aria-labelledby="lt-stages-2453112405-2-tab-2"&gt;
&lt;p class="lt-stages-name"&gt;3. Translate training set&lt;/p&gt;
&lt;ol class="lt-stages-flow"&gt;
&lt;li class="is-data"&gt;
&lt;i class="fas fa-file-alt" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;English corpus&lt;/strong&gt;
&lt;span&gt;Data&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-frozen"&gt;
&lt;i class="fas fa-lock" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Machine translation&lt;/strong&gt;
&lt;span&gt;Used as is&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-data"&gt;
&lt;i class="fas fa-file-alt" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Target-language corpus&lt;/strong&gt;
&lt;span&gt;Data&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-trained"&gt;
&lt;i class="fas fa-fire" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Classifier&lt;/strong&gt;
&lt;span&gt;Trained&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="lt-stages-text"&gt;The English training documents are translated into the target language and keep their original labels. A new classifier is trained on the translated documents.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="lt-stages-panel" role="tabpanel" id="lt-stages-2453112405-2-panel-3" aria-labelledby="lt-stages-2453112405-2-tab-3"&gt;
&lt;p class="lt-stages-name"&gt;4. Translate queries&lt;/p&gt;
&lt;ol class="lt-stages-flow"&gt;
&lt;li class="is-data"&gt;
&lt;i class="fas fa-file-alt" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;English corpus&lt;/strong&gt;
&lt;span&gt;Data&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-frozen"&gt;
&lt;i class="fas fa-lock" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Machine translation&lt;/strong&gt;
&lt;span&gt;Used as is&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-data"&gt;
&lt;i class="fas fa-file-alt" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Target-language corpus&lt;/strong&gt;
&lt;span&gt;Data&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-frozen"&gt;
&lt;i class="fas fa-lock" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Classifier&lt;/strong&gt;
&lt;span&gt;Used as is&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="lt-stages-text"&gt;No new classifier is trained. At prediction time, each target-language sentence is translated into English and classified by the English system.&lt;/p&gt;
&lt;/div&gt;
&lt;p class="lt-stages-legend"&gt;
&lt;span class="is-evolved"&gt;&lt;i class="fas fa-user-edit" aria-hidden="true"&gt;&lt;/i&gt; New annotation by legal experts&lt;/span&gt;
&lt;span class="is-trained"&gt;&lt;i class="fas fa-fire" aria-hidden="true"&gt;&lt;/i&gt; Trained for the target language&lt;/span&gt;
&lt;span class="is-frozen"&gt;&lt;i class="fas fa-lock" aria-hidden="true"&gt;&lt;/i&gt; Used as is, no training&lt;/span&gt;
&lt;span class="is-data"&gt;&lt;i class="fas fa-file-alt" aria-hidden="true"&gt;&lt;/i&gt; Existing data&lt;/span&gt;
&lt;/p&gt;
&lt;figcaption&gt;The four strategies (Section 4, Figure 1, and Table 2 of the paper). Each tab shows which resources a strategy needs, and whether a classifier is trained for the target language.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;All strategies use the same classifier, a linear support vector machine (SVM) on word unigrams and bigrams.
It beat sentence embeddings from ELMo and BERT in a preliminary test (Table 3 of the paper).
Three translation tools of different quality are compared: Google Translate, Opus-MT, and the older statistical system Apache Joshua.&lt;/p&gt;
&lt;h2 id="results"&gt;Results&lt;/h2&gt;
&lt;p&gt;Each strategy was tested on the German, Italian, and Polish documents with 5-fold cross-validation over documents.
Precision is the share of flagged sentences that are truly unfair, and recall is the share of unfair sentences that are flagged.
The measure is F1, from 0 to 1, which balances the two and is averaged over the five folds.&lt;/p&gt;
&lt;ul class="lt-viz lt-proj-numbers"&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;0.677&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;F1 on German when queries are translated with Google Translate, against 0.638 with a new German corpus&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;0.662&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;F1 on Italian when queries are translated with Opus-MT, against 0.621 with a new Italian corpus&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;0.645&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;F1 on Polish when queries are translated with Google Translate, against 0.630 with a new Polish corpus&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class="lt-viz lt-bars"&gt;
&lt;figcaption class="lt-viz-title"&gt;F1 on German ToS &lt;span&gt;(higher is better)&lt;/span&gt;&lt;/figcaption&gt;
&lt;ul&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;&lt;ol&gt;
&lt;li&gt;New corpus&lt;/li&gt;
&lt;/ol&gt;
&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 63.800000000000004%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.638&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;&lt;ol start="2"&gt;
&lt;li&gt;Projection&lt;/li&gt;
&lt;/ol&gt;
&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 62%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.620&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;&lt;ol start="3"&gt;
&lt;li&gt;Translate training set (G)&lt;/li&gt;
&lt;/ol&gt;
&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 62%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.620&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;&lt;ol start="4"&gt;
&lt;li&gt;Translate queries (G)&lt;/li&gt;
&lt;/ol&gt;
&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 67.7%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.677&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;&lt;ol start="4"&gt;
&lt;li&gt;Translate queries (O)&lt;/li&gt;
&lt;/ol&gt;
&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 67.60000000000001%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.676&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;&lt;ol start="4"&gt;
&lt;li&gt;Translate queries (J)&lt;/li&gt;
&lt;/ol&gt;
&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 53.800000000000004%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.538&lt;/span&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="lt-viz-note"&gt;F1 of each strategy on German. G is Google Translate, O is Opus-MT, and J is Apache Joshua. Source: Table 4 of the paper.&lt;/p&gt;
&lt;details class="lt-viz-table"&gt;
&lt;summary&gt;Show as table&lt;/summary&gt;
&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th scope="col"&gt;System&lt;/th&gt;&lt;th scope="col"&gt;F1 on German ToS&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;1. New corpus&lt;/td&gt;&lt;td&gt;0.638&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2. Projection&lt;/td&gt;&lt;td&gt;0.620&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3. Translate training set (G)&lt;/td&gt;&lt;td&gt;0.620&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;4. Translate queries (G)&lt;/td&gt;&lt;td&gt;0.677&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;4. Translate queries (O)&lt;/td&gt;&lt;td&gt;0.676&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;4. Translate queries (J)&lt;/td&gt;&lt;td&gt;0.538&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/details&gt;
&lt;/figure&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Strategy&lt;/th&gt;
&lt;th&gt;German F1&lt;/th&gt;
&lt;th&gt;Italian F1&lt;/th&gt;
&lt;th&gt;Polish F1&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1. New corpus&lt;/td&gt;
&lt;td&gt;0.638&lt;/td&gt;
&lt;td&gt;0.621&lt;/td&gt;
&lt;td&gt;0.630&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2. Projection&lt;/td&gt;
&lt;td&gt;0.620&lt;/td&gt;
&lt;td&gt;0.604&lt;/td&gt;
&lt;td&gt;0.619&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3. Translate training set (G)&lt;/td&gt;
&lt;td&gt;0.620&lt;/td&gt;
&lt;td&gt;0.612&lt;/td&gt;
&lt;td&gt;0.608&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4. Translate queries (G)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.677&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;0.644&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.645&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4. Translate queries (O)&lt;/td&gt;
&lt;td&gt;0.676&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.662&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;0.575&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4. Translate queries (J)&lt;/td&gt;
&lt;td&gt;0.538&lt;/td&gt;
&lt;td&gt;0.535&lt;/td&gt;
&lt;td&gt;0.509&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;F1 of every strategy in each language. Source: Tables 4, 5, and 6 of the paper.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;With Google Translate, translating the queries scored a higher F1 than a new corpus in all three languages.
With Opus-MT, it did so in German and Italian but not in Polish.
The gain was statistically significant (paired t-test, p &amp;lt; 0.05) for German with both tools and for Italian with Opus-MT.
With the lower-quality Joshua translations, F1 dropped, and a new corpus was significantly better in all three languages.
Projection was only slightly below a new corpus, with a significant gap for German only, and its loss came mostly from precision.
Projection and training set translation performed alike in every language.&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;A new corpus per language is often not needed.&lt;/strong&gt;&lt;span&gt;An English detector with Google Translate for the queries scored a higher F1 than detectors trained on new German, Italian, and Polish corpora.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Translation quality decides the outcome.&lt;/strong&gt;&lt;span&gt;With the older Joshua system, F1 fell to between 0.509 and 0.538, and annotating a new corpus became the better choice.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Projection and translation are cheaper fallbacks.&lt;/strong&gt;&lt;span&gt;Projecting labels or translating the training set lost little F1 against a new corpus, and the authors release their four-language corpus and code for research.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>Overview of the CLEF-2024 CheckThat! Lab Task 2 on Subjectivity in News Articles</title><link>https://nlp.unibo.it/publication/struss-etal-2024-clef-task-2/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/struss-etal-2024-clef-task-2/</guid><description/></item><item><title>LEXTREME: A Multi-Lingual and Multi-Task Benchmark for the Legal Domain</title><link>https://nlp.unibo.it/publication/niklaus-etal-2023-lextreme/</link><pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/niklaus-etal-2023-lextreme/</guid><description/></item><item><title>On the Definition of Prescriptive Annotation Guidelines for Language-Agnostic Subjectivity Detection</title><link>https://nlp.unibo.it/publication/ruggeri-etal-2023-definition-prescriptive/</link><pubDate>Sun, 01 Jan 2023 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/ruggeri-etal-2023-definition-prescriptive/</guid><description/></item><item><title>Overview of the CLEF-2023 CheckThat! Lab: Task 2 on Subjectivity Detection</title><link>https://nlp.unibo.it/publication/galassi-etal-2023-clef-task-2/</link><pubDate>Sun, 01 Jan 2023 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/galassi-etal-2023-clef-task-2/</guid><description/></item></channel></rss>