Docsity

Risposte Esame Linguistic Resources for Natural Language Processing, Appunti di Linguistica

Toggle sidebar
bg1
LIST of QUESTIONS for the final examination:
1)
The Turing test is test devised for the first time in a 1950 article
(“Computing Machinery and Intelligence”) written by the mathematician and
computer scientist Alan Mathison Turing.
This game, also known as the “Imitation game”, is played by three subjects:
A, B, C.
C must guess the correct sex of the other participants. A and B are of the
opposite gender: the objective of A is to mislead C while B must help the
interrogator.
This game can also be played by a machine and a human as A and B: if
the machine manages to fool C, then said machine can be defined as
intelligent.
The Turing test gave for the first time an operational definition of
intelligence based on linguistic ability. Such test shifted the focus on the
development of AI and fostered the emergence of NLP. (Slides 12 – 20, 1st
set)
2)
In 1960, the mathematician and Philosophy professor Joshua Bar-Hillel
argued in an article that machine translation would be close to impossible
because of the required knowledge necessary to translate sentences such
as: “Little John was looking for his toy box. Finally, he found it. The box
was in the pen. John was very happy.”
In the previous sentence, in order to choose the correct meaning of the
word “pen” it is necessary to know the properties of the objects described
by that word and to compare them, a task that cannot be accomplished by
a machine. (Slides 33 – 35, 1st set)
3)
pf3
pf4
pf5
pf8
pf9

Anteprima parziale del testo

Scarica Risposte Esame Linguistic Resources for Natural Language Processing e più Appunti in PDF di Linguistica solo su Docsity!

LIST of QUESTIONS for the final examination:

The Turing test is test devised for the first time in a 1950 article (“Computing Machinery and Intelligence”) written by the mathematician and computer scientist Alan Mathison Turing. This game, also known as the “Imitation game”, is played by three subjects: A, B, C. C must guess the correct sex of the other participants. A and B are of the opposite gender: the objective of A is to mislead C while B must help the interrogator. This game can also be played by a machine and a human as A and B: if the machine manages to fool C, then said machine can be defined as intelligent. The Turing test gave for the first time an operational definition of intelligence based on linguistic ability. Such test shifted the focus on the development of AI and fostered the emergence of NLP. (Slides 12 – 20, 1 st set)

In 1960, the mathematician and Philosophy professor Joshua Bar-Hillel argued in an article that machine translation would be close to impossible because of the required knowledge necessary to translate sentences such as: “Little John was looking for his toy box. Finally, he found it. The box was in the pen. John was very happy.” In the previous sentence, in order to choose the correct meaning of the word “pen” it is necessary to know the properties of the objects described by that word and to compare them, a task that cannot be accomplished by a machine. (Slides 33 – 35, 1st^ set)

When developing a resource for a spoken language, a treebank for example, there are different problems that one must face. For instance, the syntax of spoken languages is quite under-represented when compared to written languages; moreover, in a spoken conversation there are syntax cues that regulate the speaking turns of humans. When manually constructing a resource from such data, one may encounter inconsistencies between different resources. That is why, when transcribing a conversation, we tend to use a standard known as the Jefferson-style notation. Moreover, some treebanks use a universal taxonomy, such as the one that can be encountered in Universal Dependencies. (Set 20)

The poor results obtained from early MT and dialog (such as 1966 Weizenbaum’s Eliza) attracted widespread criticism on NLP and this brought to the creation of US Automatic Language Processing Advisory Committee (ALPAC). The committee wrote a report in 1966, in which the poor results of MT were exposed. This led to the cut of government funding and started the first NLP winter. The second AI winter happened from the late ‘80s to early 2000, when it became clear that knowledge representation was a more difficult task than expected since the amount of knowledge that required formalization was not clear. On top of that, language relies on extra-linguistic knowledge, which can hardly be formalized, to be fully understood. Moreover, even with the passage to a statistical model, in the ‘90s the linguistic resources needed to machine learning were scarce and expensive and few companies could afford them. This brought to the foundation of the Linguistic Data Consortium in 1992, backed by DARPA. (Slides 2 – 10, 2 nd set / slides 4 – 11, 15 th set)

man with a telescope” the PP telescope can be part of an NP headed by man or it can be an adjunct modifying the VP headed by saw. Coordination ambiguity depends on the presence of a conjunction that conjoins different phrases and can have different scope. For instance, in “old men and women” the adjective may refer to both men and women or only to men. (Slides 2 – 7, 8 th set)

Annotation consists in adding the linguistic information to the pure text, making explicit the implicit linguistic knowledge present in the data. This process can be divided into six steps which form the MATTER cycle. The first step (Model) consists in defining a conceptual framework. The main outcome of this phase is a careful description of the linguistic characteristics of the observed language, a preliminary definition of the annotation scheme that will be employed and a set of guidelines used by the annotators. The second step (Annotation) is the application of the model to the data. Once the right data and the right tools are selected, annotators train themselves on part of such data and discuss the results; during this phase, the guidelines and the annotation scheme may be updated. When the annotators come to an agreement on the validity of their annotation, they released a gold standard dataset in which its data are correct and consistent. In the third step (Train), machine learning is applied on 80% of the gold standard dataset in order to build the statistical model. During the fourth step (Test), the statistical model is used on the remaining 20% of the unannotated gold standard dataset and the results are compared to the annotated gold standard set. The fifth step (Evaluate) is dedicated to the evaluation of the results achieved by a machine using the gold training set (the annotated one). It is also possible to train multiple systems at the same time using the same set.

The sixth and final step (Revise) the results obtained during the evaluation are revised, improved and made usable for the research community. (Slides 5 – 28, 11 th set)

The first NLP systems (from 1950 to early 1990) treated language as a closed model to make their tasks easier. The first models employed a symbolic approach: they applied rules defined by experts to data analysis. On the other hand, statistical models consider similar rules but learn them directly from large data samples through machine learning and associate probabilities to these rules. Neural models are statistical models that use algorithms that are similar to human neurons, called neural networks, and that need a much larger dataset (billions of data) to be trained. Neural and statistical models use probability learned from large corpora to deal with language ambiguity. (Slides 35 – 50, 2 nd set)

A gold standard dataset is a set of data which is released only after an agreement between the annotators who annotated it is reached and after the mistakes made by annotators and machines have been corrected. While this is a high-quality dataset, the process can cost much time and resources. On the other hand, a silver standard dataset is entirely automatically annotated, without any human supervision. While its quality will necessarily be inferior to a gold standard dataset, this sort of data is much easier to produce in terms of time and money. Moreover, it does not require the analysis of competent speakers of a certain language: it can easily be produced in large quantities. (Slides 20 – 23, 11 th set)

There are two main groups of syntactic formalisms used in NLP: one is based on constituency while the other one is based on dependency.

If we are observing, for instance, the class of NOUN to be categorized by a certain model, a true negative is a nonNOUN that is recognized as such by the model which is being tested. For example, in the sentence “The cat is sleeping on the couch.”, if “on” is correctly recognized as a nonNOUN, it can be considered a true negative. On the contrary, in the same scenario, a nonNOUN that is identified as a NOUN is an example of a false positive: if in this case the word “sleeping” is recognized as a NOUN we have a false positive. (Slides 3 – 21, 13 th set)

The F-1 score is the harmonic mean of Precision (the division of the number of true positives by the sum of true positives and false positives) and Recall (the division of the number of true positives by the sum of true positives and false negatives). The formula is two times the division of the multiplication of precision and recall by the sum of precision and recall. (Slides 22 – 43, 13 th set)

If NLP keeps being available only in English and few other languages, having access to this technology will become more difficult for people who do not speak these languages. This means that they will be cut out from NLP different uses, such as biomedical applications, tutoring and machine translation, amplifying the already present digital divide. Moreover, even speakers of certain varieties of English are not immune to this discriminating effect: for instance, speakers who tweet using certain characteristics of African American English have a greater possibility to see their posts labeled as hate speech. Secondly, an excessive focus on English risks to overlook grammatical characteristics that are present only in other languages. Moreover, only native predominantly English speakers will be employed in NLP linguistic research, reinforcing exclusively the cultural implications and stereotypes present in the English language. Emily bender provided a quick list of the ways English fails to represent every language; for example, it is a spoken language (not signed) with a relatively fixed word order and a roughly phone base orthographic system that mostly uses lower ASCII characters and whose words are delimited by

blank spaces. Due to these characteristics, it fails to represent languages with a more coherent phone system (like Spanish) or languages who uses different writing systems with no blank spaces (such as Chinese or Japanese). On top of that, English forms might ‘accidentally’ match database field names and ontology entries, hindering the formation of processing shortcuts for other languages. Finally, the immense amount of training data available risks to monopolize NLP research on that single language. Because of that, NLP, a useful tool to preserve dialects and varieties, risks to fail this task, if research only focuses on few languages. (Slides 30 – 50, 18 th set)

Valico-UD is an annotated Italian learner treebank composed of 237 texts drawn from the picture-elicited Valico corpus. It is a parallel treebank that includes Learner Sentences (LS) along with Target Hypothesis (TH) written by native speakers to correct the learners’ output. (Slide 37, 11th^ set / 19th^ set)

Two parallel corpora contain native language (L1) source texts and their (L2) translations; if the texts and their translations are associated, annotating the correspondences between the two at sentence or word level, they are called aligned corpora. Although the latter is higher than the former in hierarchy, they can both be used for Machine Translation. At the lowest level of corpora hierarchy, we can found comparable corpora: two corpora of this kind can contain texts in the same or in different languages that have been collected using the same sampling method, such as same proportions, genres, domains and periods. Comparable corpora can be useful for many NLP tasks, such as training. (Slides 30 – 36, 11 th set)