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

Unveiling the Dreams of Word Embeddings: Towards Language-Driven Image Generation

Angeliki Lazaridou, Dat Tien Nguyen, Raffaella Bernardi, Marco BaroniarXiv 2015

Abstract

This paper explores the intersection of natural language processing and computer vision by investigating whether word embeddings, such as word2vec, encode sensory visual information. By mapping linguistic vectors to high-level visual features and inverting them into pixels, the authors demonstrate that embeddings capture consistent color and environmental context for concepts, even in zero-shot scenarios. While the generated images lack structural detail, they reveal how language models ground abstract concepts in visual reality.

Introduction

Word embeddings have transformed NLP by representing semantic meanings as dense vectors. However, these representations are often viewed as "black boxes." This research seeks to determine if these vectors encode the visual essence of concepts—a process termed "language-driven image generation." The goal is to visualize what an AI "sees" when it processes a word like "grasshopper" without having been explicitly trained on its image, thereby grounding language in sensory experience.

Methodology

The authors developed a two-stage pipeline to translate words into images:

  1. Linguistic to Visual Mapping: A linear mapping function, trained via Elastic-Net regression, projects 300-dimensional word2vec embeddings into a CNN's high-level visual feature space (specifically the pool-5 layer).
  2. Feature Inversion: The abstract visual vectors are reconstructed into pixels using HOGgles, a feature inversion technique based on paired dictionary learning.

The system was evaluated in a zero-shot setup, where the model generated images for concepts (e.g., "grasshopper") that were absent from the mapping and inversion training sets.

Results and Insights

The generated images, while not photorealistic, consistently capture the color and typical environment associated with a concept. For instance, "whale" generates blue/grey shapes against blue backgrounds, while forest animals appear as brown shapes against green.

A grid of generated images categorized by Man-made, Organic, and Animal classes, showing consistent color and context despite low structural detail.

User studies confirmed the effectiveness of these "dreams":

  • Identification: Users correctly identified the generating word against a random alternative in 75% of cases (median).
  • Categorization: Recognition of broad categories was exceptionally high: 98% for "Organic" concepts and 90% for "Man-made" objects.
  • Limitations: The model is largely "shape-blind," struggling with fine-grained discrimination (e.g., alligator vs. crocodile) and precise geometric structures.

Conclusion

The study reveals that word embeddings encode significant visual priors, particularly color and context, through linguistic proximity. While the current linear mapping and inversion techniques lack structural resolution, this work lays the groundwork for future end-to-end generative models and suggests that visual information can be used to enrich linguistic representations.

Summary updated

BibTeX
@misc{lazaridou2015unveiling,
  author = {Angeliki Lazaridou and Dat Tien Nguyen and Raffaella Bernardi and Marco Baroni},
  title = {{Unveiling the Dreams of Word Embeddings: Towards Language-Driven Image Generation}},
  year = {2015},
  eprint = {1506.03500},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1506.03500},
}
Figure