<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Consumer Protection | Language Technologies Lab</title><link>https://nlp.unibo.it/tag/consumer-protection/</link><atom:link href="https://nlp.unibo.it/tag/consumer-protection/index.xml" rel="self" type="application/rss+xml"/><description>Consumer Protection</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Mon, 01 Apr 2024 00:00:00 +0000</lastBuildDate><image><url>https://nlp.unibo.it/media/logo.svg</url><title>Consumer Protection</title><link>https://nlp.unibo.it/tag/consumer-protection/</link></image><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>Explaining Potentially Unfair Clauses to the Consumer with the CLAUDETTE tool</title><link>https://nlp.unibo.it/publication/liepina-etal-2022-claudette/</link><pubDate>Wed, 01 Jan 2020 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/liepina-etal-2022-claudette/</guid><description/></item><item><title>Consumer protection requires artificial intelligence</title><link>https://nlp.unibo.it/publication/lippi-2019/</link><pubDate>Mon, 01 Apr 2019 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/lippi-2019/</guid><description/></item><item><title>CLAUDETTE: an automated detector of potentially unfair clauses in online terms of service</title><link>https://nlp.unibo.it/publication/lippi-2019-claudette/</link><pubDate>Tue, 01 Jan 2019 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/lippi-2019-claudette/</guid><description/></item><item><title>Towards Consumer-Empowering Artificial Intelligence</title><link>https://nlp.unibo.it/publication/ijcai-2018-p-714/</link><pubDate>Sun, 01 Jul 2018 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/ijcai-2018-p-714/</guid><description/></item></channel></rss>