ICML2026

LEGO-FL: Learning Heterogeneous Federated Models as a LEGO Assembly Games

Zeqi Leng, Chunxu Zhang, Guodong Long, Bo Yang

摘要

Just as LEGO pieces can be assembled into an unlimited variety of structures, heterogeneous federated learning (HFL) can be viewed as the assembly of diverse model components. Inspired by this analogy, we reformulate HFL as a LEGO-like assembly game. The central challenge in HFL lies in learning across heterogeneous model architectures, which hinders direct parameter sharing. To address this challenge, we propose to decompose models into a set of modular components—analogous to LEGO pieces and collaboratively learn these components across clients under predefined composition rules. Based on this perspective, we develop a novel federated learning framework, termed LEGO-FL, which enables flexible model construction while preserving collaborative learning. Extensive experiments validate the effectiveness of LEGO-FL under different heterogeneous settings and system scales.