Learning Personalized Models with Clustered System Identification

Leonardo F. Toso, Han Wang, James Anderson

Introduction

System Identification (SysID) is the foundational process of constructing mathematical models for physical systems—ranging from autonomous drones to complex power grids—based on observed input-output data. While high-fidelity models are essential for safe and efficient control, SysID is traditionally a data-intensive endeavor. Recent shifts toward collaborative or federated learning have attempted to address this by pooling data across multiple agents. However, these methods typically operate under the assumption of homogeneity—that every system in the fleet is identical.

In reality, fleets are often heterogeneous due to manufacturing tolerances, varying levels of wear, or different operational environments. Forcing diverse systems to share a single "average" model introduces a significant "heterogeneity bias," leading to poor performance for all participants. This paper introduces a framework for Personalized System Identification, which enables groups of similar dynamical systems to collaborate without sacrificing individual accuracy.

The Clustered System Identification Framework

The authors propose Algorithm 1: Clustered System Identification, an alternating optimization approach designed to bridge the gap between purely local learning and global aggregation. The algorithm iterates through two primary phases:

  1. Cluster Estimation (CE): Each individual system evaluates the current set of $K$ candidate models. Using a Mean Square Error (MSE) criterion, each system identifies which model best fits its local trajectory data and assigns itself to that specific cluster.
  2. Model Estimation (ME): Once assignments are made, the algorithm aggregates data from all systems within a cluster. It then performs a gradient descent update to refine the cluster's model parameters (specifically the $A$ and $B$ matrices for Linear Time-Invariant systems).

This "cluster-then-estimate" loop allows systems to benefit from the "strength in numbers" provided by their peers while maintaining a model that is personalized to their specific dynamics.

Theoretical Contributions

The core innovation of this work lies in its theoretical analysis of the optimization loop within the context of dynamical systems. Unlike standard linear regression, data generated by dynamical systems is non-i.i.d. (independent and identically distributed); the state at any given time step is inherently dependent on the previous state. This temporal dependency significantly complicates convergence proofs.

The authors demonstrate that the total estimation error can be decomposed into two components: a statistical error that scales inversely with the total number of systems in a cluster, and a misclassification error. A pivotal finding is that the probability of a system being assigned to the wrong cluster decays exponentially with the number of trajectories observed. This implies that even with relatively sparse data per system, the clustering mechanism becomes highly reliable, effectively driving the heterogeneity bias toward zero.

Experimental Results

The framework was evaluated using synthetic numerical simulations involving a fleet of $M=50$ linear systems partitioned into $K=3$ distinct clusters (with 10, 24, and 16 systems respectively). Each system provided 100 trajectories, each 50 time-steps in length.

Key Findings:

  • Sample Complexity Gains: The algorithm demonstrates that if 10 identical systems collaborate, they each require approximately 1/10th the data to reach the same accuracy as a system learning in isolation.
  • Overcoming Bias: In comparative tests, the clustered approach achieved an estimation error of $10^{-2}$ within a few hundred iterations. In contrast, traditional federated approaches that ignored heterogeneity plateaued at an error level 100 times higher, as they were unable to reconcile the fundamental differences between the system clusters.
  • Convergence: Under the assumption of "well-separated" clusters, the algorithm is guaranteed to correctly identify cluster identities and converge to the ground-truth models with high probability.

Limitations and Future Directions

While the framework provides a robust solution for heterogeneous SysID, several challenges remain:

  • Initialization: The theoretical guarantees currently rely on a "warm start," meaning the initial model guesses must be reasonably close to the true parameters.
  • Model Selection: The algorithm assumes the number of clusters ($K$) is known a priori. In practical applications, determining the optimal number of clusters remains a non-trivial task.
  • System Dynamics: The current study focuses on Linear Time-Invariant (LTI) systems. Extending these principles to non-linear dynamics or systems that evolve over time is a primary objective for future research.

Conclusion

By identifying the "personalization middle ground," this research provides a path forward for large-scale collaborative learning in physical systems. Clustered System Identification allows for the efficiency of data sharing while respecting the unique characteristics of individual agents, offering a scalable solution for the next generation of autonomous fleets and industrial networks.

Summary updated

BibTeX
@inproceedings{toso2023learning,
  author = {Leonardo F. Toso and Han Wang and James Anderson},
  title = {{Learning Personalized Models with Clustered System Identification}},
  booktitle = {CDC},
  year = {2023},
  url = {https://openreview.net/forum?id=c7Qla0NS4G},
}
Figure