<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Web Server | Language Technologies Lab</title><link>https://nlp.unibo.it/tag/web-server/</link><atom:link href="https://nlp.unibo.it/tag/web-server/index.xml" rel="self" type="application/rss+xml"/><description>Web Server</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Fri, 01 Jan 2016 00:00:00 +0000</lastBuildDate><image><url>https://nlp.unibo.it/media/logo.svg</url><title>Web Server</title><link>https://nlp.unibo.it/tag/web-server/</link></image><item><title>MARGOT: A web server for argumentation mining</title><link>https://nlp.unibo.it/publication/lippi-2016292/</link><pubDate>Fri, 01 Jan 2016 00:00:00 +0000</pubDate><guid>https://nlp.unibo.it/publication/lippi-2016292/</guid><description>&lt;h2 id="research-setting"&gt;Research setting&lt;/h2&gt;
&lt;p&gt;Argumentation mining is the automatic extraction of arguments from unstructured text, such as news, web pages, or social media.
An argument has a claim, the conclusion that someone defends, and evidence, the premises that support it.
A sentence is argumentative when it contains at least one claim or one piece of evidence.
The boundaries of a claim or of a piece of evidence are its first and last words inside the sentence.&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="claim" aria-pressed="false"&gt;Claim&lt;/button&gt;
&lt;button type="button" class="lt-annotate-key lt-c2" data-lt-label="evidence" aria-pressed="false"&gt;Evidence&lt;/button&gt;
&lt;/div&gt;
&lt;p class="lt-annotate-text"&gt;
&lt;span&gt;They also argue that&lt;/span&gt;
&lt;mark class="lt-c1" data-lt-label="claim"&gt;economic inequality contributes to crime.&lt;span class="lt-annotate-tag"&gt;Claim&lt;/span&gt;&lt;/mark&gt;
&lt;mark class="lt-c2" data-lt-label="evidence"&gt;Dr. Gary Kleck, a criminologist at Florida State University, estimated that approximately 2.5 million people used their gun in self-defense or to prevent crime each year, often by merely displaying a weapon&lt;span class="lt-annotate-tag"&gt;Evidence&lt;/span&gt;&lt;/mark&gt;
&lt;/p&gt;
&lt;figcaption&gt;Two sentences from the IBM corpus, the training data of MARGOT. The first contains a claim; the second is expert evidence, a testimony by someone with authority on the topic (Section 3 of the paper).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id="motivation"&gt;Motivation&lt;/h2&gt;
&lt;p&gt;Argumentation mining could serve policy-making, recommender systems, and the legal domain, but in 2016 no tool for it was open to people outside the research field.
Existing methods solved single sub-tasks for single genres, and they relied on hand-made features tied to one genre.
Methods trained on the IBM corpus also needed the topic of the debate in advance, because that corpus labels a claim only when it is relevant to a given topic.&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;System&lt;/th&gt;&lt;th scope="col"&gt;Open to non-experts&lt;/th&gt;&lt;th scope="col"&gt;No topic needed&lt;/th&gt;&lt;th scope="col"&gt;Claims and evidence&lt;/th&gt;&lt;th scope="col"&gt;Component boundaries&lt;/th&gt;&lt;th scope="col"&gt;No genre-specific features&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;Context-dependent detection (Levy et al., 2014; Rinott et al., 2015)&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;td&gt;Claims only&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-genre mining with SVM-HMM (Habernal &amp;amp; Gurevych, 2015)&lt;/th&gt;
&lt;td&gt;&lt;i class="fas fa-times-circle lt-no" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;no&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;Not discussed&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-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;Context-independent claim detection (Lippi &amp;amp; Torroni, 2015)&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;Claims only&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 (MARGOT) &lt;span class="lt-ours"&gt;This work&lt;/span&gt;&lt;/th&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;i class="fas fa-check-circle lt-yes" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="sr-only"&gt;yes&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;figcaption&gt;How MARGOT relates to the methods the paper discusses (Sections 1 to 3 of the paper).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Objective.&lt;/strong&gt; Build MARGOT (Mining ARGuments frOm Text), a web server that finds claims, evidence, and their boundaries in any English text with no topic given, and test how it behaves across genres.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="approach"&gt;Approach&lt;/h2&gt;
&lt;p&gt;MARGOT is a pipeline of three stages.
The Stanford parser first splits the text into sentences and builds the constituency parse tree of each one, a tree of its grammatical phrases.
Two classifiers then score each sentence, one for claims and one for evidence.
Last, for each argumentative sentence, a sequence labeler marks which words belong to the claim or to the evidence.
MARGOT was trained on the IBM corpus: 547 Wikipedia articles on 58 topics, with 2,294 claims and 4,690 pieces of evidence.&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;Input text&lt;/strong&gt;
&lt;span&gt;Plain text pasted by the user.&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-stream" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Parsing&lt;/strong&gt;
&lt;span&gt;Sentences and their parse trees.&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-filter" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Sentence scoring&lt;/strong&gt;
&lt;span&gt;Tree kernel classifiers score each sentence.&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-highlighter" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Word labels&lt;/strong&gt;
&lt;span&gt;SVM-HMM marks claim and evidence words.&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-file-code" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt;
&lt;strong&gt;Output page&lt;/strong&gt;
&lt;span&gt;HTML page with highlights.&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;figcaption&gt;The MARGOT pipeline, from a plain text query to an HTML page with the arguments highlighted (Figure 1 and Section 4 of the paper).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;The classifiers are support vector machines (SVMs) with a tree kernel, a similarity that counts the fragments two parse trees share.
They also use bag-of-words, the counts of the words in the sentence.
The idea is that claims often share a structure, such as a clause after a verb like &amp;ldquo;argue&amp;rdquo; or &amp;ldquo;believe&amp;rdquo;, so no genre-specific features are needed.
The boundary stage uses SVM-HMM, a sequence labeler that combines SVMs with hidden Markov models, over words, part-of-speech tags, lemmas, and named entities.&lt;/p&gt;
&lt;figure id="figure-parse-trees-of-two-claim-sentences-from-the-ibm-corpus-boxed-nodes-are-the-parts-the-two-trees-share-which-the-tree-kernel-counts-figure-2-of-the-paper-post-print-cc-by"&gt;
&lt;div class="d-flex justify-content-center"&gt;
&lt;div class="w-100" &gt;&lt;img alt="Parse trees of two claim sentences from the IBM corpus. Boxed nodes are the parts the two trees share, which the tree kernel counts (Figure 2 of the paper, post-print, CC BY)." srcset="
/publication/lippi-2016292/method_hu_14680eb0bc8cd56c.webp 400w,
/publication/lippi-2016292/method_hu_5e0e42e809e52beb.webp 760w,
/publication/lippi-2016292/method_hu_b6498754fe2b94d0.webp 1200w"
src="https://nlp.unibo.it/publication/lippi-2016292/method_hu_14680eb0bc8cd56c.webp"
width="760"
height="213"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;figcaption&gt;
Parse trees of two claim sentences from the IBM corpus. Boxed nodes are the parts the two trees share, which the tree kernel counts (Figure 2 of the paper, post-print, CC BY).
&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id="results"&gt;Results&lt;/h2&gt;
&lt;p&gt;On the IBM corpus, each of 39 topics is held out in turn as the test set, and scores are averaged over these topics.
Precision is the share of predicted sentences that are correct, and recall is the share of true sentences that are found.
Sentence detection reports F1, the harmonic mean of precision and recall, and AUROC, the probability that a positive sentence ranks above a negative one (1 is perfect).
Boundary detection reports HT, the share of true claims that the prediction overlaps by at least one word.
The paper then runs MARGOT on new Wikipedia pages, New York Times articles, and Reddit threads.
There it counts the share of sentences with a claim (%C) and with evidence (%E).&lt;/p&gt;
&lt;ul class="lt-viz lt-proj-numbers"&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;0.816&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;AUROC for claim sentence detection on the IBM corpus&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;85.9%&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;of true claims hit by the predicted boundaries (HT)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="lt-proj-number"&gt;34.2% vs 10.0%&lt;/span&gt;&lt;span class="lt-proj-number-label"&gt;of sentences with a claim in controversial and non-controversial Wikipedia pages&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Claims, F1&lt;/th&gt;
&lt;th&gt;Claims, AUROC&lt;/th&gt;
&lt;th&gt;Evidence, F1&lt;/th&gt;
&lt;th&gt;Evidence, AUROC&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Random baseline&lt;/td&gt;
&lt;td&gt;3.1&lt;/td&gt;
&lt;td&gt;–&lt;/td&gt;
&lt;td&gt;4.9&lt;/td&gt;
&lt;td&gt;–&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bag-of-words SVM&lt;/td&gt;
&lt;td&gt;16.9&lt;/td&gt;
&lt;td&gt;0.805&lt;/td&gt;
&lt;td&gt;13.9&lt;/td&gt;
&lt;td&gt;0.671&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tree kernel (SSTK)&lt;/td&gt;
&lt;td&gt;16.6&lt;/td&gt;
&lt;td&gt;0.809&lt;/td&gt;
&lt;td&gt;16.1&lt;/td&gt;
&lt;td&gt;0.718&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Tree kernel + bag-of-words (MARGOT)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;17.5&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.816&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;16.7&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.724&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Argumentative sentence detection on the IBM corpus, averaged over 39 held-out topics (Tables 1 and 2 of the paper). Less than 5% of the sentences are positive.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;F1 stays low because fewer than 5% of the sentences are positive and MARGOT does not know the topic: many of its false positives are real claims that the IBM annotators skipped as off-topic.
The tree kernel with bag-of-words gives the best F1 and AUROC for both claims and evidence.
On boundaries, MARGOT reaches an F1 of 66.6 for claims and 90.7 for evidence (Table 4).&lt;/p&gt;
&lt;p&gt;Controversial Wikipedia pages hold far more claims than neutral ones, and New York Times articles sit in between, with 22.4% of sentences holding a claim (Tables 5 and 6).
On Reddit, the climate shift thread is richer in arguments than the New Hampshire primaries thread, with an evidence share (%E) of 0.88 against 0.48.&lt;/p&gt;
&lt;figure id="figure-reddit-comment-trees-colored-by-the-margot-prediction-blue-for-claim-red-for-evidence-yellow-for-both-gray-for-none-figure-6-of-the-paper-post-print-cc-by"&gt;
&lt;div class="d-flex justify-content-center"&gt;
&lt;div class="w-100" &gt;&lt;img alt="Reddit comment trees colored by the MARGOT prediction: blue for claim, red for evidence, yellow for both, gray for none (Figure 6 of the paper, post-print, CC BY)." srcset="
/publication/lippi-2016292/results_hu_29b2f033b340576a.webp 400w,
/publication/lippi-2016292/results_hu_5a5ef75fd0d7171e.webp 760w,
/publication/lippi-2016292/results_hu_afa68472df24e3f1.webp 1200w"
src="https://nlp.unibo.it/publication/lippi-2016292/results_hu_29b2f033b340576a.webp"
width="760"
height="393"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;figcaption&gt;
Reddit comment trees colored by the MARGOT prediction: blue for claim, red for evidence, yellow for both, gray for none (Figure 6 of the paper, post-print, CC BY).
&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id="takeaways"&gt;Takeaways&lt;/h2&gt;
&lt;ol class="lt-viz lt-takeaways"&gt;
&lt;li&gt;&lt;strong&gt;Argument mining for everyone.&lt;/strong&gt;&lt;span&gt;MARGOT puts claim and evidence detection behind a plain web form, so users need no background in argumentation.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Sentence structure carries arguments.&lt;/strong&gt;&lt;span&gt;Tree kernels on parse trees detect claims and evidence without genre-specific features or a given topic.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;It generalizes, with limits.&lt;/strong&gt;&lt;span&gt;MARGOT finds more arguments where debate is expected, in Wikipedia, news, and Reddit. A truly general tool still needs training data from more genres.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</description></item></channel></rss>