Skip to main content
QUICK REVIEW

[Paper Review] Funnel Activation for Visual Recognition

Ningning Ma, Xiangyu Zhang|arXiv (Cornell University)|Jul 23, 2020
Advanced Neural Network ApplicationsComputer Science46 references14 citations
TL;DR

This paper introduces Funnel Activation (FReLU), a novel 2D spatially-aware activation function that extends ReLU and PReLU by applying a learnable spatial condition via a small convolutional filter, enabling pixel-wise feature modeling with minimal computational overhead. FReLU achieves state-of-the-art performance on ImageNet, COCO detection, and Cityscapes semantic segmentation, outperforming ReLU and PReLU across all tasks while remaining highly compatible with existing architectures like ResNet and MobileNet.

ABSTRACT

We present a conceptually simple but effective funnel activation for image recognition tasks, called Funnel activation (FReLU), that extends ReLU and PReLU to a 2D activation by adding a negligible overhead of spatial condition. The forms of ReLU and PReLU are y = max(x, 0) and y = max(x, px), respectively, while FReLU is in the form of y = max(x,T(x)), where T(x) is the 2D spatial condition. Moreover, the spatial condition achieves a pixel-wise modeling capacity in a simple way, capturing complicated visual layouts with regular convolutions. We conduct experiments on ImageNet, COCO detection, and semantic segmentation tasks, showing great improvements and robustness of FReLU in the visual recognition tasks. Code is available at https://github.com/megvii-model/FunnelAct.

Motivation & Objective

  • To address the limitation of scalar activations in capturing spatial context for visual recognition tasks.
  • To design a simple yet effective activation mechanism that enhances feature representation using spatial context without increasing model complexity.
  • To improve performance on dense prediction tasks (e.g., segmentation, detection) and sparse tasks (e.g., classification) using only a modified activation function.
  • To demonstrate compatibility and synergy with existing attention mechanisms like SENet.

Proposed method

  • FReLU replaces the scalar threshold in ReLU with a learnable 2D spatial condition, defined as y = max(x, T(x)), where T(x) is a small convolutional feature map.
  • The spatial condition T(x) is computed using a 1×1 or small kernel convolution (e.g., 3×3, 5×5) applied to the input feature map, enabling local spatial context modeling.
  • The method is implemented with negligible computational overhead, adding only a few FLOPs per layer.
  • FReLU is applied after convolutional layers, particularly after 1×1 and 3×3 convolutions in residual blocks, to enhance feature representation.
  • The spatial condition is learned end-to-end during training, allowing the network to adaptively model complex visual layouts.
  • The approach is evaluated across multiple architectures (ResNet-50, MobileNet, ShuffleNetV2) and tasks (classification, detection, segmentation).

Experimental results

Research questions

  • RQ1Can a simple, learnable spatial condition in an activation function significantly improve performance on visual recognition tasks?
  • RQ2Does a 2D spatial-aware activation like FReLU outperform standard scalar activations (e.g., ReLU, PReLU) in both sparse and dense prediction tasks?
  • RQ3How does FReLU perform when combined with attention mechanisms such as SENet?
  • RQ4What is the optimal placement of FReLU within a CNN architecture (e.g., after 1×1 vs. 3×3 convolutions, in shallow vs. deep stages)?

Key findings

  • FReLU reduces ImageNet top-1 error rate from 24.0% (ReLU) to 22.4% on ResNet-50, a 1.6% absolute improvement.
  • On COCO object detection, FReLU improves mAP by 1.2% over ReLU when using ResNet-50 as backbone.
  • On Cityscapes semantic segmentation, FReLU achieves a 1.5% higher mean IoU than ReLU, demonstrating strong generalization to dense prediction tasks.
  • FReLU achieves better performance than SENet when used alone, and further improves accuracy to 22.1% when combined with SENet, showing strong compatibility.
  • The best performance is achieved when FReLU is applied after both 1×1 and 3×3 convolutions in residual blocks, with a 22.4% top-1 error rate on ImageNet.
  • Applying FReLU in earlier stages (Stage 2–4) of ResNet-50 yields larger gains than in deeper stages, with the full configuration achieving the lowest error rate of 22.4%.

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.