Abstract
Recently, 3D convolutional networks (3D ConvNets) yield good performance in action recognition. However, optical flow stream is still needed to ensure better performance, the cost of which is very high. In this paper, we propose a fast but effective way to extract motion features from videos utilizing residual frames as the input data in 3D ConvNets. By replacing traditional stacked RGB frames with residual ones, 35.6% and 26.6% points improvements over top-1 accuracy can be obtained on the UCF101 and HMDB51 datasets when ResNet-18 models are trained from scratch. And we achieved the state-of-the-art results in this training mode. Analysis shows that better motion features can be extracted using residual frames compared to RGB counterpart. By combining with a simple appearance path, our proposal can be even better than some methods using optical flow streams.
Introduction
Action recognition in video is a fundamental challenge in computer vision. While 3D Convolutional Neural Networks (3D CNNs) have become the standard for capturing spatio-temporal features, they often suffer from a significant "appearance bias." These models tend to rely on static background cues rather than the actual motion occurring in the scene. For instance, a model might correctly identify a "basketball" action simply by recognizing a court, regardless of the person's movement.
To mitigate this, researchers have traditionally relied on two-stream architectures that incorporate optical flow. However, calculating optical flow is computationally expensive and introduces significant latency, often exceeding the inference time of the neural network itself. This paper introduces a "fast but effective" alternative: using residual frames to represent motion.
Methodology
Residual Frames
The core innovation is the use of residual frames as the primary input for motion learning. A residual frame is defined as the absolute pixel-wise difference between two consecutive RGB frames:
$$ResFrame_{i} = |Frame_{i} - Frame_{i+1}|$$
This simple subtraction effectively "zeros out" static background information, leaving only the pixels that have changed due to motion. This forces the 3D CNN to learn temporal dynamics directly rather than relying on static scene context.
Two-Path Network Architecture
To maintain contextual information about the objects involved in an action (e.g., distinguishing between "applying lipstick" and "applying eye makeup"), the authors propose a Two-Path Network:
- Motion Path: A 3D CNN (such as ResNet-18 or I3D) that processes a stack of residual frames.
- Appearance Path: A lightweight 2D CNN that processes a single raw RGB frame to identify the objects and environment.
The final prediction is achieved by averaging the probabilities from both paths, combining motion literacy with spatial context.
Experimental Evaluation
The proposed method was evaluated on the UCF101, HMDB51, and Kinetics400 datasets. The most striking results were observed when training models from scratch on UCF101. A standard ResNet-18 using RGB frames achieved only 42.4% top-1 accuracy. By simply switching to residual frames, the accuracy jumped to 78.0%—a 35.6% improvement.
Efficiency is a key advantage of this approach. Calculating a residual frame is computationally negligible compared to optical flow. For a 6-second video, extracting optical flow can take up to 48 seconds, whereas the residual path processes the data in less than 0.19 seconds.
Analysis and Visualization
The effectiveness of residual frames is further demonstrated through Grad-CAM visualizations, which highlight the regions the model focuses on during classification.
As shown in the figure above, the RGB-based model (top row) exhibits a diffuse attention map and incorrectly predicts "HulaHoop" with higher probability than the true class "ThrowDiscus." In contrast, the residual-based model (bottom row) focuses precisely on the person's movement and correctly identifies the action with 95.6% confidence. This confirms that residual frames force the model to prioritize motion over background scenery.
Conclusion
This research demonstrates that residual frames are a powerful and efficient alternative to optical flow for motion representation in 3D CNNs. By removing background noise, residual frames force models to develop "motion literacy," leading to dramatic performance gains, especially when training from scratch. This approach offers a practical path toward high-performance, low-latency action recognition systems.
Summary updated