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

Deep Matching Autoencoders

Tanmoy Mukherjee, Makoto Yamada, Timothy M. HospedalesarXiv 2017

Abstract

Deep Matching Autoencoders (DMAE) address a fundamental challenge in multi-modal machine learning: learning correspondences between different data types (e.g., images and text) when explicit pairings are unavailable. By jointly optimizing deep autoencoder representations and a latent alignment matrix using statistical dependency measures, DMAE can bootstrap its way from completely unpaired datasets to accurate cross-modal matching. Our results on standard benchmarks like MS-COCO and Flickr30K demonstrate that DMAE significantly outperforms existing unsupervised and semi-supervised baselines.

Introduction

In modern multi-modal systems, such as those matching photos to captions, the standard paradigm relies on large-scale paired datasets. However, obtaining thousands of manually linked image-text pairs is expensive and often impractical. While the internet provides billions of images and sentences, they are rarely neatly connected.

Existing cross-view algorithms typically struggle when pairings are missing (semi-supervised) or entirely non-existent (unsupervised). This paper introduces Deep Matching Autoencoders (DMAE) to tackle the "unpaired" challenge: enabling a model to learn that an image of a cat and the word "feline" belong together without ever seeing them side-by-side in training.

Methodology

The DMAE framework consists of two primary components that operate in an alternating optimization loop:

  1. Dual Autoencoders: The model utilizes separate deep autoencoders for each modality. These networks learn to compress raw data (e.g., pixels or word vectors) into a shared latent space while minimizing reconstruction error, ensuring that the learned features retain the essential characteristics of the original data.
  2. Latent Alignment Matrix ($\Pi$): A permutation matrix represents the unknown correspondence between the two datasets. This matrix is learned alongside the autoencoder weights.
The DMAE architecture featuring dual autoencoders and a central alignment module $D_\Pi$.

Statistical Dependency and Optimization

To align the modalities without ground-truth pairs, the authors leverage advanced statistical dependency measures: Unnormalized Kernel Target Alignment (uKTA) and Squared-loss Mutual Information (SMI). The optimization process alternates between two steps:

  • Feature Update: Fixing the alignment matrix and updating the autoencoders to minimize reconstruction error and maximize the similarity of matched items in the latent space.
  • Alignment Update: Fixing the autoencoder features and updating the alignment matrix to discover better correspondences based on current feature distributions.

Experiments and Datasets

The researchers evaluated DMAE across two primary tasks:

  • Image-Caption Retrieval: Using the Flickr30K and MS-COCO datasets, the model was tested on its ability to retrieve captions for images (and vice versa) under varying levels of supervision (0% to 100% paired data).
  • Unsupervised Classifier Learning (UCL): Using AwA (Animals with Attributes) and CIFAR-10, the model was tasked with matching a set of images to a set of category names (word vectors) with zero initial pairings.

Key Results and Discussion

DMAE demonstrates a powerful "bootstrap effect," where initial guesses at matches based on statistical patterns lead to better feature learning, which in turn refines the matches.

Performance comparison on Flickr30K and MS-COCO datasets showing DMAE-SMI's superior retrieval metrics.

Performance Highlights

  • Unsupervised Success: On MS-COCO with zero paired training data, DMAE-SMI achieved a Recall@1 of 2.2% for image-to-text retrieval. While seemingly low, this is significantly higher than the 0.1% chance baseline and outperforms other unsupervised methods.
  • Semi-Supervised Efficiency: With only 20% paired data, DMAE performance approached that of fully supervised state-of-the-art models, proving its ability to effectively leverage unpaired data.
  • Zero-Shot Classification: In the UCL task on the AwA dataset, the model achieved 32% accuracy with zero labels, a massive leap over the 2% random guess baseline for a 50-way classification task.

Conclusion

Deep Matching Autoencoders provide a robust framework for cross-modal learning in data-scarce environments. By utilizing SMI as a dependency measure, the model effectively transforms high-dimensional data into a space where matching is possible. Future work will focus on scaling the alignment matrix to millions of samples and applying the framework to domains like cross-lingual word alignment and person re-identification.

Summary updated

BibTeX
@misc{mukherjee2017deep,
  author = {Tanmoy Mukherjee and Makoto Yamada and Timothy M. Hospedales},
  title = {{Deep Matching Autoencoders}},
  year = {2017},
  eprint = {1711.06047},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.06047},
}
Figure