<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="410"/><title>A Game-Theoretic Approach to Generating Spatial Descriptions</title><pubinfo>Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing,pages 410-419, MIT, Massachusetts, USA, 9-11 October 2010. ©2010 Association for Computational Linguistics</pubinfo><author surname="Golland" givenname="Dave"><org  name="UC Berkeley" country="USA" city="Berkeley"/></author><author surname="Liang" givenname="Percy"><org  name="UC Berkeley" country="USA" city="Berkeley"/></author><author surname="Klein" givenname="Dan"><org  name="UC Berkeley" country="USA" city="Berkeley"/></author></firstpageheader><frontmatter><p><b>A Game-Theoretic Approach to Generating Spatial Descriptions</b></p><p><b>Dave Golland</b></p><p>UC Berkeley Berkeley, CA 94720 dsg@cs.berkeley.edu</p><p><b>Percy Liang</b></p><p>UC Berkeley Berkeley, CA 94720</p><p>pliang@cs.berkeley.edu</p><p><b>Dan Klein</b></p><p>klein@cs.berkeley.edu</p></frontmatter><abstract>Language is sensitive to both semantic and pragmatic effects. To capture both effects, we model language use as a cooperative game between two players: a speaker, who gener­ates an utterance, and a listener, who responds with an action. Specifically, we consider the task of generating spatial references to ob­jects, wherein the listener must accurately identify an object described by the speaker. We show that a speaker model that acts op­timally with respect to an explicit, embedded listener model substantially outperforms one that is trained to directly generate spatial de­scriptions. </abstract></header><body><section number="1" title="Introduction"><p>Language is about successful communication be­tween a speaker and a listener. For example, if the goal is to reference the target object O1 in Figure 1, a speaker might choose one of the following two ut­terances:</p><doubt alpha="65.0" length="20" tooSmall="False" monospace="0.0">(a)right ofO2(b)onO3</doubt><p>Although both utterances are semantically correct, (a) is ambiguous between <i>O1 </i>and <i>O3 </i>, whereas (b) unambiguously identifies O1 as the target object, and should therefore be preferred over (a). In this paper, we present a game-theoretic model that cap­tures this communication-oriented aspect of lan­guage interpretation and generation.</p><p>Successful communication can be broken down into semantics and pragmatics. Most computational</p><p>Figure 1: An example of a 3D model of a room. The <i>speaker's </i>goal is to reference the target object O1 by de­scribing its spatial relationship to other object(s). The <i>listener's </i>goal is to guess the object given the speaker's description.</p><p>work on interpreting language focuses on compo­sitional semantics (Zettlemoyer and Collins, 2005; Wong and Mooney, 2007; Piantadosi et al., 2008), which is concerned with verifying the truth of a sen­tence. However, what is missing from this truth-oriented view is the pragmatic aspect of language— that language is used to accomplish an end goal, as exemplified by speech acts (Austin, 1962). Indeed, although both utterances (a) and (b) are semantically valid, only (b) is pragmatically felicitous: (a) is am­biguous and therefore violates the Gricean maxim of manner (Grice, 1975). To capture this maxim, we develop a model of pragmatics based on game the­ory, in the spirit of Jager (2008) but extended to the stochastic setting. We show that Gricean maxims fall out naturally as consequences of the model.<page local="2" global="411"/></p><p>An effective way to empirically explore the prag­matic aspects of language is to work in the grounded setting, where the basic idea is to map language to some representation of the non-linguistic world (Yu and Ballard, 2004; Feldman and Narayanan, 2004; Fleischman and Roy, 2007; Chen and Mooney, 2008; Frank et al., 2009; Liang et al., 2009). Along similar lines, past work has also focused on inter­preting natural language instructions (Branavan et al., 2009; Eisenstein et al., 2009; Kollar et al., 2010), which takes into account the goal of the communi­cation. This work differs from ours in that it does not clarify the formal relationship between pragmat­ics and the interpretation task. Pragmatics has also been studied in the context of dialog systems. For instance, DeVault and Stone (2007) present a model of collaborative language between multiple agents that takes into account contextual ambiguities.</p><p>We present our pragmatic model in a grounded setting where a speaker must describe a target object to a listener via spatial description (such as in the example given above). Though we use some of the techniques from work on the semantics of spatial de­scriptions (Regier and Carlson, 2001; Gorniak and Roy, 2004; Tellex and Roy, 2009), we empirically demonstrate that having a model of pragmatics en­ables more successful communication.</p></section><section number="2" title="Language as a Game"><p>To model Grice's cooperative principle (Grice, 1975), we formulate the interaction between a speaker S and a listener L as a cooperative game, that is, one in which S and L share the same utility func­tion. For simplicity, we focus on the production and interpretation of single utterances, where the speaker and listener have access to a shared context. To sim­plify notation, we suppress writing the dependence on the context.</p><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">targeto</doubt><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">speaker</doubt><p>The Communication Game</p><p>1. In order to communicate a <i>target o </i>to L, S pro­duces an <i>utterance w </i>chosen according to a strategy <i>pS </i><i>(w</i><i> </i>| o).</p><p>2. L interprets w and responds with a <i>guess g </i>ac­cording to a strategy <i>pL </i><i>(g</i><i> </i>| w).</p><p>3. S and L collectively get a utility of U(o, <i>g)</i>.</p><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">Ps(w| o)</doubt><p>utterance w listener</p><doubt alpha="71.4" length="7" tooSmall="False" monospace="0.0">guess^9</doubt><p><i>U </i>utility</p><p>Figure 2: Diagram representing the communication game. A target, o, is given to the speaker that generates an utterance w. Based on this utterance, the listener gen­erates a guess g. If o = g, then both the listener and speaker get a utility of 1, otherwise they get a utility of 0.</p><p>This communication game is described graphi-</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">\y</doubt><doubt alpha="53.8" length="13" tooSmall="False" monospace="0.0">right of 02 -</doubt><p>Figure 3: Three instances of the communication game on the scenario in Figure 1. For each instance, the target o, utterance w, guess g, and the resulting utility U are shown in their respective positions. A utility of 1 is awarded only when the guess matches the target.</p><p>cally in Figure 2. Figure 3 shows several instances of the communication game being played for the sce­nario in Figure 1.</p><p>Grice's maxim of manner encourages utterances to be unambiguous, which motivates the following utility, which we call <i>(communicative) success:</i></p><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">def</doubt><doubt alpha="42.9" length="14" tooSmall="False" monospace="0.0">U(o,g)=I[o=g],</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(1)</doubt><p>where the indicator function I[o = <i>g]</i><i> </i>is 1 if o = <i>g </i>and 0 otherwise. Hence, a utility-maximizing speaker will attempt to produce unambiguous utter­ances because they increase the probability that the listener will correctly guess the target.</p><page local="3" global="412"/><doubt alpha="65.0" length="20" tooSmall="False" monospace="0.0">(a)right ofO2(b)onO3</doubt><p>Given a speaker strategy pS(w | o), a listener strategy pL <i>(g</i><i> </i>| w), and a prior distribution over tar­gets p(o), the expected utility obtained by S and L is as follows:</p><doubt alpha="48.5" length="33" tooSmall="False" monospace="0.0">EU(s, l) =p(o)Ps(w|o)pl(g^)U(o,g)</doubt><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">o,w,g</doubt><doubt alpha="41.7" length="24" tooSmall="False" monospace="0.0">=^p(o)ps(w|o)pl(o|w).(2)</doubt></section><section number="3" title="From Reflex Speaker to Rational Speaker"><p>Having formalized the language game, we now ex­plore various speaker and listener strategies. First, let us consider <i>literal </i>strategies. A literal speaker (denoted S:LITERAL) chooses uniformly from the set of utterances consistent with a target object, i.e., the ones which are semantically valid;<footnote anchor="1"/> a literal lis­tener (denoted L:LITERAL) guesses an object con­sistent with the utterance uniformly at random.</p><p>In the running example (Figure 1), where the tar­get object is O1 , there are two semantically valid ut­terances:</p><p>S:LITERAL selects (a) or (b) each with probability <footnote anchor="1"/>. If S:Literal chooses (a), L:Literal will guess the target object O1 correctly with probability 2 ; if S:LITERAL chooses (b), L:Literal will guess cor­rectly with probability <b><i>1. </i></b>Therefore, the expected utility EU(S:LITERAL, L:LITERAL) = 4.</p><p>We say S:Literal is an example of a <i>reflex </i>speaker because it chooses an utterance without taking the listener into account. A general reflex speaker is depicted in Figure 4(a), where each edge represents a potential utterance.</p><p>Suppose we now have a model of some listener L. Motivated by game theory, we would optimize the expected utility (2) given pL (g | w). We call the resulting speaker S(L) the <i>rational </i>speaker with respect to listener L. Solving for this strategy yields:</p><p>pS(L)(w | o) = I[w = w*], where w* = argmaxpL(o | <i>w').</i></p><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">w'</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(3)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">L</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">W3</doubt><p>(a) Reflex speaker    (b) Rational speaker</p><p>Figure 4: (a) A reflex speaker (S) directly selects an ut­terance based only on the target object. Each edge rep­resents a different choice of utterance. (b) A rational speaker (S(L)) selects an utterance based on an embed­ded model of the listener (L). Each edge in the first layer represents a different choice the speaker can make, and each edge in the second layer represents a response of the listener.</p><p>Intuitively, s(l) chooses an utterance, w*, such that, if listener L were to interpret w* , the probability of L guessing the target would be maximized.<footnote anchor="2"/> The ra­tional speaker is depicted in Figure 4(b), where, as before, each edge at the first level represents a possi­ble choice for the speaker, but there is now a second layer representing the response of the listener.</p><p>To see how an embedded model of the listener improves communication, again consider our run­ning example in Figure 1. A speaker can describe the target object O1 using either wi = <i>on </i><i>O3 </i>or w2 = <i>right of </i>O2. Suppose the embedded listener is L:LITERAL, which chooses uniformly from the set of objects consistent with the given utterance. In this scenario, pL:LlTERAL(O1 | wi) = 1 because wi unambiguously describes the target object, but pL:LlTERAL(O1 | w2) = <footnote anchor="1"/>. The rational speaker s(l:Literal) would therefore choose w1, achiev­ing a utility of 1 , which is an improvement over the reflex speaker S:LlTERAL's utility of 4.</p><footnote label="1">Semantic validity is approximated by a set of heuristic rules (e.g. left is all positions with smaller x-coordinates).</footnote><footnote label="2">If there are ties, any distribution over the utterances having the same utility is optimal.</footnote><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>/</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>T</p></td><td class="cell"><p></p></td><td class="cell"><p><i>—9</i><i>2</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>\</p></td><td class="cell"><p></p></td><td class="cell"><p><footnote anchor="9"/>3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="4" global="413"/></section><section number="4" title="From Literal Speaker to Learned Speaker"><p>In the previous section, we showed that a literal strategy, one that considers only semantically valid choices, can be used to directly construct a reflex speaker s:Literal or an embedded listener in a rational speaker s(l:Literal). This section fo­cuses on an orthogonal direction: improving literal strategies with learning. Specifically, we construct learned strategies from log-linear models trained on human annotations. These learned strategies can then be used to construct reflex and rational speaker variants—S:Learned and s(l:Learned), respec­tively.</p><subsection number="4.1" title="Training a Log-Linear Speaker/Listener"><p>We train the speaker, s:Learned, (similarly, lis­tener, l:Learned) on training examples which comprise the utterances produced by the human an-notators (see Section 6.1 for details on how this data was collected). Each example consists of a 3D model of a room in a house that specifies the 3D po­sitions of each object and the coordinates of a 3D camera. When training the speaker, each example is a pair (o, w), where o is the input target object and w is the output utterance. When training the listener, each example is (w, g), where w is the input utter­ance and g is the output guessed object. For now, an utterance w consists of two parts:</p><p><b>• </b>A spatial preposition <i>w.r </i>(e.g., <i>right </i><i>of)</i><i> </i>from a set of possible prepositions.<footnote anchor="3"/></p><p><b>• </b>A reference object w.o (e.g., O3) from the set of objects in the room.</p><p>We consider more complex utterances in Section 5.</p><p>Both s:Learned and L:Learned are parametrized by log-linear models:</p><doubt alpha="47.4" length="78" tooSmall="False" monospace="0.0">Ps:Learned(w|o;0s)«exp{6&gt;J(/&gt;(o, w)} (4)Pl:Learned(g|w;0l)«exp{0LF^(g, w)} (5)</doubt><p>where <b>•</b>) is the feature vector (see below), 0sand 0l are the parameter vectors for speaker and lis­tener. Note that the speaker and listener use the same set of features, but they have different parameters. Furthermore, the first normalization sums over pos­sible utterances w while the second normalization sums over possible objects g in the scene. The two parameter vectors are trained to optimize the log-likelihood of the training data under the respective models.</p><footnote label="3">We chose 10 prepositions commonly used by people to de­scribe objects in a preliminary data gathering experiment. This list includes multi-word units, which function equivalently to prepositions, such as left of.</footnote><p><b>Features </b>We now describe the features ( (o, w). These features draw inspiration from Landau and Jackendoff (1993) and Tellex and Roy (2009).</p><p>Each object o in the 3D scene is represented by its bounding box, which is the smallest rectangular prism containing o. The following are functions of the camera, target (or guessed object) o, and the ref­erence object w.o in the utterance. The full set of features is obtained by conjoining these functions with indicator functions of the form I [w.r = r], where r ranges over the set of valid prepositions.</p><p><b>• </b><i>Proximity functions </i>measure the distance be­tween o and w.o. This is implemented as the minimum over all the pairwise Euclidean dis­tances between the corners of the bounding boxes. We also have indicator functions for whether o is the closest object, among the top 5 closest objects, and among the top 10 closest objects to w.o.</p><p><b>• </b><i>Topological functions </i>measure containment be­tween o and w.o: vo1(o <b>n </b>w.o)/vo1(o) and vo1(o <b>n </b>w.o)/vo1(w.o). To simplify volume computation, we approximate each object by a bounding box that is aligned with the camera axes.</p><p><b>• </b><i>Projection functions </i>measure the relative posi­tion of the bounding boxes with respect to one another. Specifically, let v be the vector from the center of w.o to the center of o. There is a function for the projection of v onto each of the axes defined by the camera orientation (see Fig­ure 5). Additionally, there is a set of indicator functions that capture the relative magnitude of these projections. For example, there is a indi­cator function denoting whether the projection of v onto the camera's x-axis is the largest of all three projections.</p><page local="5" global="414"/><p>Figure 5: The projection features are computed by pro­jecting a vector v extending from the center of the ref­erence object to the center of the target object onto the camera axes fx and fy.</p></subsection></section><section number="5" title="Handling Complex Utterances"><p>So far, we have only considered speakers and lis­teners that deal with utterances consisting of one preposition and one reference object. We now ex­tend these strategies to handle more complex utter­ances. Specifically, we consider utterances that con­form to the following grammar:<footnote anchor="4"/> [relation] R [conjunction] NP [relativization] RP nrp* rnp</p><doubt alpha="62.5" length="8" tooSmall="False" monospace="0.0">[noun] N</doubt><doubt alpha="61.1" length="36" tooSmall="False" monospace="0.0">something|O1|O2|in frontof|on| • • •</doubt><p>This grammar captures two phenomena of lan­guage use, conjunction and relativization.</p><p>• Conjunction is useful when one spatial relation is insufficient to disambiguate the target object. For example, in Figure 1, <i>right of</i>O2 could re­fer to the vase or the table, but using the con­junction <i>right of</i>O2 <i>and on </i>O3 narrows down the target object to just the vase.</p><p>• The main purpose of relativization is to refer to objects without a precise nominal descrip­tor. With complex utterances, it is possible to chain relative prepositional phrases, for exam­ple, using <i>on something right of</i>O2 to refer to the vase.</p><footnote label="4">Naturally, we disallow direct reference to the target object.</footnote><p>Given an utterance w, we define its <i>complexity </i><b>| </b>w| as the number of applications of the relativization rule, rp <b>— </b>rnp, used to produce w. We had only considered utterances of complexity 1 in previous sections.</p><subsection number="5.1" title="Example Utterances"><p>To illustrate the types of utterances available under the grammar, again consider the scene in Figure 1.</p><p>Utterances of complexity 2 can be generated ei­ther using the relativization rule exclusively, or both the conjunction and relativization rules. The rela-tivization rule can be used to generate the following utterances:</p><p><b>• </b><i>on something that is right of</i>O2</p><p><b>• </b><i>right ofsomething that is left of</i>O3</p><p>Applying the conjunction rule leads to the following utterances:</p><p><b>• </b><i>right of</i>O2 <i>and on </i>O3</p><p><b>• </b><i>right of</i>O2 <i>and under </i>O1</p><p><b>• </b><i>left of</i>O1 <i>and left of</i>O3</p><p>Note that we inserted the words <i>that is </i>after each n and the word <i>and </i>between every adjacent pair of rps generated via the conjunction rule. This is to help a human listener interpret an utterance.</p></subsection><subsection number="5.2" title="Extending the Rational Speaker"><p>Suppose we have a rational speaker s(l) defined in terms of an embedded listener l which operates over utterances of complexity 1. We first extend l to in­terpret arbitrary utterances of our grammar. The ra­tional speaker (defined in (2)) automatically inherits this extension.</p><p>Compositional semantics allows us to define the interpretation of complex utterances in terms of sim­pler ones. Specifically, each node in the parse tree has a <i>denotation, </i>which is computed recursively in terms of the node's children via a set of sim­ple rules. Usually, denotations are represented as lambda-calculus functions, but for us, they will be distributions over objects in the scene. As a base case for interpreting utterances of complexity 1, we can use either L:Literal or L:Learned (defined in Sections 3 and 4).</p><page local="6" global="415"/><p>Given a subtree w rooted at u g {n, np, rp}, we define the denotation of w, [wj, to be a distribution over the objects in the scene in which the utterance was generated. The listener strategy pL (g|w) = [wj is recursively as follows:</p><p>• If w is rooted at n with a single child x, then [wj is the uniform distribution over n(x), the set of objects consistent with the word x.</p><p>• If w is rooted at np, we recursively compute the distributions over objects g for each child tree, multiply the probabilities, and renormalize (Hin­ton, 1999).</p><p>• If w is rooted at rp with relation r, we recursively compute the distribution over objects g' for the child np tree. We then appeal to the base case to produce a distribution over objects g which are related to g' via relation r.</p><p>This strategy is defined formally as follows:</p><doubt alpha="40.0" length="25" tooSmall="False" monospace="0.0">Pl(g|w)« '%gN(x)] w =(nx)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">k</doubt><doubt alpha="48.3" length="29" tooSmall="False" monospace="0.0">&lt;   IlPl(g|wj) w =(npwi...wk)</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">j=1</doubt><doubt alpha="41.0" length="39" tooSmall="False" monospace="0.0">Y,Pl(g|(r,g'))pl(g'|w') w =(rp (rr) w')</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(6)</doubt><p>Figure 6 shows an example of this bottom-up denotation computation for the utterance <i>on something right of</i>O2 with respect to the scene in Figure 1. The denotation starts with the lowest np node [O2j, which places all the mass on O2 in the scene. Moving up the tree, we compute the denotation of the rp, <i>[right of</i>O2j, using the rp case of (6), which results in a distribution that places equal mass on O1 and O3 .<footnote anchor="5"/> The denotation of the n node <i>[somethingj </i>is a flat distribution over all the objects in the scene. Continuing up the tree, the denotation of the np is computed by taking a product of the object distributions, and turns out to be exactly the same split distribution as its rp child. Finally, the denotation at the root is computed by applying the base case to <i>on </i>and the resulting distribution from the previous step.</p><footnote label="5">It is worth mentioning that this split distribution between O1 and O3 represents the ambiguity mentioned in Section 3 when discussing the shortcomings of s: Literal.</footnote><p>Figure 6: The listener model maps an utterance to a dis­tribution over objects in the room. Each internal NP or R P node is a distribution over objects in the room.</p><p><b>Generation </b>So far, we have defined the listener strategy pL (g | w). Given target o, the rational speaker s(l) with respect to this listener needs to compute argmaxw pL (o | w) as dictated by (3). This maximization is performed by enumerating all utter­ances of bounded complexity.</p></subsection><subsection number="5.3" title="Modeling Listener Confusion"><p>One shortcoming of the previous approach for ex­tending a listener is that it falsely assumes that a lis­tener can reliably interpret a simple utterance just as well as it can a complex utterance.</p><p>We now describe a more realistic speaker which is robust to listener confusion. Let a g [0,1] be a <i>focus parameter </i>which determines the confusion level. Suppose we have a listener l. When presented with an utterance w, for each application of the rela-tivization rule, we have a 1 — a probability of losing focus. If we stay focused for the entire utterance (with probability a|w|), then we interpret the utter­ance according to pL. Otherwise (with probability 1 — a|w|), we guess an object at random according to prnd(g | w). We then use (3) to define the rational speaker s(l) with respect the following "confused listener" strategy:</p><p>Pl (g | w) = a|w|pl (g | w) + (1 — a|w|)pmd(g | w).</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(7)</doubt><p>As a — 0, the confused listener is more likely to make a random guess, and thus there is a stronger penalty against using more complex utterances. As a — 1, the confused listener converges to pL and the penalty for using complex utterances vanishes.<page local="7" global="416"/></p></subsection><subsection number="5.4" title="The Taboo Setting"><p>Notice that the rational speaker as defined so far does not make full use of our grammar. Specifi­cally, the rational speaker will never use the "wild­card" noun <i>something </i>nor the relativization rule in the grammar because an np headed by the wildcard <i>something </i>can always be replaced by the object ID to obtain a higher utility. For instance, in Figure 6, the np spanning <i>something right of </i>O2 can be re­placed by O3.</p><p>However, it is not realistic to assume that all ob­jects can be referenced directly. To simulate scenar­ios where some objects cannot be referenced directly (and to fully exercise our grammar), we introduce the <i>taboo setting. </i>In this setting, we remove from the lexicon some fraction of the object IDs which are closest to the target object. Since the tabooed objects cannot be referenced directly, a speaker must resort to use of the wildcard <i>something </i>and relativization.</p><p>For example, in Figure 7, we enable tabooing around the target O1. This prevents the speaker from referring directly to O3 , so the speaker is forced to describe O3 via the relativization rule, for example, producing <i>something right of </i>O2.</p><p><b>Question: Where is the object outlined in red? Answer: The object outlined in red is [</b></p><p>Figure 7: With tabooing enabled around O1, O3 can no longer be referred to directly (represented by an X).</p></subsection></section><section number="6" title="Experiments"><p>We now present our empirical results, showing that rational speakers, who have embedded models oflis-</p><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">rsri</doubt><p>Figure 8: Mechanical Turk speaker task: Given the tar­get object (e.g., O1), a human speaker must choose an utterance to describe the object (e.g., <i>right of </i>O2).</p><p>teners, can communicate more successfully than re­flex speakers, who do not.</p><subsection number="6.1" title="Setup"><p>We collected 43 scenes (rooms) from the Google Sketchup 3D Warehouse, each containing an aver­age of 22 objects (household items and pieces of fur­niture arranged in a natural configuration). For each object o in a scene, we create a <i>scenario, </i>which rep­resents an instance of the communication game with o as the target object. There are a total of 2,860 sce­narios, which we split evenly into a training set (de­noted Tr) and a test set (denoted Ts).</p><p>We created the following two Amazon Mechani­cal Turk tasks, which enable humans to play the lan­guage game on the scenarios:</p><p><b>Speaker </b><b>Task</b><b> </b>In this task, human annotators play the role of speakers in the language game. They are prompted with a target object o and asked to each produce an utterance w (by selecting a preposition w.r from a dropdown list and clicking on a reference object w.o) that best informs a listener of the identity of the target object.</p><p>For each training scenario o, we asked three speakers to produce an utterance w. The three result­ing (o, w) pairs are used to train the learned reflex speaker (s:Literal). These pairs were also used to train the learned reflex listener (l:Literal), where the target o is treated as the guessed object. See Sec­tion 4.1 for the details of the training procedure.</p><p><b>Listener </b><b>Task</b><b> </b>In this task, human annotators play the role of listeners. Given an utterance generated by a speaker (human or not), the human listener must<page local="8" global="417"/></p><p><b>Question: </b>What object is <b>right of </b><b>O2 </b>?</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">U1</doubt><p>Figure 9: Mechanical Turk listener task: a human listener is prompted with an utterance generated by a speaker (e.g., <i>right of </i>O2), and asked to click on an object (shown by the red arrow).</p><p>guess the target object that the speaker saw by click­ing on an object. The purpose of the listener task is to evaluate speakers, as described in the next section.</p></subsection><subsection number="6.2" title="Evaluation"><p><b>Utility (Communicative Success) </b>We primarily evaluate a speaker by its ability to communicate suc­cessfully with a human listener. For each test sce­nario, we asked three listeners to guess the object. We use pL:HUMAN(g | w) to denote the distribution over guessed objects g given prompt w. For exam­ple, if two of the three listeners guessed O1, then pL:HuMAN(O1 | w) = §. The expected utility (2) is then computed by averaging the utility (communica­tive success) over the test scenarios Ts:</p><doubt alpha="65.4" length="26" tooSmall="False" monospace="0.0">Success(s)= EU(s, l:Human)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">= 1</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(8)</doubt><doubt alpha="63.3" length="30" tooSmall="False" monospace="0.0">^2X^Ps(w|o)pl:Human(o|w).oGtsw</doubt><p><b>Exact Match </b>As a secondary evaluation metric, we also measure the ability of our speaker to exactly match an utterance produced by a human speaker. Note that since there are many ways of describing an object, exact match is neither necessary nor suffi­cient for successful communication.</p><p>We asked three human speakers to each pro­duce an utterance w given a target o. We use pS:HUMAN (w | o) to denote this distribution; for ex­ample, pS:HUMAN<i>(right of </i>O2 | o) = ^ if exactly one of the three speakers uttered <i>right of </i>O2. We then</p><p>Table 1: Comparison of various speakers on communica­tive success and exact match, where only utterances of complexity 1 are allowed. The rational speakers (with respect to both the literal listener l:Literal and the learned listener l:Learned) perform better than their reflex counterparts. While the human speaker (composed of three people) has higher exact match (it is better at mimicking itself), the rational speaker s(l:Learned) actually achieves higher communicative success than the human listener.</p><p>define the <i>exact match </i>of a speaker s as follows:</p><p>Match(s)</p><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">|Ts|</doubt><p>X] X]PS:hUMAN(w | o)ps (w | o).</p><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">oetsw</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(9)</doubt></subsection><subsection number="6.3" title="Reflex versus Rational Speakers"><p>We first evaluate speakers in the setting where only utterances of complexity 1 are allowed. Table 1 shows the results on both success and exact match. First, our main result is that the two rational speak­ers s(l:Literal) and s(l:Learned), which each model a listener explicitly, perform significantly bet­ter than the corresponding reflex speakers, both in terms of success and exact match.</p><p>Second, it is natural that the speakers that in­volve learning (s:Literal and s(l:Literal)) outperform the speakers that only consider the literal meaning of utterances (s: Learned and s(l: Learned)), as the former models capture sub­tler preferences using features.</p><p>Finally, we see that in terms of exact match, the human speaker s: Hum an performs the best (this is not surprising because human exact match is es­sentially the inter-annotator agreement), but in terms of communicative success, s (l: Learned) achieves a higher success rate than s:Human, suggesting that the game-theoretic modeling undertaken by the rational speakers is effective for communication, which is ultimate goal of language.</p><p>Note that exact match is low even for the "human speaker", since there are often many equally good<page local="9" global="418"/></p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Speaker</p></td><td class="cell"><p>Success</p></td><td class="cell"><p>Exact Match</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>s:Literal [reflex] s(l:Literal) [rational]</p></td><td class="cell"><p>4.62% 33.65%</p></td><td class="cell"><p>1.11% 2.91%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>s : Learned [reflex] s(l:Learned) [rational]</p></td><td class="cell"><p>38.36% 52.63%</p></td><td class="cell"><p>5.44% 14.03%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>s:Human</p></td><td class="cell"><p>41.41%</p></td><td class="cell"><p>19.95%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="0.0" length="40" tooSmall="False" monospace="0.0">0.2        0.4        0.6        0.8 1.0</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">a</doubt><p>Figure 10: Communicative success as a function offocus parameter a without tabooing on TsDEV. The optimal value of a is obtained at 0.79.</p><p>ways to evoke an object. At the same time, the suc­cess rates for all speakers are rather low, reflecting the fundamental difficulty of the setting: sometimes it is impossible to unambiguously evoke the target object via short utterances. In the next section, we show that we can improve the success rate by al­lowing the speakers to generate more complex utter­ances.</p></subsection><subsection number="6.4" title="Generating More Complex Utterances"><p>We now evaluate the rational speaker s(l:Learned) when it is allowed to generate utterances of complexity 1 or 2. Recall from Section 5.3 that the speaker depends on a focus parameter a, which governs the embedded listener's ability to interpret the utterance. We divided the test set (Ts) in two halves: TsDEV, which we used to tune the value of a and TsFinal, which we used to evaluate success rates.</p><p>Figure 10 shows the communicative success as a function of a on TsDEV. When a is small, the embedded listener is confused more easily by more complex utterances; therefore the speaker tends to choose mostly utterances of complexity 1. As a increases, the utterances increase in complexity, as does the success rate. However, when a approaches 1, the utterances are too complex and the success rate decreases. The dependence between a and av­erage utterance complexity is shown in Figure 11.</p><p>Table 2 shows the success rates on TsFinal for a — 0 (all utterances have complexity 1), a = 1 (all utterances have complexity 2), and a tuned to max­imize the success rate based on TSDEV. Setting a in this manner allows us to effectively balance com­plexity and ambiguity, resulting in an improvement in the success rate.</p><p>Figure 11: Average utterance complexity as a function of the focus parameter a on TSDEV. Higher values of a yield more complex utterances.</p><p>Table 2: Communicative success (on TSFINAL) of the rational speaker S(L:LEARNED) for various values of a across different taboo amounts. When the taboo amount is small, small values of a lead to higher success rates. As the taboo amount increases, larger values of a (resulting in more complex utterances) are better.</p></subsection></section><section number="7" title="Conclusion"><p>Starting with the view that the purpose of language is successful communication, we developed a game-theoretic model in which a <i>rational </i>speaker gener­ates utterances by explicitly taking the listener into account. On the task of generating spatial descrip­tions, we showed the rational speaker substantially outperforms a baseline reflex speaker that does not have an embedded model. Our results therefore sug­gest that a model of the pragmatics of communica­tion is an important factor to consider for generation.</p><p><b>Acknowledgements </b>This work was supported by the National Science Foundation through a Gradu­ate Research Fellowship to the first two authors. We also would like to acknowledge Surya Murali, the designer of the 3D Google Sketchup models, and thank the anonymous reviewers for their comments.</p><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Taboo</p></td><td class="cell"><p>Success</p></td><td class="cell"><p>Success</p></td><td class="cell"><p>Success</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Amount</p></td><td class="cell"><p>(a — 0)</p></td><td class="cell"><p>(a =1)</p></td><td class="cell"><p>(a = a* )</p></td><td class="cell"><p>a*</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>0%</p></td><td class="cell"><p>51.78%</p></td><td class="cell"><p>50.99%</p></td><td class="cell"><p>54.53%</p></td><td class="cell"><p>0.79</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5%</p></td><td class="cell"><p>38.75%</p></td><td class="cell"><p>40.83%</p></td><td class="cell"><p>43.12%</p></td><td class="cell"><p>0.89</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>10%</p></td><td class="cell"><p>29.57%</p></td><td class="cell"><p>29.69%</p></td><td class="cell"><p>30.30%</p></td><td class="cell"><p>0.80</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>30%</p></td><td class="cell"><p>12.40%</p></td><td class="cell"><p>13.04%</p></td><td class="cell"><p>12.98%</p></td><td class="cell"><p>0.81</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table></section><references><p>J. L. Austin. 1962. <i>How to do Things with Words: The William James Lectures delivered at Harvard Univer-</i><page local="10" global="419"/></p><p><i>sity in 1955. </i>Oxford, Clarendon, UK. S. Branavan, H. Chen, L. S. Zettlemoyer, and R. Barzilay. 2009. Reinforcement learning for mapping instruc­tions to actions. In <i>Association for Computational Lin­guistics and International Joint Conference on Natural Language Processing (ACL-IJCNLP), </i>Singapore. As­sociation for Computational Linguistics.</p><p>D. L. Chen and R. J. Mooney. 2008. Learning to sportscast: A test of grounded language acquisition. In <i>International Conference on Machine Learning (ICML), </i>pages 128-135. Omnipress.</p><p>David DeVault and Matthew Stone. 2007. Managing ambiguities across utterances in dialogue.</p><p>J. Eisenstein, J. Clarke, D. Goldwasser, and D. Roth. 2009. Reading to learn: Constructing features from semantic abstracts. In <i>Empirical Methods in Natural Language Processing (EMNLP), </i>Singapore.</p><p>J. Feldman and S. Narayanan. 2004. Embodied meaning in a neural theory of language. <i>Brain and Language,</i> 89:385-392.</p><p>M. Fleischman and D. Roy. 2007. Representing inten­tions in a cognitive model of language acquisition: Ef­fects of phrase structure on situated verb learning. In <i>Association for the Advancement of Artificial Intelli­gence (AAAI), </i>Cambridge, MA. MIT Press.</p><p>M. C. Frank, N. D. Goodman, and J. B. Tenenbaum. 2009. Using speakers' referential intentions to model early cross-situational word learning. <i>Psychological</i></p><p><i>Science, </i>20(5):578-585.</p><p>Peter Gorniak and Deb Roy. 2004. Grounded semantic composition for visual scenes. In <i>Journal of Artificial Intelligence Research, </i>volume 21, pages 429-470.</p><p>H. P. Grice. 1975. Syntax and Semantics; Logic and Conversation. 3:Speech Acts:41-58.</p><p>G. Hinton. 1999. Products of experts. In <i>International Conference on Artificial Neural Networks (ICANN).</i></p><p>G. Jager. 2008. Game theory in semantics and pragmat­ics. Technical report, University of Tübingen.</p><p>T. Kollar, S. Tellex, D. Roy, and N. Roy. 2010. Toward understanding natural language directions. In <i>Human­Robot Interaction, </i>pages 259-266.</p><p>Barbara Landau and Ray Jackendoff. 1993. "what" and "where" in spatial language and spatial cognition. <i>Behavioral and Brain Sciences, </i>16(2spatial preposi­tions analysis, cross linguistic conceptual similarities; comments/response):217-238.</p><p>P. Liang, M. I. Jordan, and D. Klein. 2009. Learning se­mantic correspondences with less supervision. In <i>As­sociation for Computational Linguistics and Interna­tional Joint Conference on Natural Language Process­ing (ACL-IJCNLP), </i>Singapore. Association for Com­putational Linguistics.</p><p>S. T. Piantadosi, N. D. Goodman, B. A. Ellis, and J. B.</p><p>Tenenbaum. 2008. A Bayesian model of the acquisi­tion of compositional semantics. In <i>Proceedings ofthe Thirtieth Annual Conference ofthe Cognitive Science Society.</i></p><p>T Regier and LA Carlson. 2001. Journal of experimen­tal psychology. general; grounding spatial language in perception: an empirical and computational investiga­tion. 130(2):273-298.</p><p>Stefanie Tellex and Deb Roy. 2009. Grounding spatial</p><p>prepositions for video search. In <i>ICMI. </i>Y. W. Wong and R. J. Mooney. 2007. Learning syn­chronous grammars for semantic parsing with lambda calculus. In <i>Association for Computational Linguis­tics (ACL), </i>pages 960-967, Prague, Czech Republic. Association for Computational Linguistics. C. Yu and D. H. Ballard. 2004. On the integration of grounding language and learning objects. In <i>Asso-ciationfor the Advancement of Artificial Intelligence</i></p><p><i>(AAAI), </i>pages 488-493, Cambridge, MA. MIT Press.</p><p>L. S. Zettlemoyer and M. Collins. 2005. Learning to map sentences to logical form: Structured classifica­tion with probabilistic categorial grammars. In <i>Uncer­tainty in Artificial Intelligence (UAI), </i>pages 658-666.</p></references></body></article>