Papers
Topics
Authors
Recent
Search
2000 character limit reached

GLiT: Neural Architecture Search for Global and Local Image Transformer

Published 7 Jul 2021 in cs.CV | (2107.02960v3)

Abstract: We introduce the first Neural Architecture Search (NAS) method to find a better transformer architecture for image recognition. Recently, transformers without CNN-based backbones are found to achieve impressive performance for image recognition. However, the transformer is designed for NLP tasks and thus could be sub-optimal when directly used for image recognition. In order to improve the visual representation ability for transformers, we propose a new search space and searching algorithm. Specifically, we introduce a locality module that models the local correlations in images explicitly with fewer computational cost. With the locality module, our search space is defined to let the search algorithm freely trade off between global and local information as well as optimizing the low-level design choice in each module. To tackle the problem caused by huge search space, a hierarchical neural architecture search method is proposed to search the optimal vision transformer from two levels separately with the evolutionary algorithm. Extensive experiments on the ImageNet dataset demonstrate that our method can find more discriminative and efficient transformer variants than the ResNet family (e.g., ResNet101) and the baseline ViT for image classification.

Citations (80)

Summary

  • The paper introduces a hierarchical NAS approach that decomposes the search for optimal transformer configurations into global and local modules.
  • It integrates a locality module to capture fine-grained image correlations while reducing computational complexity.
  • Empirical results on ImageNet show that GLiT outperforms models like ResNet and ViT, offering enhanced discriminative performance and efficiency.

The paper "GLiT: Neural Architecture Search for Global and Local Image Transformer" presents a method for enhancing the architecture of transformers specifically for image recognition tasks through Neural Architecture Search (NAS). While transformers have showcased significant performance improvements in computer vision, their original design is tailored for NLP tasks, which may limit effectiveness in image-related applications.

To address this, the authors introduce a search space and algorithm designed to improve the visual representation capabilities of transformers. The core innovation of the paper is the locality module, which captures local image correlations with reduced computational demands. This module allows the search space to balance between global and local information while optimizing design choices at a low-level module-by-module basis.

One of the challenges is the vast search space posed by this free-form definition, making it computationally expensive and complex. The authors propose a hierarchical neural architecture search method that decomposes the search problem into two levels, handled separately by an evolutionary algorithm. This hierarchical approach efficiently navigates the search space to identify optimal transformer configurations for vision tasks.

The empirical validation of their approach is extensive. Using the ImageNet dataset, the authors demonstrate that their optimized transformers, named Global and Local Image Transformers (GLiTs), outperform established architectures such as the ResNet family (e.g., ResNet101) and the baseline Vision Transformer (ViT). The results indicate that the GLiTs are more discriminative and efficient, which underscores the efficacy of the proposed NAS method in finding superior transformer architectures for image recognition.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.