Regularized Contrastive Partial Multi-view Outlier Detection

Yijia Wang, Qianqian Xu, Yangbangyan Jiang, Siran Dai, Qingming Huang · DOI

TL;DR

This paper introduces RCPMOD, a novel method for detecting outliers in multi-view datasets, even when some views are missing. It leverages contrastive learning with specialized "outlier-aware" and "neighbor alignment" modules to effectively handle diverse outlier types and partial data, outperforming existing methods on benchmark datasets.

What Problem Does This Paper Address?

In today's data-rich world, information often comes from multiple sources or "views" (e.g., text and images of a product). Multi-view outlier detection (MVOD) aims to identify unusual data points within these complex datasets. However, existing MVOD methods struggle with several challenges:

  • Diverse Outlier Types: Outliers can manifest differently across views. Some might consistently differ in all views (attribute outliers), while others might only differ in their cluster membership across views (class outliers), or a combination of both (class-attribute outliers).
  • Partial Data: Real-world datasets often have missing views for certain data points, making it harder to assess consistency and identify outliers.
  • Learning Biases: Standard methods can be misled by outliers when learning consistent information across views, leading to suboptimal performance.

This paper tackles these issues by proposing a method that can robustly detect various outlier types in both complete and partially observed multi-view data.

Methods

The proposed method, Regularized Contrastive Partial Multi-view Outlier Detection (RCPMOD), builds upon contrastive learning, a powerful technique for learning representations from unlabeled data. Here's a breakdown of its key components:

  • Autoencoders for Latent Representation: Each view is first processed by an autoencoder to learn a compressed, latent representation. The reconstruction loss ensures that the autoencoder can reconstruct the original data from its latent representation.
  • Outlier-Aware Contrastive Learning: This is a core innovation. Instead of treating all data points equally, RCPMOD uses a memory bank to store "potential outliers" identified during training. These potential outliers are then used as additional negative samples in the contrastive loss. This pushes true inliers closer together across views while pushing outliers further away, mitigating their biasing effect.
  • Neighbor Alignment Contrastive Learning: This module explicitly captures local structural correlations between views. It aligns the latent representations of an instance's K-nearest neighbors in one view with its neighbors in another view, promoting cross-view consistency in local neighborhoods.
  • Spreading Regularization: To prevent the model from overfitting to outliers (especially attribute outliers), a regularization term inspired by the KoLeo loss is introduced. This encourages the latent representations of different instances to spread out, preventing them from collapsing too close to each other.
  • Cross-view Relation Transfer (CRT): For handling partial data, RCPMOD integrates the CRT technique. This method leverages the aligned neighborhood structures learned by the model to impute missing views by using information from the available views of neighboring instances.

Datasets

The proposed method was evaluated on four benchmark datasets:

  • BDGP
  • SCENE15
  • LandUse21
  • Fashion

These datasets were augmented to include various combinations of attribute, class, and class-attribute outliers, as well as partial data by randomly removing views from instances.

Key Insights and Ideas

  • Outliers as Negative Samples: The idea of using potential outliers identified during training as explicit negative samples in contrastive learning is a clever way to directly combat their negative influence.
  • Neighborhood Structure is Key: Explicitly learning and aligning neighborhood structures across views (Neighbor Alignment Contrastive Learning) significantly improves robustness, especially for class-related outliers.
  • Preventing Overfitting is Crucial: The Spreading Regularization module highlights that while contrastive learning is powerful, it can lead to overfitting on outliers. This regularization is essential for stable and effective detection.
  • Imputation and Detection Synergy: The method demonstrates how effective imputation of missing views can directly benefit the outlier detection process, creating a virtuous cycle.

Key Results

RCPMOD consistently outperformed several state-of-the-art MVOD baselines across various datasets and settings, including different outlier ratios and missing view rates. For instance, on the Fashion dataset, RCPMOD achieved up to a 9.1% relative improvement over the second-best model. The method showed particular strength in settings with a higher proportion of class outliers, where competitors' performance degraded significantly. The ablation studies confirmed that each component of RCPMOD (outlier-aware contrastive loss, neighbor alignment contrastive loss, and spreading regularization) is crucial for its overall performance.

Limitations and Future Work

  • Hyperparameter Sensitivity: While the method performs well, the paper notes that the spreading regularization parameter ($\mu$) requires careful selection, as arbitrarily large values can negatively impact performance and stability.
  • Computational Cost: While not explicitly detailed as a limitation, the use of contrastive learning and autoencoders can be computationally intensive, especially for very large datasets.
  • Extension to More Views: The paper mentions that the framework can be extended to more than two views, suggesting this as a natural direction for future work.

The authors successfully demonstrate a robust and effective approach to a challenging problem in multi-view data analysis, paving the way for more reliable outlier detection in real-world scenarios.

Summary updated

BibTeX
@inproceedings{wang2024regularized,
  author = {Yijia Wang and Qianqian Xu and Yangbangyan Jiang and Siran Dai and Qingming Huang},
  title = {{Regularized Contrastive Partial Multi-view Outlier Detection}},
  booktitle = {ACM Multimedia},
  year = {2024},
  doi = {10.1145/3664647.3681125},
}
Figure