Abstract
In this paper, we propose a Distributed Intelligent Video Surveillance (DIVS) system using Deep Learning (DL) algorithms and deploy it in an edge computing environment. We establish a multi-layer edge computing architecture and a distributed DL training model for the DIVS system. The DIVS system can migrate computing workloads from the network center to network edges to reduce huge network communication overhead and provide low-latency and accurate video analysis solutions. We implement the proposed DIVS system and address the problems of parallel training, model synchronization, and workload balancing. Task-level parallel and model-level parallel training methods are proposed to further accelerate the video analysis process. In addition, we propose a model parameter updating method to achieve model synchronization of the global DL model in a distributed EC environment. Moreover, a dynamic data migration approach is proposed to address the imbalance of workload and computational power of edge nodes. Experimental results showed that the EC architecture can provide elastic and scalable computing power, and the proposed DIVS system can efficiently handle video surveillance and analysis tasks.
Introduction
Traditional Intelligent Video Surveillance (IVS) systems are typically "cloud-heavy," requiring cameras to stream massive amounts of high-definition raw footage to a central data center for processing. This centralized approach faces three critical challenges: bandwidth bottlenecks caused by high-definition streams, high latency that prevents real-time responses, and workload imbalances where distributed nodes may be overwhelmed by varying camera loads or hardware capabilities.
To address these issues, we introduce DIVS (Distributed Intelligent Video Surveillance), a system designed to move deep learning workloads from the network center to the edge. By leveraging a multi-layer edge architecture and novel synchronization strategies, DIVS provides a low-latency, scalable solution for modern urban monitoring.
Multi-layer Edge Computing Architecture
The DIVS system is built upon a hierarchical architecture designed to distribute processing power geographically. This structure consists of three primary tiers:
- Monitoring Terminals: Cameras that capture video and perform initial data ingestion.
- Edge Nodes (ENs): Organized into two layers. The first layer handles immediate local processing, while the second layer aggregates data and coordinates more complex analysis.
- Cloud Server: Acts as the high-level coordinator for global task scheduling, data management, and resource allocation.
This architecture allows the system to trade local CPU cycles for a massive reduction in backbone network traffic, ensuring that only essential metadata or model weights—rather than raw video—travel to the network core.
Distributed Deep Learning and Parallelism
A core contribution of the DIVS system is its distributed training model, which utilizes hybrid parallelism to maximize efficiency across heterogeneous hardware.
Hybrid Parallelism
- Task-level Parallelism: Multiple models, such as a CNN for vehicle classification and an LSTM for traffic flow prediction, run simultaneously on the same edge node. This ensures that a single video stream can be analyzed for multiple purposes without linearly increasing network delay.
- Model-level Parallelism: Within individual nodes, complex operations like convolutional layers are partitioned into parallel tasks to exploit multi-core CPU architectures.
Weight Parameter Synchronization
To keep distributed models accurate, edge nodes train on local data and share only model weights. We employ an exponential weighting method to aggregate these into a "Global Weight Set." This ensures that nodes processing larger datasets have a proportional impact on the global model's intelligence.
Dynamic Data Migration (DDM)
To solve the "straggler" problem—where the entire system waits for the slowest node—we implemented Dynamic Data Migration (DDM). The system monitors execution times across the network; if a node lags due to hardware limitations or high traffic, the system identifies nodes with spare capacity and migrates video frames to them in real-time to balance the load.
Experimental Evaluation
The system was evaluated in a large-scale experimental environment featuring 200 monitoring terminals and 35 edge servers. Using seven days of real-world traffic data from 30 street intersections, we tested the system's ability to classify vehicles (Bus, Truck, Car) and predict traffic flow.
Key Results: * Significant Speedup: Scaling from 5 to 30 edge nodes resulted in a 61.9% drop in execution time for 50 cameras. At a scale of 200 cameras, the speedup reached 71.0%. * Scalability: The system demonstrated sub-linear increases in execution time as cameras and tasks were added, proving the architecture's elasticity. * Load Balancing: The DDM strategy successfully stabilized workloads. While migration introduces minor communication overhead, the resulting synchronization gains far outweighed the costs.
Conclusion
The DIVS system demonstrates that moving intelligence to the network edge is a viable and efficient path for large-scale video surveillance. By addressing heterogeneity through dynamic migration and utilizing hybrid parallelism, we achieve a system that is both low-latency and highly scalable. Future work will explore the integration of specialized AI accelerators (GPUs/NPUs) and enhance the security of the weight-sharing process against potential adversarial attacks.
Summary updated