"Show Me the Cup": Reference with Continuous Representations

Marco Baroni, Gemma Boleda, Sebastian Padó

TL;DR

This paper introduces "Point-or-Protest" (PoP), a neural network model that tackles the challenge of grounding language in visual scenes by simultaneously learning to identify specific objects and detect when a reference is ambiguous or impossible. PoP achieves competitive results against a hand-engineered pipeline, demonstrating the power of end-to-end learning for this complex task.

What Problem Does This Paper Address?

Humans effortlessly refer to objects in their environment using language. This seemingly simple act, however, involves two crucial components: characterization (recognizing an object's properties, like "mug" vs. "pencil") and individuation (uniquely identifying a specific object, especially when multiple similar items are present, like "the cup" when there are three). Existing computational models often excel at one aspect but struggle with the other. For instance, distributional semantic models are good at characterization but lack individuation capabilities, while logic-based approaches can handle individuation but are less flexible with rich, continuous representations. This paper aims to bridge this gap by developing a unified neural network model that can learn both characterization and individuation directly from examples of successful and failed reference acts.

Methods

The core of the paper is the Point-or-Protest (PoP) model. PoP is a feed-forward neural network designed to take a linguistic query (e.g., "the cup") and a set of visual objects (represented by images) as input. It then either "points" to the correct object if the reference is unambiguous or "protests" (flags an anomaly) if the reference fails due to either no matching object (missing-referent anomaly) or multiple matching objects (multiple-referent anomaly).

Here's how it works:

  • Multimodal Embeddings: Both visual objects (images) and linguistic queries are mapped into a shared, continuous vector space. Images are processed by a pre-trained Convolutional Neural Network (CNN), and linguistic queries use pre-compiled word embeddings (CBOW).
  • Entity Array: The model creates an "entity array" where each entry is a vector representing an object in the scene.
  • Similarity Profile: PoP computes the similarity between the query vector and each entity vector, creating a "similarity profile" that indicates how likely each object is the intended referent.
  • Anomaly Detection: A separate "anomaly pathway" processes this similarity profile. It uses a nonlinearity to sharpen contrasts, sums the similarities, and combines this with the number of objects in the scene. This allows the model to learn thresholds for detecting missing or multiple referents.
  • End-to-End Training: The entire model is trained directly on reference acts, learning to both point to the correct object and correctly identify anomalies.

A variant called TRPOP is also introduced, which learns word representations from scratch using only the reference acts, removing the reliance on pre-trained word embeddings.

Datasets

The paper introduces two new datasets for evaluating reference resolution:

  • Object-Only Dataset: This dataset focuses on simple noun phrases referring to visually represented entities. It contains 40,000 training, 5,000 validation, and 10,000 testing sequences, with approximately 15% each of missing-referent and multiple-referent anomalies. Sequences vary in length from 2 to 5 objects.
  • Object+Attribute Dataset: This dataset extends the Object-Only dataset by including linguistic attributes (verbs) associated with objects, making the task more challenging and closer to real-world scenarios. The sampling procedure ensures that objects and attributes are compatible, and it also introduces confounders where attributes or objects might be shared.

Key Insights and Ideas

  • Unified Approach: The most significant insight is that learning characterization and individuation simultaneously within a single, integrated neural network architecture (PoP) is effective and competitive. This contrasts with traditional pipeline approaches that treat these as separate, often manually engineered, steps.
  • Direct Training on Reference Acts: Training PoP directly on examples of successful and failed references allows it to learn nuanced patterns of what constitutes good vs. bad reference, including subtle individuation cues.
  • Continuous Representations for Individuation: The paper demonstrates that continuous vector representations, when processed appropriately, can capture the non-linear separation required for one-entity individuation, which is a key challenge for many models.
  • TRPOP's Potential: The TRPOP model shows that useful word meaning representations can be learned solely from reference acts, suggesting that grounding language in perception can be a powerful way to acquire semantic knowledge.

Key Results

  • Competitive Performance: PoP achieves accuracy comparable to a manually engineered pipeline on both the Object-Only and Object+Attribute datasets. For example, on the Object-Only dataset, PoP achieves 66% total accuracy, while the pipeline achieves 67%.
  • Improved Anomaly Handling: PoP demonstrates better anomaly detection capabilities than the pipeline, especially in the Object+Attribute experiment, suggesting its integrated approach is more robust when combining visual and verbal information.
  • Baseline Superiority: PoP and TRPOP significantly outperform simpler baselines like random guessing, majority class prediction, and a CNN-based classifier, highlighting the effectiveness of their approach.
  • CNN Limitations: The CNN baseline, despite using the same visual features as PoP, performs poorly, especially on unseen objects and when explicit label matching is required, underscoring PoP's ability to generalize and reason in a multimodal space.

Limitations and Future Work

  • Simplified Scenes: The current datasets consist of sequences of objects rather than fully natural scenes, which limits the complexity of the visual context.
  • Limited Linguistic Expressions: The linguistic queries are primarily restricted to singular definite descriptions ("the X").
  • One-to-One Mapping Assumption: The current model assumes a one-to-one mapping between images and entity vectors, which doesn't account for referents reappearing or evolving over time in a discourse.

The authors suggest several promising directions for future work:

  • Generalizing to Other Reference Types: Extending PoP to handle quantifiers like "all X" or "many X."
  • More Complex Scenes: Moving towards more naturalistic scene representations.
  • Dynamic Entity Representation: Developing mechanisms for entities to grow and shrink in memory, allowing for tracking referents across discourse.
  • Learning Word Representations from Scratch: Further exploring the TRPOP approach to learn word meanings entirely from grounding experiences.

Summary updated

BibTeX
@inproceedings{baroni2017show,
  author = {Marco Baroni and Gemma Boleda and Sebastian Padó},
  title = {{"Show Me the Cup": Reference with Continuous Representations}},
  booktitle = {Cicling},
  year = {2017},
  doi = {10.1007/978-3-319-77113-7\_17},
}
Figure