Skip to main content
QUICK REVIEW

[Paper Review] AugLy: Data Augmentations for Robustness

Zoë Papakipos, Joanna Bitton|arXiv (Cornell University)|Jan 17, 2022
Adversarial Robustness in Machine LearningComputer Science27 citations
TL;DR

AugLy is a multimodal data augmentation library (audio, image, text, video) focused on robustness, enabling realistic online perturbations and adversarial-style augmentations to evaluate and improve model resilience.

ABSTRACT

We introduce AugLy, a data augmentation library with a focus on adversarial robustness. AugLy provides a wide array of augmentations for multiple modalities (audio, image, text, & video). These augmentations were inspired by those that real users perform on social media platforms, some of which were not already supported by existing data augmentation libraries. AugLy can be used for any purpose where data augmentations are useful, but it is particularly well-suited for evaluating robustness and systematically generating adversarial attacks. In this paper we present how AugLy works, benchmark it compared against existing libraries, and use it to evaluate the robustness of various state-of-the-art models to showcase AugLy's utility. The AugLy repository can be found at https://github.com/facebookresearch/AugLy.

Motivation & Objective

  • Motivate data augmentations that reflect real-world online perturbations beyond classical transforms.
  • Provide a unified multimodal augmentation library for robustness evaluation across audio, image, text, and video.
  • Benchmark AugLy against existing libraries and demonstrate its use in evaluating state-of-the-art models for robustness gaps.

Proposed method

  • Introduce AugLy and its four modality sub-libraries (audio, image, text, video) with a unified API.
  • Describe metadata generation, composition of augmentations, probabilistic application, and multimodal augmentation support.
  • Present examples of augmentations that mimic social media perturbations (e.g., overlaying text/emojis, screenshots).
  • Benchmark AugLy against existing libraries across modalities to assess functionality and efficiency.
  • Conduct a robustness evaluation by measuring top-5 accuracy drops on ImageNet models under AugLy augmentations on ImageNet and ImageNet V2.
  • Discuss how AugLy can be used to identify robustness gaps and inform defense strategies.

Experimental results

Research questions

  • RQ1How does AugLy compare to existing augmentation libraries in terms of augmentation diversity and performance across modalities?
  • RQ2Can AugLy uncover robustness gaps in state-of-the-art vision models when subjected to realistic, online perturbations?
  • RQ3What is the relative impact of augmentations across different modalities (audio, image, text, video) on model robustness?
  • RQ4Does multimodal augmentation yield additional robustness insights compared to single-modality augmentations?
  • RQ5Are modern architectures trained with broader augmentation suites more robust to AugLy perturbations?

Key findings

  • AugLy provides over 100 augmentations across four modalities, including online-like perturbations not common in other libraries.
  • Across audio, image, text, and video, AugLy augmentations reveal robustness gaps in state-of-the-art models when compared with existing libraries.
  • ImageNet model robustness varies by architecture, with EfficientNet showing more resilience to many augmentations except blur and random_noise.
  • Quantitative benchmarking shows AugLy augmentations can be used to systematically evaluate robustness and guide defenses.
  • The paper demonstrates practical use by applying AugLy to evaluate ImageNet models on ImageNet and ImageNet V2 datasets, highlighting generalization of robustness gaps.

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.