Skip to main content
QUICK REVIEW

[Paper Review] Viewmaker Networks: Learning Views for Unsupervised Representation Learning

Alex Tamkin, Mike Wu|arXiv (Cornell University)|Oct 14, 2020
Multimodal Machine Learning ApplicationsComputer Science72 references23 citations
TL;DR

This paper introduces viewmaker networks, a modality-agnostic method that learns effective data augmentations for unsupervised representation learning by training a generative model to produce stochastic, $ε$-bounded perturbations as views. The approach achieves state-of-the-art transfer performance on CIFAR-10 comparable to handcrafted SimCLR views, while significantly outperforming baseline augmentations on speech (+9% accuracy) and wearable sensor data (+17% accuracy), reducing reliance on expert-designed views across domains.

ABSTRACT

Many recent methods for unsupervised representation learning train models to be invariant to different "views," or distorted versions of an input. However, designing these views requires considerable trial and error by human experts, hindering widespread adoption of unsupervised representation learning methods across domains and modalities. To address this, we propose viewmaker networks: generative models that learn to produce useful views from a given input. Viewmakers are stochastic bounded adversaries: they produce views by generating and then adding an $\ell_p$-bounded perturbation to the input, and are trained adversarially with respect to the main encoder network. Remarkably, when pretraining on CIFAR-10, our learned views enable comparable transfer accuracy to the well-tuned SimCLR augmentations -- despite not including transformations like cropping or color jitter. Furthermore, our learned views significantly outperform baseline augmentations on speech recordings (+9% points, on average) and wearable sensor data (+17% points). Viewmakers can also be combined with handcrafted views: they improve robustness to common image corruptions and can increase transfer performance in cases where handcrafted views are less explored. These results suggest that viewmakers may provide a path towards more general representation learning algorithms -- reducing the domain expertise and effort needed to pretrain on a much wider set of domains. Code is available at https://github.com/alextamkin/viewmaker.

Motivation & Objective

  • To address the challenge of designing effective, domain-specific data augmentations for unsupervised representation learning, which currently requires extensive expert trial-and-error.
  • To reduce dependency on human expertise and manual tuning in view design across diverse modalities such as images, speech, and time-series sensor data.
  • To develop a generalizable, end-to-end method that learns useful views as part of the contrastive learning process, rather than relying on fixed transformation pipelines.
  • To improve robustness and transfer performance in low-data regimes by pretraining on unlabeled data using learned views.

Proposed method

  • Viewmaker networks are stochastic, bounded adversaries that generate views by adding an $Îackepsilon$-constrained perturbation (via $Îackepsilon$-norm projection) to the input data.
  • The viewmaker is trained adversarially alongside the main encoder to maximize the contrastive loss, encouraging the generation of views that preserve useful invariances.
  • The method operates in a joint training scheme where the encoder learns representations invariant to the viewmaker's perturbations, promoting mutual information maximization between views.
  • The approach is modality-agnostic and can be applied to images, spectrograms, and time-series data by adapting the input and perturbation space accordingly.
  • The viewmaker’s perturbations are input-dependent and diverse, enabling complex, data-specific augmentations without requiring handcrafted transformation rules.
  • The method supports both pure self-supervised pretraining and semi-supervised fine-tuning, with views learned end-to-end during pretraining.

Experimental results

Research questions

  • RQ1Can a learned, generative view model outperform handcrafted data augmentations in unsupervised representation learning across diverse modalities?
  • RQ2To what extent can viewmaker networks reduce the need for domain-specific expert knowledge in view design?
  • RQ3How does the performance of viewmaker networks compare to state-of-the-art handcrafted views on image, speech, and sensor data?
  • RQ4Can learned views improve robustness to common data corruptions and enhance transfer learning in low-supervision settings?

Key findings

  • On CIFAR-10, viewmaker networks achieve transfer accuracy comparable to the well-tuned SimCLR augmentations, despite not using standard transformations like cropping or color jitter.
  • On speech recognition tasks, viewmaker networks improve accuracy by an average of 9 percentage points over baseline handcrafted views.
  • On wearable sensor data for human activity recognition, viewmaker networks achieve a 17.1 percentage point improvement over baseline views, with a 16.7-point gain at $ε=0.5$.
  • The method is robust to a wide range of perturbation budgets ($ε$), with performance peaking at moderate values and degrading only when perturbations become too strong.
  • In a semi-supervised setting with only one participant’s labeled data, pretraining with viewmaker networks yields 75.1% accuracy, outperforming supervised learning on the same data (58.3%) and matching the performance of handcrafted views trained on all seven participants.
  • Viewmaker networks can be combined with handcrafted views, improving robustness to image corruptions and enhancing transfer performance in under-explored modality settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.