[Paper Review] FCN-rLSTM: Deep Spatio-Temporal Neural Networks for Vehicle Counting in City Cameras
This paper proposes FCN-rLSTM, a deep spatio-temporal neural network that combines fully convolutional networks (FCN) and residual long short-term memory (rLSTM) networks to count vehicles in low-quality city camera videos. By modeling temporal dynamics through residual learning with reference to cumulative density maps, it reduces mean absolute error (MAE) by up to 42% on benchmark datasets and accelerates training by 5x, demonstrating robustness in low-resolution, low-frame-rate, and high-occlusion conditions.
In this paper, we develop deep spatio-temporal neural networks to sequentially count vehicles from low quality videos captured by city cameras (citycams). Citycam videos have low resolution, low frame rate, high occlusion and large perspective, making most existing methods lose their efficacy. To overcome limitations of existing methods and incorporate the temporal information of traffic video, we design a novel FCN-rLSTM network to jointly estimate vehicle density and vehicle count by connecting fully convolutional neural networks (FCN) with long short term memory networks (LSTM) in a residual learning fashion. Such design leverages the strengths of FCN for pixel-level prediction and the strengths of LSTM for learning complex temporal dynamics. The residual learning connection reformulates the vehicle count regression as learning residual functions with reference to the sum of densities in each frame, which significantly accelerates the training of networks. To preserve feature map resolution, we propose a Hyper-Atrous combination to integrate atrous convolution in FCN and combine feature maps of different convolution layers. FCN-rLSTM enables refined feature representation and a novel end-to-end trainable mapping from pixels to vehicle count. We extensively evaluated the proposed method on different counting tasks with three datasets, with experimental results demonstrating their effectiveness and robustness. In particular, FCN-rLSTM reduces the mean absolute error (MAE) from 5.31 to 4.21 on TRANCOS, and reduces the MAE from 2.74 to 1.53 on WebCamT. Training process is accelerated by 5 times on average.
Motivation & Objective
- To address the challenge of accurate vehicle counting in low-resolution, low-frame-rate, high-occlusion city camera videos where existing methods fail.
- To exploit temporal correlations in sequential video frames to improve counting accuracy despite limited motion and resolution.
- To develop an end-to-end trainable, spatio-temporal deep learning framework that jointly estimates vehicle density and global count.
- To accelerate training by reformulating count regression as learning residual functions relative to cumulative density sums.
- To achieve robust performance across diverse traffic scenes and datasets with varying video quality and temporal consistency.
Proposed method
- FCN-rLSTM integrates fully convolutional networks (FCN) for pixel-level vehicle density prediction with stacked long short-term memory (LSTM) networks to model temporal dynamics.
- A residual learning connection reformulates global vehicle count regression as learning residual functions relative to the sum of density maps across frames, improving training stability and speed.
- The Hyper-Atrous combination integrates dilated (atrous) convolutions in FCN and fuses feature maps from multiple convolutional layers to preserve spatial resolution and enhance feature representation.
- The network processes video frames sequentially, with FCN outputs (density maps) fed into LSTMs that predict residual counts, which are summed with the cumulative densities to produce the final vehicle count.
- The entire architecture is end-to-end trainable, enabling direct optimization from raw pixels to global vehicle count.
- The method is adapted to datasets with or without temporal correlation by selecting either the FCN-rLSTM (for temporal data) or FCN-HA (for non-temporal data) configuration.
Experimental results
Research questions
- RQ1Can a deep spatio-temporal network architecture effectively model vehicle count dynamics in low-quality city camera videos with low frame rate and high occlusion?
- RQ2Does incorporating residual learning between FCN and LSTM improve training speed and model convergence in vehicle counting tasks?
- RQ3Can the integration of dilated convolutions and multi-scale feature fusion enhance feature representation in low-resolution video inputs?
- RQ4How does the proposed method compare to state-of-the-art approaches in terms of accuracy and robustness across diverse datasets?
- RQ5To what extent does temporal correlation in sequential frames improve counting performance when motion and resolution are limited?
Key findings
- FCN-rLSTM reduces the mean absolute error (MAE) from 5.31 to 4.21 on the TRANCOS dataset, representing a 20.7% improvement over the best baseline.
- On the WebCamT dataset, FCN-rLSTM reduces MAE from 2.74 to 1.53, achieving a 44.2% relative improvement.
- The method achieves a 5x average speedup in training time compared to non-residual baselines, due to the residual learning formulation.
- On the UCSD pedestrian counting dataset, FCN-rLSTM achieves an MAE of 1.54 and MSE of 3.02, outperforming all baseline methods and the FCN-HA configuration.
- The model demonstrates strong generalization, performing competitively on both vehicle and pedestrian counting tasks despite differences in object scale and scene complexity.
- The ablation study confirms that temporal modeling via LSTM significantly improves performance on datasets with sequential consistency, validating the importance of temporal correlation in low-quality video.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.