Abstract
This paper introduces the visually informed embedding of word (VIEW), a continuous vector representation for a word extracted from a deep neural model trained using the Microsoft COCO data set to forecast the spatial arrangements between visual objects, given a textual description. The model is composed of a deep multilayer perceptron (MLP) stacked on the top of a Long Short Term Memory (LSTM) network, the latter being preceded by an embedding layer. The VIEW is applied to transferring multimodal background knowledge to Spatial Role Labeling (SpRL) algorithms, which recognize spatial relations between objects mentioned in the text. This work also contributes with a new method to select complementary features and a fine-tuning method for MLP that improves the $F1$ measure in classifying the words into spatial roles. The VIEW is evaluated with the Task 3 of SemEval-2013 benchmark data set, SpaceEval.
Introduction
Understanding spatial relationships in natural language—identifying that in the sentence "the book is on the table," the book is the "trajector" and the table is the "landmark"—is the core objective of Spatial Role Labeling (SpRL). However, SpRL faces significant hurdles: linguistic ambiguity and a scarcity of annotated data. Traditional models often rely on manual feature engineering, which fails to capture the implicit "spatial common sense" humans use to navigate the world.
This paper proposes VIEW (Visually Informed Embedding of Word), a novel word representation that captures spatial common sense by training on image-caption pairs. By learning to predict the physical layout of objects described in text, VIEW provides a "multimodal boost" to SpRL tasks, significantly outperforming standard text-only embeddings like Word2Vec.
Methodology
The VIEW Model Architecture
The authors propose a three-stage approach to generate and utilize these embeddings. At the core is a deep neural network that processes text to predict visual layouts. The architecture consists of an embedding layer, an LSTM network to capture sentence context, and a Multi-Layer Perceptron (MLP).
Learning Spatial Arrangements
The model was trained on the Microsoft COCO dataset. Given a caption, the network predicts the spatial arrangement and categories of objects based on their original bounding boxes in the image. This training forces the model to "imagine" the physical layout, encoding spatial affordances into the word vectors. For instance, the model learns to partition the visual field to categorize relations like beside or below.
Feature Selection and F1 Optimization
To refine the VIEW embeddings, the authors employed two key techniques:
- Max-Relevance and Min-Redundancy (mRMR): This algorithm filters out noise, ensuring only the most informative spatial dimensions of the embedding are used.
- Differentiable F1 Maximization: Standard training optimizes for accuracy, which can be problematic for imbalanced SpRL datasets. The authors developed a fine-tuning method that uses hyperbolic tangent functions to approximate the sign function, allowing the model to directly optimize the F1 score via gradient descent.
Datasets and Evaluation
The VIEW embeddings were trained on Microsoft COCO, which contains over 300,000 images with 91 object types. Evaluation was conducted using the SemEval-2013 Task 3 (SpaceEval) benchmark, which requires identifying spatial indicators, trajectors, and landmarks in text.
Key Results and Insights
- Multimodal Superiority: Concatenating VIEW with traditional linguistic features led to substantial gains. In landmark identification, the F1 score improved from 0.509 (baseline) to 0.678 (VIEW + F1 optimization).
- Functional Similarity: Unlike Word2Vec, which captures semantic similarity (e.g., "cat" and "dog"), VIEW captures functional spatial similarity. It recognizes that objects like "statue" and "hill" share spatial properties that abstract concepts like "theory" do not.
- Efficiency: The feature selection process allowed the model to achieve peak performance using only 100 dimensions, effectively reducing computational overhead while maintaining accuracy.
Conclusion
VIEW demonstrates that visual supervision is a powerful tool for teaching models spatial common sense. While currently limited by the object vocabulary of the COCO dataset, the approach paves the way for more robust multimodal SpRL. Future work aims to extend this to structured prediction for entire spatial triplets (trajector-relation-landmark).
Summary updated