Mutual exclusivity as a challenge for neural networks

Kanishk Gandhi, Brenden M. LakearXiv 2019

TL;DR

This paper investigates whether standard deep neural networks exhibit the "mutual exclusivity" (ME) bias, a crucial inductive bias that helps children efficiently learn new word meanings. The authors demonstrate that vanilla neural networks, including feedforward and seq2seq models, not only lack this bias but often develop an "anti-ME" bias, predicting novel inputs map to familiar outputs. This deficiency hinders their performance in lifelong learning scenarios, suggesting a need for neural architectures that can effectively leverage ME.

What Problem Does This Paper Address?

Children are remarkably adept at learning new concepts and words, often with very few examples. A key factor in this efficiency is their use of "inductive biases" – built-in assumptions that guide learning. One such bias is "mutual exclusivity" (ME), the assumption that if an object already has a name, a new word likely refers to a different, novel object. This bias helps children disambiguate word meanings in situations with multiple objects and words.

The paper asks a fundamental question: do modern deep neural networks, despite their impressive performance on many tasks, possess this crucial inductive bias? If not, why is this important? The authors hypothesize that the absence of ME in neural networks could be a significant limitation, particularly in "lifelong learning" settings where new concepts and data are continuously introduced, mirroring real-world learning. They aim to understand if current neural architectures are fundamentally mismatched for such dynamic learning environments due to their lack of ME.

Methods

The core of the paper involves evaluating whether neural networks exhibit a mutual exclusivity bias through carefully designed experiments.

  • Synthetic Classification Task: Inspired by developmental psychology experiments (like Markman and Watchel's "dax" example), the authors create a synthetic dataset with a perfect one-to-one mapping between input symbols (words) and output symbols (objects). Models are trained on a subset of these mappings and then tested on their ability to correctly associate novel input symbols with novel output symbols. The "ME Score" is introduced to quantify the network's propensity to assign probability mass to novel outputs when presented with a novel input.
  • Neural Network Architectures: A variety of standard neural network architectures are tested, including feedforward networks with embedding, hidden, and softmax output layers, and sequence-to-sequence (seq2seq) models (using GRUs) for translation-like tasks. Various optimizers, learning rates, and regularizers are explored.
  • Lifelong Learning Simulation: To assess the impact of ME in more realistic scenarios, the authors simulate lifelong learning by:
  • Machine Translation: Using standard machine translation datasets, they analyze the conditional probability of a new word appearing in the target language given a new word in the source language over the course of training.
  • Image Classification: Using datasets like Omniglot and ImageNet, they examine how classifiers handle encountering new classes during training, comparing the model's ME score to the base rate of new class occurrences. They also introduce an "oracle" to simulate the effect of an explicit ME bias.

Datasets

The paper utilizes both synthetic and real-world datasets:

  • Synthetic Datasets:
    • Classification: A custom dataset of 100 one-to-one word-object mappings, used to test the ME bias in feedforward networks.
  • Seq2seq Translation: A synthetic dataset with 20 label-referent pairings, used to test the ME bias in seq2seq models.
  • Real-World Datasets:
    • Machine Translation: Three standard datasets are used: IWSLT'14 (English-Vietnamese), WMT'14 (English-German), and WMT'15 (English-Czech). These are used to analyze ME in a lifelong learning context.
  • Image Classification: The Omniglot dataset (1623 classes of handwritten characters) and the ImageNet dataset (1000 classes) are used to evaluate ME in image classification tasks.

Key Insights and Ideas

  • Vanilla Networks Lack ME: The most striking finding is that standard neural networks, trained with typical objectives like maximizing log-likelihood, do not naturally exhibit mutual exclusivity. They fail to learn the intended one-to-one mapping in synthetic tasks.
  • Development of Anti-ME Bias: Instead of ME, networks often develop an "anti-ME" bias, strongly predicting that novel inputs will map to familiar, frequently seen outputs. This is counterproductive for learning new concepts.
  • ME is Crucial for Lifelong Learning: The lack of ME significantly hinders performance in simulated lifelong learning scenarios for both machine translation and image classification. Networks struggle to adapt to new information when they are biased towards existing knowledge.
  • ME is Not Just About "Novelty": The paper highlights that ME is not simply about recognizing a novel input; it's about correctly inferring that a novel input should map to a novel output, especially when the underlying data structure suggests a one-to-one correspondence.
  • Current Architectures are Mismatched: The authors argue that current neural network architectures and training paradigms are poorly suited for dynamic, open-world learning environments because they don't inherently incorporate or learn ME.

Key Results

  • Synthetic Classification: In the synthetic one-to-one mapping task, trained neural networks consistently showed a low ME score, often falling to near zero. Instead of assigning probability to novel outputs, they assigned it to familiar ones. This held true across various architectures and regularizers, with some even exhibiting an "anti-ME" bias.
  • Synthetic Seq2seq: Similar to feedforward networks, seq2seq models trained on the synthetic translation task also failed to demonstrate ME, with their ME scores dropping rapidly during training.
  • Machine Translation: While initial training phases showed a higher conditional probability of new source words mapping to new target words (suggesting a temporary ME-like behavior), this probability waned significantly as training progressed. However, this initial signal was still higher than the base rate of new word occurrences.
  • Image Classification: In image classification, classifiers exhibited ME scores substantially lower than the base rate of encountering new classes. This indicates that classifiers are not effectively leveraging the possibility of new classes appearing. An oracle-assisted ME bias showed potential benefits in reducing classification loss.
  • No Easy Fixes: Attempts to induce ME through standard techniques like weight decay or entropy regularization were largely unsuccessful, with entropy regularization maintaining a neutral bias rather than an ME bias.

Limitations and Future Work

  • Limitations:
    • The paper primarily focuses on "vanilla" neural networks and standard training procedures. It acknowledges that some recent work might show ME under specific, non-standard conditions (e.g., built-in biases or explicit training on ME tasks).
  • The "anti-ME" bias observed might be a general characteristic of discriminative models trained with maximum likelihood estimation.
  • The study doesn't fully explore how to autonomously decide the strength of ME based on task demands.
  • Future Work:
    • Designing ME-Aware Architectures: The paper strongly advocates for designing task-general neural networks that can learn through mutual exclusivity, calling it an "open challenge."
    • Meta-Learning for ME: Exploring meta-learning approaches that can learn to leverage ME as a strategy, potentially adapting its strength based on the learning stage or task structure.
  • Generalizing ME: Investigating if the concept of ME can be generalized from "novel vs. familiar" to "rare vs. frequent" stimuli, which could benefit learning rare events or exceptions.
  • Lifelong Learning Integration: Developing models that can better integrate ME into continual, lifelong, and large-scale learning challenges.

Summary updated

Abstract

Strong inductive biases allow children to learn in fast and adaptable ways. Children use the mutual exclusivity (ME) bias to help disambiguate how words map to referents, assuming that if an object has one label then it does not need another. In this paper, we investigate whether or not standard neural architectures have an ME bias, demonstrating that they lack this learning assumption. Moreover, we show that their inductive biases are poorly matched to lifelong learning formulations of classification and translation. We demonstrate that there is a compelling case for designing neural networks that reason by mutual exclusivity, which remains an open challenge.
BibTeX
@misc{gandhi2019mutual,
  author = {Kanishk Gandhi and Brenden M. Lake},
  title = {{Mutual exclusivity as a challenge for neural networks}},
  year = {2019},
  eprint = {1906.10197},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.10197},
}
Figure