NSNet: Non-saliency Suppression Sampler for Efficient Video Recognition

Boyang Xia, Wenhao Wu, Haoran Wang, Rui Su, Dongliang He, Haosen Yang, Xiaoran Fan, Wanli Ouyang · DOI

Abstract

Video recognition models are often computationally prohibitive due to the massive amount of redundant data present in video streams. While adaptive inference methods attempt to mitigate this by selecting salient frames for processing, most existing samplers suffer from a "positivity bias," failing to distinguish between action-relevant content and background noise. We introduce NSNet (Non-saliency Suppression Network), a novel temporal sampler that explicitly identifies and suppresses non-informative frames. By introducing a dedicated "non-salient" category during training, NSNet achieves state-of-the-art accuracy while delivering a 2.4× to 4.3× practical inference speedup over existing methods. Our results on benchmarks like ActivityNet and FCVID demonstrate that modeling what not to process is as critical as identifying what to process.

Introduction

Deep learning for video recognition is a resource-intensive task. To balance accuracy and efficiency, the field has moved toward "adaptive inference" frameworks. In these systems, a lightweight "sampler" model previews the video to identify the most important frames, which are then passed to a high-capacity "recognizer" for final classification.

However, a fundamental flaw exists in current sampling strategies: the positivity bias. During training, samplers are typically taught that almost every frame in a video labeled "Basketball" contains basketball-related features. In reality, many frames consist of crowd shots, equipment, or static backgrounds. Without explicit "negative samples" (non-salient frames), samplers often overestimate the importance of background noise, leading to inefficient sampling and degraded recognition performance.

Methodology

NSNet addresses the positivity bias through a Non-saliency Suppression (NS) mechanism. The core innovation is treating non-informative frames as a distinct "garbage" category ($C+1$, where $C$ represents the number of actual action classes). The architecture is divided into three primary modules:

1. Feature Embedding Module (FEM)

To make informed decisions about frame importance, the model needs both local and global context. The FEM utilizes a lightweight backbone (such as MobileNetv2) to extract features, which are then processed by a Transformer encoder. This allows the model to analyze the entire video sequence simultaneously, providing the necessary context to determine if a frame is salient relative to its neighbors.

2. Frame Scrutinize Module (FSM)

Operating at the frame level, the FSM employs a prototype-based strategy to generate pseudo-labels for training. It calculates the distance between a frame's features and the "average" feature (prototype) of a specific category. Frames that fall significantly outside this feature space are labeled as "non-salient," teaching the model to suppress their importance scores during the sampling process.

3. Video Glimpse Module (VGM)

The VGM operates at the video level using temporal attention. It mathematically decomposes a video into two distinct representations: a "salient" component and a "non-salient" component. The module forces the salient representation to predict the correct action class while requiring the non-salient representation to predict the "garbage" category.

Finally, the scores from the FSM and VGM are fused to select the top $K$ frames, which are then sent to the high-capacity recognizer for the final prediction.

Experimental Results

NSNet was evaluated on four major benchmarks: ActivityNet, FCVID, Mini-Kinetics, and UCF101. The results indicate a superior trade-off between accuracy and computational cost (measured in GFLOPs).

Efficiency and Speed

In practical latency tests, NSNet demonstrated significant advantages over existing state-of-the-art samplers. NSNet achieved a latency of 42.0ms, making it substantially faster than competitors such as AdaFocus (181.8ms) and FrameExit (102.0ms).

Accuracy Benchmarks

On the ActivityNet dataset, NSNet achieved 76.8% mAP using only 26.0 GFLOPs. This outperforms previous methods like AR-Net, which required 33.5 GFLOPs to reach a lower 73.8% mAP. Furthermore, when paired with a powerful Swin-Transformer recognizer, NSNet reached 94.3% mAP on ActivityNet, setting a new performance standard for the dataset at the time of publication.

Discussion and Key Insights

The success of NSNet highlights that "addition by subtraction"—identifying what is not important—is a powerful paradigm for video efficiency. By using prototype distance rather than simple model confidence, the authors created a more robust ground truth for saliency. Moreover, the combination of local frame-level checks (FSM) and global video-level context (VGM) ensures that the model captures frames that might appear mundane in isolation but are vital to the overall narrative of the video.

Conclusion and Future Work

NSNet effectively solves the problem of temporal redundancy by suppressing non-salient frames. However, the authors note that the current model does not yet address spatial redundancy. In many videos, the relevant action may only occupy a small fraction of the total pixels in a frame. Future research will focus on applying the Non-saliency Suppression mechanism to the spatial dimension, potentially allowing models to ignore background pixels within the selected salient frames to further reduce the computational footprint.

Summary updated

BibTeX
@inproceedings{xia2022nsnet,
  author = {Boyang Xia and Wenhao Wu and Haoran Wang and Rui Su and Dongliang He and Haosen Yang and Xiaoran Fan and Wanli Ouyang},
  title = {{NSNet: Non-saliency Suppression Sampler for Efficient Video Recognition}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19830-4\_40},
}
Figure