Abstract
Given video data from multiple personal devices or street cameras, can we exploit the structural and dynamic information to learn dynamic representation of objects for applications such as distributed surveillance, without storing data at a central server that leads to a violation of user privacy? In this work, we introduce Federated Dynamic Graph Neural Network (Feddy), a distributed and secured framework to learn the object representations from multi-user graph sequences: i) It aggregates structural information from nearby objects in the current graph as well as dynamic information from those in the previous graph. It uses a self-supervised loss of predicting the trajectories of objects. ii) It is trained in a federated learning manner. The centrally located server sends the model to user devices. Local models on the respective user devices learn and periodically send their learning to the central server without ever exposing the user's data to server. iii) Studies showed that the aggregated parameters could be inspected though decrypted when broadcast to clients for model synchronizing, after the server performed a weighted average. We design an appropriate aggregation mechanism of secure aggregation primitives that can protect the security and privacy in federated learning with scalability. Experiments on four video camera datasets (in four different scenes) as well as simulation demonstrate that Feddy achieves great effectiveness and security.
Introduction
Modern smart surveillance relies on identifying patterns across multiple cameras, such as tracking a vehicle's trajectory through several intersections. Traditionally, this requires centralizing raw video or sensitive features, creating significant privacy risks and single points of failure.
While Federated Learning (FL) allows devices to train models locally and share only gradients, it is not a complete solution. Research indicates that curious servers can perform "inference attacks," reverse-engineering private training data from model updates. Furthermore, most Graph Neural Networks (GNNs) require expensive manual annotations. Feddy addresses these challenges by combining dynamic graph modeling with a novel secure aggregation mechanism.
Methods
The Feddy framework integrates three core technical components to enable privacy-preserving distributed surveillance:
- Dynamic Graph Neural Networks (DGNN): Rather than treating video frames as isolated images, Feddy represents them as graph sequences. Nodes represent objects (e.g., pedestrians, vehicles), and edges represent spatial proximity. The model aggregates structural information from neighbors and temporal information from past states to learn a robust dynamic representation.
- Self-Supervised Learning: To eliminate the need for human labels, Feddy utilizes a "future position prediction" task. The model learns by attempting to predict an object's coordinates at a future time step (e.g., $\Delta t = 150$ frames).
- Hybrid Secure Aggregation: This is the system's primary security contribution. Standard secure aggregation is often computationally prohibitive. Feddy combines pair-wise one-time pads for decentralized setup with time-series secure aggregation for efficient reusability. This ensures the central server only sees the aggregate sum of updates, making it mathematically impossible to inspect individual user contributions.
Experimental Setup
The researchers evaluated Feddy using the Stanford Drone Dataset (SDD), which consists of large-scale aerial footage of a university campus. The study focused on four distinct environments: "bookstore," "coupa," "hyang," and "little." The dataset includes diverse agents such as pedestrians, bicyclists, and various vehicle types. Raw video was converted into graph sequences where nodes contained features like position, bounding box size, and RGB color values.
Key Results
Feddy consistently outperformed standard Multi-Layer Perceptrons (MLP) using raw features. As shown in the performance metrics, the Root Mean Square Error (RMSE) for position prediction significantly decreases as the embedding dimension ($d$) increases.
Key takeaways from the evaluation include:
- Scalability and Consistency: The model achieved nearly identical performance whether trained on a single user's data or distributed across 10 users. This demonstrates that the federated approach maintains model quality while providing privacy.
- Security Trade-offs: Implementing secure aggregation introduced a "privacy tax," increasing training time by approximately 1.5x to 3x compared to non-secure GNNs. However, this overhead is considered acceptable for the provable security it provides in sensitive contexts.
- Feature Learning: By using trajectory prediction as a self-supervised task, the model successfully learned complex spatial-temporal patterns without manual labels.
Limitations and Future Work
While effective, the current Feddy framework has areas for improvement. The computational cost of the "masking" process grows quadratically with model dimensions, which may bottleneck larger networks. Additionally, the security model currently assumes "semi-honest" adversaries; future iterations could address "active" adversaries who might attempt to poison the global model with malicious updates. Finally, further optimization is needed to reduce communication costs for deployment on low-bandwidth IoT devices.
Summary updated