NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Living a discrete life in a continuous world: Reference in cross-modal entity tracking

Gemma Boleda, Sebastian Padó, Nghia The Pham, Marco BaroniIwcs 2017

TL;DR

This paper introduces "cross-modal entity tracking," a novel task and dataset designed to test how well AI models can both categorize and individuate real-world objects based on visual and linguistic cues. They propose a new neural network architecture, DIRE, which uses an external memory to build an entity library, inspired by formal logic systems, and shows promising results on this challenging task.

What Problem Does This Paper Address?

Understanding and generating language requires more than just processing words; it involves connecting those words to the real world. This connection, known as "reference," has two key aspects: categorization (grouping similar things together, like recognizing multiple objects as "mugs") and individuation (distinguishing between similar but distinct entities, like telling apart two specific mugs). Traditional AI models struggle with this duality: continuous, data-driven models excel at categorization but falter at individuation, while symbolic models do the opposite. This paper aims to bridge this gap by developing a computational model that can handle both aspects of reference in a continuous, end-to-end learned system.

Methods

The core of the paper is the DIRE (DIstributed model of REference) architecture. DIRE is a feed-forward neural network augmented with a dynamic external memory, called an "entity library." This library is inspired by Discourse Representation Theory (DRT) and aims to store information about entities encountered over time.

Here's how it works:

  • Entity Library Construction: When the model encounters a new piece of information (an "exposure," which is a combination of an image and a linguistic attribute), it first calculates how similar this new information is to existing entities in its library.
  • Soft Insertion: Based on this similarity, DIRE decides whether to treat the exposure as a new entity or as more information about an existing one. This decision is made probabilistically ("soft insertion"), meaning it can partially update existing entities rather than making a hard "new" or "old" decision. This allows for a more nuanced way of building the entity library.
  • Cross-Modal Mapping: Both visual (image) and linguistic (attributes, category names) information are mapped into a shared "multimodal space." This allows the model to reason across different modalities.
  • Query and Retrieval: When given a linguistic query (e.g., "the mug I bought"), the model maps it to this multimodal space and then performs a "soft retrieval" from its entity library. This involves finding the entity representation that best matches the query based on similarity scores.
  • Picking the Right Image: Finally, the retrieved entity representation is used to select the correct image from a set of candidates.

Datasets

The authors introduce a new dataset for the cross-modal entity tracking task. This dataset consists of:

  • 40k sequences for training, 5k for validation, and 10k for testing.
  • It's built upon 2k object categories with 50 ImageNet images each.
  • Each sequence involves multiple entities (images) presented with linguistic attributes over time.
  • The task requires models to identify a specific entity based on a query that combines a category and two attributes.
  • The dataset is designed to be challenging by including "confounders" – entities that share some attributes or categories with the target but are not the correct match.

Key Insights and Ideas

  • Bridging Discrete and Continuous: The paper makes a significant step towards building AI systems that can handle both the fuzzy, continuous nature of perception and the precise, discrete nature of symbolic reasoning, particularly in the context of language reference.
  • Entity-Centric Memory: Unlike some other memory-based models that store inputs sequentially, DIRE's entity library is designed to aggregate information about specific entities over time, mirroring how humans might build a mental model of objects.
  • Probabilistic Decisions: The use of "soft insertion" and "soft retrieval" allows the model to make more flexible and robust decisions, avoiding rigid categorical boundaries and enabling it to handle ambiguity.
  • Learning to Categorize and Individuate: The cross-modal entity tracking task is specifically designed to force models to develop both categorization (identifying "mugs") and individuation (distinguishing between specific mugs) skills, which are crucial for true language understanding.

Key Results

  • DIRE significantly outperforms standard feed-forward and recurrent networks on the cross-modal entity tracking task, demonstrating the importance of a discrete memory structure for reference.
  • When compared to a Memory Network (MemN) with a similar setup (one matrix, one hop), DIRE achieves higher accuracy.
  • However, MemN, with more complex configurations (two matrices, two hops), outperforms DIRE. This suggests that while DIRE's core idea of merging information at input time is promising, MemN's ability to search and refine information at query time offers advantages.
  • DIRE successfully learns to categorize (low error rate on wrong categories) and individuate (distinguishing entities based on attributes even when categories are the same). Notably, the model learns to categorize without explicit category labels during exposure, inferring them from the task itself.

Limitations and Future Work

  • Entity Creation Mechanism: The authors acknowledge that DIRE's current entity creation mechanism is still too eager, creating a new entity vector for nearly every exposure. This needs fine-tuning to better merge instances of the same entity.
  • Comparison with MemN: While DIRE shows promise, it is outperformed by MemN in more complex configurations. The authors suggest that merging the strengths of DIRE (entity-centric memory at input time) and MemN (query-guided search) could be a fruitful direction.
  • Fully Fledged DRT: The paper presents DIRE as a "modest step" towards emulating DRT-like behavior. A fully fledged DRT system involves much more complex reasoning, and future work will likely focus on expanding DIRE's capabilities to encompass these aspects.
  • End-to-End Learning: The entire architecture is differentiable, allowing for end-to-end training. Future work will continue to explore how to best learn these cross-modal mappings and memory operations.

Summary updated

BibTeX
@inproceedings{boleda2017living,
  author = {Gemma Boleda and Sebastian Padó and Nghia The Pham and Marco Baroni},
  title = {{Living a discrete life in a continuous world: Reference in cross-modal entity tracking}},
  booktitle = {Iwcs},
  year = {2017},
}

Loading related content...

Figure