Skip to main content
QUICK REVIEW

[Paper Review] Learning Features with Parameter-Free Layers

Dongyoon Han, Youngjoon Yoo|arXiv (Cornell University)|Feb 6, 2022
Domain Adaptation and Few-Shot LearningComputer Science5 citations
TL;DR

This paper proposes replacing trainable convolutional layers with parameter-free operations like max-pool and avg-pool as the core building blocks in deep neural networks, demonstrating that such designs achieve superior model speed and efficiency without sacrificing accuracy. The method enables faster inference and reduced FLOPs and parameters, validated on ImageNet and COCO benchmarks with state-of-the-art performance in speed and robustness.

ABSTRACT

Trainable layers such as convolutional building blocks are the standard network design choices by learning parameters to capture the global context through successive spatial operations. When designing an efficient network, trainable layers such as the depthwise convolution is the source of efficiency in the number of parameters and FLOPs, but there was little improvement to the model speed in practice. This paper argues that simple built-in parameter-free operations can be a favorable alternative to the efficient trainable layers replacing spatial operations in a network architecture. We aim to break the stereotype of organizing the spatial operations of building blocks into trainable layers. Extensive experimental analyses based on layer-level studies with fully-trained models and neural architecture searches are provided to investigate whether parameter-free operations such as the max-pool are functional. The studies eventually give us a simple yet effective idea for redesigning network architectures, where the parameter-free operations are heavily used as the main building block without sacrificing the model accuracy as much. Experimental results on the ImageNet dataset demonstrate that the network architectures with parameter-free operations could enjoy the advantages of further efficiency in terms of model speed, the number of the parameters, and FLOPs. Code and ImageNet pretrained models are available at https://github.com/naver-ai/PfLayer.

Motivation & Objective

  • To investigate whether parameter-free operations like max-pool and avg-pool can replace trainable layers as the primary building blocks in deep networks.
  • To develop a design rule of thumb for constructing efficient architectures using parameter-free operations.
  • To evaluate the effectiveness of parameter-free operations in both convolutional neural networks and vision transformers.
  • To demonstrate that these operations improve model speed and robustness while reducing computational costs.
  • To explore the potential of novel deformable parameter-free operations and their replacement of self-attention mechanisms.

Proposed method

  • The authors replace standard convolutional layers with max-pool and avg-pool operations in residual blocks, using them as the main spatial operations.
  • They conduct extensive ablation studies on fully trained models and perform neural architecture search (NAS) to identify optimal architectures using parameter-free operations.
  • A novel deformable max-pool operation is introduced, which learns spatial offsets to improve feature representation while remaining parameter-free.
  • The method is applied to both ResNet-style CNNs and vision transformers (ViT, PiT), replacing self-attention or feed-forward layers with max-pooling.
  • Training is performed on ImageNet with standard data augmentation, and models are fine-tuned on COCO for object detection.
  • Throughput is measured in images per second to evaluate inference speed, with FLOPs, parameters, and accuracy used as efficiency metrics.

Experimental results

Research questions

  • RQ1Can parameter-free operations such as max-pool and avg-pool effectively replace trainable convolutional layers as the main building blocks in deep networks?
  • RQ2What design principles enable efficient and accurate network architectures when relying heavily on parameter-free operations?
  • RQ3How do parameter-free operations compare to depthwise convolution in terms of speed, FLOPs, and accuracy?
  • RQ4Can parameter-free operations be successfully applied to vision transformers, replacing self-attention mechanisms?
  • RQ5Does the use of parameter-free operations improve model robustness to distribution shift, as measured on ImageNet-C and ImageNet-O?

Key findings

  • The proposed models with parameter-free operations achieve faster inference speed than depthwise convolution-based models, with up to 48% higher throughput in ViT-S.
  • On ImageNet, the max-pool-based ResNet50 achieves 75.3% top-1 accuracy with 181.8 GFLOPs and 175.8M parameters, outperforming the baseline in speed.
  • The deformable max-pool operation improves COCO object detection AP by 0.3 points over ResNet50, despite lower ImageNet accuracy.
  • Vision transformer models using max-pool operations achieve comparable or better accuracy than their depthwise-convolution counterparts, with significantly improved throughput.
  • Models using parameter-free operations show improved robustness on ImageNet-C and ImageNet-O, indicating reduced overfitting.
  • The max-pool-based ViT-S model achieves 80.6% top-1 accuracy with CutMix and DeiT augmentation, outperforming the baseline ViT-S by 1.7 points.

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.