SELLC Winter School 2010 Evaluating Algorithms for GRE Kees van Deemter (work with Albert Gatt, Ielka van der Sluis, and Richard Power) University of Aberdeen,

Slides:



Advertisements
Similar presentations
B. Knudsen and J. Hein Department of Genetics and Ecology
Advertisements

V-Detector: A Negative Selection Algorithm Zhou Ji, advised by Prof. Dasgupta Computer Science Research Day The University of Memphis March 25, 2005.
1 Eloise E. Kaizar The Ohio State University Combining Information From Randomized and Observational Data: A Simulation Study June 5, 2008 Joel Greenhouse.
Kees van Deemter Matthew Stone Formal Issues in Natural Language Generation Lecture 4 Shieber 1993; van Deemter 2002.
Generation of Referring Expressions: Managing Structural Ambiguities I.H. KhanG. Ritchie K. van Deemter University of Aberdeen, UK.
Generation of Referring Expressions: the State of the Art SELLC Winter School, Guangzhou 2010 Kees van Deemter Computing Science University of Aberdeen.
Some common assumptions behind Computational Generation of Referring Expressions (GRE) (Introductory remarks at the start of the workshop)
Generation of Referring Expressions (GRE) Reading: Dale & Reiter (1995) (key paper in this area)
Conceptual coherence in the generation of referring expressions Albert Gatt & Kees van Deemter University of Aberdeen {agatt,
Generation of Referring Expressions: the State of the Art SELLC Summer School, Harbin 2010 Kees van Deemter Computing Science University of Aberdeen.
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
Generation of Referring Expressions: the State of the Art LOT Winter School, Tilburg 2008 Kees van Deemter Computing Science University of Aberdeen.
Generation of Referring Expressions: the State of the Art SELLC Winter School, Guangzhou 2010 Kees van Deemter Computing Science University of Aberdeen.
Overspecified reference in hierarchical domains: measuring the benefits for readers Ivandre Paraboni * Judith Masthoff # Kees van Deemter # * = University.
Generation of Referring Expressions (GRE) The Incremental Algorithm (IA) Dale & Reiter (1995)
A small taste of inferential statistics
CS1512 Foundations of Computing Science 2 Week 3 (CSD week 32) Probability © J R W Hunter, 2006, K van Deemter 2007.
Microplanning (Sentence planning) Part 1 Kees van Deemter.
Oral Production and Error Correction Amongst Arab Learners of English
Diachronic study and language change Corpus Linguistics Richard Xiao
CS4018 Formal Models of Computation weeks Computability and Complexity Kees van Deemter (partly based on lecture notes by Dirk Nikodem)
Atomatic summarization of voic messages using lexical and prosodic features Koumpis and Renals Presented by Daniel Vassilev.
Automated user-centered task selection and input modification Rintse van der Werf Geke Hootsen Anne Vermeer MASLA project Tilburg University.
CPSC 502, Lecture 15Slide 1 Introduction to Artificial Intelligence (AI) Computer Science cpsc502, Lecture 15 Nov, 1, 2011 Slide credit: C. Conati, S.
Dr. Ehud Reiter, Computing Science, University of Aberdeen1 NLG Shared Tasks: Lets try it and see what happens Ehud Reiter (Univ of Aberdeen)
Data Mining Methodology 1. Why have a Methodology  Don’t want to learn things that aren’t true May not represent any underlying reality ○ Spurious correlation.
FTP Biostatistics II Model parameter estimations: Confronting models with measurements.
GENERATING AUTOMATIC SEMANTIC ANNOTATIONS FOR RESEARCH DATASETS AYUSH SINGHAL AND JAIDEEP SRIVASTAVA CS DEPT., UNIVERSITY OF MINNESOTA, MN, USA.
Analysis of frequency counts with Chi square
Mining for High Complexity Regions Using Entropy and Box Counting Dimension Quad-Trees Rosanne Vetro, Wei Ding, Dan A. Simovici Computer Science Department.
Generation of Referring Expressions: Modeling Partner Effects Surabhi Gupta Advisor: Amanda Stent Department of Computer Science.
Predicting Text Quality for Scientific Articles Annie Louis University of Pennsylvania Advisor: Ani Nenkova.
Evaluating Hypotheses
1 Confidence Interval for the Population Mean. 2 What a way to start a section of notes – but anyway. Imagine you are at the ground level in front of.
Learning Subjective Adjectives from Corpora Janyce M. Wiebe Presenter: Gabriel Nicolae.
Handling Categorical Data. Learning Outcomes At the end of this session and with additional reading you will be able to: – Understand when and how to.
Maximum Entropy Model LING 572 Fei Xia 02/07-02/09/06.
Decision Tree Models in Data Mining
Robert's Drawers (and other variations on GRE shared tasks) Gatt, Belz, Reiter, Viethen.
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 9. Hypothesis Testing I: The Six Steps of Statistical Inference.
Values, Choices and Frames Session 10 Decision Making and Risk Sp2006.
Minimal Test Collections for Retrieval Evaluation B. Carterette, J. Allan, R. Sitaraman University of Massachusetts Amherst SIGIR2006.
Slide 13-1 Copyright © 2004 Pearson Education, Inc.
 Text Representation & Text Classification for Intelligent Information Retrieval Ning Yu School of Library and Information Science Indiana University.
RANLP, Borovets Sept Evaluating Algorithms for GRE (Going beyond Toy Domains) Ielka van der Sluis Albert Gatt Kees van Deemter University of.
Exploiting Context Analysis for Combining Multiple Entity Resolution Systems -Ramu Bandaru Zhaoqi Chen Dmitri V.kalashnikov Sharad Mehrotra.
C M Clarke-Hill1 Analysing Quantitative Data Forming the Hypothesis Inferential Methods - an overview Research Methods.
Generation of Referring Expressions (GRE) The Incremental Algorithm Dale & Reiter (1995)
MATH 2400 Ch. 15 Notes.
Mining Binary Constraints in Feature Models: A Classification-based Approach Yi Li.
ASSESSING LEARNING ALGORITHMS Yılmaz KILIÇASLAN. Assessing the performance of the learning algorithm A learning algorithm is good if it produces hypotheses.
ASSESSING LEARNING ALGORITHMS Yılmaz KILIÇASLAN. Assessing the performance of the learning algorithm A learning algorithm is good if it produces hypotheses.
Summarizing Encyclopedic Term Descriptions on the Web from Coling 2004 Atsushi Fujii and Tetsuya Ishikawa Graduate School of Library, Information and Media.
Conditional Random Fields for ASR Jeremy Morris July 25, 2006.
UNIT 5.  The related activities of sorting, searching and merging are central to many computer applications.  Sorting and merging provide us with a.
Number Sense Disambiguation Stuart Moore Supervised by: Anna Korhonen (Computer Lab)‏ Sabine Buchholz (Toshiba CRL)‏
Corpus-based evaluation of Referring Expression Generation Albert Gatt Ielka van der Sluis Kees van Deemter Department of Computing Science University.
Jette Viethen 20 April 2007NLGeval07 Automatic Evaluation of Referring Expression Generation is Possible.
Statistical Machine Translation Part II: Word Alignments and EM Alex Fraser Institute for Natural Language Processing University of Stuttgart
Maximum Entropy … the fact that a certain prob distribution maximizes entropy subject to certain constraints representing our incomplete information, is.
An evolutionary approach for improving the quality of automatic summaries Constantin Orasan Research Group in Computational Linguistics School of Humanities,
Correlation Clustering Nikhil Bansal Joint Work with Avrim Blum and Shuchi Chawla.
Kees van Deemter Generation of Referring Expressions: a crash course Background information and Project HIT 2010.
Tests of Significance We use test to determine whether a “prediction” is “true” or “false”. More precisely, a test of significance gets at the question.
Data Mining CH6 Implementation: Real machine learning schemes(2) Reporter: H.C. Tsai.
Investigate Plan Design Create Evaluate (Test it to objective evaluation at each stage of the design cycle) state – describe - explain the problem some.
Numeracy & Quantitative Methods: Level 7 – Advanced Quantitative Analysis.
Presentation 王睿.
Kees van Deemter Computing Science University of Aberdeen
Generation of Referring Expressions (GRE)
Presentation transcript:

SELLC Winter School 2010 Evaluating Algorithms for GRE Kees van Deemter (work with Albert Gatt, Ielka van der Sluis, and Richard Power) University of Aberdeen, Scotland, UK

SELLC Winter School 2010 Outline GRE: Generation of Referring Expressions TUNA project: Corpus and Annotation Evaluation of Algorithms –Furniture Domain –People Domain [ Evaluation in the real world: STEC ]

SELLC Winter School 2010 TUNA project (ended Feb. 2007) TUNA: Towards a UNified Algorithm for Generating Referring Expressions. 1.Extend coverage of GRE algorithms (plurals, negation, gradable properties,…) 2.Improve empirical foundations of GRE Focus on –Content Determination –First mention NPs (no anaphora!)

Background Dale and Reiter hypothesised that the Incremental Algorithm (IA) led to better output than other algorithms –better: more human-like –other algorithms: see below SELLC Winter School 2010

Other GRE Algorithms Full Brevity (FB; Dale 1989) –Generation of minimal descriptions –For example, by first trying all descriptions of length 1, then length 2, and so on. Greedy Algorithm (GR; Dale 1989) –Always add property that removes the most distractors

SELLC Winter School 2010 Elicitation experiment Participants were told that we wanted to test an AI program that interprets referring expressions Participants were shown a series of domains Each domain included 1 or 2 target objects Participants entered their descriptions, then the referents were removed To make the interaction seem real, we sometimes removed the wrong object! (25% of trials) –The experiment was later repeated without this feature –Essentially the same outcomes were found For generality: two types of domains (furniture, people)

SELLC Winter School 2010 Furniture trial

SELLC Winter School 2010 People trial

SELLC Winter School 2010 Method (overview) Experiment leads to transparent corpus of referring expressions: –referent and distractors are known –Domain attributes are known Transparent corpora can be used for many purposes This talk: Compare some classic algorithms –giving each algorithm the same input as subjects –computing how similar algorithms output is to subjects output –We count semantic content only

SELLC Winter School 2010 Elicitation Experiment Furniture (simple domain) –TYPE, COLOUR, SIZE, ORIENTATION People (complex domain) –Nine annotated properties in total Location: –Vertical location (Y-DIMENSION) –Horizontal location (X-DIMENSION) the green desk facing backwards the sofa and the desk which are red the young man with a white shirt the man with the funny haircut the man on the left the chair in the top right

SELLC Winter School 2010 Corpus setup Each corpus was carefully balanced, e.g. between singulars and plurals. Between-subjects design: -Location: Subjects discouraged from using locative expressions. +Location: Subjects not discouraged. -FaultCritical: Subjects could correct their utterances +FaultCritical: Subjects could not correct their utterances After discounting outliers and (self-reported) non-fluent speakers, 45 subjects were left

SELLC Winter School 2010 Experiment design: Furniture (-Location) 18 trials (C=Colour, O=orientation, S=size) –1 referent: minimal identification uses {c}, {o}, {s}, {c,o}, {c,s}, or {o,s} [6 trials] –2 similar referents {c}, {o}, {s}, {c,o}, {c,s}, or {o,s} [6 trials] –2 dissimilar referents {c}, {o}, {s}, {c,o}, {c,s}, or {o,s} [6 trials]

SELLC Winter School 2010 Other evaluation studies Limitations: Limited numbers of subjects/referents Few attempts at balancing the corpus IA: no teasing apart of preference orders NB Some of these studies were more ambitious in some respects, looking at context, and going beyond identification

SELLC Winter School 2010 Other evaluation studies Jordan 2000, Jordan & Walker 2005 –More than just identification (Jordan 2000) Siddharthan & Copestake 2004 –References in linguistic context Gupta & Stent 2005 –Realisation mixed with Content Determination Viethen & Dale 2006 –Only Colour and Location

SELLC Winter School 2010 Extensions to the classics Plurality: (van Deemter 2002) –Extend each algorithm to search through disjunctions of increasing length Location: (van Deemter 2006) –Locatives treated as gradable: the leftmost table/person –E.g., suppose the referent x is located in column 3 => x is left of column 4, x is left of column 5 … => x is right of column 2, x is right of column 1… Type: –People tend to use TYPE (Dale & Reiter 1995) –Here: All algorithms added TYPE.

SELLC Winter School 2010 Evaluation aims Hypothesis in Dale & Reiter 1995: –IA resembles human output most Our main questions: –Is this true? –How important are parameters (PO) for the IA? More generally: –assess quality of classic GRE algorithms : –calculate average match between the description generated by an algorithm and the descriptions produced by people (for the same referent)

SELLC Winter School 2010 Evaluation metric Dice Coefficient: 2 x |Common properties| |total properties| corpus: {A,B,C} algorithm: {B,C} Dice = … corpus: {A,B,C} algorithm: {A,B,C,D} Dice = …

SELLC Winter School 2010 Evaluation metric Dice Coefficient: 2 x |Common properties| |total properties| corpus: {A,B,C} algorithm: {B,C} Dice = (2*2)/5 = 4/5 corpus: {A,B,C} algorithm: {A,B,C,D} Dice = (2*3)/7 = 6/7

SELLC Winter School 2010 Evaluation metric Dice Coefficient: 2 x |Common properties| |total properties| A coefficient result of 1 indicates identical sets. 0 means no common terms We also used this to measure agreement between annotators of the corpus

SELLC Winter School 2010 Assumptions behind DICE The discriminatory power of a description does not matter All properties are equidistant See Gatt & Van Deemter 2007, Content Determination in GRE: evaluating the evaluator

SELLC Winter School 2010 Evaluation (I): Furniture Which preference orders for the IA? –Psycholinguistic evidence: COLOUR >> {ORIENTATION, SIZE} (Pechmann 89; Eikmeyer & Ahlsen 96; Belke & Meyer 02) Y-DIMENSION >> X-DIMENSION (Bryant et al, 1992; Arts 2004) Split data: +LOCATION vs –LOCATION This talk: focus on –LOCATION –LOCATION = approx. 800 descriptions Compare algorithms to a randomized IA (RAND)

SELLC Winter School 2010 Furniture: -LOCATION Significant FB/GR

SELLC Winter School 2010 Beyond Toy Domains More on Furniture corpus: Gatt et al. (ENLG-2007) With complex real-world objects: –Many different attributes can be used –Number of POs explodes –Few psycholinguistic precedents People domain attributes: –{ hasBeard, hasGlasses, age, hasTie, hasSuit, hasSuit, hasHair, hairColour, orientation } –9 Attributes, so 9! = possible POs

SELLC Winter School 2010 IA: Preference Orders for People Domain Little psycholinguistic evidence for choosing between all possible POs Focus on the most frequent Attributes: G=hasGlasses, B=hasBeard, H=hasHair, C=haircolour –Assumption: H and B must precede C –This leaves us with eight POs: { GBHC, GHBC,HBGC,HBCG, HGBC,BHGC, BHCG, BGHC }

SELLC Winter School 2010 Preference Orders and frequency MeanSum type hasGlasses hasBeard HairColour hasHair orientation.2173 age.1034 hasTie.0412 hasSuit.014 hasShirt.013 For attributes other than {G,C,H,B}, we let corpus frequency determine the order E.g, IA-GBHC uses type, G,B,H,C, age, hasTie, hasSuit,hasShirt as its PO

SELLC Winter School 2010 Results People Domain IA-BASE Significant Significant by subjects GR

SELLC Winter School 2010 Results People domain IA_base performs very badly now So much about the best IAs that start with {B,H,G,C} and end with Some of these did much worse: –IA_BHCG had DICE=0.6, making it significantly worse (by subjects) than GR!

SELLC Winter School 2010 Summary People domain gives much lower DICE scores than Furniture domain Difference between good and bad POs was –small (but significant) in the Furniture domain, –big (and significant) in the People domain

SELLC Winter School 2010 Summary The Incremental Algorithm (IA): –not an algorithm but a class of algorithms The best IA beats all other algorithms, but the worst is very bad... GR performs remarkably well. How to choose a suitable PO? –Furniture: few attributes; psycholinguistic precedent Still, there is variation. –People: more attributes; no precedents Variation even greater!

SELLC Winter School 2010 Discussion Suppose you want to build a GRE algorithm for a new and complex domain, for which no transparent corpus is available. Psycholinguistic principles are unlikely to help you much If corpus is also not balanced, then frequency may not say much either …

SELLC Winter School 2010 Other uses of this method: STEC Summer 2007: First NLG Shared task Evaluation Challenge (STEC) STEC involved GRE only, focussing on Content Determination 22 GRE Algorithms were submitted and evaluated (6 teams) Reported in UCNLG+MT workshop, Copenhagen, Sept 2007

SELLC Winter School 2010 Other uses of this corpus: STEC An even bigger STEC one year later Each algorithm was compared with the TUNA corpus (minus 40% training set) –Both Furniture and People domain –DICE measured humanlikeness –Singulars only Each algorithm was also tested in terms of identification time (by human reader)

SELLC Winter School 2010 Some STEC results 1.The more minimal the descriptions generated by these 22 systems were, the worse their DICE scores were

SELLC Winter School 2010

2. No relation between humanlikeness and identification time –Best system in terms of DICE was worst- but-one in terms of identification time More research needed on the different criteria for judging NLG output

SELLC Winter School 2010 Thank you

SELLC Winter School 2010 Annotator agreement Semantic markup was applied manually to all descriptions in the corpus. 2 annotators were given a stratified random sample Comparison used Dice. meanmode Furniture0.89 (A/B) 1 (71.1%) Annotator A0.93 (A/us) 1 (74.4%) Annotator B0.92 (B/us) 1(73%) People0.89 (A/B) 1(70%) Annotator A0.84 (A/us) 1(41.1%) Annotator B.78 (B/us) 1(36.3%)