Sequential Feature Filtering Classifier

Minseok Seo, Jaemin Lee, Jongchan Park, Daehan Kim, Dong-Geol Choi

TL;DR

The Sequential Feature Filtering Classifier (FFC) is a simple, plug-and-play replacement for standard CNN classifiers that boosts performance across multiple vision tasks with virtually zero computational overhead. By sequentially applying LayerNormalization and ReLU, FFC filters out low-activation background noise and ensembles multi-level features through a shared fully-connected layer.

What Problem Does This Paper Address?

When a Convolutional Neural Network (CNN) extracts features from an image, the final feature vector contains a mix of highly relevant signals and low-activation background noise or secondary objects. Standard fully-connected classifiers look at this entire feature vector at once. Consequently, the model can easily get distracted by irrelevant features, leading to misclassifications.

For example, as shown in the paper's introductory intuition, a standard classifier might look at an image of a corkscrew and mistakenly predict "Hook" because hook-like features are present in the design. The authors set out to solve this by creating a mechanism that dynamically suppresses these low-activation, distracting features, forcing the classifier to focus only on the most salient information.

Visualizing how feature filtering corrects a misclassification from "Hook" to "Corkscrew".

Methods

Instead of passing the raw flattened feature vector straight to a final fully-connected (FC) layer, FFC introduces a sequential filtering pipeline:

  1. Sequential LayerNorm + ReLU: The flattened feature vector $F$ passes through a LayerNormalization (LN) layer followed by a ReLU. Because LayerNorm re-centers and re-scales the feature values based on the current sample's statistics, values below the average naturally become negative. The subsequent ReLU then zeroes them out.
  2. Multi-Level Feature Generation: This process is repeated sequentially (e.g., generating features $F_1, F_2, \dots, F_7$). Each step filters out progressively more low-activation units, leaving only the most dominant features.
  3. Shared Classifier: Crucially, all of these multi-level features are fed into a single, shared fully-connected layer. This keeps the parameter footprint incredibly small.
  4. Training vs. Testing Ensembles: During training, the multiple outputs generated by the shared FC are ensembled via simple averaging. During testing, the model switches to a voting rule (with the highest confidence score acting as a tie-breaker) to determine the final prediction.
The FFC architecture integrated into a standard CNN pipeline.

Datasets

The authors rigorously evaluated FFC across four distinct computer vision benchmarks to prove its generalizability:

  • ImageNet-1K: Image classification (1.2M training images, 50k validation).
  • MS COCO: Object detection (using Faster R-CNN as the base detector).
  • Cityscapes: Semantic segmentation (using PSPNet and DeepLabV3).
  • HMDB51: Video action recognition (using 3D-ResNeXt-101).

Key Insights and Ideas

  • The LayerNorm-ReLU Synergy: The clever trick here is using LayerNorm specifically to generate negative values for below-average features, turning ReLU into a dynamic, sample-dependent thresholding function rather than just a non-linear activation.
  • Why Voting Beats Averaging at Test Time: The authors observed that early filtering steps (like Out1) yield lower average confidence (softmax) values despite maintaining decent accuracy. If you simply average the probabilities at test time, these low-confidence outputs get completely washed out. Voting gives each filtering level an equal say.
The FFC voting and tie-breaking mechanism during inference.
  • Complementary to Existing Tricks: FFC doesn't compete with data augmentation (like MixUp) or attention modules (like Squeeze-and-Excitation); it stacks beautifully on top of them because it operates at the very end of the network pipeline.

Key Results

FFC consistently improves performance across the board while adding negligible overhead (for a ResNet-50 backbone, it adds just 0.012M parameters and 0.014 GFLOPS):

  • ImageNet-1K Classification: Upgraded ResNet-50 Top-1 accuracy from 75.85% to 76.80% (+0.95%). When combined with the Style-based Recalibration Module (SRM), it pushed performance further to 77.91%.
  • MS COCO Object Detection: Boosted Faster R-CNN (ResNet-50 backbone) mAP@[.5, .95] from 27.1 to 27.7.
  • Cityscapes Segmentation: Improved DeepLabV3 mIoU from 78.9 to 79.3.
  • HMDB51 Action Recognition: Achieved a significant jump in multi-modality (RGB + Flow) accuracy, moving from 81.30% to 83.46%.

Limitations and Future Work

The primary limitation of FFC is its dependency on the dimensionality of the final feature vector. For smaller architectures like ResNet-18 or ResNet-34, the final feature size is only 512 channels (compared to 2048 channels in ResNet-50). The authors noted that this smaller feature space leaves "less room for feature filtering," resulting in more muted performance gains on smaller models.

For future work, the authors suggest moving away from a hard-coded voting mechanism toward an intelligent, adaptive selection method that can dynamically determine the optimal filtering depth for any given input image.

Summary updated

BibTeX
@inproceedings{seo2021sequential,
  author = {Minseok Seo and Jaemin Lee and Jongchan Park and Daehan Kim and Dong-Geol Choi},
  title = {{Sequential Feature Filtering Classifier}},
  booktitle = {IEEE Access},
  year = {2021},
  url = {https://openreview.net/forum?id=EXfiPx2-js},
}
Figure