Effective Combination of Language and Vision Through Model Composition and the R-CCA Method

Hagar Loeub, Roi ReichartarXiv 2016 · arXiv

Abstract

Multimodal representation learning often relies on complex joint neural architectures to merge linguistic and visual data. This paper demonstrates that systematically composing simple, classic linear motifs—such as Principal Component Analysis (PCA) and Canonical Correlation Analysis (CCA)—can yield superior results. The authors introduce Residual CCA (R-CCA) to preserve modality-specific information that standard fusion techniques often discard. Their findings show that well-tuned sequential model compositions outperform state-of-the-art joint learning approaches across several standard semantic benchmarks.

Introduction

In natural language processing, word embeddings (e.g., word2vec) provide powerful representations of meaning but often lack "grounded" knowledge—the sensory information associated with concepts. Multimodal models address this by integrating textual data with visual features extracted from images. Current research typically follows one of two paths: sequential models, which process modalities separately before merging them, or joint models, which utilize complex architectures like multimodal autoencoders to learn shared representations from scratch.

This paper argues that sequential models have been unfairly overlooked due to an insufficient exploration of their configuration space. Furthermore, the authors identify a limitation in standard fusion techniques like CCA: by focusing exclusively on the shared signal between modalities, they discard unique "residuals" that may contain vital semantic information.

Methods: Model Composition Framework

The authors propose a framework based on model composition, treating common algorithms as "motifs" arranged in a three-layer pipeline:

  • Layer A (Data): Input vectors are either used in their original form or reduced in dimensionality via PCA.
  • Layer B (Fusion): Modalities are fused using CCA to find a maximally correlated shared space. Crucially, the authors introduce Residual CCA (R-CCA). While CCA extracts the shared signal ($X'$), R-CCA captures the "leftover" signal ($R = X - X'$), ensuring that unique visual or textual nuances are preserved.
  • Layer C (Combination): The resulting vectors are combined using either Vector Concatenation or Linear Interpolation (LI) of similarity scores.
The three-layer model composition framework illustrating the flow from data to combination.

By performing a systematic grid search over these combinations and their parameters (such as vector dimensions), the authors identify optimal configurations for various semantic tasks.

Experimental Setup

The models were trained using a word2vec skip-gram model (8-billion-word corpus) for text and 4096-dimensional features from a pre-trained AlexNet (ImageNet) for vision. Evaluation was conducted on five gold-standard benchmarks:

  • MEN and WordSim353 (WS): General word association.
  • SimLex999 (SL): Literal similarity.
  • SemSim (SSim) and VisSim (VSim): Multimodal similarity.

Results and Discussion

The composed models consistently outperformed strong baselines, including complex joint learning models. As shown in the results table, the "Best" configurations achieved significant improvements in Spearman correlation ($\rho$).

Performance comparison of composed models against state-of-the-art baselines across five benchmarks.

Key Findings

  • The Value of Residuals: Including R-CCA in the search space improved results on several benchmarks, particularly MEN and SimLex999, proving that modality-specific information is often essential for defining word meaning.
  • Sequential vs. Joint Learning: A well-tuned sequence of simple linear transformations (PCA + CCA + LI) outperformed complex, non-linear joint models like MMSKIP. For instance, on SimLex999, the composed model achieved a $\rho$ of 0.62 compared to MMSKIP's 0.53.
  • Efficiency and Robustness: Optimal performance was often reached with relatively low-dimensional vectors (50–250). Furthermore, configurations tuned on one dataset often generalized well to others, suggesting the discovered compositions are robust.

Conclusion

This research demonstrates that the "black box" of joint learning may not be necessary if we better understand how to compose basic motifs. While the current study used exhaustive grid search to find optimal pipelines, future work should focus on developing efficient inference algorithms to navigate this configuration space automatically and integrating more modern neural motifs into the framework.

Summary updated

BibTeX
@misc{loeub2016effective,
  author = {Hagar Loeub and Roi Reichart},
  title = {{Effective Combination of Language and Vision Through Model Composition and the R-CCA Method}},
  year = {2016},
  eprint = {1609.08810},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1609.08810},
}
Figure