DM2C: Deep Mixed-Modal Clustering

Yangbangyan Jiang, Qianqian Xu, Zhiyong Yang, Xiaochun Cao, Qingming Huang

TL;DR: DM2C (Deep Mixed-Modal Clustering) is a novel framework designed to cluster data where each sample is represented by only one of several possible modalities (e.g., either an image or a text, but not both) and no pairing information is provided. By leveraging CycleGAN-inspired adversarial learning and cycle-consistency, the model learns to "translate" different modalities into a shared latent space, enabling effective unsupervised clustering across disparate data types.

The Challenge of Mixed-Modal Data

In the real world, data is often multi-modal—think of a social media post that could be a photo, a snippet of text, or a video. Traditional multi-modal clustering methods usually rely on a "pairing" assumption: for every image, there is a corresponding text description that acts as a bridge.

Comparison of multi-modal and mixed-modal data structures.

However, data is frequently "mixed-modal," where samples are unpaired and semantic connections are missing. For example, a dataset might contain 1,000 independent images and 1,000 independent text blurbs. Because these live in entirely different mathematical feature spaces, it is incredibly difficult to determine if an image of a stadium and a text about a "home run" belong in the same "Sports" cluster. DM2C addresses this "semantic gap" without requiring any manual annotations or pre-existing links between the modalities.

Methodology: Adversarial Alignment and Cycle-Consistency

The authors propose an adversarial learning framework that avoids the impossible task of finding a universal joint space from scratch. Instead, they focus on learning bidirectional mappings between individual modality spaces.

The DM2C framework architecture and latent space mapping.
  1. Latent Representation Learning: The process begins with modality-specific auto-encoders. These compress raw data (like VGG features for images or bag-of-words for text) into lower-dimensional latent vectors ($z_a, z_b$).
  2. Cycle-Consistency: Borrowing from the success of CycleGAN, the model implements two generators ($G_{AB}$ and $G_{BA}$). If a latent image vector is translated to a text vector and then translated back, it should ideally return to its original state. This "closed-loop" constraint forces the mappings to preserve the underlying semantic structure of the data.
  3. Adversarial Alignment: To ensure the translated data looks "real," the authors use modality-specific discriminators ($D_A, D_B$) and a Wasserstein loss. This forces the distribution of translated samples (e.g., "fake" images generated from text) to match the distribution of actual samples in that modality.
  4. Unification and Clustering: Once the mappings are trained, all samples are transformed into a single modality's latent space. With all data finally speaking the same "language," a standard clustering algorithm (like $k$-means) is applied to produce the final categories.

Key Insights and Ideas

  • Cycle-Consistency as Pseudo-Supervision: In the absence of labels or pairs, cycle-consistency acts as a powerful regularizer. It prevents the model from collapsing into "mode collapse" (where every input maps to the same output) and ensures that the translation is mathematically reversible, which implies a preservation of information.
  • Distribution Matching vs. Instance Pairing: The core "aha" moment is that you don't need to know which specific image matches which specific text if you can make the entire group of images look like the entire group of texts in a latent space.
  • Unifying into an Existing Space: Rather than inventing a third, abstract "joint space," DM2C simply picks one of the existing modality spaces (usually the more informative one, like the image space) and maps everything else into it. This simplifies the optimization landscape.

Datasets and Key Results

The authors evaluated DM2C on two popular multi-modal datasets, modified to simulate the "mixed-modal" challenge by randomly discarding one modality for each sample:

  • Wikipedia: 2,866 image-text pairs across 10 categories (e.g., warfare, biology, sport).
  • NUS-WIDE-10K: 10,000 images and associated tags from 10 large semantic categories.

In both cases, they used 4096-dimensional VGG features for images and bag-of-words vectors for text/tags.

DM2C consistently outperformed both classical clustering ($k$-means) and state-of-the-art deep clustering methods (like IMSAT and IDEC) across five metrics: Accuracy, ARI, NMI, F-score, and Purity.

  • Wikipedia Dataset: DM2C achieved an accuracy of 0.2720, significantly higher than the next best competitor, IMSAT (0.2521).
  • NUS-WIDE-10K: DM2C reached an accuracy of 0.3300, compared to IMSAT’s 0.3080.
  • Ablation Study: The authors proved that the "unification" step is vital. Without the cross-modal translation, the model performed no better than basic $k$-means, proving that the adversarial mapping is what actually bridges the semantic gap.

Limitations and Future Work

  • Scaling Modalities: The current work focuses on two modalities. While the authors suggest it is "easy to extend," the number of required mappings in a CycleGAN-style architecture grows quadratically with the number of modalities, which could lead to training instability.
  • Informative Bias: The results showed that the choice of the "target" modality matters. In their tests, mapping text to image space worked better because the image features were more informative. In datasets where all modalities are sparse, performance might degrade.
  • Future Directions: The authors plan to incorporate Optimal Transport theory to provide better theoretical guarantees for the distribution alignment process.

Summary updated

BibTeX
@inproceedings{jiang2019dm,
  author = {Yangbangyan Jiang and Qianqian Xu and Zhiyong Yang and Xiaochun Cao and Qingming Huang},
  title = {{DM2C: Deep Mixed-Modal Clustering}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure