FedRC: A Rapid-Converged Hierarchical Federated Learning Framework in Street Scene Semantic Understanding

Wei-Bin Kou, Qingfeng Lin, Ming Tang, Shuai Wang, Guangxu Zhu, Yik-Chung Wu

Abstract: Street Scene Semantic Understanding (TriSU) is critical for autonomous driving but faces challenges in data privacy and inter-city domain shifts. Standard Hierarchical Federated Learning (HFL) often struggles with data heterogeneity. We propose FedRC, a novel HFL framework that models image datasets as Gaussian distributions and uses statistical distance for aggregation weighting. FedRC achieves up to 40% faster convergence and superior accuracy compared to state-of-the-art methods like FedAvg and FedProx.

Introduction

Street Scene Semantic Understanding (TriSU) is a fundamental task for autonomous driving, requiring the categorization of every pixel in a vehicle's field of view. However, training robust models globally is hindered by two primary challenges: data privacy and inter-city domain shift. Hierarchical Federated Learning (HFL) has emerged as a solution, utilizing edge servers to aggregate local data updates before global synchronization.

The FedRC hierarchical architecture showing the flow of data from local clients to edge servers and finally to the cloud.

Traditional HFL methods typically employ proportion-based weighting, which assumes a dataset's importance is strictly proportional to its size. In highly heterogeneous environments—such as different cities with varying weather and infrastructure—this approach often leads to slow convergence or model instability. We introduce FedRC (Rapid-Converged), a framework that leverages statistical modeling to optimize the aggregation process.

Methodology

FedRC moves beyond simple data counting by treating image datasets as statistical distributions.

Gaussian Modeling of Image Data

Rather than processing raw pixels, FedRC models the distribution of pixel intensities in RGB images as Gaussian distributions characterized by mean ($\mu$) and variance ($\sigma^2$). This approach provides a computationally efficient "fingerprint" of the data while preserving privacy, as only statistical parameters are transmitted.

Hierarchical Statistical Aggregation

These Gaussian parameters are aggregated hierarchically from the client level to the edge server (city level) and finally to the cloud. This allows the framework to maintain a statistical profile of the data at every stage of the hierarchy.

Statistical fingerprints represented as Gaussian distributions for different edge servers and the global cloud model.

Similarity-Based Weighting via Bhattacharyya Distance

To determine the contribution of each update, FedRC calculates the Bhattacharyya Distance (BD) between local/edge distributions and the global distribution. Updates from datasets that are statistically similar to the global average are assigned higher weights. This targeted integration smooths the learning process and prevents outlier domains from derailing global convergence.

Experimental Results

The performance of FedRC was evaluated using the Cityscapes, CamVid, and CARLA datasets.

Convergence and Accuracy

FedRC demonstrated significant improvements over standard methods like FedAvg and FedProx. Specifically, it achieved convergence 38.7% faster in mIoU and 40.6% faster in mF1 score compared to FedAvg. On the Cityscapes benchmark, FedRC reached a 55.44% mIoU, outperforming all tested competitors.

Qualitative Analysis

In simulations using the CARLA environment, FedRC showed superior ability in identifying subtle, thin semantic elements such as poles, which were frequently overlooked by other frameworks. This suggests that the similarity-based weighting effectively captures critical features across diverse domains.

Conclusion

FedRC establishes that the statistical relevance of data is a more effective metric for federated aggregation than simple volume in non-i.i.d. scenarios. By modeling images as Gaussians, the framework achieves rapid convergence and high accuracy with minimal computational overhead. Future research will focus on integrating multi-modal data (e.g., LiDAR) and extending the framework to additional autonomous driving tasks like object detection.

Summary updated

BibTeX
@inproceedings{kou2024fedrc,
  author = {Wei-Bin Kou and Qingfeng Lin and Ming Tang and Shuai Wang and Guangxu Zhu and Yik-Chung Wu},
  title = {{FedRC: A Rapid-Converged Hierarchical Federated Learning Framework in Street Scene Semantic Understanding}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2024},
  doi = {10.1109/iros58592.2024.10802073},
}
Figure