GenURL: A General Framework for Unsupervised Representation Learning

Siyuan Li, Zicheng Liu, Zelin Zang, Di Wu, Zhiyuan Chen, Stan Z. Li · DOI

TL;DR

This paper introduces GenURL, a unified framework for unsupervised representation learning (URL) that bridges the gap between methods focusing on global data structures (like dimension reduction) and those emphasizing local instance discrimination (like self-supervised learning). GenURL achieves state-of-the-art performance across diverse URL tasks by adaptively modeling both global and local data properties.

What Problem Does This Paper Address?

Unsupervised representation learning (URL) aims to learn meaningful low-dimensional representations of high-dimensional data without labeled examples. However, existing URL methods are often specialized for specific tasks or data structures. For instance, dimension reduction techniques like t-SNE and UMAP excel at preserving global geometric structures, while self-supervised learning methods like SimCLR and BYOL focus on learning from local instance relationships through data augmentations. This fragmentation limits the generalization of URL algorithms and requires independent development for each new requirement. The paper addresses this by proposing a unified framework that can adapt to various URL tasks by considering both global data structure and task-specific prior assumptions.

Methods

GenURL is built upon two core components: Data Structural Modeling (DSM) and Low-Dimensional Transformation (LDT).

  • Data Structural Modeling (DSM): This component models the intrinsic structures of the input data. It leverages predefined graphs (e.g., kNN graphs for image data, or explicit graphs for graph embedding tasks) to calculate pairwise similarities ($p_x$). The framework allows for both static and dynamic modeling of these similarities.
  • Low-Dimensional Transformation (LDT): This component learns compact low-dimensional embeddings ($p_z$) that align with the modeled input structures. The encoder $f_\theta$ maps input data to the latent space, and its parameters are optimized to minimize the dissimilarity between $p_x$ and $p_z$.

A novel objective function, General Kullback-Leibler divergence (GKL), is proposed to connect DSM and LDT. GenURL also incorporates a dynamic similarity modeling approach, where the latent space similarity from a previous stage is used as a target for the current stage, allowing for adaptive learning. This dynamic approach is particularly useful when input similarities are unreliable.

Datasets

The paper evaluates GenURL on a wide range of datasets across different URL tasks:

  • Dimension Reduction (DR): MNIST, FashionMNIST, COIL-20.
  • Self-Supervised Visual Representation Learning (SSL): CIFAR-10, CIFAR-100, STL-10, Tiny-ImageNet, ImageNet-1K.
  • Graph Embedding (GE): CORA, CiteSeer, PubMed.
  • Unsupervised Knowledge Distillation (KD): STL-10.

Key Insights and Ideas

  • Unified Framework: The core idea is that diverse URL tasks can be unified under a single framework by considering data structure and task-specific prior knowledge.
  • Bridging Global and Local: GenURL effectively bridges the gap between methods that focus on global geometric structures (like DR) and those that emphasize local instance discrimination (like SSL) by adaptively modeling both.
  • Task-Specific Adaptability: The framework's flexibility allows it to adapt to different tasks by leveraging appropriate similarity measures and loss functions. For instance, it suggests using GKL with dynamic similarity for SSL on complex datasets and BCE with static similarity for DR on simpler datasets.
  • Importance of Negative Samples: The paper highlights the challenge of unreliable negative samples in SSL and proposes the GKL loss and dynamic modeling to mitigate their negative impact, contrasting this with KD where negative samples are more reliable.
  • Hyperparameter Control: The parameter $v_z$ is shown to control the balance between local geometric and global topological structures in the learned embeddings.

Key Results

GenURL achieves state-of-the-art performance across various unsupervised learning tasks:

  • SSL: Achieves top or near-top accuracy on STL-10, CIFAR-10/100, Tiny ImageNet, and ImageNet-1K in linear evaluation and semi-supervised settings. For example, on STL-10, it achieves 91.85% accuracy with 800 epochs of pre-training.
  • KD: Outperforms existing methods on STL-10 for knowledge distillation tasks, achieving up to 88.39% accuracy.
  • GE: Achieves new state-of-the-art results on CORA, CiteSeer, and PubMed for node classification, improving accuracy by at least 0.5%, 0.4%, and 1.0% respectively.
  • DR: Demonstrates comparable performance to leading methods in terms of Trust, Continuity, and Accuracy on MNIST, FMNIST, and COIL-20.

Limitations and Future Work

  • Offline Hyperparameter Tuning: GenURL currently relies on offline hyperparameter tuning, which can be challenging for scenarios with more than two input similarities.
  • Discrete Empirical Spaces: The framework may not perform optimally on discrete empirical spaces, and the dynamic $p_x$ approach could be further improved.
  • Batch Size Sensitivity: For SSL tasks, performance can be sensitive to batch size, with smaller batches often yielding better results.
  • Future Work: The authors plan to develop a dynamic framework for end-to-end optimization of data structural modeling and low-dimensional embedding. They also aim to extend GenURL to more URL application scenarios.

Summary updated

BibTeX
@article{li2021genurl,
  author = {Siyuan Li and Zicheng Liu and Zelin Zang and Di Wu and Zhiyuan Chen and Stan Z. Li},
  title = {{GenURL: A General Framework for Unsupervised Representation Learning}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2021},
  doi = {10.1109/tnnls.2023.3332087},
}
Figure