Elamur Research

A Joint Model of Language and Perception for Grounded Attribute Learning

Paper · 2012 · Cynthia Matuszek, Nicholas FitzGerald, Luke Zettlemoyer et al.

Summary

Someone points to a group of toys on a table and describes them. To work out which objects the description refers to, a system has to interpret the words and recognize the properties they describe. Learning from such an example is harder still. The person has shown which objects count, but the system has to infer which words helped identify them, what properties those words express, and how to recognize those properties in a new scene. The paper studies this problem through descriptions of objects that vary in color and shape. It connects visual recognition with the construction of a structured meaning for a sentence, a task known as semantic parsing.

The authors begin with a small vocabulary and a set of visual classifiers trained with explicit labels. They then introduce scenes described using unfamiliar words. At this stage, the training examples give the sentence, the objects in the scene, and the subset the speaker meant. The system considers possible interpretations of the sentence alongside possible assignments of visual properties. It favors combinations that pick out exactly the indicated objects. This lets the same example teach the system both how to interpret a word and which visual evidence should count toward recognizing the property it describes.

The experiments use descriptions elicited from videos of tabletop toys. On the held-out object selection task for attributes outside the initial supervised training, the joint approach averages 82% precision, 71% recall, and a 76% F1-score. A comparison system with a hand-built list of synonyms achieves high precision but retrieves fewer of the intended objects. A parser restricted to the initial vocabulary and classifiers retrieves fewer still. The authors also find that new words can become associated with attributes the system already recognizes, and that some words acquire an interpretation with no visual restriction. The results show how pointing can support vocabulary growth in a controlled physical setting where descriptions combine color and shape. The learning still starts from a supervised grammar and depends on which candidate meanings and visual distinctions the system can represent.

Deep dive: A Joint Model of Language and Perception for Grounded Attribute Learning

A study of how a system can learn what new color and shape words mean by comparing descriptions with the objects people point to. · about 38 minutes to read

The problem and its context

What pointing tells a learner

A person can teach a robot about a physical environment by showing it things and talking about them. The appeal of this setup is that the person can provide examples in the course of an ordinary interaction. Pointing at the objects one means is a simpler form of instruction than labeling the grammatical structure of a sentence, writing a formal meaning for it, or annotating every visible property of every object. The research problem is to make the most of that simpler instruction. If pointing is the available feedback, a learner needs to recover some of the information that more detailed annotation would have supplied explicitly.

Imagine that the objects a speaker indicates are all yellow. Their color may explain the selection, but that inference depends on the rest of the scene and on the wording. If the indicated objects also share a shape, and every other object differs in both respects, the selection is compatible with a color description, a shape description, or a description that combines the properties. A scene that contains a yellow object of a different shape has more power to separate those possibilities. It matters which objects were left out as well as which ones were included.

The wording poses a corresponding problem. A phrase can contain several words even when it contributes only a single perceptual restriction. In a description of yellow objects, a word such as thing may help the phrase function as a reference without imposing a particular color or shape. Conversely, in a description of red cubes, both the color and the shape matter. An object can satisfy either part of the description and still fall outside the intended set. Treating every unfamiliar word as the name of a property would add restrictions where the sentence supplies none. Ignoring all unfamiliar words would leave out restrictions that the speaker meant.

The authors turn this instructional situation into a task with an observable answer. The input consists of a sentence and the objects extracted from its scene. The answer is the subset the sentence describes. A learner succeeds on a new example to the extent that the objects it selects agree with that subset. The formulation gives the abstract problem of grounding a concrete consequence. An interpretation has to determine which visible objects qualify, so the system must connect language to operations it can carry out on perceptual input.

An attribute classifier and a sentence interpretation serve different purposes here. A classifier takes the representation of an object and estimates whether a specific property holds. A sentence interpretation specifies which such tests matter together. To learn from a demonstration, the system needs a way to consider both decisions in the light of the same evidence. A promising interpretation of a word may lead to a poor selection because its associated classifier is weak. A capable classifier may go unused because the parser assigns the wrong meaning to the word. This interaction is what makes the task a problem in vision and language.

The resources earlier work supplied

The paper draws on research that described objects using visual properties. Its review places this work alongside object recognition based on local descriptors, which summarize the appearance or geometry of parts of an input. Examples in the review include SIFT descriptors for images and Spin Images for point clouds. The authors choose kernel descriptors for their own feature extraction and motivate that choice with earlier results on recognition. The descriptors supply the measurements used to recognize properties. The grounding task supplies a reason to associate some of those recognizable distinctions with particular linguistic expressions.

On the language side, the authors describe a tradition of training parsers on sentences with formal meanings supplied by annotators. Such supervision gives a parser direct evidence about how words and constructions contribute to the meaning of a complete utterance. The paper also points to work that learns from questions paired with database answers. In that setting, the answer is available even when the logical expression that retrieved it is hidden. The papers give the authors precedents for learning either from formal interpretations or from the observable consequences of those interpretations. Among the supervised approaches they cite are Learning to Parse Database Queries Using Inductive Logic Programming and Learning Synchronous Grammars for Semantic Parsing with Lambda Calculus.

For the parser they actually use, the authors build on work in Combinatory Categorial Grammar, or CCG. CCG gives a lexical entry both a grammatical category and a semantic contribution. Its combination rules construct larger expressions from those entries. Earlier work on learning CCG parsers provides a way to acquire this machinery from sentence and logical-form pairs. The factored lexicon described in the paper is particularly useful here because it separates the choice of a word's semantic content from reusable patterns for incorporating that content into a sentence. The paper also recognizes work exploring how to induce parsers without the conventional sentence-to-logical-form supervision. Its discussion includes Lexical Generalization in CCG Grammar Induction for Semantic Parsing and Confidence Driven Unsupervised Semantic Parsing.

The related-work discussion also covers efforts in robotics and vision to connect words with scenes and interpret language in physical or virtual environments. In the authors' account, work on matching words and pictures frequently emphasizes meanings of individual words. They also discuss instruction-following approaches that interpret utterances using a pre-defined set of meanings. The first line of work addresses how a word acquires a visible referent. The second addresses how a complete instruction can be connected to a world in which it is carried out. The question here is whether a learner can add new, visually grounded word meanings to a grammar that already knows how to combine meanings.

The paper's design brings these strands together around disagreement about the answer. An intended set can expose a weakness in either the interpretation or the perception of the scene. Yet the intended set does not specify which aspect was responsible. The authors' approach is to represent both sources of uncertainty and use their combined predictions to decide which explanations of a demonstration should influence learning. This moves some of the teaching burden away from explicit labels while retaining enough structure for a sentence to express more than a single property.

The method, step by step

From a description to tests on objects

The method starts with a sentence and a collection of object segments. A segment is the part of the camera observation assigned to an individual object. Each segment has features describing its appearance and depth. The parser works on the sentence and proposes logical forms, which are formal descriptions of the objects that would satisfy the words. For each proposal, the visual component supplies evidence about the properties it mentions. Applying the description to the objects turns those two kinds of evidence into a selection.

Consider a description of red cubes. A plausible analysis requires an object to be both red and cube-shaped. The corresponding classifier for red can score an object as likely to have that color, and the classifier for cubes can score it as likely to have that shape. A candidate assignment of properties might say that both tests succeed. Under that assignment, the object belongs in the output. A different assignment might say that only the color test succeeds. Under the same logical description, the object then falls outside the output.

The choice of logical description can change the output even when the assignment of visible properties stays fixed. Requiring only red would admit objects that the conjunction excludes. A sentence with an unfamiliar term may support both kinds of analysis, depending on whether the term receives a property meaning or contributes no restriction. The method considers the logical form and the visual assignment separately, then evaluates the selection they produce together.

During training the selected objects are already identified. A candidate interpretation and visual assignment can jointly explain an example only if executing the interpretation returns that set. Across examples, this evidence can increase the preference for a particular meaning of an unfamiliar word and improve the property classifier associated with it. At test time, the same connection works forward. The system considers what sets could result from the sentence and the scene and chooses the most probable set.

How descriptions and object evidence support learning and selection

The steps in order.

How descriptions and object evidence support learning and selectionStep 1: Initialize the parser and visual classifiers1. Initialize the parser and visual classifiersStep 2: Add possible meanings for unfamiliar words2. Add possible meanings for unfamiliar wordsStep 3: Parse descriptions into candidate logical forms3. Parse descriptions into candidate logical formsStep 4: Estimate attribute probabilities for segmented objects4. Estimate attribute probabilities for segmented objectsStep 5: Execute logical forms under possible attribute assignments5. Execute logical forms under possible attribute assignmentsStep 6: Use demonstrated selections to update both components6. Use demonstrated selections to update both componentsStep 7: Predict the most probable set for new scenes7. Predict the most probable set for new scenes

What the parser learns from the supervised examples

The initial parser is trained with FUBL, the method the paper adopts for learning a factored CCG lexicon. A conventional lexical entry can be thought of as a word or phrase paired with a grammatical category and a meaning. In the factored lexicon, a lexeme supplies a surface expression and the semantic material associated with it. A lexical template specifies a reusable way to turn such material into a usable entry with a grammatical category. The parser combines the resulting entries to interpret complete descriptions.

The paper illustrates this division with half-pipe, a surface expression whose meaning in the example is associated with the constant arch. A template places that constant in a noun-phrase entry. The larger construction then allows the sentence to attribute the arch shape to an object. The same sentence also describes the object as red, so the resulting description combines color and shape. Keeping the lexeme separate from the template gives the learner a place to add a new word and potential meaning while reusing grammatical arrangements established during initialization.

The complete internal analysis, called a parse, includes decisions about which entries and combinations to use. The logical form is the meaning that analysis produces. Different parses can yield the same logical form. This distinction matters because grammatical evidence is scored at the level of a parse, while the visual component executes the resulting meaning. The paper assigns probabilities using a log-linear distribution.

P(y, z | x; Θᴸ, Λ) = exp(Θᴸ · φ(x, y, z)) / Σ_(y′,z′) exp(Θᴸ · φ(x, y′, z′))

Here, P denotes probability, x is the sentence, y is a parse, and z is its logical form. The vertical bar marks conditioning on the sentence, and the semicolon separates the fixed input from the parameters and lexicon used to assign the probability. Θᴸ is the vector of language weights, with L identifying the language component. Λ is the factored lexicon. The function φ produces a feature vector from the sentence, parse, and logical form, and the centered dot is the inner product of the weights and feature values. The exponential function exp converts the score to a positive quantity. Σ sums such quantities over candidate parse and logical-form pairs for the sentence, with y′ and z′ serving as the indices. The slash divides the score for the particular pair by this total.

The features include indicators of lexical choices and properties of the logical expressions that result. A lexical indicator records that an entry was used. Other features allow an analysis to gain or lose support because of the structure it produces. The training of the initial grammar assigns weights to these sources of evidence. In the later training stage, new lexemes can compete inside that same system of grammatical preferences.

The language distribution needed for execution is the probability of a logical form given the sentence. It gathers the probabilities of the parses that produce that form. A meaning supported by several derivations can therefore receive probability from each of them. This also explains why the language update later compares features in different collections of parses. The selected objects can make a logical form plausible while leaving several internal grammatical analyses possible.

The logical forms used here define tests on individual objects. An example of a combined test, with the object variable named differently from the sentence variable, is:

λu.shape(u, cube) ∧ color(u, red)

The symbol λ binds u, the object to which the expression is applied. The dot separates the bound variable from the expression that is evaluated. shape and color name property tests, and cube and red are their attribute constants. The conjunction symbol ∧ requires both tests to hold. Applying the expression to the scene forms the subset of objects that pass it. This example shows why the parser's output is useful to the visual component. It states exactly which attribute evidence is relevant to determining membership.

How the camera observation becomes attribute probabilities

The authors record color and depth using a Kinect camera. Before scoring object attributes, they establish which portions of the observation correspond to distinct objects. They estimate the plane of the table with RANSAC plane fitting on the depth measurements. They then extract connected components from points sufficiently far above that plane. Each component serves as an object segment. This procedure gives the classifier an object-sized input and gives the selection task a specific set of items it can return.

From each segment the authors extract features with kernel descriptors. There are separate features from depth and RGB measurements, used for shape and color respectively. In the initial supervised data, the annotation identifies which linguistic attributes are about shape and which are about color. The later training examples do not label the type of property described. The expanded lexicon and the classifiers must acquire associations that make sense of the observed choices.

For each classifier and object, logistic regression gives the probability that the classifier's Boolean answer is positive. The following expression is the probability used for that answer.

P(wₒ,𝑐 = 1 | o; Θᴾ) = exp(Θᴾ_c · φ(o)) / (1 + exp(Θᴾ_c · φ(o)))

Here, P is probability, o is the object, and c identifies the classifier. The indexed value wₒ,𝑐 is its output on that object, and 1 denotes a positive output. The conditioning bar separates that output from the known object. Θᴾ denotes the collection of perception parameters, with P as a superscript identifying perception, and Θᴾ_c is the weight vector for classifier c. The semicolon introduces the parameters that define the probability. φ(o) is the feature vector extracted from the object, distinct from the parser features denoted by φ(x, y, z). The dot denotes the inner product. exp is the exponential function, the slash indicates division, and the denominator adds 1 to the exponential of the same score. The probability of a negative output is the remainder after accounting for the positive output.

A classifier probability expresses uncertainty about a property of an individual object. The joint calculation also needs a way to discuss a complete assignment of properties in a scene. The paper calls such an assignment a possible world. In this particular use of the term, a world records every classifier's Boolean output on every object in the scene. The visual distribution treats the individual answers as independent given the scene objects.

P(w | O) = ∏_(o∈O) ∏_(c∈C) P(wₒ,𝑐 | o)

In this formula, P(w | O) is the probability of the full assignment w conditioned on the set of scene objects O. The symbol ∏ denotes multiplication over the indicated indices. The expression o∈O ranges over objects o belonging to the scene, and c∈C ranges over classifiers c in the available set C. On the right, wₒ,𝑐 is the value the proposed world gives classifier c for object o. The factor P(wₒ,𝑐 | o) is the probability the classifier gives that value for the object. Multiplying the factors gives the probability of the whole assignment.

A possible world can assign a property differently from the classifier's most likely answer. It receives less support when it includes an unlikely assignment, with that cost expressed in its probability. Carrying the alternatives forward lets the system account for a scene even when the combination needed to explain the teacher's selection includes uncertain visual decisions.

How a logical form and a visual assignment agree

The logical form is executed by connecting its attribute constants to their classifiers. If the form describes red cubes, applying it in a particular world checks the assigned outputs for red and cube on each object. The resulting set has no remaining ambiguity once the logical form and world are fixed. This is the role of the execution term in the joint probability.

P(G, z, w | x, O) = P(z | x) P(w | O) P(G | z, w)

Here, P(G, z, w | x, O) is the probability of the selected set G, logical form z, and visual assignment w conditional on the sentence x and scene objects O. The right side multiplies the language probability P(z | x), the visual probability P(w | O), and the execution probability P(G | z, w). The last term assigns all its probability to the selection returned by applying z in w. The space between factors denotes multiplication. The conditioning bars specify what is given to each probability term.

Before the selection is taken into account, the parser scores meanings using the sentence and the classifiers score assignments using the objects. Execution couples those assessments. Once a selected set is known, the plausible meanings depend on which visual assignments could produce it, and plausible visual assignments depend on which meanings could produce it. For example, if an out-of-set object is probably red, the logical form that checks only redness may be difficult to reconcile with the observation. A form that also checks shape can explain the same scene if that object's shape makes it fail the second test.

Several combinations of logical form and world can yield the same set. To give a set its probability, the system pools support from those combinations.

P(G | x, O) = Σ_z Σ_w P(G, z, w | x, O)

Here, P(G | x, O) is the probability that the sentence x and scene objects O lead to the subset G. The Σ symbols sum over logical forms z and possible worlds w. The summand is the joint probability of that set, form, and world given the sentence and objects. The execution term in the preceding formula makes the contribution vanish whenever the pair would return a different set.

At test time the authors define the decision as choosing the set that maximizes this probability. The winning set can collect support from more than one interpretation of the sentence. This matters when a scene makes distinct descriptions equivalent in their effect. A form that checks for redness and one that checks for red cubes may produce the same set in a scene where the relevant red objects are all cubes. The task gives both interpretations a way to support the answer.

The authors distinguish the problems of assigning probability to a set and finding the set with the greatest probability. If the logical language allowed arbitrary expressions, checking and aggregating compatible assignments would lead to satisfiability and weighted counting problems. In the paper's grammar, each description is a conjunction of unary tests. A unary test applies to one object, so deciding whether an object qualifies does not require linking its properties to those of another object. For a fixed form, an included object must pass all its required tests, and an excluded object must fail at least one. Independence across objects and classifiers makes it possible to aggregate the perceptual alternatives exactly under these restrictions.

Exact treatment of those perceptual alternatives leaves a separate search problem on the language side. Enumerating parses can grow exponentially with sentence length. The authors use beam search, keeping a limited collection of high-scoring parses. The retained parses determine which interpretations the training computation can consider. The paper also identifies approximate inference as a possible route if the logical language is extended beyond the conjunctions used here.

How a new word enters the candidate lexicon

The expanded vocabulary starts with hypotheses. The authors create new classifiers whose initial output distributions are uniform. Each new classifier is assigned a fresh logical constant so that a parser can refer to it. At this point, the constant has an operational role in a candidate expression, but its classifier has yet to learn a visual distinction. This arrangement allows a word to be associated with a property that had no classifier in the initial inventory.

For each newly encountered word, the authors add possible lexemes. A word can be paired with a new classifier constant or with an expression supplied by an existing lexeme. The latter route is important when the novelty is linguistic. A familiar color may be named in unfamiliar wording, in which case an existing classifier already supplies the relevant perceptual test. The treatment of semantically empty material also permits some words to contribute no attribute restriction. The alternatives give learning several ways to account for new wording.

The weights of the indicator features for the lexicon additions start at 0. At this stage a particular new pairing receives no preference from its own newly added indicator. Its use still depends on the grammatical analyses that the parser can construct and on the other evidence in their scores. The uniform classifier similarly starts without a preference for labeling an object as having the property. The system then uses the examples to adjust the lexical and visual parameters.

This is an exhaustive proposal procedure over the alternatives the authors make available. It supplies candidate associations before it has evidence about which should prevail. If an unfamiliar word frequently occurs in descriptions of objects sharing a visible property, a lexeme that invokes a suitable classifier can help reproduce the selections. A classifier that makes those selections plausible in turn supports that lexeme. The initial grammar provides the means of using the word inside a sentence, and the examples provide evidence for choosing among the proposed uses.

What a training example contributes

The joint training data contain descriptions, scene objects, and intended sets. In each example the logical form and the outputs of the classifiers are hidden. The paper writes the training objective as a marginal log likelihood. It is marginal because it assigns probability to the observed answer after summing over alternative hidden explanations.

LL(D; Θᴸ, Θᴾ) = Σ_(i=1…n) ln P(Gᵢ | xᵢ, Oᵢ; Θᴸ, Θᴾ)

Here, LL denotes the log likelihood of the training data D. Θᴸ and Θᴾ are the parameters of the language and perception components. The index i runs from 1 through n, where n is the number of training examples, and Σ adds their contributions. The function ln is the natural logarithm. The quantities Gᵢ, xᵢ, and Oᵢ are the intended set, sentence, and scene objects for example i. The probability term conditions the selection on the sentence and objects, with the parameter vectors after the semicolon determining that probability.

To update the current weights, the learner needs to assess the hidden explanations of the current example. It starts with the language and perceptual probabilities and conditions them on the observed selection. The numerator scores a particular logical form and world together with the selection. The denominator pools the scores for all candidate explanations of that selection.

P(z, w | xᵢ, Oᵢ, Gᵢ; Θᴸ, Θᴾ) =
  P(z | xᵢ; Θᴸ) P(w | Oᵢ; Θᴾ) P(Gᵢ | z, w)
  / Σ_z′ Σ_w′ [P(z′ | xᵢ; Θᴸ) P(w′ | Oᵢ; Θᴾ) P(Gᵢ | z′, w′)]

Here, the probability on the left is the posterior over logical form z and world w given the sentence xᵢ, objects Oᵢ, and selected set Gᵢ in example i. A posterior is a probability after taking the observation into account. Θᴸ and Θᴾ are the current language and perception parameters. The numerator multiplies the probability of the form, the probability of the world, and the execution probability of the observed set. The slash denotes division by the normalizing total. The sums range over alternative forms z′ and worlds w′, with primes distinguishing those indices from the particular pair on the left. Square brackets group the factors summed for each alternative.

This calculation gives credit in proportion to plausibility. An explanation can receive greater weight because the sentence strongly supports its interpretation or because the visual evidence strongly supports its assignments. Both factors matter only for pairs that agree with the selected set. Imagine again that an unfamiliar word could be a color term or a shape term. A scene with several unselected objects of the same shape as the targets may make the shape explanation harder to sustain. Across scenes, the learner can accumulate evidence even when some individual demonstrations are compatible with both explanations.

The expected gradient for a language weight uses these posterior probabilities. For each proposed logical form, it compares the average presence of a feature among parses yielding that form with its average presence under the parser's distribution for the sentence as a whole.

Δᴸ_j = Σ_z′ Σ_w′ P(z′, w′ | xᵢ, Oᵢ, Gᵢ; Θᴸ, Θᴾ)
       × [E_P(y | xᵢ,z′;Θᴸ) φᴸ_j(xᵢ, y, z′)
          − E_P(y,z | xᵢ;Θᴸ) φᴸ_j(xᵢ, y, z)]

Here, Δᴸ_j is the gradient contribution for language weight j on the current example, and superscript L identifies the language component. The sums over z′ and w′ average across candidate logical forms and worlds with the posterior probability just defined. The symbol × multiplies each probability by the difference in brackets. E denotes expectation under the distribution indicated in its subscript. The first expectation averages over parses y of sentence xᵢ that have form z′. The second averages over the parser's distribution of both parses y and logical forms z for that same sentence. φᴸ_j gives the value of language feature j for the sentence, parse, and form. The minus sign subtracts the parser's general expectation from the form-conditioned one. Oᵢ, Gᵢ, Θᴸ, and Θᴾ have the same roles as in the posterior calculation.

An indicator for a word and attribute pairing can gain weight when it occurs often in analyses favored by the demonstration and less frequently across the parser's alternatives. The update is also sensitive to how the rest of the sentence is analyzed. A word can be newly associated with an attribute even when the useful analysis depends on applying an existing template or combining the word's contribution with another part of the utterance.

The perception update uses the same posterior for a different comparison. Each compatible world provides a proposed label for each object and classifier. The gradient compares that label with the classifier's current probability of a positive output.

Δᴾ_c = Σ_z′ Σ_w′ P(z′, w′ | xᵢ, Oᵢ, Gᵢ; Θᴸ, Θᴾ)
       × Σ_(o∈Oᵢ) [w′ₒ,𝑐 − P(wₒ,𝑐 = 1 | φ(o); Θᴾ)] φ(o)

Here, Δᴾ_c is the gradient vector for visual classifier c on the current example, and superscript P identifies perception. The outer sums average over logical forms z′ and visual assignments w′ with their posterior probabilities, which depend on the sentence xᵢ, scene objects Oᵢ, intended set Gᵢ, and the current parameters Θᴸ and Θᴾ. The symbol × weights the entire object sum by that posterior. The inner sum covers every object o belonging to Oᵢ, as indicated by ∈. The value w′ₒ,𝑐 is the Boolean output assigned to classifier c for object o in the proposed world, interpreted numerically. The minus sign subtracts the classifier's current probability that wₒ,𝑐 equals 1, meaning a positive output. That probability uses the feature vector φ(o) and the perception weights. Multiplication by the same feature vector gives the direction of the update for the classifier weights.

The perceptual gradient illustrates why set supervision differs from property supervision. In a description that requires red and cube, a selected object must pass both tests in a compatible world. Being outside the set requires a failure of either test. The update can therefore assign positive credit to both properties for the selected object while distributing uncertainty about the excluded object across explanations. An excluded object that probably is red can still support learning about which shapes are ruled out.

Initialization and the training schedule

The two components can be trained separately where the missing information is supplied. In the supervised initialization data, each example includes a logical form for the sentence and labels for the classifier outputs, in addition to the scene and selected objects. The authors train the parser with FUBL and use gradient ascent for the logistic regressions. In gradient ascent, weights are moved in a direction that locally increases the objective being optimized. Here the explicit labels allow each component to use its own training signal.

When those intermediate labels are hidden, the authors use an online procedure resembling expectation maximization. It estimates the distribution over the missing explanations for a scene with the current parameters and takes a step using the expected gradients. The procedure revisits the training examples over 10 passes, a setting selected on validation data. Each example supplies an update. The learning rate starts at 0.1 and decreases by .00001 per update. The result is a series of small changes to the language and visual weights as they account for successive demonstrations.

The latent objective is non-convex, so different configurations of the hidden explanations can sustain different solutions. Gradual updates give the procedure a means of settling on parameters, while the quality of the result still depends on the explanations it explored and the evidence available in the scenes. The supervised beginning supplies an existing grammar and visual vocabulary. The joint stage extends those resources using the selected sets as its feedback.

Experiments and results

The tabletop descriptions

Using toys such as building bricks, wooden blocks, and plastic food, the authors put together scenes. In each short color-and-depth video, a person gestured toward a subset of the objects. Mechanical Turk workers watched the videos and described the objects being indicated. The authors recorded the referenced objects as the intended set for the scene. The language thus came from people responding to a visual demonstration, while the learning target was defined over the scene objects.

The data comprise 142 scenes and 1003 sentence and annotation pairs. The descriptions cover 12 attributes, evenly divided between shapes and colors. A scene can elicit distinct descriptions of the same selection. The paper illustrates this with descriptions of red items that use different wording but receive the same color interpretation. Another example joins an orange color restriction to a cube shape restriction. These examples show variability in surface wording as well as variation in the number of constraints an interpretation imposes.

The experiments ask whether the learner can extend what it acquired from the initial annotations. The authors divide the data by attribute. They use six attributes for supervised initialization, including logical forms for the corresponding sentences and labels for the classifiers. The remaining six attributes supply data for the joint learning evaluation. Within that portion, 80% is allocated to training and 20% to held-out testing. The scenes are new to the initialized system, and the vocabulary used to describe the new attributes is initially unknown. The intended object set supplies supervision for learning in this portion. Held-out examples test the predictions made after those updates.

The attribute split matters because the training challenge goes beyond learning another wording of an existing property. The new examples can require classifiers that were absent during initialization. The learner needs to add lexical material that fits the grammar and to give the associated constants perceptual content. A separate synonym experiment addresses the case where the visual property already has a classifier.

How the selection is scored

Precision measures how much of the predicted selection belongs to the intended set. Recall measures how much of the intended set the prediction recovers. F1 combines precision and recall as their harmonic mean. This evaluation is sensitive to both kinds of selection error. A prediction that includes a questionable object can lower precision, and a prediction that leaves out a referenced object can lower recall.

These quantities measure the observable result of running language and vision together. They leave room for partial success when a predicted set differs from the intended one. They also differ from the training criterion, under which a latent explanation of an example must reproduce its selection to receive credit. The experimental scores therefore describe how well the final predictions recover objects, whereas the training procedure reasons about which hidden interpretations and worlds could account for a complete observation.

The authors report results averaged over 10 runs in which the order of the training data was randomized. The joint system achieves average precision of 82%, average recall of 71%, and a 76% F1-score on the held-out set selection task. They report that performance generally settles within five passes over the training data. The passes describe how quickly the scores tend to stabilize in these experiments. The training schedule permits additional updates.

The comparison systems

The first comparison emphasizes vision and gives it a simple language interface. The authors manually create a thesaurus with an average of 5 expressions for each target attribute. They look for words in the joint training corpus that were absent from the initialization data and group those covered by the thesaurus into synonym sets. To train a classifier for a set, they gather objects from scenes where the relevant terms belong only to that group. They discard any synonym group that occurs in fewer than 2 distinct scenes.

The intended sets supply positive and negative objects for the resulting classifier training. At test time the system recognizes synonym groups in the sentence and checks the corresponding classifiers to determine which objects to select. This construction gives the baseline useful lexical information by hand. Its way of using that information is much simpler than analyzing a sentence with the grammar and using the resulting interpretation to distribute credit jointly. The comparisons therefore concern complete systems with different ways of using linguistic and visual evidence.

The vision baseline averages precision of 0.92, recall of 0.41, and an F1-score of 0.55. Its precision is high, while the recall shows that many objects named by the descriptions are missed. The selection it does make can be reliable when the terms and scenes fit its training procedure.

The second comparison runs the initialized parser directly on the test data, with no classifiers added for the new properties. The parser can skip unfamiliar words, allowing it to produce an analysis from material it already recognizes. The corresponding selection can make use of meanings and classifiers acquired during initialization. When the unfamiliar expression provides the decisive restriction, skipping it leaves the system without that information. This baseline averages precision of 0.52, recall of 0.09, and an F1-score of 0.14. The authors report that many parses produce an empty selection.

F1 for the ablated systems on held-out tabletop object selection

The thesaurus and visual classifiers recover the intended selections better than the initialized parser alone.

F1 for the ablated systems on held-out tabletop object selectionInitialized parser: 0.14Initialized parser0.14Thesaurus and visual classifiers (this paper): 0.55Thesaurus and visual classifiers (thispaper)0.55
The numbers
System or settingF1
Initialized parser0.14
Thesaurus and visual classifiers (this paper)0.55

The joint system has the strongest reported F1 on the held-out selection task. The baseline results also explain why looking at precision alone would give a different picture. A system can be selective about what it returns and still leave much of a description unresolved. The full approach recovers more of the target set on average, even though fewer of its returned objects are correct as a share of its predictions than in the thesaurus baseline.

What the ablations show

The grammar and the coverage of selections

The vision baseline asks how much object selection can be achieved with learned visual classifiers when a thesaurus supplies the main connection to the words. Its strong precision shows that this route can make sound selections under favorable conditions. It is especially informative that the baseline gets that lexical assistance explicitly. The joint system has to assign meanings through the candidate lexicon and the scene evidence, yet it retrieves a larger share of the objects speakers refer to.

The experiment changes several things at once. The thesaurus groups language by its manually assigned meaning. The training procedure restricts which scenes contribute to a given visual classifier. Prediction uses detected synonym groups in place of the parser's complete sentence analysis. The recall result belongs to that package of decisions. It gives evidence for the benefits of the full approach over this alternative, while the experiment leaves open how much of the gain came from broader use of scenes, sentence composition, or the ability to adjust lexical preferences jointly with the classifiers.

The set-based training constraint helps explain the difference in kind between the systems. In joint learning, a description can supply evidence for more than one classifier even when the selected objects are the only labels. Evidence for each property depends on the other tests the form requires and on how the objects are distributed across the selection. With thesaurus training, the examples available for a particular classifier are governed by the word group appearing in the description. These distinct ways of assigning examples to classifiers affect the kinds of supervision each system can use.

What happens when the vocabulary stays fixed

The parser baseline asks a different question. It measures how much of the new task the supervised starting point can already handle if it skips unfamiliar language. The poor recall is consistent with the design of the split, which makes unknown vocabulary important to identifying the targets. When an unfamiliar term gives the relevant property, grammar alone can arrange the familiar words into an analysis without supplying the missing visual test.

The result gives a point of comparison for gains from extending the system. Some unchanged pieces are useful enough to yield a selection occasionally. Across the data, the old lexicon and classifier inventory have little coverage of the intended objects. The performance of the full approach therefore reflects an ability to turn the extra demonstrations into new operational knowledge. The experiment does not separate the value of learning visual classifiers from that of adding lexical meanings, because the comparison removes the opportunity to acquire both for the new attributes.

The two baselines expose different failures. One can use visual evidence through a restricted way of interpreting sentences and misses much of what speakers intend. The other has the grammatical machinery but cannot interpret the new property words with its original resources. The comparisons support using language and perception together for the task the authors designed. They give a more direct account of the complete system's value than of the contribution of any one feature or update rule.

What the learned associations look like

The authors inspect the weights on selected lexical indicators after training. The associations pair words with fresh constants that call new classifiers or with a null interpretation. The weights are scores associated with using the lexemes and are unnormalized. They show preferences inside the parser, with final probabilities also depending on the other features and candidate analyses for a sentence.

The examples show novel attribute words associated most strongly with newly created classifiers. Among the displayed candidates, some classifiers use color features and others use shape features. The learned preferences indicate which type of classifier is appropriate for a new expression. Words such as thing tend toward the null option in the examples. A word with this interpretation can appear in a description without the parser adding a further color or shape test. This illustrates how the same learning procedure can distinguish property-bearing vocabulary from material whose presence does not narrow the selected set in these scenes.

The authors also examine visual accuracy on a sample trial. The classifiers for newly learned concepts average 97% accuracy for color and 74% for shape in that trial. These scores measure the classifiers, whereas the principal results evaluate the output sets for complete sentences. The sample illustrates a difficulty visible behind the aggregate selection result. A description can be interpreted appropriately while a shape classifier struggles to distinguish cubes from cylinders. The paper offers that confusion as an example of a perceptual error that can affect selection.

Learning synonyms and reducing the initial annotation

In the synonym experiment, the attributes in the later training data are ones for which the system already learned classifiers during initialization. The unfamiliar part is how speakers name them. This split tests whether the expanded lexicon can map a new expression to an existing property. The authors report performance comparable to the main experiments and describe resulting lexemes that connect the new words to suitable existing classifiers. They give this account qualitatively, without a separate set of precision, recall, and F1 figures.

This comparison clarifies why the candidate lexicon makes both old and new meanings available. Treating all unfamiliar vocabulary as new visual categories would spend capacity relearning properties the system already distinguishes. Allowing an existing constant to compete as a meaning lets the sentence and scene show that the word adds a way to talk about something familiar. The synonym experiment examines this possibility more directly than the main attribute split.

The paper also varies the amount of labeled data supplied at initialization. With fewer than 150 sentences, the authors report that the starting grammar appears to lack enough coverage to handle unfamiliar words in subsequent joint learning. Above that amount, they describe performance as fairly stable. The example curve comes from a particular split, where the F1-score peaks at approximately 73%. That peak belongs to the reduced-initialization analysis on the illustrated split. The main held-out result is averaged under the principal evaluation setup.

The annotation experiment shows why a learner can be responsive to pointing and still depend on formal examples. A demonstrated set can favor a newly proposed meaning only if the parser is able to build a plausible analysis that uses it. When the existing grammar has poor coverage, adding candidate lexemes gives the parser more material without ensuring it can compose that material into the required interpretations. The threshold observed in the paper describes the authors' data and training setup.

Limitations

Limits identified by the authors

The procedure begins with explicit supervision. The initial grammar learns from sentences annotated with logical forms, and the original visual classifiers learn from labeled outputs. Pointing provides the form of supervision for extension of this initial system. The authors identify learning without the supervised initialization data as an open problem and suggest exploring interaction through dialogue with a teacher. Their experiments use a fixed collection of recorded demonstrations and descriptions to study the extension stage.

The grammar permits conjunctions of attributes that apply to individual objects. This restriction supports the efficient computation over visual alternatives. More general logical expressions would make it harder to aggregate the probability of assignments that yield a particular set. The authors discuss approximate inference as a possible way to accommodate a richer grammar. They also describe more complex language and scenes as directions for extending the approach. The demonstrated predictions concern tabletop reference with visual properties the system can evaluate on individual segments.

The authors also qualify what convergence means for their learning procedure. The training objective is non-convex, and they give no guarantee of finding the best solution. The posterior expectations depend on which interpretations the parser supplies, and the parser searches only a restricted set of promising candidates. The observed performance shows that the procedure can learn effectively in the reported setup. It does not establish that the optimization recovers the best available interpretation of the training data.

On the visual side, the paper notes that some shapes are difficult to distinguish with the learned classifiers. The camera and descriptors can offer evidence in support of both candidates, affecting the decision even when the sentence is interpreted correctly. The authors' analysis of color and shape accuracy comes from a sample trial. It establishes an example of unequal recognition difficulty under their feature choices and supplies an explanation for some errors. It leaves the trial-to-trial distribution of those difficulties unspecified.

Limits visible in the evaluation design

A correctly predicted set can be compatible with several meanings. If every red object in a scene happens to be a cube, redness and the conjunction of redness with cube shape can have the same observable effect there. The speaker's intention might distinguish those analyses even when the selection does not. Across scenes, differences between the properties can provide evidence that settles the ambiguity. The degree to which meanings are identifiable therefore depends on how the scenes separate competing explanations. Precision, recall, and F1 measure how well the system selects objects. Further evidence is required to determine whether a particular wording acquired its intended formal meaning in every case.

There is also ambiguity in the classifiers themselves. A newly introduced constant gets its role through the objects its classifier accepts and the words that invoke it. If properties co-occur throughout the observations, a classifier can respond to a useful correlate and still explain many selections. The inspected lexical weights and sample classifier accuracies add evidence beyond the main set metric. Their scope is smaller than a systematic demonstration that every learned constant tracks the intended visual property when its correlates change.

The tabletop procedure supplies a favorable setting for segmentation. The system can estimate a support plane and isolate connected groups of points above it. The results combine the properties of this scene preparation with the classifier and parser performance on the resulting segments. Applying the same learning problem in another setting would require perceptual input that still identifies the objects for which the learner is supposed to predict attributes. Since the reported task starts from the extracted objects, the evaluation offers limited evidence about scenes in which deciding what counts as an object is itself difficult.

The perceptual feature inventory and candidate classifier types also bound what can be acquired. Shape and color are the property families in the experiments. The classifiers receive depth or color features suited to those families, and new meanings are proposed within that architecture. A speaker could make a selection based on a property that calls for other measurements or for reasoning across objects. The system would then need additional means of expressing and recognizing the distinction. The results support growth of a grounded vocabulary within the experimental inventory of perceptual and grammatical operations.

Finally, the ablations compare practical alternatives to the joint system. They do not provide a controlled estimate of each individual design choice. A comparison that changed only the availability of sentence composition, only the classifier update, or only the lexicon proposal procedure would answer a narrower question. The reported comparisons show that the complete system achieves better coverage and F1 on this selection task than the two alternatives the authors implemented. The sample analyses help trace possible causes without attributing the entire gain to any individual choice.

What came after

Connecting interpretations to evidence in images

Among the later papers that cite this study, the closest parallel in stated scope is work on learning to parse and perceive jointly in connection with the physical world. It returns to the problem of acquiring a mapping from natural language to a structured meaning together with a perceptual account of the entities that meaning concerns. The tabletop study makes that coupling precise through property classifiers and an observed selection. The title of the subsequent work retains both parsing and perception as learning problems in their own right. The citation places it in direct conversation with the earlier formulation. Jointly Learning to Parse and Perceive.

Work on visual-semantic alignments for generating image descriptions takes the relationship between linguistic expressions and visual content in a different direction. In the tabletop task, a description is supplied and the system uses it to find the relevant objects. Image description makes language the output. The connection is that visual evidence and linguistic meaning must be brought into correspondence for the task to work. Which part of that correspondence has to be learned can depend on whether the aim is to understand a reference or produce a description. Deep Visual-Semantic Alignments for Generating Image Descriptions.

The photographs corpus puts the emphasis on evaluating language reasoning with visual evidence. The tabletop demonstrations make interpretation observable through a physical selection. A corpus for reasoning about language grounded in photographs likewise gives the visual context a role in resolving the language task, while the stated focus moves from inducing attribute words to reasoning in the presence of images. This is a continuation of the grounding question at the level of what the dataset expects a reader or system to establish from language and vision together. A Corpus for Reasoning About Natural Language Grounded in Photographs.

Learning meanings from answers and actions

The connection to learning from outcomes is especially visible in work on semantic parsing from question-answer pairs. The tabletop learner observes a set and has to infer an interpretation that could select it. For semantic parsing on Freebase, the supervision named in the later work is a question together with its answer. The answer plays a comparable role as observable evidence for the interpretation, with a structured knowledge source furnishing the setting for evaluation. This carries forward the problem of learning a hidden meaning from its consequences in a world the system can query. Semantic Parsing on Freebase from Question-Answer Pairs.

Work on mapping instructions to actions takes weak supervision into a setting where language specifies what should happen. The tabletop system grounds a description by identifying objects that satisfy it. In the instruction setting, the operational consequence named in the later work is an action. Both lines of work make interpretation answerable to something that can be observed beyond the words, with the definition of a successful outcome changing from reference to action. Weakly Supervised Learning of Semantic Parsers for Mapping Instructions to Actions.

The work on language games foregrounds interaction as a source of evidence about language. The table scenes represent one moment of teaching through a description and an indicated set. A language game offers a setting in which the interpretation of an expression can matter to what happens next in an interaction. This connects to the authors' suggestion that an interactive teacher might eventually supply some of the evidence provided here through initialization. The later title establishes the focus on learning through interaction. The citation alone leaves the relation between the two learning procedures open. Learning Language Games through Interaction.

Grounding particular kinds of meaning

Later work on color semantics pursues one of the property families used in the tabletop experiment. In the earlier approach, a color word can acquire meaning by becoming associated with a classifier whose predictions help explain which objects were indicated. A Bayesian treatment of grounded color semantics makes the language of color itself the subject. The relationship is especially close at the level of the problem each work poses: a color expression needs an account of how it applies to perceptually distinguishable cases. The citation establishes the connection without specifying which components the later study adopts. Grounded Color Semantics.

Referring expression generation revisits the language of object reference from the speaker's side. The tabletop task takes a sentence and produces its referent set. The later work names learning distributions over logical forms for generating expressions that refer. A logical form can serve both problems because it connects what is said to conditions on the possible referents. In comprehension, it states how to determine the objects an expression applies to. In generation, it can represent the content an expression needs to convey. Learning Distributions over Logical Forms for Referring Expression Generation.

Work on grounding language in robotic affordances moves the physical question from the properties that make an object fit a description to the possibilities for acting in a situation. A tabletop selection grounds red or cube by testing objects for an attribute. An affordance concerns what action is possible in the relevant circumstances. The later work's stated subject preserves the requirement that an interpretation connect to the physical world, while changing the kind of physical evidence that bears on it. Across these citations, the durable connection is the use of an observable consequence to give a linguistic interpretation operational meaning. Grounding Language in Robotic Affordances.

Cite

Cite as Cynthia Matuszek, Nicholas FitzGerald, Luke Zettlemoyer, Liefeng Bo and Dieter Fox. 2012. A Joint Model of Language and Perception for Grounded Attribute Learning. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.13016/m2ehu6-1m90 · arXiv 1206.6423

@misc{matuszek2012joint,
  title = {{A Joint Model of Language and Perception for Grounded Attribute Learning}},
  author = {Cynthia Matuszek, Nicholas FitzGerald, Luke Zettlemoyer, Liefeng Bo and Dieter Fox},
  year = {2012},
  doi = {10.13016/m2ehu6-1m90},
  eprint = {1206.6423},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.13016/m2ehu6-1m90}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/matuszek-2012-joint-model-language-perception-grounded/