Skip to main navigation Skip to search Skip to main content

Causality Inspired Federated Learning for OOD Generalization

  • Jiayuan Zhang
  • , Xuefeng Liu
  • , Jianwei Niu
  • , Shaojie Tang
  • , Haotian Yang
  • , Xinghao Wu
  • Beihang University
  • Zhongguancun Laboratory

Research output: Contribution to journalConference articlepeer-review

Abstract

The out-of-distribution (OOD) generalization problem in federated learning (FL) has recently attracted significant research interest. A common approach, derived from centralized learning, is to extract causal features which exhibit causal relationships with the label. However, in FL, the global feature extractor typically captures only invariant causal features shared across clients and thus discards many other causal features that are potentially useful for OOD generalization. To address this problem, we propose FedUni, a simple yet effective architecture trained to extract all possible causal features from any input. FedUni consists of a comprehensive feature extractor, designed to identify a union of all causal feature types in the input, followed by a feature compressor, which discards potential inactive causal features. With this architecture, FedUni can benefit from collaborative training in FL while avoiding the cost of model aggregation (i.e., extracting only invariant features). In addition, to further enhance the feature extractor’s ability to capture causal features, FedUni add a causal intervention module on the client side, which employs a counterfactual generator to generate counterfactual examples that simulate distributions shifts. Extensive experiments and theoretical analysis demonstrate that our method significantly improves OOD generalization performance.

Original languageEnglish
Pages (from-to)75615-75637
Number of pages23
JournalProceedings of Machine Learning Research
Volume267
StatePublished - 2025
Event42nd International Conference on Machine Learning, ICML 2025 - Vancouver, Canada
Duration: Jul 13 2025Jul 19 2025

Fingerprint

Dive into the research topics of 'Causality Inspired Federated Learning for OOD Generalization'. Together they form a unique fingerprint.

Cite this