CoViews: Adaptive Augmentation Using Cooperative Views for Enhanced Contrastive Learning
Nazim Bendib
TL;DR
This work tackles the challenge of data augmentation in contrastive learning by proposing an adaptive augmentation framework that evolves during training without supervision. It introduces two policy families, IndepViews and CoViews, where CoViews learns dependent, cooperative augmentation for the two views, and a Bounded InfoNCE reward to guide policy search via PPO over a recurrent policy network. Empirical results across multiple vision datasets show consistent improvements in linear evaluation, with CoViews outperforming IndepViews and baselines, while maintaining minimal computational overhead. The approach broadens the applicability of adaptive augmentation to non-differentiable transforms and underscores the benefits of view-dependent augmentation strategies for more discriminative representations.
Abstract
Data augmentation plays a critical role in generating high-quality positive and negative pairs necessary for effective contrastive learning. However, common practices involve using a single augmentation policy repeatedly to generate multiple views, potentially leading to inefficient training pairs due to a lack of cooperation between views. Furthermore, to find the optimal set of augmentations, many existing methods require extensive supervised evaluation, overlooking the evolving nature of the model that may require different augmentations throughout the training. Other approaches train differentiable augmentation generators, thus limiting the use of non-differentiable transformation functions from the literature. In this paper, we address these challenges by proposing a framework for learning efficient adaptive data augmentation policies for contrastive learning with minimal computational overhead. Our approach continuously generates new data augmentation policies during training and produces effective positives/negatives without any supervision. Within this framework, we present two methods: \ac{IndepViews}, which generates augmentation policies used across all views, and \ac{CoViews}, which generates dependent augmentation policies for each view. This enables us to learn dependencies between the transformations applied to each view and ensures that the augmentation strategies applied to different views complement each other, leading to more meaningful and discriminative representations. Through extensive experimentation on multiple datasets and contrastive learning frameworks, we demonstrate that our method consistently outperforms baseline solutions and that training with a view-dependent augmentation policy outperforms training with an independent policy shared across views, showcasing its effectiveness in enhancing contrastive learning performance.
