Referring expression generation
![]() | This article or section is in a state of significant expansion or restructuring. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template. If you are the editor who added this template and you are actively editing, please be sure to replace this template with {{in use}} during the active editing session. Click on the link for template parameters to use.
This article was last edited by THuppke (talk | contribs) 9 years ago. (Update timer) |
Referring expression generation is a subtask of Natural language generation (NLG), which involves creating referring expressions (noun phrases) that identify specific entities to the reader. A variety of algorithms have been developed in the NLG community to generate different types of referring expressions.
History
REG goes back to the early days of NLG. One of the first approaches was done by Winograd[1] in 1972 who developed an "incremental" REG algorithm for his SHRDLU program. Afterwards researchers started to model the human abilities to create referring expressions in the 1980s. This new approach to the topic was influenced by the researchers Appelt and Kronfeld who created the programs KAMP and BERTRAND[2][3][4] and considered referring expressions as parts of bigger speech acts.[5]
Some of their most interesting findings were the fact that referring expressions can be used to add information beyond the identification of the referent[3] as well as the influence of communicative context and the Gricean maxims on referring expressions.[2] Furthermore its skepticism concerning the naturalness of minimal descriptions made Appelt and Kronfeld's research a foundation of later work on REG. [5]
The search for simple, well-defined problems changed the direction of research in the early 1990s. This new approach was lead by Dale and Reiter who stressed the identification of the referent as the central goal.[6][7][8][9] Like Appelt[2] they discuss the connection between the Gricean maxims and referring expressions in their culminant paper[10] in which they also propose a formal Problem Definition. Furthermore Reiter and Dale discuss the Full Brevity and Greedy Heuristics algorithms as well as their Incremental Algorithm(IA) which became one of the most important algorithms in REG. [5]
After 2000 the research began to lift some of the simplifying assumptions, that had been made in early REG research in order to create more simple algorithms. Different research groups concentrated on different limitations creating several expanded algorithms. Often these extend the IA in a single perspective for example in relation to:
- Reference to Sets
- Relational Descriptions
- Context Dependency
- Vagueness
- Gradability
- Salience
- Generation of Pronouns
Many simplifying assumptions are still in place or have just begun to be worked on. Also a combination of the different extensions has yet to be done and is called a "non-trivial enterprise" by Krahmer and van Deemter. [5]
Problem Definition
Dale and Reiter (1995) think about referring expressions as distinguishing descriptions.
They define:
- The referent as the entity that should be described
- The context set as set of salient entities
- The contrast set or potential distractors as all elements of the context set except the referent
- A property as a reference to a single attribute-value pair
Each entity in the domain can be characterised as a set of attribute-value pairs for example type, dog, gender, female or age, 10 years.
The problem then is defined as follows:
Let be the intended referent, and be the contrast set. Then, a set of attribute–value pairs will represent a distinguishing description if the following two conditions hold:
- Every attribute–value pair in applies to : that is, every element of specifies an attribute–value that possesses.
- For every member of , there is at least one element of that does not apply to : that is, there is an in that specifies an attribute–value that does not possess. is said to rule out .
In other words to generate a referring expression one is looking for a set of properties that apply to the referent but not to the distractors. [10]
The problem could be easily solved by conjoining all the properties of the referent which often leads to long descriptions violating the second Gricean Maxim of Quantity. Another approach would be to find the shortest distinguishing description like the Full Brevity algorithm does. Yet in practice it is most common to instead include the condition that referring expressions produced by an algorithm should be as similar to human-produced ones as possible although this is often not explicitly mentioned. [5]
Basic Algorithms
Full Brevity
The Full Brevity algorithm always finds a minimal distinguishing description meaning there is no shorter distinguishing description in regard to properties used.
Therfore it iterates over and checks every description of a length of properties until a distinguishing description is found.
Two problems arise from this way of creating referring expressions. Firstly the algorithm has a high complexity meaning it is NP-hard which makes it impractical to use.[11] Secondly human speakers produce descriptions that are not minimal in many situations.[5][12][13][14] [15]
Greedy Heuristics
The Greedy Heuristics algorithm [6][7] approximates the Full Brevity algorithm by iteratively adding the most distinguishing property to the description. The most distinguishing property means the property that rules out most of the remaining destractors. The Greedy Heuristics algorithm is more efficient than the Full Brevity algorithm. [5]
Incremental Algorithm
The Incremental Algorithm(IA) by Dale and Reiter[10] was the most influential algorithm before 2000. It is based on the idea of a preferential order of attributes or properties that speakers go by. So in order to run the Incremental Algorithm, first a preference order of attributes has to be given. Now the algorithm follows that order and adds those properties to the discription which rule out any remaining distractors. Furthermore Dale and Reiter[10] stress the attribute type which is always included in their descriptions even if it does not rule out any disctractors.
Also the type values are part of a subsumption hierarchy including some basic level values. For example in the pet domain chihuahua is subsumed by dog and dog by animal. Because dog is defined as a basic level dog would be preferred by the algorithms, if chihuahua does not rule out any distractors.
The Incremental Algorithm is easy to implement and also computationally efficient running in polynomial time. The description generated by the IA can contain redundant properties that are superfluous because of later added properties. The creators do not consider this as a weakness, but rather as making the expressions less "psycholinguistically implausible".[5] [10]
Evaluation of REG systems
Before 2000 evaluation of REG systems has been of theoretical nature like the one done by Dale and Reiter.[10] More recently, empirical studies have become popular which are mostly based on the assumption that the generated expressions should be similar to human-produced ones. Corpus-based evaluation began quite late in REG due to a lack of suitable data sets. Still corpus-based evaluation is the most dominant method at the moment though there is also evaluation by human judgement. [5]
Corpus-based Evaluation
First the distinction between text corpora and experimental corpora has to be made. Text corpora like the GNOME corpus [16] can contain texts from all kind of domains. In REG they are used to evaluate the realization part of algorithms. The content selection part of REG on the other hand requires a corpus that contains the properties of all domain objects as well as the properties used in references. Typically those fully "semantically transparent"[17] created in experiments using simple and controlled settings.
These experimental corpora once again can be seperated into General-Purpose Corpora that were collected for another purpose but have been analysed for referring expressions and Dedicated Corpora that focus specifically on referring expressions. Examples of General-Purpose Corpora are the Pear Stories[18], the Map Task corpus[19] or the Coconut corpus[20] while the Bishop corpus[21], the Drawer corpus[22] and the TUNA corpus[23] count to the Dedicated Corpora. The TUNA corpus which contains web-collected data on the two domains furniture and people has been used in three shared REG challenges already. [5]
Example
![]() | This section possibly contains original research. (June 2015) |
For example, the following text has several referring expressions
He told the tourist that rain was expected tonight in Southern Scotland.
- He is a pronoun which refers to a person who was previously mentioned in the conversation.
- the tourist is a definite noun phrase which identifies another person
- tonight is a temporal referent which identifies a particular time period
- Southern Scotland is a spatial reference which identifies a particular spatial region
Criteria for good referents
![]() | This section possibly contains original research. (June 2015) |
Ideally, a good referring expression should satisfy a number of criteria:
- Referential success: It should unambiguously identify the referent to the reader.
- Ease of comprehension: The reader should be able to quickly read and understand it.
- Computational complexity: The generation algorithm should be fast
- No false inferences: The expression should not confuse or mislead the reader by suggesting false implicatures or other pragmatic inferences. For example, a reader may be confused if he is told Sit by the brown wooden table in a context where there is only one table.
Pronouns
The simplest type of referring expressions are pronoun such as he and it. The linguistics and natural language processing communities have developed various models for predicting anaphor referents, such as centering theory,[24] and ideally referring-expression generation would be based on such models. However most NLG systems use much simpler algorithms, for example using a pronoun if the referent was mentioned in the previous sentence (or sentential clause), and no other entity of the same gender was mentioned in this sentence.
Definite Noun Phrases
There has been a considerable amount of research on generating definite noun phrases, such as the big red book. Much of this builds on the model proposed by Dale and Reiter.[25] This has been extended in various ways, for example Krahmer et al. [26] present a graph-theoretic model of definite NP generation with many nice properties. In recent years a shared-task event has compared different algorithms for definite NP generation, using the TUNA [5] corpus.
Spatial and Temporal Reference
Recently there has been more research on generating referring expressions for time and space. Such references tend to be imprecise (what is the exact meaning of tonight?), and also to be interpreted in different ways by different people.[27] Hence it may be necessary to explicitly reason about false positive vs false negative tradeoffs, and even calculate the utility of different possible referring expressions in a particular task context [28]
Other Kinds of Referring Expressions
![]() | This section possibly contains original research. (June 2015) |
Of course there are many other kinds of referring expressions, such as one-anaphora and event references, in addition to the ones described above. Unfortunately little research has been done on how to best generate such kinds of referring expressions.
References
- ^ T Winograd (1972). Understanding Natural Language. Academic Press, New York. Section 8.3.3, Naming Objects and Events
- ^ a b c D Appelt (1985). Planning English referring expressions. Artificial Intelligence, 26:1–33.
- ^ a b D Appelt, A Kronfeld (1987). A computational model of referring. In Proceedings of the 10th International Joint Conference on Artificial Intelligence (IJCAI), pages 640–647, Milan.
- ^ A Kronfeld (1990). Reference and Computation: An Essay in Applied Philosophy of Language. Cambridge University Press, Cambridge.
- ^ a b c d e f g h i j E Krahmer, K van Deemter (2012). Computational Generation of Referring Expressions: A Survey. Computational Linguistics 38:173-218 [1]
- ^ a b R Dale (1989). Cooking up referring expressions. In Proceedings of the 27th Annual Meeting of the Association for Computational Linguistics (ACL), pages 68–75.
- ^ a b R Dale (1992). Generating Referring Expressions: Constructing Descriptions in a Domain of Objects and Processes. TheMIT Press, Cambridge, MA.
- ^ E Reiter (1990). The computational complexity of avoiding conversational implicatures. In Proceedings of the 28th Annual Meeting of the Association for Computational Linguistics (ACL), pages 97–104, Pittsburgh, PA.
- ^ E Reiter, R Dale (1992). A fast algorithm for the generation of referring expressions. In Proceedings of the 14th International Conference on Computational Linguistics (COLING), pages 232–238, Nantes.
- ^ a b c d e f R Dale, E Reiter (1995). Computational interpretations of the Gricean maxims in the generation of referring expressions. Cognitive Science, 18:233–263.
- ^ M R Garey, D S. Johnson (1979). Computers and Intractability: A Guide to the Theory of NP–Completeness. W. H. Freeman, New York.
- ^ D R Olson (1970). Language and thought: Aspects of a cognitive theory of semantics. Psychological Review, 77:257–273.
- ^ S Sonnenschein (1984). The effect of redundant communication on listeners: Why different types may have different effects. Journal of Psycholinguistic Research, 13:147–166.
- ^ T Pechmann (1989). Incremental speech production and referential overspecification. Linguistics, 27:98–110.
- ^ P E Engelhardt, K G.D Bailey, F Ferreira (2006). Do speakers and listeners observe the Gricean Maxim of Quantity?. Journal of Memory and Language, 54:554–573.
- ^ M Poesio, R Stevenson, B di Eugenio, J Hitzeman (2004). Centering: A parametric theory and its instantiations. Computational Linguistics, 30:309–363.
- ^ K van Deemter, I van der Sluis, A Gatt (2006). Building a semantically transparent corpus for the generation of referring expressions. In Proceedings of the 4th International Conference on Natural Language Generation (INLG), pages 130–132, Sydney.
- ^ W W Chafe (1980). The Pear Stories: Cognitive, Cultural, and Linguistic Aspects of Narrative Production. Ablex, Norwood, NJ.
- ^ A A Anderson, M Bader, E Gurman Bard, E Boyle, G Doherty, S Garrod, S Isard, J Kowtko, J McAllister, J Miller, C Sotillo, H Thompson, R Weinert (1991). The HCRC map task corpus. Language and Speech, 34:351–366.
- ^ B Di Eugenio, P W Jordan, R H Thomason, J D Moore (2000). The agreement process: an empirical investigation of human–human computer-mediated collaborative dialogs. International Journal of Human–Computer Studies, 53:1017–1076.
- ^ P Gorniak, D Roy (2004). Grounded semantic composition for visual scenes. Journal of Artificial Intelligence Research, 21:429–470.
- ^ J Viethen, R Dale (2006). Algorithms for generating referring expressions: Do they do what people do?. Proceedings of the 4th International Conference on Natural Language Generation (INLG), pages 63–70, Sydney.
- ^ A Gatt, I van der Sluis, K van Deemter (2007). Evaluating algorithms for the generation of referring expressions using a balanced corpus. Proceedings of the 11th European Workshop on Natural Language Generation (ENLG), pages 49–56, Schloss Dagstuhl.
- ^ M Poesio, R Stevenson, B di Eugenio, J Hitzeman (2004). Centering: A Parametric Theory and Its Instantiations. Computational Linguistics 30:309-363 [2]
- ^ R Dale and E Reiter (1995). Computational Interpretations of the Gricean Maxims in the Generation of Referring Expressions. Cognitive Science 19:233-263
- ^ E Krahmer, S van Erk, A Verleg. Graph-Based Generation of Referring Expressions. Computational Linguistics 23:53-72 [3]
- ^ E Reiter, S Sripada, J Hunter, J Yu, and I Davy (2005). Choosing Words in Computer-Generated Weather Forecasts. Artificial Intelligence 167:137-169.
- ^ R Turner, Y Sripada, E Reiter (2009) Generating Approximate Geographic Descriptions. Proceedings of ENLG-2009 [4]