<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Large Language Models | Language Technologies Lab</title><link>https://nlp.unibo.it/tag/large-language-models/</link><atom:link href="https://nlp.unibo.it/tag/large-language-models/index.xml" rel="self" type="application/rss+xml"/><description>Large Language Models</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Mon, 02 Mar 2026 00:00:00 +0000</lastBuildDate><image><url>https://nlp.unibo.it/media/logo.svg</url><title>Large Language Models</title><link>https://nlp.unibo.it/tag/large-language-models/</link></image><item><title>Hate Speech Detection with Argumentative Reasoning</title><link>https://nlp.unibo.it/proposals/argument-mining/hatespeech/</link><pubDate>Mon, 02 Mar 2026 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/proposals/argument-mining/hatespeech/</guid><description>&lt;h2 id="context"&gt;Context&lt;/h2&gt;
&lt;p&gt;Hate speech often relies on implicit content: meaning that a text suggests without stating it.
It also relies on subtle reasoning nuances.
Argument mining is the problem of automatically detecting and extracting arguments from text.
An argument usually combines a premise and a claim.
The premise is a fact, and it supports the claim, a subjective conclusion.&lt;/p&gt;
&lt;h2 id="objective"&gt;Objective&lt;/h2&gt;
&lt;p&gt;This proposal applies argumentative reasoning to hate speech, to make its implicit content explicit.
The resulting hate speech detection systems should be more interpretable and more user-friendly.&lt;/p&gt;
&lt;figure class="lt-viz lt-svg"&gt;
&lt;svg viewBox="0 0 800 400" role="img" aria-labelledby="hatespeech-title" xmlns="http://www.w3.org/2000/svg"&gt;
&lt;defs&gt;&lt;marker id="hatespeech-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="hatespeech-title"&gt;A text that relies on implicit content and subtle reasoning goes to argumentative reasoning, which makes the implicit content explicit as an argument: a premise, a fact, that supports a claim, a subjective conclusion. Premise and claim then feed hate speech detection, which aims to be more interpretable and more user-friendly.&lt;/title&gt;
&lt;text class="lt-s-sub" x="40" y="22"&gt;INPUT TEXT&lt;/text&gt;
&lt;rect class="lt-s-tok" x="200" y="32" width="400" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="400" y="56"&gt;Text&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="400" y="76"&gt;relies on implicit content and subtle reasoning&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#hatespeech-arrow)" d="M400 92 V120"/&gt;
&lt;rect class="lt-s-box lt-s-sel" x="200" y="124" width="400" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="400" y="148"&gt;Argumentative reasoning&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="400" y="168"&gt;makes the implicit content explicit&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#hatespeech-arrow)" d="M400 184 V198 H210 V226"/&gt;
&lt;path class="lt-s-arrow" marker-end="url(#hatespeech-arrow)" d="M400 198 H590 V226"/&gt;
&lt;text class="lt-s-sub" x="40" y="218"&gt;ARGUMENT&lt;/text&gt;
&lt;rect class="lt-s-tok" x="80" y="230" width="260" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="210" y="254"&gt;Premise&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="210" y="274"&gt;a fact&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#hatespeech-arrow)" d="M344 258 H456"/&gt;
&lt;text class="lt-s-txt lt-s-small" x="400" y="248"&gt;supports&lt;/text&gt;
&lt;rect class="lt-s-tok" x="460" y="230" width="260" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="590" y="254"&gt;Claim&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="590" y="274"&gt;a subjective conclusion&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#hatespeech-arrow)" d="M210 290 V306 H300 V326"/&gt;
&lt;path class="lt-s-arrow" marker-end="url(#hatespeech-arrow)" d="M590 290 V306 H500 V326"/&gt;
&lt;rect class="lt-s-box lt-s-pred" x="200" y="330" width="400" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="400" y="354"&gt;Hate speech detection&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="400" y="374"&gt;more interpretable and more user-friendly&lt;/text&gt;
&lt;/svg&gt;
&lt;figcaption&gt;Argumentative reasoning makes the implicit content of a text explicit as a premise that supports a claim, toward hate speech detection. The schema uses no example text.&lt;/figcaption&gt;
&lt;/figure&gt;</description></item><item><title>Rationalization via LLMs</title><link>https://nlp.unibo.it/proposals/interpretability/llms/</link><pubDate>Mon, 02 Mar 2026 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/proposals/interpretability/llms/</guid><description>&lt;h2 id="context"&gt;Context&lt;/h2&gt;
&lt;p&gt;Selective rationalization explains a prediction with a rationale: a short part of the input text that a user can read and that faithfully shows what the prediction is based on.
The Select-then-Predict Pipeline (SPP) builds this into the model: a generator selects the rationale, and a predictor classifies the rationale only.&lt;/p&gt;
&lt;h2 id="objective"&gt;Objective&lt;/h2&gt;
&lt;p&gt;Large language models (LLMs) can select a rationale and predict a label in a single answer when a prompt asks them to.
This proposal evaluates how well they perform selective rationalization through prompting, compared with traditional SPP models.&lt;/p&gt;
&lt;figure class="lt-viz lt-svg"&gt;
&lt;svg viewBox="0 0 800 400" role="img" aria-labelledby="llmrat-title" xmlns="http://www.w3.org/2000/svg"&gt;
&lt;defs&gt;&lt;marker id="llmrat-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="llmrat-title"&gt;The same input text in two settings. Left, the Select-then-Predict Pipeline: a generator selects the rationale cold and rude, and a predictor that sees only the rationale outputs the label negative. Right, a prompted LLM reads the whole text and returns both the rationale and the label.&lt;/title&gt;
&lt;text class="lt-s-sub" x="40" y="22"&gt;INPUT TEXT&lt;/text&gt;
&lt;rect class="lt-s-tok" x="131.8" y="32" width="46.8" height="34" rx="6"/&gt;&lt;text class="lt-s-txt lt-s-mono" x="155.2" y="55"&gt;the&lt;/text&gt;&lt;rect class="lt-s-tok" x="184.6" y="32" width="56.4" height="34" rx="6"/&gt;&lt;text class="lt-s-txt lt-s-mono" x="212.8" y="55"&gt;food&lt;/text&gt;&lt;rect class="lt-s-tok" x="247.0" y="32" width="46.8" height="34" rx="6"/&gt;&lt;text class="lt-s-txt lt-s-mono" x="270.4" y="55"&gt;was&lt;/text&gt;&lt;rect class="lt-s-tok" x="299.8" y="32" width="56.4" height="34" rx="6"/&gt;&lt;text class="lt-s-txt lt-s-mono" x="328.0" y="55"&gt;cold&lt;/text&gt;&lt;rect class="lt-s-tok" x="362.2" y="32" width="46.8" height="34" rx="6"/&gt;&lt;text class="lt-s-txt lt-s-mono" x="385.6" y="55"&gt;and&lt;/text&gt;&lt;rect class="lt-s-tok" x="415.0" y="32" width="46.8" height="34" rx="6"/&gt;&lt;text class="lt-s-txt lt-s-mono" x="438.4" y="55"&gt;the&lt;/text&gt;&lt;rect class="lt-s-tok" x="467.8" y="32" width="85.2" height="34" rx="6"/&gt;&lt;text class="lt-s-txt lt-s-mono" x="510.4" y="55"&gt;service&lt;/text&gt;&lt;rect class="lt-s-tok" x="559.0" y="32" width="46.8" height="34" rx="6"/&gt;&lt;text class="lt-s-txt lt-s-mono" x="582.4" y="55"&gt;was&lt;/text&gt;&lt;rect class="lt-s-tok" x="611.8" y="32" width="56.4" height="34" rx="6"/&gt;&lt;text class="lt-s-txt lt-s-mono" x="640.0" y="55"&gt;rude&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#llmrat-arrow)" d="M400 70 V84 H300 V112"/&gt;
&lt;path class="lt-s-arrow" marker-end="url(#llmrat-arrow)" d="M400 84 H590 V112"/&gt;
&lt;text class="lt-s-sub" x="40" y="104"&gt;SELECT-THEN-PREDICT PIPELINE&lt;/text&gt;
&lt;text class="lt-s-sub" x="440" y="104"&gt;PROMPTED LLM&lt;/text&gt;
&lt;rect class="lt-s-box lt-s-sel" x="60" y="116" width="280" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="200" y="140"&gt;Generator&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="200" y="160"&gt;selects the rationale&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#llmrat-arrow)" d="M200 176 V206"/&gt;
&lt;text class="lt-s-sub" x="40" y="233"&gt;RATIONALE&lt;/text&gt;
&lt;rect class="lt-s-on" x="140.6" y="212" width="56.4" height="34" rx="6"/&gt;&lt;text class="lt-s-txt lt-s-mono lt-s-ontxt" x="168.8" y="235"&gt;cold&lt;/text&gt;&lt;rect class="lt-s-on" x="203.0" y="212" width="56.4" height="34" rx="6"/&gt;&lt;text class="lt-s-txt lt-s-mono lt-s-ontxt" x="231.2" y="235"&gt;rude&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#llmrat-arrow)" d="M200 250 V270"/&gt;
&lt;rect class="lt-s-box lt-s-pred" x="60" y="274" width="280" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="200" y="298"&gt;Predictor&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="200" y="318"&gt;sees only the rationale&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#llmrat-arrow)" d="M200 334 V350"/&gt;
&lt;text class="lt-s-sub" x="40" y="377"&gt;LABEL&lt;/text&gt;
&lt;rect class="lt-s-label" x="140" y="354" width="120" height="36" rx="18"/&gt;
&lt;text class="lt-s-txt lt-s-strong lt-s-labeltxt" x="200" y="377"&gt;negative&lt;/text&gt;
&lt;rect class="lt-s-tok" x="440" y="116" width="300" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="590" y="140"&gt;Prompt&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="590" y="160"&gt;asks for a rationale and a label&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#llmrat-arrow)" d="M590 176 V206"/&gt;
&lt;rect class="lt-s-box lt-s-pred" x="440" y="210" width="300" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="590" y="234"&gt;LLM&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="590" y="254"&gt;reads the whole text, then answers&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#llmrat-arrow)" d="M520 270 V286"/&gt;
&lt;path class="lt-s-arrow" marker-end="url(#llmrat-arrow)" d="M680 270 V286"/&gt;
&lt;rect class="lt-s-on" x="460.6" y="290" width="56.4" height="34" rx="6"/&gt;&lt;text class="lt-s-txt lt-s-mono lt-s-ontxt" x="488.8" y="313"&gt;cold&lt;/text&gt;&lt;rect class="lt-s-on" x="523.0" y="290" width="56.4" height="34" rx="6"/&gt;&lt;text class="lt-s-txt lt-s-mono lt-s-ontxt" x="551.2" y="313"&gt;rude&lt;/text&gt;
&lt;rect class="lt-s-label" x="620" y="290" width="120" height="36" rx="18"/&gt;
&lt;text class="lt-s-txt lt-s-strong lt-s-labeltxt" x="680" y="313"&gt;negative&lt;/text&gt;
&lt;text class="lt-s-sub" x="460.6" y="346"&gt;RATIONALE&lt;/text&gt;
&lt;text class="lt-s-sub" x="620" y="346"&gt;LABEL&lt;/text&gt;
&lt;/svg&gt;
&lt;figcaption&gt;The two settings this proposal compares, on an illustrative sentence that comes from no dataset. In the SPP, the label comes from the rationale alone. The prompted LLM reads the whole text and returns both.&lt;/figcaption&gt;
&lt;/figure&gt;</description></item><item><title>Text Classification with Guidelines Only</title><link>https://nlp.unibo.it/proposals/unstructured-knowledge/clf-guidelines/</link><pubDate>Mon, 02 Mar 2026 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/proposals/unstructured-knowledge/clf-guidelines/</guid><description>&lt;h2 id="context"&gt;Context&lt;/h2&gt;
&lt;p&gt;The standard way to train a machine learning model is to give it an annotated dataset: data paired with class labels.
Annotators build this dataset after training on annotation guidelines, the rules that define how to assign the classes.
They label the data with classes from a given class set.
The model learns from the labels alone, without the guidelines, so it can learn any mapping from data to classes that fits the given data.&lt;/p&gt;
&lt;h2 id="objective"&gt;Objective&lt;/h2&gt;
&lt;p&gt;This proposal gives the annotation guidelines directly to the model.
During training, the model receives the guidelines and unlabeled data, but no class labels.&lt;/p&gt;
&lt;figure class="lt-viz lt-svg"&gt;
&lt;svg viewBox="0 0 800 400" role="img" aria-labelledby="clfguide-title" xmlns="http://www.w3.org/2000/svg"&gt;
&lt;defs&gt;&lt;marker id="clfguide-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="clfguide-title"&gt;Two training settings side by side. Left, standard training: the guidelines train the annotators, the annotators label the data into an annotated dataset, and the model learns from the labels alone. Right, guidelines-only training: the model receives the guidelines and unlabeled data with no class labels, learns the mapping from the guidelines, and assigns classes to the data.&lt;/title&gt;
&lt;text class="lt-s-sub" x="40" y="26"&gt;STANDARD TRAINING&lt;/text&gt;
&lt;rect class="lt-s-tok" x="70" y="40" width="280" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="210" y="64"&gt;Guidelines&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="210" y="84"&gt;define how to assign the classes&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#clfguide-arrow)" d="M210 100 V128"/&gt;
&lt;rect class="lt-s-tok" x="70" y="132" width="280" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="210" y="156"&gt;Annotators&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="210" y="176"&gt;label the data with the classes&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#clfguide-arrow)" d="M210 192 V220"/&gt;
&lt;rect class="lt-s-tok" x="70" y="224" width="280" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="210" y="248"&gt;Annotated dataset&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="210" y="268"&gt;the data and their class labels&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#clfguide-arrow)" d="M210 284 V312"/&gt;
&lt;rect class="lt-s-box lt-s-pred" x="70" y="316" width="280" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="210" y="340"&gt;Model&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="210" y="360"&gt;learns from the labels alone&lt;/text&gt;
&lt;text class="lt-s-sub" x="420" y="26"&gt;GUIDELINES-ONLY TRAINING&lt;/text&gt;
&lt;rect class="lt-s-tok" x="420" y="40" width="160" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="500" y="64"&gt;Guidelines&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="500" y="84"&gt;same as annotators&lt;/text&gt;
&lt;rect class="lt-s-tok" x="600" y="40" width="160" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="680" y="64"&gt;Unlabeled data&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="680" y="84"&gt;no class labels&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#clfguide-arrow)" d="M500 100 V128"/&gt;
&lt;path class="lt-s-arrow" marker-end="url(#clfguide-arrow)" d="M680 100 V128"/&gt;
&lt;rect class="lt-s-box lt-s-sel" x="420" y="132" width="340" height="56" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="590" y="156"&gt;Model&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="590" y="176"&gt;learns the mapping from the guidelines&lt;/text&gt;
&lt;path class="lt-s-arrow" marker-end="url(#clfguide-arrow)" d="M590 192 V220"/&gt;
&lt;rect class="lt-s-label" x="530" y="224" width="120" height="36" rx="18"/&gt;
&lt;text class="lt-s-txt lt-s-strong lt-s-labeltxt" x="590" y="247"&gt;Classes&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-small" x="590" y="282"&gt;assigned to the data&lt;/text&gt;
&lt;/svg&gt;
&lt;figcaption&gt;The two settings this proposal compares. In standard training, only the annotators learn from the guidelines; in guidelines-only training, the model receives the guidelines and no class labels.&lt;/figcaption&gt;
&lt;/figure&gt;</description></item><item><title>Transformers and LLMs for the Detection and Classification of Unfair Clauses</title><link>https://nlp.unibo.it/proposals/legal/unfairclauses/</link><pubDate>Mon, 02 Mar 2026 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/proposals/legal/unfairclauses/</guid><description>&lt;h2 id="context"&gt;Context&lt;/h2&gt;
&lt;p&gt;Terms of Service and Privacy Policies are the documents that people accept when they use an online service.
Some of their clauses can be unfair to the people who accept them.
For several years, the lab has built tools that detect unfair clauses in such documents written in English, in the CLAUDETTE and PRIMA projects listed on the &lt;a href="https://nlp.unibo.it/projects/"&gt;Projects&lt;/a&gt; page.&lt;/p&gt;
&lt;h2 id="objective"&gt;Objective&lt;/h2&gt;
&lt;p&gt;This proposal applies new methods to detect unfair clauses and to classify them.
The current focus is on large language models (LLMs), and alternative techniques are also of interest.&lt;/p&gt;
&lt;figure class="lt-viz lt-svg"&gt;
&lt;svg viewBox="0 0 800 240" role="img" aria-labelledby="unfair-title" xmlns="http://www.w3.org/2000/svg"&gt;
&lt;defs&gt;&lt;marker id="unfair-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="unfair-title"&gt;Three clauses of a Terms of Service document go to a Transformer or a large language model. It marks two clauses as fair and the clause "We may change these terms at any time." as unfair, and then classifies the kind of unfair clause.&lt;/title&gt;
&lt;text class="lt-s-sub" x="20" y="24"&gt;CLAUSES OF A TERMS OF SERVICE&lt;/text&gt;
&lt;text class="lt-s-sub" x="650" y="24"&gt;DETECTION&lt;/text&gt;
&lt;rect class="lt-s-box lt-s-pred" x="420" y="36" width="190" height="172" rx="12"/&gt;
&lt;text class="lt-s-txt lt-s-strong" x="515" y="112"&gt;Transformer&lt;/text&gt;
&lt;text class="lt-s-txt lt-s-strong" x="515" y="132"&gt;or LLM&lt;/text&gt;
&lt;rect class="lt-s-tok" x="20" y="36" width="360" height="44" rx="8"/&gt;&lt;text class="lt-s-txt" x="200" y="63"&gt;You can contact us by email.&lt;/text&gt;&lt;path class="lt-s-arrow" marker-end="url(#unfair-arrow)" d="M384 58 H414"/&gt;&lt;path class="lt-s-arrow" marker-end="url(#unfair-arrow)" d="M614 58 H644"/&gt;&lt;rect class="lt-s-tok" x="650" y="40" width="120" height="36" rx="18"/&gt;&lt;text class="lt-s-txt lt-s-strong" x="710" y="63"&gt;fair&lt;/text&gt;&lt;rect class="lt-s-tok" x="20" y="100" width="360" height="44" rx="8"/&gt;&lt;text class="lt-s-txt" x="200" y="127"&gt;We may change these terms at any time.&lt;/text&gt;&lt;path class="lt-s-arrow" marker-end="url(#unfair-arrow)" d="M384 122 H414"/&gt;&lt;path class="lt-s-arrow" marker-end="url(#unfair-arrow)" d="M614 122 H644"/&gt;&lt;rect class="lt-s-label" x="650" y="104" width="120" height="36" rx="18"/&gt;&lt;text class="lt-s-txt lt-s-strong lt-s-labeltxt" x="710" y="127"&gt;unfair&lt;/text&gt;&lt;text class="lt-s-txt lt-s-small" x="710" y="156"&gt;then its kind&lt;/text&gt;&lt;rect class="lt-s-tok" x="20" y="164" width="360" height="44" rx="8"/&gt;&lt;text class="lt-s-txt" x="200" y="191"&gt;We store the language you choose.&lt;/text&gt;&lt;path class="lt-s-arrow" marker-end="url(#unfair-arrow)" d="M384 186 H414"/&gt;&lt;path class="lt-s-arrow" marker-end="url(#unfair-arrow)" d="M614 186 H644"/&gt;&lt;rect class="lt-s-tok" x="650" y="168" width="120" height="36" rx="18"/&gt;&lt;text class="lt-s-txt lt-s-strong" x="710" y="191"&gt;fair&lt;/text&gt;
&lt;/svg&gt;
&lt;figcaption&gt;The task on three illustrative clauses written for this page: the model marks each clause as fair or unfair, then classifies each unfair clause.&lt;/figcaption&gt;
&lt;/figure&gt;</description></item><item><title>Sustainable Italian LLM Evaluation: Community Perspectives and Methodological Guidelines</title><link>https://nlp.unibo.it/publication/moroni-etal-2025-sustainable/</link><pubDate>Mon, 01 Sep 2025 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/moroni-etal-2025-sustainable/</guid><description>&lt;h2 id="research-setting"&gt;Research setting&lt;/h2&gt;
&lt;p&gt;A large language model (LLM) is a neural network trained on large amounts of text that answers questions and follows instructions in natural language.
Benchmarking an LLM means running it on tasks with known answers and scoring its outputs, so that models can be compared over time.
Several LLMs trained for Italian have appeared recently.
This position paper does not test a new model. It collects the experience of three Italian research groups and proposes how the community should evaluate these models.&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-file-alt" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Task item&lt;/strong&gt;
&lt;span&gt;Marco Rossi è nato a Milano nel 1985. Which Milano?&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-list-ul" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Prompt&lt;/strong&gt;
&lt;span&gt;The item with four options, from Milano, Texas to Milano, Italy.&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-robot" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;LLM&lt;/strong&gt;
&lt;span&gt;The model under evaluation.&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-comment" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Answer&lt;/strong&gt;
&lt;span&gt;The model outputs one option letter, here B.&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-check" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Score&lt;/strong&gt;
&lt;span&gt;The answer is compared with the correct option.&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;figcaption&gt;One benchmark item, built from the multiple-choice example in Section 3.1 of the paper: the model must tell which Milano a sentence refers to.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;Terms used on this page:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Native benchmark&lt;/strong&gt;: a benchmark written directly in Italian, as opposed to one &lt;strong&gt;translated&lt;/strong&gt; from English.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Probability-based evaluation&lt;/strong&gt; reads the probability that the model gives to each predefined answer option and takes the most likely one as its choice.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Generative evaluation&lt;/strong&gt; lets the model write a free-form answer and then checks that answer against criteria or a reference.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;LLM-as-a-Judge&lt;/strong&gt; is a generative evaluation in which another LLM grades the free-form answers.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Zero-shot&lt;/strong&gt; and &lt;strong&gt;few-shot&lt;/strong&gt; prompting give the model no solved examples or a few solved examples before the question.&lt;/li&gt;
&lt;li&gt;A benchmark is &lt;strong&gt;saturated&lt;/strong&gt; when the best models solve it almost fully, so it no longer separates them.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="motivation"&gt;Motivation&lt;/h2&gt;
&lt;p&gt;Italian has rich inflection, a flexible word order, clitic pronouns, dropped subjects, and many regional varieties.
A direct translation of English benchmarks cannot capture these features, nor Italian culture and institutions.
Recent Italian LLM benchmarks are valuable.
They are also isolated efforts, with limits in methodology, scope, sustainability, and coordination.
The paper maps them onto its own evaluation framework and finds whole skill areas that no one tests.&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;Framework&lt;/th&gt;&lt;th scope="col"&gt;Morphology&lt;/th&gt;&lt;th scope="col"&gt;Pragmatics&lt;/th&gt;&lt;th scope="col"&gt;Register&lt;/th&gt;&lt;th scope="col"&gt;Ling. instructions&lt;/th&gt;&lt;th scope="col"&gt;Task gen.&lt;/th&gt;&lt;th scope="col"&gt;Cross-ling.&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;ITA-Bench&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-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;Evalita-LLM&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-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-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;ITALIC&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-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 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;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;Coverage of six evaluation dimensions by three Italian LLM evaluation frameworks, from Table 1 of the paper. Ling. instructions is linguistic instruction following, Task gen. is task generalization, and Cross-ling. is cross-linguistic transfer. For this paper, a check means that its framework defines the dimension: the paper itself releases no dataset.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Objective.&lt;/strong&gt; Give the Italian NLP community a shared framework and practical guidelines for evaluating Italian LLMs, and a plan to keep that evaluation running over time.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="approach"&gt;Approach&lt;/h2&gt;
&lt;p&gt;The paper organizes its guidelines around four questions.
The first question sets the skills to test, through the three dimensions shown in the figure at the top of this page.
The other three questions cover how to run a test, where to get the data, and how to keep the whole effort alive.&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-sitemap" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;What to benchmark&lt;/strong&gt;
&lt;span&gt;Linguistic competence, domain and knowledge, task generalization.&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-sliders-h" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;How to benchmark&lt;/strong&gt;
&lt;span&gt;Task format, scoring strategy, and prompt variations.&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-database" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Where to benchmark&lt;/strong&gt;
&lt;span&gt;Translated, adapted, or native Italian data.&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-recycle" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Sustainable benchmarking&lt;/strong&gt;
&lt;span&gt;A living benchmark run by the community.&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;figcaption&gt;The four questions of the paper (Sections 2 to 5). The last one is the community plan that gives the paper its title.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Question&lt;/th&gt;
&lt;th&gt;Main guideline of the paper&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;What&lt;/td&gt;
&lt;td&gt;Task designers state which dimensions their task covers, so effort goes to the dimensions that few tasks test.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;How: format&lt;/td&gt;
&lt;td&gt;Multiple-choice questions are cheap and simple to score but far from real use. Open-ended generation is closer to real use but harder and costlier to score.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;How: prompting&lt;/td&gt;
&lt;td&gt;Zero-shot evaluation is the main measure. Few-shot prompting serves as a supplementary variation and a strong baseline.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;How: variation&lt;/td&gt;
&lt;td&gt;Prompts vary in register, explicitness, cultural framing, and random changes such as the order of options, to test robustness.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Where&lt;/td&gt;
&lt;td&gt;Native development comes first for tasks that are critical for Italian. Translation and adaptation fill the remaining gaps.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sustainable&lt;/td&gt;
&lt;td&gt;Saturated or stale tasks leave the benchmark, and open models come first. Each model is reported with its parameters and training tokens. A rotating steering committee governs the effort, which runs on national compute such as CINECA&amp;rsquo;s Leonardo supercomputer.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Guidelines from Sections 2 to 5 of the paper.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="results"&gt;Results&lt;/h2&gt;
&lt;p&gt;The paper reports no new model experiments.
Its findings come from three sources: a coverage analysis of public datasets against the framework (Table 1), the authors&amp;rsquo; experience with Italian benchmarks, and a preliminary cost analysis.&lt;/p&gt;
&lt;ul class="lt-viz lt-proj-numbers"&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;25 &amp;#43; 3&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;public datasets and evaluation frameworks mapped onto the framework&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;3-5x&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;more compute for generative evaluation than for probability-based evaluation&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;500-750&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;GPU hours per quarter to evaluate 10 models on 50 tasks&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;figure id="figure-coverage-of-25-public-datasets-and-3-frameworks-ita-bench-evalita-llm-and-italic-by-the-dimensions-of-the-framework-a-check-means-covered-a-cross-means-not-covered-table-1-of-the-paper"&gt;
&lt;div class="d-flex justify-content-center"&gt;
&lt;div class="w-100" &gt;&lt;img alt="Coverage of 25 public datasets and 3 frameworks (ITA-Bench, Evalita-LLM, and ITALIC) by the dimensions of the framework. A check means covered, a cross means not covered (Table 1 of the paper)." srcset="
/publication/moroni-etal-2025-sustainable/coverage_hu_87ac4b4f32cedbf1.webp 400w,
/publication/moroni-etal-2025-sustainable/coverage_hu_9fb1e8756f827dc3.webp 760w,
/publication/moroni-etal-2025-sustainable/coverage_hu_5672b04ecbc949c9.webp 1200w"
src="https://nlp.unibo.it/publication/moroni-etal-2025-sustainable/coverage_hu_87ac4b4f32cedbf1.webp"
width="760"
height="724"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;figcaption&gt;
Coverage of 25 public datasets and 3 frameworks (ITA-Bench, Evalita-LLM, and ITALIC) by the dimensions of the framework. A check means covered, a cross means not covered (Table 1 of the paper).
&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Almost every dataset tests semantics, and many test lexical knowledge or a knowledge domain.
No dataset or framework in the table tests register adaptation or task generalization, and only ITA-Bench tests cross-linguistic transfer.
The paper calls for more tasks on pragmatics, register, and cross-linguistic transfer.&lt;/p&gt;
&lt;p&gt;Translation can also change what a task measures.
In the Italian version of a WinoGrande item, grammar alone gives the answer away, because GPS is masculine and mappa (map) is feminine.&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="candidate" aria-pressed="false"&gt;Candidate&lt;/button&gt;
&lt;button type="button" class="lt-annotate-key lt-c2" data-lt-label="feminine" aria-pressed="false"&gt;Feminine&lt;/button&gt;
&lt;/div&gt;
&lt;p class="lt-annotate-text"&gt;
&lt;span&gt;Il&lt;/span&gt;
&lt;mark class="lt-c1" data-lt-label="candidate"&gt;GPS&lt;span class="lt-annotate-tag"&gt;Candidate&lt;/span&gt;&lt;/mark&gt;
&lt;span&gt;e la&lt;/span&gt;
&lt;mark class="lt-c1" data-lt-label="candidate"&gt;mappa&lt;span class="lt-annotate-tag"&gt;Candidate&lt;/span&gt;&lt;/mark&gt;
&lt;span&gt;mi hanno aiutato a tornare a casa. Mi sono perso quando&lt;/span&gt;
&lt;mark class="lt-c2" data-lt-label="feminine"&gt;la&lt;span class="lt-annotate-tag"&gt;Feminine&lt;/span&gt;&lt;/mark&gt;
&lt;span&gt;___ è&lt;/span&gt;
&lt;mark class="lt-c2" data-lt-label="feminine"&gt;stata capovolta.&lt;span class="lt-annotate-tag"&gt;Feminine&lt;/span&gt;&lt;/mark&gt;
&lt;/p&gt;
&lt;figcaption&gt;A WinoGrande item translated into Italian, from Section 4 of the paper. The correct answer is mappa. The highlighted feminine forms rule out GPS without any common sense.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;Two more observations come from the authors&amp;rsquo; experience.
Italian models often perform better when prompted in English with the instruction to answer in Italian. This suggests that they benefit from higher-quality English training data.
For scoring free-form answers, no open-weight LLM-as-a-Judge model is trained explicitly for Italian yet.&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;Know what a benchmark measures.&lt;/strong&gt;&lt;span&gt;Mapping each task onto the three dimensions of the framework shows the skills that Italian benchmarks miss, such as register adaptation.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Translation is not enough.&lt;/strong&gt;&lt;span&gt;A translated task can lose difficulty or cultural content. Native Italian tasks matter most for cultural knowledge, idioms, and pragmatic language use.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Benchmarks need to stay alive.&lt;/strong&gt;&lt;span&gt;A living benchmark retires saturated tasks and puts open models first. Run on national compute under community governance, it can keep Italian evaluation rigorous over time.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>Detecting Vague Clauses in Italian Privacy Policies Using Transformers, LLMs, and Cross-Lingual Techniques</title><link>https://nlp.unibo.it/publication/grundler-2025-detecting/</link><pubDate>Wed, 01 Jan 2025 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/grundler-2025-detecting/</guid><description>&lt;h2 id="research-setting"&gt;Research setting&lt;/h2&gt;
&lt;p&gt;In the European Union, the General Data Protection Regulation (GDPR) requires a privacy policy to tell users which personal data a service processes.
The paper studies the clauses of a policy that describe these categories of data, called CAT clauses.
A legal expert labels each CAT clause as sufficiently informative, when the data are described in full, or insufficiently informative, also called vague, in all other cases.&lt;/p&gt;
&lt;p&gt;The label follows from three annotated elements.
A Category is the term that names the data, such as &amp;ldquo;geolocation data&amp;rdquo;.
A Specification is an optional list introduced by words such as &amp;ldquo;such as&amp;rdquo; or &amp;ldquo;namely&amp;rdquo;, and each item of the list is a Subcategory, such as &amp;ldquo;GPS information&amp;rdquo;.
Each element is either Open, when it is vague or open-ended, or Closed, when it is concrete or exhaustive.&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="open-category" aria-pressed="false"&gt;Open category&lt;/button&gt;
&lt;button type="button" class="lt-annotate-key lt-c2" data-lt-label="open-specification" aria-pressed="false"&gt;Open specification&lt;/button&gt;
&lt;button type="button" class="lt-annotate-key lt-c3" data-lt-label="closed-subcategory" aria-pressed="false"&gt;Closed subcategory&lt;/button&gt;
&lt;/div&gt;
&lt;p class="lt-annotate-text"&gt;
&lt;span&gt;We receive&lt;/span&gt;
&lt;mark class="lt-c1" data-lt-label="open-category"&gt;information about you&lt;span class="lt-annotate-tag"&gt;Open category&lt;/span&gt;&lt;/mark&gt;
&lt;span&gt;from merchants as well as payment and transaction fulfillment providers,&lt;/span&gt;
&lt;mark class="lt-c2" data-lt-label="open-specification"&gt;such as&lt;span class="lt-annotate-tag"&gt;Open specification&lt;/span&gt;&lt;/mark&gt;
&lt;mark class="lt-c3" data-lt-label="closed-subcategory"&gt;payment confirmation details,&lt;span class="lt-annotate-tag"&gt;Closed subcategory&lt;/span&gt;&lt;/mark&gt;
&lt;span&gt;and&lt;/span&gt;
&lt;mark class="lt-c3" data-lt-label="closed-subcategory"&gt;information about the delivery of products you have purchased&lt;span class="lt-annotate-tag"&gt;Closed subcategory&lt;/span&gt;&lt;/mark&gt;
&lt;span&gt;through our shopping features.&lt;/span&gt;
&lt;/p&gt;
&lt;figcaption&gt;An insufficiently informative clause from the TikTok policy (Figure 1 of the paper). The Category is Open and the list is open-ended, so the clause is vague even though its two Subcategories are Closed. The Specification element spans the whole list; only its opening words are marked here.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Category&lt;/th&gt;
&lt;th&gt;Specification&lt;/th&gt;
&lt;th&gt;Subcategories&lt;/th&gt;
&lt;th&gt;Label&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Closed&lt;/td&gt;
&lt;td&gt;none&lt;/td&gt;
&lt;td&gt;none&lt;/td&gt;
&lt;td&gt;Sufficient&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Closed&lt;/td&gt;
&lt;td&gt;any&lt;/td&gt;
&lt;td&gt;any&lt;/td&gt;
&lt;td&gt;Sufficient&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Open&lt;/td&gt;
&lt;td&gt;Closed&lt;/td&gt;
&lt;td&gt;Closed&lt;/td&gt;
&lt;td&gt;Sufficient&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Open&lt;/td&gt;
&lt;td&gt;none&lt;/td&gt;
&lt;td&gt;none&lt;/td&gt;
&lt;td&gt;Insufficient&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Open&lt;/td&gt;
&lt;td&gt;Open&lt;/td&gt;
&lt;td&gt;any&lt;/td&gt;
&lt;td&gt;Insufficient&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Open&lt;/td&gt;
&lt;td&gt;Closed&lt;/td&gt;
&lt;td&gt;Open&lt;/td&gt;
&lt;td&gt;Insufficient&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;The six rules that label a clause as sufficiently or insufficiently informative. &amp;ldquo;Any&amp;rdquo; means Open or Closed. Source: Table 2 of the paper.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="motivation"&gt;Motivation&lt;/h2&gt;
&lt;p&gt;Empirical studies show that many privacy policies still fall short of the GDPR, and vague descriptions of data leave users unable to know what is collected about them.
Automatic tools could flag such clauses, but previous work on insufficiently informative clauses covers English documents only.
The EU has 24 official languages, and annotated legal corpora are scarce in many of them.
So it matters whether a resource built for one language can serve another.&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;Italian privacy policies&lt;/th&gt;&lt;th scope="col"&gt;Insufficiently informative clauses&lt;/th&gt;&lt;th scope="col"&gt;Cross-lingual transfer&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;Vague terms (Lebanoff and Liu, 2018; Malik 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-adjust lt-partial" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;partially&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;Vague data clauses in English (Grundler et al., 2024)&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-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;Cross-lingual legal NLP (Chalkidis et al., 2021; Galassi et al., 2024)&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 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 (Section 2 of the paper).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Objective.&lt;/strong&gt; Find the most effective way to detect insufficiently informative clauses in Italian, and test whether annotated data can be transferred between English and Italian in both directions.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="approach"&gt;Approach&lt;/h2&gt;
&lt;p&gt;The authors build the first Italian corpus for this task: 30 privacy policies of the same online platforms as the 30 English policies of Grundler et al. (2024).
A legal expert, an Italian native speaker trained on the English corpus, annotated it.
In the last training round on English policies, the expert agreed with the English gold labels with a Cohen&amp;rsquo;s κ of 0.77 on the label.
The corpus has 5,862 sentences and 875 CAT clauses, of which 220 are sufficiently informative.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Task&lt;/th&gt;
&lt;th&gt;Input&lt;/th&gt;
&lt;th&gt;Output&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;CAT classification&lt;/td&gt;
&lt;td&gt;A sentence&lt;/td&gt;
&lt;td&gt;CAT or not&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Informativeness classification&lt;/td&gt;
&lt;td&gt;A CAT clause&lt;/td&gt;
&lt;td&gt;Sufficiently or insufficiently informative&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Category and Subcategory detection&lt;/td&gt;
&lt;td&gt;A CAT clause&lt;/td&gt;
&lt;td&gt;The spans of Categories and Subcategories&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Specification detection&lt;/td&gt;
&lt;td&gt;A CAT clause&lt;/td&gt;
&lt;td&gt;The spans of Specifications&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Type classification&lt;/td&gt;
&lt;td&gt;A Category or Subcategory&lt;/td&gt;
&lt;td&gt;Open or Closed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kind classification&lt;/td&gt;
&lt;td&gt;A Category or Subcategory&lt;/td&gt;
&lt;td&gt;One of 30 kinds of data, such as payment&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;The six tasks, each solved independently (Section 4.1 of the paper).&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Two families of models solve each task.
Four BERT models (three Italian models and one multilingual model) are fine-tuned on the Italian training split.
Two large language models (LLMs), Gemini 2.0 Flash and Llama-3.1-8B-Instruct, answer from a prompt.
The prompt has no examples (zero-shot) or 15 examples (few-shot, 30 for Kind), picked at random or as the nearest neighbours of the input.
The cross-lingual experiments use no Italian training data at all.&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-file-alt" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;English corpus&lt;/strong&gt;
&lt;span&gt;30 annotated English policies.&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-language" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Transfer technique&lt;/strong&gt;
&lt;span&gt;Three ways to reach Italian.&lt;/span&gt;
&lt;ul class="lt-pipeline-branches"&gt;
&lt;li&gt;&lt;b&gt;Training set translation&lt;/b&gt; Translate the training data, train Italian models.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Multilingual model&lt;/b&gt; Train a multilingual model in English.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Test set translation&lt;/b&gt; Translate Italian test clauses to English.&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-check-circle" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Italian test set&lt;/strong&gt;
&lt;span&gt;Scored on the new Italian corpus.&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;figcaption&gt;Transfer from English to Italian (Section 4.3.1 of the paper). Translation uses the open-source Opus-MT models. The reverse direction applies the same idea with the Italian corpus as training data and the English test set.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id="results"&gt;Results&lt;/h2&gt;
&lt;p&gt;Each system is scored on the Italian test split, which holds 20% of the policies, with the F1 score of each class and their average, the macro F1 (from 0 to 1, higher is better).
BERT scores are averages over three fine-tuning runs.&lt;/p&gt;
&lt;ul class="lt-viz lt-proj-numbers"&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;0.79&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;macro F1 on informativeness for Italian BERT trained on Italian data&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 on informativeness with no Italian training data (DeBERTa, test set translation)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;0.84&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;macro F1 on informativeness in English for Italian BERT trained on the Italian 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;Macro F1 for informativeness classification &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;Gemini zero-shot&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 64%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.64&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;Llama zero-shot&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 64%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.64&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;Llama few-shot (nearest examples)&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;Gemini few-shot (nearest examples)&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 72%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.72&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;Multilingual BERT trained in English&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 65%"&gt;&lt;/span&gt;&lt;span class="lt-bar-err" style="--l: 54.1%; --ew: 21.8%" aria-hidden="true"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.65 &lt;small&gt;± 0.109&lt;/small&gt;&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;UmBERTo&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 78%"&gt;&lt;/span&gt;&lt;span class="lt-bar-err" style="--l: 73.7%; --ew: 8.6%" aria-hidden="true"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.78 &lt;small&gt;± 0.043&lt;/small&gt;&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;Italian BERT&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 79%"&gt;&lt;/span&gt;&lt;span class="lt-bar-err" style="--l: 77.4%; --ew: 3.2%" aria-hidden="true"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.79 &lt;small&gt;± 0.016&lt;/small&gt;&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;DeBERTa, test set translation&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 class="lt-bar-err" style="--l: 79.5%; --ew: 1%" aria-hidden="true"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.80 &lt;small&gt;± 0.005&lt;/small&gt;&lt;/span&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="lt-viz-note"&gt;Informativeness classification on the Italian test set. Source: Table 3 of the paper (whiskers show the standard deviation over three 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 for informativeness classification&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Gemini zero-shot&lt;/td&gt;&lt;td&gt;0.64&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Llama zero-shot&lt;/td&gt;&lt;td&gt;0.64&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Llama few-shot (nearest examples)&lt;/td&gt;&lt;td&gt;0.71&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Gemini few-shot (nearest examples)&lt;/td&gt;&lt;td&gt;0.72&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Multilingual BERT trained in English&lt;/td&gt;&lt;td&gt;0.65 ± 0.109&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;UmBERTo&lt;/td&gt;&lt;td&gt;0.78 ± 0.043&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Italian BERT&lt;/td&gt;&lt;td&gt;0.79 ± 0.016&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;DeBERTa, test set translation&lt;/td&gt;&lt;td&gt;0.80 ± 0.005&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;Setting&lt;/th&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;CAT&lt;/th&gt;
&lt;th&gt;Informativeness&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Kind&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Zero-shot&lt;/td&gt;
&lt;td&gt;Gemini&lt;/td&gt;
&lt;td&gt;0.85&lt;/td&gt;
&lt;td&gt;0.64&lt;/td&gt;
&lt;td&gt;0.67&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.56&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Few-shot, nearest examples&lt;/td&gt;
&lt;td&gt;Gemini&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.86&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;0.72&lt;/td&gt;
&lt;td&gt;0.76&lt;/td&gt;
&lt;td&gt;0.54&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fine-tuned on Italian data&lt;/td&gt;
&lt;td&gt;Italian BERT&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.86&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;0.79&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.80&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;0.44&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Multilingual model&lt;/td&gt;
&lt;td&gt;BERT multilingual&lt;/td&gt;
&lt;td&gt;0.68&lt;/td&gt;
&lt;td&gt;0.65&lt;/td&gt;
&lt;td&gt;0.73&lt;/td&gt;
&lt;td&gt;0.30&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Training set translation&lt;/td&gt;
&lt;td&gt;UmBERTo&lt;/td&gt;
&lt;td&gt;0.85&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.80&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;0.73&lt;/td&gt;
&lt;td&gt;0.32&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Test set translation&lt;/td&gt;
&lt;td&gt;DeBERTa&lt;/td&gt;
&lt;td&gt;0.85&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.80&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;0.79&lt;/td&gt;
&lt;td&gt;0.43&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Macro F1 of the four classification tasks on the Italian test set for selected systems. Source: Table 3 of the paper.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Fine-tuned BERT models beat the LLMs on vagueness: Italian BERT reaches 0.79, against 0.72 for the best LLM.
The one exception is Kind classification, with 30 classes, where Gemini zero-shot scores best with 0.56.
In the detection tasks, Italian BERT and UmBERTo are always the best models, with up to 0.86 macro F1 for Specifications with BIO tags (Table 5 of the paper).
Translating the Italian test set and reusing English models reaches the top informativeness score of 0.80, while a multilingual model trained in English drops to 0.65.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Training data for the English test set&lt;/th&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;CAT&lt;/th&gt;
&lt;th&gt;Informativeness&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Kind&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Original English corpus&lt;/td&gt;
&lt;td&gt;LEGAL-BERT&lt;/td&gt;
&lt;td&gt;0.86&lt;/td&gt;
&lt;td&gt;0.84&lt;/td&gt;
&lt;td&gt;0.80&lt;/td&gt;
&lt;td&gt;0.46&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Italian corpus, translated to English&lt;/td&gt;
&lt;td&gt;LEGAL-BERT&lt;/td&gt;
&lt;td&gt;0.86&lt;/td&gt;
&lt;td&gt;0.80&lt;/td&gt;
&lt;td&gt;0.78&lt;/td&gt;
&lt;td&gt;0.36&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Italian corpus, test set translated to Italian&lt;/td&gt;
&lt;td&gt;Italian BERT&lt;/td&gt;
&lt;td&gt;0.85&lt;/td&gt;
&lt;td&gt;0.84&lt;/td&gt;
&lt;td&gt;0.77&lt;/td&gt;
&lt;td&gt;0.35&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Macro F1 on the English test set. Source: Table 4 of the paper.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In the other direction, models trained on the Italian corpus match the English-trained model in three of the four classification tasks, and fall 10 points behind only on Kind classification.&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;Fine-tuned BERT models beat LLMs on vagueness.&lt;/strong&gt;&lt;span&gt;Italian BERT reaches 0.79 macro F1 on informativeness, against 0.72 for the best few-shot LLM. LLMs lead only on Kind classification, which has 30 classes.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;English resources can serve Italian.&lt;/strong&gt;&lt;span&gt;Translating the test set and reusing English models matches training on Italian data, with no new corpus and no new training. A multilingual model trained in English transfers poorly.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The Italian corpus generalizes to English.&lt;/strong&gt;&lt;span&gt;Trained on Italian data, models match the English-trained model in three of the four classification tasks. The corpus and code are public.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>Dynamic Demonstrations Selection for Few-Shot Legal Argument Mining</title><link>https://nlp.unibo.it/publication/alfieri-2025-dynamic/</link><pubDate>Wed, 01 Jan 2025 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/alfieri-2025-dynamic/</guid><description>&lt;h2 id="research-setting"&gt;Research setting&lt;/h2&gt;
&lt;p&gt;Argument mining (AM) is the automatic detection and classification of arguments in text.
In court decisions, an argument is a chain of inferences in which one or more premises lead to a conclusion.
The paper works on Demosthenes, a corpus of 40 English decisions by the Court of Justice of the European Union (CJEU) on Fiscal State Aid.
Legal experts annotated it at three levels.
Each level gives one classification task.&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-gavel" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Argumentative sentence&lt;/strong&gt;
&lt;span&gt;A sentence from a CJEU decision.&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-sitemap" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;&lt;ol&gt;
&lt;li&gt;Argument component&lt;/li&gt;
&lt;/ol&gt;
&lt;/strong&gt;
&lt;span&gt;Premise or conclusion.&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;&lt;ol start="2"&gt;
&lt;li&gt;Premise type&lt;/li&gt;
&lt;/ol&gt;
&lt;/strong&gt;
&lt;span&gt;For premises. Factual, legal, or both.&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-tags" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;&lt;ol start="3"&gt;
&lt;li&gt;Argument scheme&lt;/li&gt;
&lt;/ol&gt;
&lt;/strong&gt;
&lt;span&gt;For legal premises. One or more of five schemes.&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;figcaption&gt;The three classification tasks of the paper, one per annotation level of the Demosthenes corpus (Sections 3 and 4).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;Terms used on this page:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;factual premise&lt;/strong&gt; describes events or procedural aspects of the case. A &lt;strong&gt;legal premise&lt;/strong&gt; refers to legal content such as laws, precedents, principles, or their interpretation.&lt;/li&gt;
&lt;li&gt;An &lt;strong&gt;argument scheme&lt;/strong&gt; is the pattern of reasoning behind a legal premise. A premise can carry several schemes. The paper uses five:
&lt;ul&gt;
&lt;li&gt;Rule: an EU norm applies to the case.&lt;/li&gt;
&lt;li&gt;Precedent: an earlier ruling of the Court applies.&lt;/li&gt;
&lt;li&gt;Authoritative: a statement by an authority, such as an Advocate General, supports the outcome.&lt;/li&gt;
&lt;li&gt;Classification: a legal concept is defined by its conditions.&lt;/li&gt;
&lt;li&gt;Interpretative: a meaning is given to a legal source.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;large language model (LLM)&lt;/strong&gt; is a general-purpose text model that can solve a task from instructions in its prompt, without training.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Few-shot learning&lt;/strong&gt;, or in-context learning, adds a few labeled examples to the prompt. These examples are called &lt;strong&gt;demonstrations&lt;/strong&gt;, and a prompt with &lt;em&gt;k&lt;/em&gt; of them is a &lt;em&gt;k&lt;/em&gt;-shot prompt.&lt;/li&gt;
&lt;li&gt;An &lt;strong&gt;embedding&lt;/strong&gt; is a vector that represents the meaning of a sentence. Two sentences with close embeddings are similar.&lt;/li&gt;
&lt;/ul&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="precedent" aria-pressed="false"&gt;Precedent&lt;/button&gt;
&lt;button type="button" class="lt-annotate-key lt-c2" data-lt-label="classification" aria-pressed="false"&gt;Classification&lt;/button&gt;
&lt;button type="button" class="lt-annotate-key lt-c3" data-lt-label="rule" aria-pressed="false"&gt;Rule&lt;/button&gt;
&lt;/div&gt;
&lt;p class="lt-annotate-text"&gt;
&lt;span&gt;First, it must be recalled that,&lt;/span&gt;
&lt;mark class="lt-c1" data-lt-label="precedent"&gt;according to the Court’s settled case-law,&lt;span class="lt-annotate-tag"&gt;Precedent&lt;/span&gt;&lt;/mark&gt;
&lt;mark class="lt-c2" data-lt-label="classification"&gt;classification of a national measure as ‘State aid’,&lt;span class="lt-annotate-tag"&gt;Classification&lt;/span&gt;&lt;/mark&gt;
&lt;mark class="lt-c3" data-lt-label="rule"&gt;within the meaning of Article 107(1) TFEU,&lt;span class="lt-annotate-tag"&gt;Rule&lt;/span&gt;&lt;/mark&gt;
&lt;mark class="lt-c2" data-lt-label="classification"&gt;requires all the following conditions to be fulfilled …&lt;span class="lt-annotate-tag"&gt;Classification&lt;/span&gt;&lt;/mark&gt;
&lt;/p&gt;
&lt;figcaption&gt;A legal premise from the corpus that carries three argument schemes at once (Appendix B.3 of the paper). The marked spans follow the rationale that the paper gives for each scheme.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id="motivation"&gt;Motivation&lt;/h2&gt;
&lt;p&gt;LLMs give mixed results in the legal domain, whose language is formal, layered, and often ambiguous.
In few-shot learning, the choice of demonstrations shapes performance, and in the legal domain the choice is especially hard.
Demonstrations must show the key reasoning patterns and cues, yet stay short because of the token limits of the models.
Some prior methods fix one set of demonstrations for all queries.
Others pick examples close to the query, but measure diversity only through labels or through the same similarity score.&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;Selection method&lt;/th&gt;&lt;th scope="col"&gt;Chosen for each query&lt;/th&gt;&lt;th scope="col"&gt;Similar to the query&lt;/th&gt;&lt;th scope="col"&gt;Diverse in content&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;Static selection by experts or by the LLM (Grundler et al., 2024; Qin et al., 2024)&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;not discussed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;k-NN selection (Liu et al., 2022)&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;Reinforcement learning selection (Wang et al., 2025)&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;labels only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;Complementary examples (Ye 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-adjust lt-partial" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;partially&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="is-ours"&gt;
&lt;th scope="row"&gt;This paper (dynamic graph selection) &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 demonstration selection methods it discusses (Section 2 of the paper).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Objective.&lt;/strong&gt; Measure how demonstration selection affects LLMs on legal argument mining. Compare static selection with dynamic selection, including a new graph-based method that also seeks diversity.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="approach"&gt;Approach&lt;/h2&gt;
&lt;p&gt;The paper compares two families of selection, shown in the figure at the top of this page.
&lt;strong&gt;Static&lt;/strong&gt; selection fixes the demonstrations once.
Legal experts choose them with explicit criteria, or the LLM itself chooses them from at most 50 training examples (self-selection).
&lt;strong&gt;Dynamic&lt;/strong&gt; selection picks new demonstrations from the training set for each query, the sentence to classify.
Dynamic k-NN takes the &lt;em&gt;k&lt;/em&gt; training examples whose embeddings are closest to the query.
The new dynamic graph method adds diversity, in five steps.&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-project-diagram" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Build a graph&lt;/strong&gt;
&lt;span&gt;Nodes are training examples, linked when close.&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-crosshairs" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Keep near nodes&lt;/strong&gt;
&lt;span&gt;Drop nodes far from the query.&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-object-group" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Find groups&lt;/strong&gt;
&lt;span&gt;The Louvain method splits them into dense groups.&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-hand-pointer" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Pick one each&lt;/strong&gt;
&lt;span&gt;The most central node, by PageRank.&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-comment-dots" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Prompt the LLM&lt;/strong&gt;
&lt;span&gt;The picks go into the prompt.&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;figcaption&gt;Dynamic graph selection (Section 4.1 of the paper). The two distance thresholds are set per task and number of demonstrations, in two configurations called c1 and c2 (Section 4.2).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;A &lt;strong&gt;balanced&lt;/strong&gt; variant of both dynamic methods includes about the same number of demonstrations for each class.
The LLMs are Llama 3.1 (8B, instruction tuned) and Gemini 2.0 Flash, with 0, 5, or 10 demonstrations.
Two trained classifiers serve as references: a LinearSVC on TF-IDF features and a fine-tuned LEGAL-BERT, one model per task.&lt;/p&gt;
&lt;h2 id="results"&gt;Results&lt;/h2&gt;
&lt;p&gt;The paper tests 34 configurations on a held-out split of 8 decisions, with 345 premises and 22 conclusions.
Scores are F1 per class and their macro average (macro-F1), from 0 to 1, where higher is better.&lt;/p&gt;
&lt;ul class="lt-viz lt-proj-numbers"&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;0.80&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;argument scheme macro-F1, Gemini 5-shot with k-NN, against 0.68 with static expert&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;0.84&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;premise type macro-F1, Gemini 10-shot with k-NN, against 0.81 with static expert&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;14&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;demonstrations chosen by both Gemini and the experts, 11 for argument schemes&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 argument schemes &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;Gemini zero-shot&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 61%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.61&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;Static expert&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;Static self-selection&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;Dynamic k-NN&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 is-ours" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;Dynamic graph c1 &lt;span class="lt-ours"&gt;This work&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 79%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.79&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar is-ours" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;Dynamic graph c2 &lt;span class="lt-ours"&gt;This work&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 74%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.74&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;LEGAL-BERT (fine-tuned)&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;LinearSVC (trained)&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 83%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.83&lt;/span&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="lt-viz-note"&gt;Argument scheme classification with Gemini 2.0 Flash and 10 demonstrations, against zero-shot Gemini and the trained references. Source: Table 2 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;Macro-F1 on argument schemes&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Gemini zero-shot&lt;/td&gt;&lt;td&gt;0.61&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Static expert&lt;/td&gt;&lt;td&gt;0.71&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Static self-selection&lt;/td&gt;&lt;td&gt;0.75&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Dynamic k-NN&lt;/td&gt;&lt;td&gt;0.80&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Dynamic graph c1 (this work)&lt;/td&gt;&lt;td&gt;0.79&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Dynamic graph c2 (this work)&lt;/td&gt;&lt;td&gt;0.74&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;LEGAL-BERT (fine-tuned)&lt;/td&gt;&lt;td&gt;0.75&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;LinearSVC (trained)&lt;/td&gt;&lt;td&gt;0.83&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 and selection&lt;/th&gt;
&lt;th&gt;Argument component&lt;/th&gt;
&lt;th&gt;Premise type&lt;/th&gt;
&lt;th&gt;Argument scheme&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;LinearSVC (trained)&lt;/td&gt;
&lt;td&gt;0.90&lt;/td&gt;
&lt;td&gt;0.82&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.83&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LEGAL-BERT (fine-tuned)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.91&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.89&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;0.75&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 10-shot, static expert&lt;/td&gt;
&lt;td&gt;0.69&lt;/td&gt;
&lt;td&gt;0.81&lt;/td&gt;
&lt;td&gt;0.71&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 10-shot, static self-selection&lt;/td&gt;
&lt;td&gt;0.67&lt;/td&gt;
&lt;td&gt;0.80&lt;/td&gt;
&lt;td&gt;0.75&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 10-shot, dynamic k-NN&lt;/td&gt;
&lt;td&gt;0.65&lt;/td&gt;
&lt;td&gt;0.84&lt;/td&gt;
&lt;td&gt;0.80&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 10-shot, dynamic k-NN balanced&lt;/td&gt;
&lt;td&gt;0.67&lt;/td&gt;
&lt;td&gt;0.82&lt;/td&gt;
&lt;td&gt;0.80&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 10-shot, dynamic graph c1&lt;/td&gt;
&lt;td&gt;0.65&lt;/td&gt;
&lt;td&gt;0.79&lt;/td&gt;
&lt;td&gt;0.79&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 10-shot, dynamic graph c2&lt;/td&gt;
&lt;td&gt;0.67&lt;/td&gt;
&lt;td&gt;0.83&lt;/td&gt;
&lt;td&gt;0.74&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Macro-F1 per task. Source: Table 2 of the paper.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Among the LLM configurations, dynamic k-NN is the best overall in all three tasks, which points to similarity as an important criterion in this domain.
At least one configuration of the graph method performs close to k-NN in most settings.
Neither c1 nor c2 is better overall.
Balancing matters for argument components with Llama: with 5 demonstrations, k-NN drops to 0.14 macro-F1 without balancing and reaches 0.69 with it.
The trained references still score best in every task.
However, they use the whole training set and one model per task, while one LLM serves all tasks with 5 or 10 demonstrations.&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;Similarity is the key criterion.&lt;/strong&gt;&lt;span&gt;Picking demonstrations close to each query was the best LLM setting overall in all three tasks. In the paper&amp;rsquo;s comparison, it matches or outperforms demonstrations chosen by legal experts.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Expert curation is not required.&lt;/strong&gt;&lt;span&gt;Comparable or better results come without the cost and effort of manual selection. At least one configuration of the graph method performs close to k-NN, which leaves room to explore its thresholds.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Training still wins.&lt;/strong&gt;&lt;span&gt;LinearSVC and LEGAL-BERT obtain the best results in all three tasks. The paper plans to test how less labeled data affects each approach.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>Generation and Evaluation of English Grammar Multiple-Choice Cloze Exercises</title><link>https://nlp.unibo.it/publication/donati-etal-2024-generation/</link><pubDate>Sun, 01 Dec 2024 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/donati-etal-2024-generation/</guid><description>&lt;h2 id="research-setting"&gt;Research setting&lt;/h2&gt;
&lt;p&gt;Language teachers use multiple-choice cloze (MCC) exercises to train grammar.
An MCC exercise has a body, a sentence with a gap; a key, the correct answer for the gap; and distractors, plausible but incorrect alternatives.
Good distractors are homogeneous (same syntactic category as the key), plausible, and unambiguous (none of them could replace the key).
Writing many such exercises by hand takes time and expert knowledge, so the paper asks a large language model (LLM) to write them.&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="key" aria-pressed="false"&gt;Key&lt;/button&gt;
&lt;/div&gt;
&lt;p class="lt-annotate-text"&gt;
&lt;span&gt;Thanks to high technology, doctors can&lt;/span&gt;
&lt;mark class="lt-c1" data-lt-label="key"&gt;better&lt;span class="lt-annotate-tag"&gt;Key&lt;/span&gt;&lt;/mark&gt;
&lt;span&gt;assess patients’ conditions.&lt;/span&gt;
&lt;/p&gt;
&lt;figcaption&gt;An MCC exercise on comparisons from the fine-tuning dataset (Listing 2 of the paper), shown with its key filled in. The learner sees a gap in place of the key and chooses among better, best, good, and well; the last three are the distractors.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id="motivation"&gt;Motivation&lt;/h2&gt;
&lt;p&gt;Most earlier systems take sentences from existing texts and place the gap with fixed rules, such as the first verb or an adjective.
Systems that write new sentences still constrain the model, for example with a fixed part-of-speech (POS) sequence, and their output tends to lack creativity.
The only English MCC dataset, SC-Ques, has limited diversity, underrepresented topics, and frequent mistakes.
Lastly, the field has no agreed automatic metric for the quality of a generated exercise.&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;Writes its own sentences&lt;/th&gt;&lt;th scope="col"&gt;No fixed gap rule or POS sequence&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;Rule-based pipelines (Sumita et al.; Lin 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;&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;Gap detection with conditional random fields (Goto 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;&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;Neural gap prediction (Bitew et al.; Matsumori 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;&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;Generation from a POS sequence, keyword, and topic (Chomphooyod et al.)&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;/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;/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; Find out how well an LLM can write accurate English grammar MCC exercises without predefined constraints or POS sequences, and measure their quality with an automatic metric checked against a human expert.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="approach"&gt;Approach&lt;/h2&gt;
&lt;p&gt;The base Llama 3 model, given a detailed prompt, struggled with some grammar topics and wrote poor distractors.
The authors therefore fine-tuned it on a cleaned dataset of exercises, built from SC-Ques in the steps below.&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-database" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;SC-Ques&lt;/strong&gt;
&lt;span&gt;About 300k English sentence completion exercises written by teachers.&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-broom" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Cleaning&lt;/strong&gt;
&lt;span&gt;Drop items with several gaps, fewer than two distractors, or noise.&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-tags" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Topics&lt;/strong&gt;
&lt;span&gt;A rule-based Pattern Matcher links each key to one of 19 grammar topics.&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-clone" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Filtering&lt;/strong&gt;
&lt;span&gt;Remove similar exercises per topic and cap how often one key appears.&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;Balancing&lt;/strong&gt;
&lt;span&gt;Add synthetic WH-question exercises written with GPT-4.&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;figcaption&gt;Building the fine-tuning dataset (Section 5 of the paper). After the removal of similar exercises, 30% of the original data was left.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;Each training example pairs a grammar topic and a number of distractors with an exercise in JSON: the full sentence, the sentence with the gap, the key, and the distractors.
Two metrics then score the output.
Structural compliance (SC) is a rule-based check of the exercise form.
The gap must sit in the intended place, the key must have the right grammatical form, and every distractor must be homogeneous with the key.
Self-BLEU measures how much the exercises of one topic repeat each other&amp;rsquo;s word sequences (2 to 5 words long); lower means more diverse.&lt;/p&gt;
&lt;figure class="lt-viz lt-stages" id="lt-stages-1290012415-3"&gt;
&lt;div class="lt-stages-tabs" role="tablist"&gt;
&lt;button type="button" role="tab" id="lt-stages-1290012415-3-tab-0" aria-controls="lt-stages-1290012415-3-panel-0" aria-selected="true" tabindex="0"&gt;1. Fine-tune&lt;/button&gt;
&lt;button type="button" role="tab" id="lt-stages-1290012415-3-tab-1" aria-controls="lt-stages-1290012415-3-panel-1" aria-selected="false" tabindex="-1"&gt;2. Generate&lt;/button&gt;
&lt;button type="button" role="tab" id="lt-stages-1290012415-3-tab-2" aria-controls="lt-stages-1290012415-3-panel-2" aria-selected="false" tabindex="-1"&gt;3. Check&lt;/button&gt;
&lt;/div&gt;
&lt;div class="lt-stages-panel" role="tabpanel" id="lt-stages-1290012415-3-panel-0" aria-labelledby="lt-stages-1290012415-3-tab-0"&gt;
&lt;p class="lt-stages-name"&gt;1. Fine-tune&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;Grammar topic&lt;/strong&gt;
&lt;span&gt;Data&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-frozen"&gt;
&lt;i class="fas fa-snowflake" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Llama 3 weights&lt;/strong&gt;
&lt;span&gt;Frozen&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;LoRA adapters&lt;/strong&gt;
&lt;span&gt;Trained&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;Exercise&lt;/strong&gt;
&lt;span&gt;Data&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-idle"&gt;
&lt;strong&gt;Structural check&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="lt-stages-text"&gt;Llama 3 8B Instruct is quantized to 4-bit precision and kept frozen. Small low-rank (LoRA) adapters on its attention layers learn to write the exercise for a given topic, for 3 epochs, in two hours on one GPU.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="lt-stages-panel" role="tabpanel" id="lt-stages-1290012415-3-panel-1" aria-labelledby="lt-stages-1290012415-3-tab-1"&gt;
&lt;p class="lt-stages-name"&gt;2. Generate&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;Grammar topic&lt;/strong&gt;
&lt;span&gt;Data&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-frozen"&gt;
&lt;i class="fas fa-snowflake" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Llama 3 weights&lt;/strong&gt;
&lt;span&gt;Frozen&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-frozen"&gt;
&lt;i class="fas fa-snowflake" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;LoRA adapters&lt;/strong&gt;
&lt;span&gt;Frozen&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;Exercise&lt;/strong&gt;
&lt;span&gt;Data&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-idle"&gt;
&lt;strong&gt;Structural check&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="lt-stages-text"&gt;For each of the 19 topics, the model writes 50 exercises with one distractor each, sampling at temperature 0.7.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="lt-stages-panel" role="tabpanel" id="lt-stages-1290012415-3-panel-2" aria-labelledby="lt-stages-1290012415-3-tab-2"&gt;
&lt;p class="lt-stages-name"&gt;3. Check&lt;/p&gt;
&lt;ol class="lt-stages-flow"&gt;
&lt;li class="is-idle"&gt;
&lt;strong&gt;Grammar topic&lt;/strong&gt;
&lt;/li&gt;
&lt;li class="is-idle"&gt;
&lt;strong&gt;Llama 3 weights&lt;/strong&gt;
&lt;/li&gt;
&lt;li class="is-idle"&gt;
&lt;strong&gt;LoRA adapters&lt;/strong&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;Exercise&lt;/strong&gt;
&lt;span&gt;Data&lt;/span&gt;
&lt;/li&gt;
&lt;li class="is-frozen"&gt;
&lt;i class="fas fa-snowflake" aria-hidden="true"&gt;&lt;/i&gt;
&lt;strong&gt;Structural check&lt;/strong&gt;
&lt;span&gt;Frozen&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="lt-stages-text"&gt;The structural check tests the gap and key (pertinence) and the distractor (homogeneity). For inflectional topics, the distractor must share the key&amp;rsquo;s lemma; for free morpheme topics, whose options form a small closed set, it must come from a list of admitted words.&lt;/p&gt;
&lt;/div&gt;
&lt;p class="lt-stages-legend"&gt;
&lt;span class="is-trained"&gt;&lt;i class="fas fa-fire" aria-hidden="true"&gt;&lt;/i&gt; Trained with gradients&lt;/span&gt;
&lt;span class="is-frozen"&gt;&lt;i class="fas fa-snowflake" aria-hidden="true"&gt;&lt;/i&gt; Kept fixed&lt;/span&gt;
&lt;span class="is-data"&gt;&lt;i class="fas fa-file-alt" aria-hidden="true"&gt;&lt;/i&gt; Data&lt;/span&gt;
&lt;/p&gt;
&lt;figcaption&gt;Training, generation, and checking (Sections 6 to 8 of the paper).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id="results"&gt;Results&lt;/h2&gt;
&lt;p&gt;The 950 generated exercises were scored with the automatic metrics and reviewed by a computational linguist with a background in language teaching.
The expert judged each exercise correct (EC) only if it was plausible, unambiguous, coherent with common sense, and acceptable (free of stereotypes and inappropriate content).
The expert also judged structural compliance, which serves as the gold reference for the automatic check (SC&lt;sub&gt;A&lt;/sub&gt;).&lt;/p&gt;
&lt;ul class="lt-viz lt-proj-numbers"&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;79%&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;of the 950 exercises judged ready for learners by the expert&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;95%&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;F1 of the automatic structural check against the expert (precision 98%, recall 91%)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;0.07&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;average self-BLEU, a sign of low repetition&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class="lt-viz lt-bars"&gt;
&lt;figcaption class="lt-viz-title"&gt;Exercise correctness (EC) per grammar topic &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;articles&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 74%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.74&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;comparison adjectives&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 72%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.72&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;conditional statements&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 66%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.66&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;future simple&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 90%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.90&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;modal verbs&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 70%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.70&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;infinitive and gerund verbs&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 86%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.86&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;passive tenses&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 74%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.74&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;past continuous&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 88%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.88&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;past perfect&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 82%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.82&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;past simple&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 82%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.82&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;personal pronouns&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 74%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.74&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;possessive adjectives&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 72%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.72&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;prepositions&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 72%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.72&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;present continuous&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 88%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.88&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;present perfect&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 84%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.84&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;present simple&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 86%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.86&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;quantifiers&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 84%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.84&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;relative clauses&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 74%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.74&lt;/span&gt;
&lt;/li&gt;&lt;li class="lt-bar" tabindex="0"&gt;
&lt;span class="lt-bar-label"&gt;WH- question&lt;/span&gt;
&lt;span class="lt-bar-track"&gt;&lt;span class="lt-bar-fill" style="--w: 90%"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class="lt-bar-value"&gt;0.90&lt;/span&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="lt-viz-note"&gt;Share of exercises judged correct by the expert, per grammar topic. Source: Table 1 of the paper (50 exercises per topic).&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;Exercise correctness (EC) per grammar topic&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;articles&lt;/td&gt;&lt;td&gt;0.74&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;comparison adjectives&lt;/td&gt;&lt;td&gt;0.72&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;conditional statements&lt;/td&gt;&lt;td&gt;0.66&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;future simple&lt;/td&gt;&lt;td&gt;0.90&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;modal verbs&lt;/td&gt;&lt;td&gt;0.70&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;infinitive and gerund verbs&lt;/td&gt;&lt;td&gt;0.86&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;passive tenses&lt;/td&gt;&lt;td&gt;0.74&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;past continuous&lt;/td&gt;&lt;td&gt;0.88&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;past perfect&lt;/td&gt;&lt;td&gt;0.82&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;past simple&lt;/td&gt;&lt;td&gt;0.82&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;personal pronouns&lt;/td&gt;&lt;td&gt;0.74&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;possessive adjectives&lt;/td&gt;&lt;td&gt;0.72&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;prepositions&lt;/td&gt;&lt;td&gt;0.72&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;present continuous&lt;/td&gt;&lt;td&gt;0.88&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;present perfect&lt;/td&gt;&lt;td&gt;0.84&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;present simple&lt;/td&gt;&lt;td&gt;0.86&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;quantifiers&lt;/td&gt;&lt;td&gt;0.84&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;relative clauses&lt;/td&gt;&lt;td&gt;0.74&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;WH- question&lt;/td&gt;&lt;td&gt;0.90&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;Average over the 19 topics&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Structural compliance, automatic check (SC&lt;sub&gt;A&lt;/sub&gt;)&lt;/td&gt;
&lt;td&gt;0.85&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Structural compliance, expert (SC&lt;sub&gt;H&lt;/sub&gt;)&lt;/td&gt;
&lt;td&gt;0.92&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Self-BLEU (lower is better)&lt;/td&gt;
&lt;td&gt;0.07&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Exercise correctness, expert (EC)&lt;/td&gt;
&lt;td&gt;0.79&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wrong exercises that break common sense&lt;/td&gt;
&lt;td&gt;0.75&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wrong exercises with an ambiguous distractor&lt;/td&gt;
&lt;td&gt;0.19&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wrong exercises that are not acceptable&lt;/td&gt;
&lt;td&gt;0.05&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wrong exercises that are not plausible&lt;/td&gt;
&lt;td&gt;0.01&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Averages from Table 1 (first four rows) and from the error analysis on wrong exercises in Table 2 of the paper.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Most generated exercises are well formed and varied, and the automatic check agrees closely with the expert.
By the structural scores, the model does better on free morpheme topics, where keys and distractors come from a small set of words.
On verb tense topics, the Pattern Matcher sometimes mislabels verbs, so the check can wrongly reject an exercise.
Among the wrong exercises, a sentence that makes no sense is the most frequent error, and an ambiguous distractor is the second.
Biased or trivial exercises are almost absent.&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 fine-tuned LLM writes usable grammar exercises.&lt;/strong&gt;&lt;span&gt;Without predefined constraints or POS sequences, 79% of the generated exercises met every requirement for classroom use. The authors found that high-quality fine-tuning data was a key factor.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Structure can be checked automatically.&lt;/strong&gt;&lt;span&gt;The rule-based structural check reached 95% F1 against the expert, so it can screen exercises before a human review.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Meaning is the open problem.&lt;/strong&gt;&lt;span&gt;Most wrong exercises had a sentence that breaks common sense, and some distractors could replace the key, especially for verb tenses.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>TWOLAR: A TWO-Step LLM-Augmented Distillation Method for Passage Reranking</title><link>https://nlp.unibo.it/publication/10-1007-978-3-031-56027-9-29/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/10-1007-978-3-031-56027-9-29/</guid><description/></item></channel></rss>