Hierarchical Federated Learning with Dynamic Clustering and Adaptive Regularization for Robust Infrastructure Inspection

Yuhu Feng, Keisuke Maeda, Takahiro Ogawa, Miki HaseyamaarXiv 2026

TL;DR

This paper introduces Clustered-DRAPR, a hierarchical federated learning framework designed to tackle the "double heterogeneity" of structural health monitoring—where physical infrastructure characteristics vary across regions and local datasets suffer from severe statistical imbalances. By combining server-side dynamic gradient clustering with client-side adaptive proximal regularization, the framework trains highly specialized, robust vision models for infrastructure inspection without sharing raw data or requiring geographical metadata.

What Problem Does This Paper Address?

Automated infrastructure inspection using computer vision has shown immense promise in detecting structural defects like cracks, corrosion, and spalling. However, deploying these data-driven models in the real world is severely bottlenecked by the data silo dilemma. Regional road management agencies and private engineering firms cannot easily centralize their sensitive inspection imagery due to strict privacy regulations and security concerns.

While Federated Learning (FL) offers a way to train models collaboratively without sharing raw data, standard FL algorithms fail when applied to nationwide infrastructure networks due to double heterogeneity:

  1. Macro-level (Inter-client) Physical Divergence: Infrastructure varies fundamentally by region and type. For example, coastal steel bridges primarily suffer from salt-induced corrosion, while inland concrete structures exhibit freeze-thaw cracks. A single "one-size-fits-all" global model cannot represent these distinct physical domains optimally.
  2. Micro-level (Intra-client) Statistical Imbalance: Even among clients monitoring similar structures, local datasets are highly unstable due to severe label skewness (e.g., thousands of images of intact structures but only a handful of rare defects), varying lighting conditions, and sensor noise. This causes "client drift" and catastrophic forgetting during local training.

Existing clustered FL approaches typically rely on static, predefined groups and revert to standard averaging within those groups, completely ignoring the micro-level training instabilities that persist within each cluster.

Methods

The authors propose Clustered-DRAPR, a hierarchical framework that orchestrates a synergistic two-tier optimization strategy to handle both macro- and micro-level data variations simultaneously.

Figure 1: The overall architecture of the proposed Clustered-DRAPR framework. This framework mitigates double heterogeneity through a synergistic two-tier strategy: (top) macro-level dynamic gradient-based clustering at the central server to form specialized expert models without raw data sharing, and (bottom) micro-level DRAPR at the client side to dynamically penalize local drift based on real-time data distribution skewness.

1. Macro-level: Dynamic Gradient-Based Clustering

Instead of relying on geographical metadata or static assignments, the central server dynamically groups clients based on the directional alignment of their model updates (pseudo-gradients). By utilizing a cosine similarity matching metric, the server clusters clients with similar structural degradation trajectories into specialized expert groups. Because deep learning gradients inherently encode rich semantic information about the underlying training data, this allows the framework to autonomously discover physical commonalities across distributed clients.

2. Micro-level: Dynamic Region-Adaptive Proximal Regularization (DRAPR)

To stabilize training within each cluster, the authors introduce the DRAPR module on the client side. DRAPR computes a real-time Non-IID Intensity Score for each client at the start of every communication round. This score mathematically combines two metrics:

  • Label Imbalance Ratio: Measures how skewed the local dataset's class distribution is.
  • Local Gradient Divergence: Tracks how far the client's local optimization trajectory deviates from its cluster's collective direction.

Using this intensity score, DRAPR dynamically scales a proximal penalty coefficient ($\mu_k^{(t)}$). If a regional node has a highly skewed dataset (e.g., it only sees severe corrosion but lacks examples of minor cracks), it receives a larger regularization weight. This exerts a stronger mathematical pull toward the cluster centroid, preventing the local model from catastrophically forgetting minority classes. Conversely, well-balanced clients are given more flexibility to fine-tune.

Datasets

The framework was evaluated using real-world bridge inspection images and diagnostic records spanning 2019 to 2021, sourced from the Japanese National Road Facility Inspection Database (xROAD).

  • Scale: A total of 77,890 damage images.
  • Partitioning: The dataset was geographically isolated into 9 distinct clients representing major administrative regions in Japan (Hokkaido, Tohoku, Kanto, Hokuriku, Chubu, Kinki, Chugoku, Shikoku, and Kyushu) to simulate a realistic, privacy-preserving FL environment.
  • Experimental Settings: The task was formulated as a multi-label image classification problem under two complexities:
  • 5-Class Setting: Focused on the five most prevalent defects (Corrosion, Crack, Exposed Rebar, Delamination, Deformation).
  • 20-Class Setting: Expanded to include 15 additional fine-grained and rare defects (e.g., Bearing Dysfunction, Debris Accumulation), simulating an extreme Non-IID environment.

Key Insights and Ideas

  • Emergent Environmental Mapping: One of the most striking findings was that the server-side dynamic clustering algorithm organically grouped the 9 Japanese regional clients into clusters that perfectly mirrored real-world macro-climatic zones. For instance, under a 3-cluster setting, it grouped Hokkaido, Tohoku, and Hokuriku together—regions that share cold, snowy climates and similar freeze-thaw infrastructure degradation patterns—without receiving any geographical or environmental metadata.
  • Intelligent Anchoring over Uniform Constraints: Traditional regularization methods like FedProx apply a static, uniform penalty across all clients. Clustered-DRAPR proves that regularization must be dynamic and client-specific. Treating the proximal term as an "intelligent anchor" that reacts to real-time label skewness effectively mitigates the intra-round performance fluctuations that typically destabilize federated optimization.

Key Results

Clustered-DRAPR was benchmarked against several state-of-the-art FL methods, including FedAvg, FedProx, SCAFFOLD, MOON, and IFCA, using ResNet-18 as the local model backbone.

  • Superior Classification Performance: In the highly complex 20-class setting, Clustered-DRAPR ($M=3$ clusters) achieved a weighted F1-score of 59.06%, significantly outperforming standard FedAvg (54.70%), FedProx (56.15%), and the clustered baseline IFCA (56.16%).
  • Mitigation of Catastrophic Forgetting: Qualitative analysis demonstrated that while baseline methods frequently suffered from client drift—either hallucinating common defects or completely missing co-occurring minority defects like "Deformation"—Clustered-DRAPR precisely identified the complete set of ground-truth labels without triggering false alarms.
  • Communication Efficiency: Because the dynamic clustering relies entirely on pseudo-gradients already transmitted during standard FL aggregation, and the Non-IID Intensity Score is a negligible scalar, the framework introduces virtually zero additional communication overhead compared to standard FedAvg.

Limitations and Future Work

The authors note two primary areas for future improvement:

  1. Synchronous Communication Bottlenecks: The current framework assumes synchronous communication rounds. In real-world edge deployments (like remote bridges with spotty cellular connectivity), this can lead to straggler bottlenecks. Developing an asynchronous variant of Clustered-DRAPR is a critical next step.
  2. Expansion to Multi-Modal Data: This work relies exclusively on 2D inspection imagery. The authors plan to extend the framework to incorporate continuous time-series sensor data (such as structural vibrations and strain gauges) to build a more comprehensive, digital-twin-driven prognostic health management system for civil infrastructure.

Summary updated

Abstract

The deployment of data-driven computer vision models for structural health monitoring (SHM) is heavily constrained by the data silo dilemma due to stringent privacy and security regulations. While federated learning (FL) offers a privacy-preserving collaborative alternative, its application to nationwide infrastructure networks is severely hindered by the challenge of ``double heterogeneity'': macro-level physical divergence across disparate structural types and micro-level statistical imbalances within local datasets. To overcome this challenge, this paper proposes a novel hierarchical federated learning framework. The framework orchestrates a synergistic two-tier optimization strategy. At the macro-level, a dynamic gradient-based clustering mechanism autonomously aggregates distributed clients into specialized expert groups based on their structural degradation trajectories, circumventing the need for prior geographical metadata. Concurrently, at the micro-level, an intra-cluster Dynamic Region-Adaptive Proximal Regularization (DRAPR) module computes a real-time statistical Non-IID Intensity Score for each client. By adaptively modulating a proximal penalty based on local label skewness and gradient divergence, DRAPR effectively calibrates local updates, mitigates client drift, and prevents the catastrophic forgetting of minority damage classes. Comprehensive evaluations on a large-scale, real-world structural inspection dataset demonstrate that the hierarchical integration of macro-clustering and micro-regularization successfully neutralizes dual-level heterogeneity, yielding highly robust and specialized diagnostic models for complex infrastructure inspection.
BibTeX
@misc{feng2026hierarchical,
  author = {Yuhu Feng and Keisuke Maeda and Takahiro Ogawa and Miki Haseyama},
  title = {{Hierarchical Federated Learning with Dynamic Clustering and Adaptive Regularization for Robust Infrastructure Inspection}},
  year = {2026},
  eprint = {2606.03084},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.03084},
}
Figure