## Doctoral Thesis

Algorithms for Collaborative Machine Learning under Statistical Heterogeneity

Seok-Ju Hahn

Department of Industrial Engineering

Ulsan National Institute of Science and Technology

Algorithms for Collaborative Machine Learning under Statistical Heterogeneity

Seok-Ju Hahn

Department of Industrial Engineering

Ulsan National Institute of Science and Technology

## Algorithms for Collaborative Machine Learning under Statistical Heterogeneity

A thesis/dissertation submitted to Ulsan National Institute of Science and Technology in partial fulfillment of the requirements for the degree of Doctor of Philosophy

Seok-Ju Hahn

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-a2c22f6b-aca9-4da4-ba9d-a447271eb02b.jpg)

Gi-Soo Kim

06.11.2024 of submission

Approved by

Advisor

## Algorithms for Collaborative Machine Learning under Statistical Heterogeneity

## Seok-Ju Hahn

This certifies that the thesis/dissertation of Seok-Ju Hahn is approved.

06.11.2024 of submission

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-0e477019-faea-4f9b-bbe0-1b7d50d111a3.jpg)

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-442b20a1-3396-4df1-a7af-dc8f8898925b.jpg)

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-9a51d03a-2345-4a2e-b72d-fb4f50f561e3.jpg)

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-31635c5e-6631-4a27-a935-de1c5e7b07d5.jpg)

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-ea34b685-ebcf-439b-8e60-3c614f4e3eca.jpg)

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-0a5ef2f2-010f-49bd-a7ab-aa0d41edc79e.jpg)

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

Advisor: Gi-Soo Kim

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

Junghye Lee

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

Saerom Park

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

Dongyoung Lim

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

Sung Whan Yoon

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

Sungbin Lim

## Abstract

Learning from distributed data without accessing them is undoubtedly a challenging and non-trivial task. Nevertheless, the necessity for distributed training of a statistical model has been increasing, due to the privacy concerns of local data owners and the cost in centralizing the massively distributed data. Federated learning (FL) is currently the de facto standard of training a machine learning model across heterogeneous data owners, without leaving the raw data out of local silos. Nevertheless, several challenges must be addressed in order for FL to be more practical in reality. Among these challenges, the statistical heterogeneity problem is the most significant and requires immediate attention. From the main objective of FL, three major factors can be considered as starting points parameter , mixing coefficient , and local data distributions .

In alignment with the components, this dissertation is organized into three parts. In Chapter II, a novel personalization method, SuPerFed , inspired by the mode-connectivity is introduced. This method aims to find better parameters that are suitable for achieving enhanced generalization ability in all local data distributions. In Chapter III, an adaptive decision-making algorithm, AAggFF , is introduced for inducing uniform performance distributions in participating clients, which is realized by online convex optimization framework. This method explicitly learns fairness-inducing mixing coefficients sequentially, and is also specialized for two practical FL settings. Finally, in Chapter IV, a collaborative synthetic data generation method, FedEvg , is introduced, leveraging the flexibility and compositionality of an energybased modeling approach. The objective of this method is to emulate the joint density of disparate local data distributions without accessing them, which enables to generate server-side synthetic dataset.

Taken together, all of these approaches provide practical solutions to mitigate the statistical heterogeneity problem in data-decentralized settings, paving the way for distributed systems and applications using collaborative machine learning methods.

## Contents

| Introduction   | Introduction                                                           | Introduction                                                                |   1 |
|----------------|------------------------------------------------------------------------|-----------------------------------------------------------------------------|-----|
| 1              | Federated Learning: Concepts and Challenges                            | . . . . . . . . . . . . . . . . .                                           |   2 |
|                | 1.1                                                                    | Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  |   2 |
|                | 1.2                                                                    | Objective of Federated Learning . . . . . . . . . . . . . . . . . . . .     |   3 |
|                | 1.3                                                                    | Challenges in Federated Learning . . . . . . . . . . . . . . . . . . . .    |   5 |
| 2              | Overview of Dissertation Structure                                     | . . . . . . . . . . . . . . . . . . . . . . .                               |   6 |
| 3              | Software . . . . . . . . . .                                           | . . . . . . . . . . . . . . . . . . . . . . . . . . . .                     |   7 |
| II             | Perspective on Parameter, θ                                            | Perspective on Parameter, θ                                                 |   8 |
|                | Connecting Low-Loss Subspace for Personalized Federated Learning . . . | . .                                                                         |   8 |
| 1              | Introduction . .                                                       | . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .         |   9 |
| 2              | Prior Arts . . .                                                       | . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .         |  13 |
|                | 2.1                                                                    | Federated Learning with Non-IID Data . . . . . . . . . . . . . . . .        |  13 |
|                | 2.2                                                                    | Personalized Federated Learning Methods . . . . . . . . . . . . . . .       |  13 |
|                | 2.3                                                                    | Mode Connectivity of Deep Networks . . . . . . . . . . . . . . . . . .      |  15 |
| 3              | Proposed Method: SuPerFed                                              | . . . . . . . . . . . . . . . . . . . . . . . . . . .                       |  16 |
|                | 3.1                                                                    | Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |  16 |
|                | 3.2                                                                    | Problem Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . .   |  18 |
|                | 3.3                                                                    | SuPerFed : Subspace Learning for the Personalized Federated System          |  19 |
|                | 3.4                                                                    | Regularization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  |  21 |

| 4                                     | Experiments .                                                                        | . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                        |   23 |
|---------------------------------------|--------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|------|
|                                       | 4.1                                                                                  | Experimental Setup . . . . . . . . . . . . . . . . . . . . . . .                     |   23 |
|                                       | 4.2                                                                                  | Personalization Performance . . . . . . . . . . . . . . . . . . .                    |   25 |
|                                       | 4.3                                                                                  | Benefits from Mode Connectivity . . . . . . . . . . . . . . . .                      |   29 |
|                                       | 4.4                                                                                  | Ablation Studies . . . . . . . . . . . . . . . . . . . . . . . . .                   |   32 |
| 5                                     | Analysis . . . . . . . . . . . .                                                     | . . . . . . . . . . . . . . . . . . . . . .                                          |   35 |
|                                       | 5.1                                                                                  | Loss Landscape of a Global Model . . . . . . . . . . . . . . .                       |   35 |
|                                       | 5.2                                                                                  | Discussion on the Convex Combination-based PFL Methods .                             |   37 |
| 6                                     | Conclusion . . . . .                                                                 | . . . . . . . . . . . . . . . . . . . . . . . . . . . .                              |   39 |
| Perspective on Mixing Coefficients, w | Perspective on Mixing Coefficients, w                                                | Perspective on Mixing Coefficients, w                                                |   40 |
|                                       | Pursuing Overall Welfare in Federated Learning via Sequential Decision Making .      | Pursuing Overall Welfare in Federated Learning via Sequential Decision Making .      |   40 |
| 1                                     | Introduction . .                                                                     | . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                          |   42 |
| 2                                     | Related Works . .                                                                    | . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                            |   44 |
|                                       | 2.1                                                                                  | Client-Level Fairness in Federated Learning . . . . . . . . . .                      |   44 |
|                                       | 2.2                                                                                  | Online Decision Making . . . . . . . . . . . . . . . . . . . . .                     |   45 |
| 3                                     | Backgrounds . . .                                                                    | . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                            |   46 |
|                                       | 3.1                                                                                  | Mixing Coefficients in Federated Learning . . . . . . . . . . .                      |   47 |
|                                       | 3.2                                                                                  | Online Convex Optimization as a Unified Language . . . . . .                         |   49 |
|                                       | 3.3                                                                                  | Sequential Probability Assignment . . . . . . . . . . . . . . .                      |   50 |
| 4                                     | Proposed Methods .                                                                   | . . . . . . . . . . . . . . . . . . . . . . . . . . . .                              |   52 |
|                                       | 4.1                                                                                  | Improved Design for Better Decision Making . . . . . . . . .                         |   52 |
|                                       | 4.2                                                                                  | AAggFF : Adaptive Aggregation for Fair Federated Learning . .                        |   53 |
| 5                                     | Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |   59 |

|                                              | 5.1                                                                                        | Cumulative Distribution Function for Response Transformation . . . . . . . . . .          |   59 |
|----------------------------------------------|--------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|------|
|                                              | 5.2                                                                                        | Choice of a Response Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .    |   63 |
|                                              | 5.3                                                                                        | Regret Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |   64 |
| 6                                            | Experimental Results . . . . . .                                                           | . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                           |   65 |
|                                              | 6.1                                                                                        | Experimental Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .    |   65 |
|                                              | 6.2                                                                                        | Improvement in the Client-Level Fairness . . . . . . . . . . . . . . . . . . . . . .      |   70 |
|                                              | 6.3                                                                                        | Connections to Accuracy Parity . . . . . . . . . . . . . . . . . . . . . . . . . . . .    |   73 |
|                                              | 6.4                                                                                        | Plug-and-Play Boosting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .    |   75 |
| 7                                            | Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | . . . .                                                                                   |   76 |
| 8                                            | Derivations & Deferred Proofs . . . . . . . . . . . .                                      | . . . . . . . . . . . . . . . . . . . . .                                                 |   77 |
|                                              | 8.1                                                                                        | Derivation of Mixing Coefficients from Existing Methods . . . . . . . . . . . . . .       |   77 |
|                                              | 8.2                                                                                        | Technical Lemmas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .    |   80 |
|                                              | 8.3                                                                                        | Strict Convexity of Decision Loss . . . . . . . . . . . . . . . . . . . . . . . . . . .   |   80 |
|                                              | 8.4                                                                                        | Lipschitz Continuity of Decision Loss (Lemma 3.1) . . . . . . . . . . . . . . . . .       |   81 |
|                                              | 8.5                                                                                        | Unbiasedness of Doubly Robust Estimator (Lemma 3.2) . . . . . . . . . . . . . .           |   82 |
|                                              | 8.6                                                                                        | Unbiasedness of Linearly Approximated Gradient (Lemma 3.3) . . . . . . . . . .            |   83 |
|                                              | 8.7                                                                                        | Supportive Tools for the Proof of Main Theorems . . . . . . . . . . . . . . . . . .       |   84 |
|                                              | 8.8                                                                                        | Regret Bound of AAggFF-S : Proof of Theorem 3.1 . . . . . . . . . . . . . . . . . .       |   94 |
|                                              | 8.9                                                                                        | Regret Bound of AAggFF-D with Full Client Participation: Proof of Theorem 3.2             |   97 |
|                                              | 8.10                                                                                       | Regret Bound of AAggFF-D with Partial Client Participation: Proof of Corollary 3.1        |   99 |
|                                              | 8.11                                                                                       | Derivation of Closed-From Update of AAggFF-D . . . . . . . . . . . . . . . . . . .        |  100 |
| IV Perspective on Local Data Distribution, D | IV Perspective on Local Data Distribution, D                                               | IV Perspective on Local Data Distribution, D                                              |  101 |

| 1                    | Introduction                                                | . . . . . . . . . . . . . . . . . . . . . . . . . . . .     |   102 |
|----------------------|-------------------------------------------------------------|-------------------------------------------------------------|-------|
| 2                    | Backgrounds . . . . . . . . . . . . . . . . . . . . . . . . | . . . .                                                     |   104 |
|                      | 2.1                                                         | Problem Statement . . . . . . . . . . . . . . . . . . . .   |   104 |
|                      | 2.2                                                         | Answer 1: Discovery of Hidden Energy-Based Models .         |   105 |
|                      | 2.3                                                         | Answer 2: Composition of Energy-Based Models . . .          |   107 |
| 3                    | Proposed Method                                             | . . . . . . . . . . . . . . . . . . . . . . . . .           |   108 |
|                      | 3.1                                                         | FedEvg : Federated Energy-based Averaging . . . . . .       |   108 |
|                      | 3.2                                                         | Server-side Optimization . . . . . . . . . . . . . . . . .  |   109 |
|                      | 3.3                                                         | Client-side Optimization . . . . . . . . . . . . . . . . .  |   111 |
| 4                    | Experimental Results                                        | . . . . . . . . . . . . . . . . . . . . . . .               |   113 |
|                      | 4.1                                                         | Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . |   113 |
|                      | 4.2                                                         | Quantitative & Qualitative Utilities of Synthetic Data      |   115 |
| 5                    | Related Works                                               | . . . . . . . . . . . . . . . . . . . . . . . . . . .       |   123 |
|                      | 5.1                                                         | Synthetic Data in Federated Learning . . . . . . . . .      |   123 |
|                      | 5.2                                                         | Energy-Based Model . . . . . . . . . . . . . . . . . . .    |   124 |
| 6                    | Discussion .                                                | . . . . . . . . . . . . . . . . . . . . . . . . . . . .     |   125 |
| 7                    | Conclusion .                                                | . . . . . . . . . . . . . . . . . . . . . . . . . . . .     |   127 |
| V Concluding Remarks | V Concluding Remarks                                        | V Concluding Remarks                                        |   128 |
| References           | References                                                  | References                                                  |   130 |

## List of Figures

|   1 | Overview of a one step of federated learning procedure . . . . . . . . . . . . . . . . .   |   2 |
|-----|--------------------------------------------------------------------------------------------|-----|
| 2.1 | Overview of the model mixture-based personalized federated learning method . . . .         |  10 |
| 2.2 | An illustration of the proposed method SuPerFed . . . . . . . . . . . . . . . . . . . .    |  17 |
| 2.3 | The effects of hyperparameters µ and ν in SuPerFed . . . . . . . . . . . . . . . . . . .   |  34 |
| 2.4 | The loss landscapes of a global model trained by SuPerFed . . . . . . . . . . . . . . .    |  36 |
| 2.5 | Comparison of SuPerFed with other convex combination-based personalization methods         |  37 |
| 3.1 | Effects of different CDF transformations on the performance of AAggFF . . . . . . . .      |  61 |
| 4.1 | Generation results of MNIST dataset . . . . . . . . . . . . . . . . . . . . . . . . . . .  | 119 |
| 4.2 | Generation results of CIFAR-10 dataset . . . . . . . . . . . . . . . . . . . . . . . . . . | 120 |
| 4.3 | Generation results of OrganCMNIST dataset . . . . . . . . . . . . . . . . . . . . . . .    | 121 |
| 4.4 | Generation results of DermaMNIST dataset . . . . . . . . . . . . . . . . . . . . . . .     | 122 |

## List of Tables

|   2.1 | Notations in Chapter II . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                 |   16 |
|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------|
|   2.2 | Detailed experimental configurations of main experiments of Chapter II . . . . . . . .                                                                                        |   23 |
|   2.3 | Experimental results on the pathological non-IID setting of Chapter II . . . . . . . . .                                                                                      |   26 |
|   2.4 | Experimental results on the Dirichlet distribution-based non-IID setting of Chapter II                                                                                        |   27 |
|   2.5 | Experimental results on the realistic non-IID setting of Chapter II . . . . . . . . . . .                                                                                     |   28 |
|   2.6 | Experimental results on the label noise simulation setting of Chapter II . . . . . . . .                                                                                      |   31 |
|   2.7 | Results on the effect of setting the personalization training round in SuPerFed . . . .                                                                                       |   32 |
|   3.1 | Notations in Chapter III . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                  |   47 |
|   3.2 | Summary of unification results of existing fair FL Methods . . . . . . . . . . . . . . .                                                                                      |   49 |
|   3.3 | Effects of CDF transformations in AAggFF . . . . . . . . . . . . . . . . . . . . . . . .                                                                                      |   60 |
|   3.4 | Description of datasets for cross-silo and cross-device FL settings in Chapter III . . .                                                                                      |   65 |
|   3.5 | Statistics of federated benchmarks in Chapter III . . . . . . . . . . . . . . . . . . . .                                                                                     |   66 |
|   3.6 | Experimental results on the cross-silo setting of Chapter III . . . . . . . . . . . . . .                                                                                     |   71 |
|   3.7 | Experimental results on the cross-device setting of Chapter III . . . . . . . . . . . . .                                                                                     |   72 |
|   3.8 | Accuracy parity gap of fair FL methods in cross-silo FL setting in Chapter III . . . .                                                                                        |   73 |
|   3.9 | Accuracy parity gap of fair FL methods in cross-device FL setting in Chapter III . .                                                                                          |   73 |
|   3.1 | Experimental results on the plug-and-play boosting of AAggFF . . . . . . . . . . . . .                                                                                        |   75 |
|   4.1 | Notations in Chapter IV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                   |  108 |
|   4.2 | Discriminative performance (Accuracy) of the server-side classifier trained on generated synthetic data (higher is better) - MNIST and CIFAR-10 . . . . . . . . . . . . . . . |  116 |
|   4.3 | Discriminative performance (Accuracy) of the server-side classifier trained on generated synthetic data (higher is better) - DermaMNIST and OrganCMNIST . . . . . . . .       |  116 |
|   4.4 | Generative performance (FID) of the server-side synthetic data (lower is better) - MNIST and CIFAR-10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   |  117 |
|   4.5 | Generative performance (FID) of the server-side synthetic data (lower is better) -Der- maMNIST and OrganCMNIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  |  117 |

## Chapter I

## Introduction

Data is being collected every time, almost everywhere, including e.g., wearable devices, electronic transactions, and satellites orbiting the earth. Undoubtedly, the abundance of data is a critical component of the current success of machine learning. Once a sufficient amount of data is secured, one can train an accurate statistical model with a good generalization performance on the unseen data distribution. However, preparing a satisfactory amount of data is not always feasible in reality. This is due to practical reasons: some data may contain sensitive personal information, such as electronic health records, while other data is massively distributed to a large population, such as smartphone users.

Federated Learning (FL) [137] is a tailor-made method for this problematic situation, since it aims to train a machine learning model without accessing or centralizing distributed data in one place. Instead, an orchestrator (which is usually a central server) requests each data owner (i.e., client) to commit a locally updated statistical model trained on each client's data distribution. Subsequently, the server aggregates local updates into a single global model, which may contain knowledge from heterogeneous clients. With enough repetition of these local updates &amp; global aggregation procedures, the central server can ultimately obtain a global model with satisfactory performance.

Figure 1: Overview of a one step of federated learning procedure. The central server broadcasts a global model to a random subset of clients (left). Each client updates the global model using its own local dataset and computing power, and the local updates are then uploaded to the server to be aggregated into a new global model (right). This process is repeated until a global model converges, orchestrated by the server.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-e70ad1de-9dca-408a-b269-1225ea4349b4.jpg)

## 1 Federated Learning: Concepts and Challenges

## 1.1 Overview

Federated learning (FL) is a distributed machine learning technique in a network, where a central server orchestrates the whole procedure of FL with participating clients. Each client has its own local data set and computing power, but it is typically assumed that the data set may be limited in quality or quantity. Thus, clients are motivated to participate in the federated system to benefit from the collaborative intelligence induced by the FL process. One of the privileged advantages of FL is a mild privacy protection, since data centralization is missing in the whole procedure. Instead of collecting data in one place as in traditional machine learning practices, FL requires each client to provide other signals, such as locally updated model parameters or gradients. By aggregating these proxy signals, the server can update a global statistical model without accessing distributed data silos. Moreover, since local computation can be performed parallelly on each client, the central server can avoid massive computation costs. This appealing feature has led to the practical application of FL, such as mobile applications [66,77], autonomous driving [125], unmanned aerial vehicles [88], clinical risk predictions [39,149,152,154], and financial domains [9,22,97].

## 1.2 Objective of Federated Learning

The main objective of FL is defined as follows:

$$\min _ { \theta \in \Theta \subseteq \mathbb { R } ^ { d } } F ( \theta ) & \stackrel { \vartriangle } { = } \sum _ { i = 1 } ^ { K } w _ { i } F _ { i } ( \theta ) \,, \\ \text{where } F _ { i } ( \theta ) & = \frac { 1 } { n _ { i } } \sum _ { j = 1 } ^ { n _ { i } } \mathcal { L } ( \xi _ { j } ; \theta ) \,, \xi _ { j } \sim p ( \mathcal { D } _ { i } ). \\. &. &. &. & - \quad - \quad - \quad - \quad.$$

In the FL system, one can assume that there are K participating clients. The FL objective aims to minimize the composite local objectives of K clients, where client i 's local objective is F i ( θ ). Each local objective is to find an appropriate parameter , θ , using local data distribution D i , i ∈ [ K ]. The local objective is weighted by a corresponding mixing coefficient w i ≥ 0 ( ∑ K i =1 w i =1), which is usually set to be a static value proportional to the local sample size, n i : e.g., w i = n i n , where n = ∑ K j =1 n j . Note that the local objective is defined as the average of per-sample training loss L · ( ; θ ) w.r.t. the parameter θ (which is an element of a parameter space, Θ). It is calculated from local samples, ξ k , k ∈ [ n i ], following the convention of the empirical risk minimization (ERM) principle [182].

One of the basic solvers for the main objective in eq. (1.1) is Federated Averaging (i.e., FedAvg ) [137], which iteratively updates a global model by aggregating locally updated signals from clients. Each client downloads a copy of a global model and locally updates the model using their own dataset. This local update is again uploaded to the central server, and it is aggregated into a new global model. The aggregation scheme is no more than a simple weighted averaging of local updates proportional to the local sample sizes used for local updates. See Algorithm 1 in detail.

## Algorithm 1 FedAvg (Federated Averaging [137])

Inputs : number of clients ( K ), cilent sampling rate ( C ), number of communication rounds ( T )

## Procedure:

Server initializes a global model θ (0) .

for each round t =0 , ..., T -1 do

S ( ) t ← randomly selected max( C K, · 1) clients.

$$& \text{for each client $i\in S^{(t)}$ in parallel do} \\ & \theta _ { i } ^ { ( t + 1 ) } \leftarrow _ { \text{ClientUpdate} } ( i, \theta ^ { ( t ) } ).$$

end for

$$\begin{smallmatrix} \theta ^ { ( t + 1 ) } \leftarrow \frac { 1 } { \sum _ { j \in S ^ { ( t ) } } ^ { K } n _ { j } } \sum _ { i \in S ^ { ( t ) } } ^ { K } n _ { i } \theta _ { i } ^ { ( t + 1 ) }. \end{smallmatrix}$$

end for

Return: θ ( T ) .

Algorithm 2 ClientUpdate Inputs : local batch size ( B ), number of local epochs ( E ), and local learning rate ( η ) Procedure: Receive a global model θ from the server. B ← split local dataset into batches of size B . for each local epoch e =0 , ..., E -1 do for mini-batch ξ ∈ B do θ ← - ∇ L θ η θ ( ξ ; θ ) end for end for Return: θ to the server.

## 1.3 Challenges in Federated Learning

We briefly introduce major challenges in FL that should be addressed to achieve a practical and faithful federated system. While this dissertation mainly focuses on the most critical and widespread challenge, a statistical heterogeneity, other challenges should also be addressed in practical FL services. Interested readers may find more details about each challenge in the seminal paper by Kairouz et al. [103].

Statistical Heterogeneity In the federated system, each participating client corresponds to, for example, a smartphone user, a car owner, a clinical institution, or a financial organization. These clients generate and store data in a heterogeneous manner, which is also known as a non-IID problem (i.e., not independent and not identically distributed). In other words, each client has its own unique local distribution that is different from the others. Therefore, the resulting local updates computed from different local distributions will inevitably differ from each other. This negatively affects the update direction of a global model; therefore, careful tuning is required for FL configurations, such as the number of local updates and the global synchronization frequency.

Systematic Heterogeneity Orthogonal to the aforementioned challenge, there is another line of heterogeneity in terms of system constraints, e.g., the communication or computation capacity of each client. Each client is both a model trainer and a data owner. However, the capabilities of all participating clients cannot be uniformly adjusted. Therefore, there should be inevitable differences between them, such as operating systems, computing capacity, and communication bandwidth. These sometimes affect the availability of certain clients in the federated system, where some clients may be dropped in a given communication round due to an unstable connection status or a response timeout due to slow computation speed.

Privacy While FL guarantees a minimal level of privacy protection by only sharing local updates, the local update itself still has some risk of compromising privacy if a malicious attacker (including the client and server) intends to do so. Hence, by introducing privacy-preserving techniques such as Differential Privacy (DP) [51], Secure Multi-Party Computation (MPC) [14], Homomorphic Encryption (HE) [26, 160] into FL, the federated system can be more trustworthy and robust. Although these methods provide security and robustness to the federated system, they also involve trade-offs: performance degradation and computation/communication overhead. Thus, striking a good balance between performance and privacy is a key challenge in practice.

## 2 Overview of Dissertation Structure

This dissertation addresses the statistical heterogeneity from each of the three major components of the FL objective from an independent perspective : parameter , mixing coefficient and local data distribution . The statistical heterogeneity is the main problem to be addressed by modifying each component. Meanwhile, as each component is associated with several characteristics of the federated system, it is still possible to address some of the other challenges, too.

In Chapter II , we introduce a new method, SuPerFed to find a better parameter in terms of personalization scheme. We first examine that existing model mixture-based personalized FL algorithms are actually an an implicit ensemble of different (sub-)models. We then adopt one of the explicit schemes of a model ensemble method, named as mode connectivity [46,57,58,60,62], to boost the performance of the model mixture-based personalized FL algorithm. This approach not only enhances the overall accuracy but also renders the system more resilient to label noise and improves calibration error, thereby making it scalable and practical.

In Chapter III , we introduce the first sequential decision-making framework for fair FL, AAggFF . It aims to guide a single global model to have a uniform performance distribution across heterogeneous clients, which is also known as client-level fairness [24]. It is inspired by the observation that existing fair FL algorithms could be unified into a specific instance of an online convex optimization framework [138,150,167]. We then further improve our method using an advanced framework, and subdivide it into two practical FL settings: cross-silo FL and cross-device FL.

In Chapter IV , we introduce FedEvg , a communication-efficient synthetic dataset generation method in a heterogeneous network by leveraging the flexibility of an energy-based modeling [50, 68,114]. This approach integrates both discriminative and generative modeling, with the former being a common task in FL literature while the latter has not been sufficiently explored. We demonstrate that a central server can obtain a faithful synthetic dataset with communication efficiency, which can also be exploited for a variety of downstream tasks. Compared to existing works, FedEvg can construct synthetic datasets with better quality and downstream performances.

## 3 Software

All implementations of the methods in this thesis are available in the links below.

- · Chapter II ( SuPerFed ): https://github.com/vaseline555/SuPerFed
- · Chapter III ( AAggFF ): https://github.com/vaseline555/AAggFF
- · Chapter IV ( FedEvg ): https://github.com/vaseline555/FedEvg

All code is implemented in PyTorch [151], simulating a central parameter server that orchestrates a whole FL procedure and operates each method ( SuPerFed , AAggFF , and FedEvg ). It is further simulated that K participating clients have their own local samples, computation power. The communication structure is a star topology between a single central server and multiple clients. All experiments are conducted on a single computing server with two Intel ® Xeon ® Gold 6226R CPUs (@ 2.90GHz) and one NVIDIA ® Tesla ® V100-PCIE-32GB GPU.

## Chapter II

## Perspective on Parameter, θ

## Connecting Low-Loss Subspace for Personalized Federated Learning

In this section, we examine potential improvements in the perspective of the parameter , denoted as θ in eq. (1.1). One intuitive modification is to learn multiple parameters in each client rather than a single one. It can be advantageous to learn multiple parameters simultaneously, particularly when one parameter acquires a global knowledge while the other becomes an expert in local knowledge. By simultaneously learning multiple parameters, the federated system can possibly mitigate statistical heterogeneity across disparate clients.

This is precisely aligned with the model-based personalized federated learning (PFL) approaches. However, existing methodologies either exchange a partial parameter or necessitate additional local updates for personalization, which places a burden on computational resources and overlooks novel clients. Furthermore, the mixture between a parameter of a personalized model and a parameter of a federated model is not designed to create an explicit synergy between them.

Here comes the main research question:

How can we explicitly induce the synergy between the of parameters the model mixture-based personalization methods to mitigate statistical heterogeneity?

## 1 Introduction

Individuals and institutions are nowadays actively engaged in the production and management of data, as a consequence of the advent of sophisticated communication and computational technologies. Consequently, the training of statistical models in a data-centralized setting is not always a viable option due to a number of practical constraints. These include the existence of massive clients having their own data, and the data privacy concerns that restrict the access and collection of data. FL has been served as a promising solution to this problematic situation, as it enables the parallel training of a machine learning model across clients or silos without the need to share their private data. This is usually proceeded under the orchestration of the central server, which is, for example, a service provider. In the most common FL setting, such as FedAvg [137], when the server prepares and broadcasts a model appropriate for a target task, each participant trains the model with its own data and transmits the resulting model parameters to the server. The server then aggregates (e.g., weighted averaging) the locally updated parameters into a new global model, which is broadcast again to some fraction of participating clients. This collaborative learning process is repeated until convergence of the model is achieved. However, obtaining a single global model through FL is not sufficient to provide satisfactory experiences to all clients, due to the statistical heterogeneity . That is, there exists an inherent difference among local distributions across clients, or the data is not independent and identically distributed (nonIID). Hence, the application of a straightforward FL approach, such as FedAvg , is insufficient to circumvent the inherent limitations of high generalization error or model divergence [106]. In such cases, the performance of the global model may be inferior to that of the locally trained model, prompting clients to question the value of their participation in the FL training.

As a consequence, it is natural to reconsider the fundamental principles of FL. A personalized FL (PFL) has become a promising alternative to single model training scheme, which has led to a plethora of related studies. Many approaches are proposed for PFL, based on multi-task learning [45, 134, 170], regularization technique [44, 75, 117]; meta-learning [54, 102], clustering [64, 133, 165], and a model mixture method [6, 31, 42, 117, 127, 133]. In this chapter, we will focus on the model mixture-based PFL method, which has demonstrated decent performance and allows each client to have their own model. The model mixture-based PFL method assumes that each client has two distinct parameters: a local (sub-)model and a federated (sub-)model 1 (i.e., federated (sub-)model is originally a global model before it is downloaded to a client). In the model mixture-based PFL method, it is expected that the local model will capture the

1 We intentionally coined this term to avoid confusion with the global model at the server.

Figure 2.1: Overview of the model mixture-based personalized federated learning method

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-fc443ec2-e4d9-4fc5-9906-7818a9c753a9.jpg)

information pertaining to the heterogeneous distribution of client data by remaining solely at the client-side. In contrast, the federated model will focus on learning common information across clients by being communicated with the server. Each of the federated model trained at the client is then uploaded to the server, where it is aggregated into a single global model (Figure 2.1). Note that this can be viewed as an implicit collaboration between the personalized model and the federated model. Upon completion of FL training, a participating client is eventually equipped with a personalized parameter (i.e., a local model), which may mitigate the problem associated with non-IID nature. The central server, in turn, obtains a global model that can be exploited for other downstream tasks or for novel clients entering in the system. The model mixture-based PFL method comprises two sub-branches. One involves sharing only a partial set of parameters of a single model as a federated model [6,31,127] (e.g., only exchanging the weights of a penultimate layer). The other involves having two identically structured models as a local and a federated model [42, 44, 75, 117, 133]. However, each of these approaches has certain limitations. In the former case, novel clients entering the federated system cannot immediately exploit the model trained by FL, as the server only has a partial set of model parameters. In the latter case, all of them require separate (or sequential) updates for the local and the federated model, each of which increases the local training time. This is sometimes burdensome to resource-poor clients

and slows down the whole FL procedure. Moreover, both approaches do NOT explicitly seek to achieve mutual benefits between the local and federated models.

Here comes our main motivation: the development of a novel model mixture-based PFL method that jointly trains both federated and local models by inducing explicit synergy between them. We attempted to achieve this goal through the lens of mode connectivity [46,57,58,60,62, 194]. As numerous studies on the loss landscape of the deep network have been conducted, one intriguing phenomenon is being actively discussed: the connected subspace between two or more different deep networks. Despite the well-known fact of the existence of numerous local minima in deep networks, recent findings have demonstrated that the performance of these minima is, in fact, quite similar [29]. Additionally, it has recently been discovered that two different local minima obtained by two independent deep networks can be connected through the linear path [59] or even through the non-linear path [46,62] in the parameter space, where all parameters along the path have a low loss. Note that the two endpoints of such a path are two different local minima reached from the two different deep networks. These findings have been extended more to a multi-dimensional subspace [15,194] with only a few gradient steps on two or more independently initialized deep networks. The resulting subspace, including the linear connected path, contains functionally diverse models having high accuracy. It can also be viewed as an ensemble of deep networks in the parameter space, thereby sharing similar properties such as good calibration performance and robustness to the label noise. By introducing the mode connectivity to a model mixture-based PFL method, such good properties can also be reproduced accordingly.

Contributions We propose SuPerFed , a connected low-loss su bspace construction method for the per sonalized fed erated learning, adapting the concept of connectivity to the model mixturebased PFL method. This method aims to find a low-loss subspace between a single global model and many different local models at clients in a mutually beneficial way. Consequently, our objective is to enhance the personalization performance of model mixture-based PFL methods, while overcoming the aforementioned limitations. Adopting the mode connectivity to FL is nontrivial as it obviously differs from the setting where the mode connectivity is first considered. In FL, the main reason is that each local model observes distinct data distributions. Thus, only the global model (i.e., the federated model when transmitted to the client) should be connected to numerous local models that learn from on disparate data distributions of clients.

The main contributions of this work are listed as follows:

- · We propose SuPerFed , a model mixture-based PFL method that aims to achieve supe-

rior personalization performance by connecting between each distinct local model and the global model in the parameter space. This connection serves to induce an explicit ensemble between the two models.

- · Our proposed method extends the limitations of existing model mixture-based PFL methods by jointly updating both federated and local models in clients and exchanging the entire federated model with the server, allowing novel clients to benefit from it.
- · Personalized models trained by adopting our method are well-calibrated and also robust to potential label noise that is a common problem in the realistic federated system.

## 2 Prior Arts

## 2.1 Federated Learning with Non-IID Data

After FedAvg [137] proposed the basic FL algorithm, handling non-IID data across clients is one of the major points to be resolved in the FL field. While some methods are proposed such as sharing a subset of client's local data at the server [209], accumulating previous model updates at the server [90]. These are either unrealistic assumptions for FL or not enough to handle a realistic level of statistical heterogeneity. Other branches to aid the stable convergence of a single global model include modifying a model aggregation method at the server [124,153,185,202] and adding a regularization to the optimization [2, 106, 119]. However, a single global model may still not be sufficient to provide a satisfactory experience to clients using FL-driven services in practice.

## 2.2 Personalized Federated Learning Methods

As an extension of the above, PFL methods shed light on the new perspective of FL. PFL aims to learn a client-specific personalized model, and many methodologies for PFL have been proposed. Multi-task learning-based PFL [45, 134, 170] treats each client as a different task and learns a personalized model for each client. Local fine-tuning-based PFL methods [54,102] adopt a metalearning approach for a global model to be adapted promptly to a personalized model for each client, and clustering-based PFL methods [64, 133, 165] mainly assume that similar clients may reach a similar optimal global model. Model mixture-based PFL methods [6, 31, 42, 44, 75, 117, 127, 133] divide a model into two parts: one (i.e., a local model) for capturing local knowledge, and the other (i.e., a federated model) for learning common knowledge across clients. In these methods, only the federated model is shared with the server while the local model resides locally on each client. [6] keeps weights of the last layer as a local model (i.e., the personalization layers), and [31] is similar to this except it requires a separate update on a local model before the update of a federated model. In contrast, LG-FedAvg [127] retains lower layer weights in clients and only exchanges higher layer weights with the server. Due to the partial exchange, new clients in some PFL schemes [6, 31, 127] should train own models from scratch or need at least some steps of fine-tuning. In [42, 44, 75, 117, 133], each client holds at least two separate models with the same structure: one for a local model and the other for a federated model. While in [44,117], the federated model affects the update of the local model in the form of proximity regularization.

Close to our proposed method, in [42,75,133], they are explicitly interpolating the two different models in the form of a convex combination after the independent update of two models. However, these methods did not seek into an explicit mutual ensemble of two models, and one should find the specific convex combination for exploiting a model with acceptable performances.

## 2.3 Mode Connectivity of Deep Networks

The existence of either linear path [60] or non-linear path [46,62] between two different minima derived by two different deep networks has been discovered through extensive studies on the loss landscape of deep networks [46,57,58,60,62]. This observation is named as mode connectivity . In detail, there exists a low-loss subspace (e.g., line, simplex) connecting two or more deep networks independently trained on the same data. Though there exist some studies on constructing such a low loss subspace [17,96,98,99,112,132], they require multiple updates of different deep networks. After it is observed that independently trained deep networks have a low cosine similarity with each other in the parameter space, as well as functionally dissimilar to each other [57], a recent study proposes a straightforward and efficient method for explicitly inducing linear connectivity in a single training run [194]. Our method is inspired by this technique and adapts it to construct a low-loss subspace between each different local model and a federated model (which will later be aggregated into a global model at the server) suited for an effective PFL in heterogeneously distributed data across clients.

In detail, our method resorts to the linear mode connectivity between two non-convex deep networks, which does not typically hold for two independently trained deep networks [56, 60]. However, it is observed either i) when the two deep networks shares partial or complete optimization trajectories [56,60], or ii) by permuting neurons of one independently trained networks to be aligned with those of the other [5, 53, 176]. Our method is the former, since both federated and local models share training from start to finish. Intriguingly, the latter approach may have some connections to existing FL methods, e.g., [185,202] in that both of works aim to find suitable matching strategies when aggregating heterogeneous local updates by permuting neurons. Concurrently, FedSAM [18] seeks to find flat minima of a model in heterogeneous federated setting by using sharpness-aware minimization [55] in local update and stochastic weight averaging (SWA) [99] in server aggregation. While the mode connectivity is induced by the server (through SWA) in FedSAM , it is induced by each client through random linear interpolation and orthogonality regularization in SuPerFed . Though FedSAM is not devised for the personalization, it shares the same philosophy with ours - flatness is favorable for the better generalization.

Here, we provide the informal definition of the mode connectivity as follows.

Definition 1. (Linear Mode Connectivity [56,59,60,194]). The mode connectivity (i.e., flat minima) is defined when there exists a connected path (i.e., a subspace of the parameter space) between two distinct optima in the parameter space of different deep networks, θ 1 and θ 2 , such that Acc( λ θ 1 +(1 -λ ) θ 2 ) ≥ Acc( θ 1 ) , Acc( θ 2 ), where Acc( ) is the accuracy and · λ ∈ [0 1]. ,

## 3 Proposed Method: SuPerFed

## 3.1 Outline

In the standard FL scheme, the server orchestrates the entire learning process across participating clients through iterative communication of model (or parameters). 2 Since our method is essentially a model mixture-based PFL method, we require two models with the same structure per client (one for a federated model, the other for a local model). We provide notation table in Table 2.1. We introduce two hyperparameters for the optimization of SuPerFed : a constant µ

Table 2.1: Notations in Chapter II

| Notation   | Description                                                                                       |
|------------|---------------------------------------------------------------------------------------------------|
| T          | Total number of communication rounds                                                              |
| L          | Start round of a local model training for personalization                                         |
| B          | Local batch size                                                                                  |
| E          | Number of local epochs                                                                            |
| K          | Total number of participating clients, indexed by i ∈ [ K ]                                       |
| C          | Fraction of clients selected at each round                                                        |
| η          | Local learning rate                                                                               |
| θ g        | Parameter/Model of a global model in the central server                                           |
| θ f i      | Parameter/Model of a federated model (i.e., a global model downloaded and updated in each client) |
| θ l i      | Parameter/Model of a local model in each client                                                   |
| λ          | Mixing variable sampled from the uniform distribution, U(0 , 1)                                   |
| µ          | Proximity regularization constant                                                                 |
| ν          | Orthogonality regularization constant                                                             |

for proximity regularization on the federated model so that it is not too distant from the global model, and a constant ν for inducing mode connectivity along parameter space between local and federated models. See Figure 2.2 for the overview of SuPerFed .

2 Note that the terms " model " and " parameter " is used interchangeably throughout this chapter.

1

1

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-911f4354-24da-4d7b-b877-0dfd9553f609.jpg)

:

SuPerFed

(A) Local update of

.

SuPerFed

An illustration of the proposed method

Figure 2.2:

,

(0 1), two models are jointly

U

λ

After combining the federated model with a local model using a randomly sampled server and sets it as a federated model.

updated with regularization terms. (B) Communication with the server: only the updated federated model is uploaded to the server (dotted arrow in crimson color) to be aggregated (e.g., weighted averaging) as a new global model, and it is broadcast again to other pool of sampled clients in the next round (arrow in

) Clients already in the federated system can sample and exploit any parameter from the connected

Case 1

(

gray color).

subspace (e.g., θ (0 2) and . θ (0 8)) because the subspace only contains low-loss solutions. . ( Case 2 ) Novel clients can download and use the trained global model

θ g in the central server.

## 3.2 Problem Statement

Consider that each client i ∈ [ K ] has its own local dataset { ξ k } n i k =1 ∼D i , as well as parameters θ l i , θ g ⊆ Θ. A model mixture-based PFL assumes each client has a set of paired parameters θ l i (a local model) and θ g (a global model, which becomes a federated model θ f i when it is transmitted to each client). In previous works, the two parameters may be considered either as a unified model or as distinct parameters. To clarify this, we informally define a grouping function, G( · , · ), to summarize existing model mixture-based PFL methods as follows.

- · Concatenation. It refers to stacking semantically separated layers (e.g., feature extractor and classifier) [6, 31, 127]) into a single model: G( θ g , θ l i ) = concat( θ g , θ l i ),
- · Simple enumeration. It refers to using two models (having the same architecture) at once [44,117]: G( θ g , θ l i ) = ( θ g , θ l i ),
- · Convex combination. It refers to adding parameters given a constant λ ∈ [0 1] [42,75,133]: , G( θ g , θ l i ) = (1 -λ ) θ g + λ θ l i .

Next, the local loss function (e.g., cross-entropy loss, mean-squared loss) w.r.t. the parameters is defined similarly as in eq. (1.1), L : D× Θ → R ≥ 0 . Denote further that each client aims to minimize the empirical loss defined as: F i ( θ g , θ l i ) ≜ 1 n i ∑ n i k =1 L ( ξ k ; θ g , θ l i ). While minimizing the empirical loss, one can additionally consider a regularization term w.r.t. the parameter, Ω( θ g , θ l i ). To sum up, the local objective is defines as follows.

$$\min _ { ( \theta ^ { g }, \theta ^ { l } _ { i } ) \in \Theta \subseteq \mathbb { R } ^ { d } } F _ { i } ( \theta ^ { g }, \theta ^ { l } _ { i } ) \overset { \triangle } { = } \frac { 1 } { n _ { i } } \sum _ { k = 1 } ^ { n _ { i } } \mathcal { L } ( \xi _ { k } ; \theta ^ { g }, \theta ^ { l } _ { i } ) + \Omega ( \theta ^ { g }, \theta ^ { l } _ { i } ).$$

Note that this is also a typical formulation of the structural risk minimization (SRM) principle [183]. As there exist K clients in total, the global objective is reduced to minimize:

$$\min _ { \theta ^ { g } ; \theta ^ { l } _ { i }, i \in [ K ] } \frac { 1 } { \sum _ { j = 1 } ^ { K } n _ { j } } \sum _ { i = 1 } ^ { K } n _ { i } F _ { i } ( \theta ^ { g }, \theta ^ { l } _ { i } ).$$

Note again that the federated model θ f i will be presented when it comes to explaining a clientside optimization procedure in order for preventing potential confusion in notations. (See Algorithm 2.3 and 2.4)

Now, we have a problem at hand: how can we induce explicit synergies between θ g and { θ l i } K i =1 ?

## 3.3 SuPerFed : Subspace Learning for the Personalized Federated System

## Algorithm 2.3 SuPerFed

Inputs : number of clients ( K ), client sampling ratio ( C ∈ (0 1)), , total rounds ( T ), start round of local model training ( L ), local batch size ( B ), number of local epochs ( E ), local learning rate ( η ), regularization constants ( µ and ν )

## Procedure :

Server initializes a global model θ g .

$$\text{for } t = 0,.., T - 1 \text{ do }$$

Server randomly selects max( C K, · 1) clients as S ( ) t .

Server broadcasts the current global model θ g to selected clients in S ( ) t .

$$\theta _ { i } ^ { f, ( t ) } \leftarrow \text{SuperFedClientUpdate} ( t \geq L, \theta ^ { g, ( t ) } )$$

$$& \text{for each client } i \in S ^ { ( t ) } \text{ in parallel do} \\ & \theta _ { i } ^ { f, ( t ) } \leftarrow \text{SuperFedClientUpdate} ( t \geq L, \iota$$

## end for

$$\text{Update a global model} \colon \theta ^ { g, ( t + 1 ) } \leftarrow \theta ^ { g, ( t ) } - \frac { 1 } { \sum _ { j \in S ^ { ( t ) } } n _ { j } } \sum _ { i \in S ^ { ( t ) } } \left ( \theta ^ { g, ( t ) } - \theta ^ { f, ( t ) } _ { i } \right ).$$

end for

Return: θ g, T ( ) (in the server) and { θ l 1 , ..., θ l K } (in each client)

In SuPerFed , we suppose both of a global model and a local model shares the same structure, thus G is a function for constructing the random linear interpolation with the constant λ ∈ [0 1]. , With a slight abuse of notation, we explicitly combine λ in notation as: θ i ( λ ) ≜ (1 -λ ) θ g + λ θ l i (or equivalently, θ i ( λ ) ≜ (1 -λ ) θ f i + λ θ l i ).

The main goal of the local update in SuPerFed is to find a flat minima between the local model and the federated model in the parameter space, as well as faithfully devoting to the training of a single global model as same in the single model-based FL scheme. This is naturally proceeded in the client side, since the local data can only be accessed by each client. In the initial round, each client receives a global model transmitted from the server, sets it as a federated model, θ f i . Simultaneously, the local model should also be initialized differently from each other, while the architecture should be equivalent to the federated model. It is noteworthy that the disparate initialization scheme is not a common occurrence in FL [137]. However, this is an intended behavior in our scheme, which aims to facilitate the construction of a connected low-loss subspace between a federated model and a local model, following the scheme of [194].

In each step of update using random batch of samples, a client should at first mix parameters of the two models into a single mixed model, θ i ( λ ), using λ sampled from U (0 1). , From this ad-hoc mixing scheme, the client optimizes E λ ∼U (0 1) , [ θ i ( λ )] in effective per each update. Since

the local model and the federated model are dynamically interpolated during training, we can expect that both models should be synergistic. In addition, because two models act as a single model, the client does not have to update each model separately, reducing the training time for local updates. In detail, two endpoints of the mixed model (i.e., θ i (0) = θ f i ; federated model and θ i (1) = θ l i ; local model) can be jointly updated at the same time using a sample as follows.

$$\int \max \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \pi \max \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \max \pi \max \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \min \max \pi \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \min \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \sum \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \max \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \se \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \Sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \ sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \cept \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \sec \ } \end{.}$$

After the local update is finished, the server and clients only communicates federated models, thus the communication cost remains the same as the single model-based FL methods, e.g., [119,137]. See Algorithm 2.4 for the overall procedure of a local update.

Note that the instant ensemble of both models, θ i ( λ ), should be optimized with two regularization terms hidden in the term of Ω( · , · ), which will be introduced in the subsequent section.

## 3.4 Regularization

## Algorithm 2.4 SuPerFedClientUpdate

Inputs : local batch size ( B ), number of local epochs ( E ), local learning rate ( η ), regularization constants ( µ and ν ), a local model ( θ l )

## Procedure:

Receive a global model θ g from the server and set it as the federated model: θ f ← θ g .

Receive a personalization flag, t ≥ L .

for each local epoch e =0 , ..., E -1 do

B ← split local dataset into batches of size B .

for mini-batch ξ ∈ B do

$$\text{if not } t \geq L \text{ then }$$

Set λ =0

else

Set λ ∼U (0 1). , end if

Generate a mixed model: θ ( λ ) = (1 -λ ) θ f + λ θ l .

f l

Update θ and θ by optimizing eq. (2.1) using the estimate in eq. (2.3) with learning rate η .

end for end for

Return: θ f

In SuPerFed , two regularization terms are required for i) stable training of a global model from locally updated federated models, as well as ii) inducing the functional diversities between a global model and multiple local models. For i), the proximity regularization term is introduced, which is applied between the federated model and the previous round's global model as follows.

$$\mathcal { R } _ { \text{prox} } \left ( \theta _ { i } ^ { f }, \theta ^ { g } \right ) & \stackrel { \vartriangle } { = } \frac { \mu } { 2 } \left \| \theta _ { i } ^ { f } - \theta ^ { g } \right \| _ { 2 } ^ { 2 },$$

where ‖·‖ 2 is L 2 -norm. This is a simple and classic L 2 -regularization term adjusted by a constant µ ∈ R ≥ 0 , which has also been used in previous works [44,119] The proximity regularization term constrains the update of the federated model to not deviate far from the current optimization trajectory of a global model, θ g . By doing so, we expect to prevent possible divergence of a new global model when it is aggregated from federated models. Note that a large degree of proximity regularization can rather hinder the local model's update, thus µ should be carefully tuned. For ii), the orthogonality regularization term is additionally introduced, which is applied between the federated model and the local model as follows.

$$\mathcal { R } _ { \text{ortho} } \left ( \theta _ { i } ^ { f }, \theta _ { i } ^ { l } \right ) & \stackrel { \triangle } { = } \nu \cos ^ { 2 } \left ( \theta _ { i } ^ { f }, \theta _ { i } ^ { l } \right ),$$

where cos( θ 1 , θ 2 ) = 〈 θ 1 , θ 2 〉 / ( ‖ θ 1 ‖ ‖ 2 θ 1 ‖ 2 ) is a cosine similarity between two vectors (note that 〈· , ·〉 is an inner product). This aims to let each network learn functionally diverse information from the data, thereby helping to induce the mode connectivity between the local model and the federated model in the parameter space. Together with on-the-fly mixing of two models using randomly sampled λ ∼U (0 1), this regularization allows the connected subspace between , optima of the two deep networks, where all parameters in the subspace are low-loss solutions. The magnitude of this regularization term is controlled by the constant ν ∈ R ≥ 0 . Since simply applying the mixing strategy between the local and the federated models has little benefit [194], and the mixing should be manually tuned [42], it is required to set ν &gt; 0. The rationale behind the orthogonality regularization is based on the observation that functionally similar deep networks show a non-zero cosine similarity [57]. As a contrapostivie statement, one can induce functionally dissimilar (i.e., diverse) deep networks when if zero cosine similarity (i.e., orthogonality) is forced between the weights of two deep networks [194]. Moreover, inducing orthogonality (i.e., forcing cosine similarity to zero) between different parameters can prevent deep networks from learning redundant features given their learning capacity [10, 135]. In this context, we expect that the local model of each client θ l i and the federated model θ f i will learn mutually beneficial knowledge in a complementary manner and to be harmoniously combined to improve the personalization performance. Taken together, the regularization term is summarized as follows.

$$\Omega ( \theta ^ { g }, \theta ^ { l } _ { i } ) \stackrel { \triangle } { = } \mathcal { R } _ { \text{prox} } \left ( \theta ^ { f } _ { i }, \theta ^ { g } \right ) + \mathcal { R } _ { \text{ortho} } \left ( \theta ^ { f } _ { i }, \theta ^ { l } _ { i } \right ).$$

Interestingly, SuPerFed can reduced to the existing FL methods by adjusting aforementioned hyperparameters. In detail, when fixing λ =0 , ν =0 , µ =0, the objective of SuPerFed is reduced to FedAvg [137], when λ =0 , ν =0 , µ &gt; 0, it is equivalent to FedProx [119]. See Algorithm 2.3 for finding a complete procedure of SuPerFed .

Note on the Orthogonality Regularization The hypothesis supporting the effectiveness of the orthogonality regularization is based on the seminal work of [57]. This paper presents empirical evidence that can be translated into the following proposition: ' functionally similar deep networks share similar optimization trajectories, represented by a non-zero cosine similarity between their weights '. For an effective esnemble learning, however, functionally diverse networks are required to leverage the power of cooperation between different models. Thus, a contrapositive statement can be used as a mechanism to boost an ensemble perspective: ' deep networks having a zero cosine similarity in their weight space are functionally dissimilar with each other '. This has been proved to work empirically well in a data-centralized setting [194].

## 4 Experiments

## 4.1 Experimental Setup

To verify the superiority of SuPerFed , we focus on two points in our experiments: (i) personalization performance in various statistical heterogeneity scenarios, and (ii) merits of explicit introduction of the mode connectivity , e.g., improved calibration and robustness to possible label noise. Until now, we only considered the setting of applying λ identically to the whole parameters of θ f and θ l . We name this mixing scheme as model-mixing , in short, SuPerFed-MM . On the one hand, it is also possible to sample different λ for each parameter of different layers, i.e., mixing two models in a layer-wise manner. We also adopt this setting and name it layer-mixing , in short, SuPerFed-LM . Accordingly, we compare these subdivided methods with other baselines in all experiments. For baseline methods, we select model mixture-based PFL methods: FedPer [6], LG-FedAvg [127], APFL [42], pFedMe [44], Ditto [117], FedRep [31], along with basic single-model based FL methods, FedAvg [137] FedProx [119] and SCAFFOLD [106].

Throughout all experiments, if not specified, we set 5 clients to be sampled at every round and used stochastic gradient descent (SGD) optimizer with a momentum of 0.9 and a weight decay factor of 0.0001. We also let the client randomly split their data into a training set and a test set with a fraction of 0.2 to estimate the performance of each FL algorithm on each client's test set with task-specific metrics: (i) Top-1 &amp; Top-5 accuracy for measuring PFL performances and (ii) expected calibration error (ECE [72]) and maximum calibration error (MCE [110]) for measuring calibration of a model. For a stable convergence of a global model, we applied applied learning rate decay by 1% per each round, which is necessary in theory as well for the convergence of a

Table 2.2: Detailed experimental configurations of main experiments of Chapter II

| Setting   | Pathological Non-IID   | Pathological Non-IID   | Dirichlet distribution-based Non-IID   | Dirichlet distribution-based Non-IID   | Realistic Non-IID   | Realistic Non-IID   | Label Noise (Pair/Symmetric)   | Label Noise (Pair/Symmetric)   |
|-----------|------------------------|------------------------|----------------------------------------|----------------------------------------|---------------------|---------------------|--------------------------------|--------------------------------|
| Dataset   | MNIST                  | CIFAR-10               | CIFAR-100                              | TinyImageNet                           | FEMNIST             | Shakespeare         | MNIST                          | CIFAR-10                       |
| T         | 500                    | 500                    | 500                                    | 500                                    | 500                 | 500                 | 500                            | 500                            |
| E         | 10                     | 10                     | 5                                      | 5                                      | 10                  | 5                   | 10                             | 10                             |
| B         | 10                     | 10                     | 20                                     | 20                                     | 10                  | 50                  | 10                             | 10                             |
| K         | 50,100,500             | 50,100,500             | 100                                    | 200                                    | 730                 | 660                 | 100                            | 100                            |
| η         | 0.01                   | 0.01                   | 0.01                                   | 0.02                                   | 0.01                | 0.8                 | 0.01                           | 0.01                           |
| Model     | TwoNN                  | TwoCNN                 | ResNet                                 | MobileNet                              | VGG                 | StackedLSTM         | TwoNN                          | TwoCNN                         |

FL algorithm [122]. Each model architecture is borrowed from the original paper that proposed it: TwoNN, TwoCNN, StackedLSTM [137], ResNet [81], MobileNet [89], and VGG [169]. For more details, we summarized all information in Table 2.2, including the number of clients K , total rounds T , local batch size B , number of local epochs E , learning rate η , and the model architecture.

## 4.2 Personalization Performance

For the estimation of the performance of SuPerFed as PFL methods, we simulate three different non-IID scenarios. i) a pathological non-IID setting proposed by [137], which assumes most clients have samples from two classes for a multi-class classification task. i) Dirichlet distributionbased non-IID setting proposed by [91], in which the Dirichlet distribution with its concentration parameter α determines the skewness of local class distribution of each client. All clients have samples from only one class when using α → 0, whereas α →∞ divides samples into an identical distribution. iii) Realistic non-IID setting proposed in [19], which provides several benchmark datasets tailored to PFL.

Pathological Non-IID Setting In this setting, we used two multi-class classification datasets, MNIST [41] and CIFAR-10 [109] and both have 10 classes. We used the two-layered fullyconnected network for the MNIST dataset and the two-layered convolutional neural network (CNN) for the CIFAR-10 dataset as proposed in [137]. For each dataset, we set the number of total clients ( K =50, 100, 500) to check the scalability of the PFL methods. The results of the pathological non-IID setting are shown in Table 2.3. It is notable that our proposed method beats most of the existing model mixture-based PFL methods with a small standard deviation.

Dirichlet Distribution-based Non-IID Setting In this setting, we used other multi-class classification datasets to simulate a more challenging setting than the pathological non-IID setting. We use CIFAR-100 [109] and TinyImageNet [113] datasets, having 100 classes and 200 classes each. We also selected deeper architectures, ResNet [81] for CIFAR-100 and MobileNet [89] for TinyImageNet. For each dataset, we adjust the concentration parameter α =1 10 100 to control the degree , , of statistical heterogeneity across clients. Note that the smaller the α , the more heterogeneous each client's data distribution is. Table 2.4 presents the results of the Dirichlet distribution-based non-IID setting. Both of our methods are less affected by the degree of statistical heterogeneity (i.e., non-IIDness) determined by α .

Realistic Non-IID Setting We used FEMNIST and Shakespeare datasets in the LEAF benchmark [19]. As the purpose of these datasets is to simulate a realistic FL scenario, each dataset is naturally split for a image recognition task sequence modeling task, each. The selected two datasets are for multi-class classification (62 classes) and next character prediction (80 characters) given a sentence, respectively. We used VGG [169] for the FEMNIST dataset and networks

with two stacked LSTM layers were used in [137] for the Shakespeare dataset. The results of the realistic non-IID setting are shown in Table 2.5. In this massively distributed setting, our methods showed a consistent gain in terms of personalization performance.

Table 2.3: Experimental results on the pathological non-IID setting (MNIST and CIFAR-10 datasets) compared with other FL and PFL methods. The Top-1 accuracy is reported with a standard deviation.

| Dataset         | MNIST (Acc. 1)   | MNIST (Acc. 1)   | MNIST (Acc. 1)   | CIFAR-10   | CIFAR-10   | CIFAR-10   |
|-----------------|------------------|------------------|------------------|------------|------------|------------|
| Method          |                  |                  |                  | (Acc. 1)   | (Acc. 1)   | (Acc. 1)   |
| # clients       | 50               | 100              | 500              | 50         | 100        | 500        |
| # samples       | 960              | 480              | 96               | 800        | 400        | 80         |
| FedAvg [137]    | 95.69            | 89.78            | 96.04            | 43.09      | 36.19      | 47.90      |
|                 | (2.39)           | (11.30)          | (4.74)           | (24.56)    | (29.54)    | (25.05)    |
| FedProx [119]   | 95.13            | 93.25            | 96.50            | 49.01      | 38.56      | 48.60      |
|                 | (2.67)           | (6.12)           | (4.52)           | (19.87)    | (28.11)    | (25.71)    |
| SCAFFOLD [106]  | 95.50            | 90.58            | 96.60            | 43.81      | 36.31      | 40.27      |
| SCAFFOLD [106]  | (2.71)           | (10.13)          | (4.26)           | (24.30)    | (29.42)    | (26.90)    |
| LG-FedAvg [127] | 98.21            | 97.52            | 96.05            | 89.03      | 70.25      | 78.52      |
| LG-FedAvg [127] | (1.28)           | (2.11)           | (5.02)           | (4.53)     | (35.66)    | (11.22)    |
| FedPer [6]      | 99.23            | 99.14            | 98.67            | 89.10      | 87.99      | 82.35      |
| FedPer [6]      | (0.66)           | (0.93)           | (2.61)           | (5.41)     | (5.70)     | (9.85)     |
| APFL [42]       | 99.40            | 99.19            | 98.98            | 92.83      | 91.73      | 87.38      |
|                 | (0.58)           | (0.92)           | (2.22)           | (3.47)     | (4.61)     | (9.39)     |
| pFedMe [44]     | 81.10            | 82.48            | 81.96            | 92.97      | 92.07      | 88.30      |
| pFedMe [44]     | (8.52)           | (7.62)           | (12.28)          | (3.07)     | (5.05)     | (8.53)     |
| Ditto [117]     | 97.07            | 97.13            | 97.20            | 85.53      | 83.01      | 84.45      |
|                 | (1.38)           | (2.06)           | (3.72)           | (6.22)     | (5.62)     | (10.67)    |
| FedRep [31]     | 99.11            | 99.04            | 97.94            | 82.00      | 81.27      | 80.66      |
| FedRep [31]     | (0.63)           | (1.02)           | (3.37)           | (5.41)     | (7.90)     | (11.00)    |
| SuPerFed-MM     | 99.45            | 99.38            | 99.24            | 94.05      | 93.25      | 90.81      |
| SuPerFed-MM     | (0.46)           | (0.93)           | (2.12)           | (3.18)     | (3.80)     | (9.35)     |
| SuPerFed-LM     | 99.48            | 99.31            | 98.83            | 93.88      | 93.20      | 89.63      |
| SuPerFed-LM     | (0.54)           | (1.09)           | (3.02)           | (3.55)     | (4.19)     | (11.11)    |

Table 2.4: Experimental results on the Dirichlet distribution-based non-IID setting (CIFAR-100 and TinyImageNet datasets) compared with other FL and PFL methods. The Top-5 accuracy is reported with a standard deviation.

| Dataset             | CIFAR-100   | CIFAR-100   | CIFAR-100   | TinyImageNet   | TinyImageNet   | TinyImageNet   |
|---------------------|-------------|-------------|-------------|----------------|----------------|----------------|
| Method              | (Acc. 5)    | (Acc. 5)    | (Acc. 5)    | (Acc. 5)       | (Acc. 5)       | (Acc. 5)       |
| # clients           | 100         | 100         | 100         | 200            | 200            | 200            |
| concentration ( α ) | 1           | 10          | 100         | 1              | 10             | 100            |
| FedAvg [137]        | 58.12       | 59.04       | 58.49       | 46.61          | 48.90          | 48.90          |
|                     | (7.06)      | (7.19)      | (5.27)      | (5.64)         | (5.50)         | (5.40)         |
| FedProx [119]       | 57.71       | 58.24       | 58.75       | 47.37          | 47.73          | 48.97          |
|                     | (6.79)      | (5.94)      | (5.56)      | (5.94)         | (5.94)         | (5.02)         |
| SCAFFOLD [106]      | 51.16       | 51.40       | 52.90       | 46.54          | 48.77          | 48.27          |
|                     | (6.79)      | (5.22)      | (4.89)      | (5.49)         | (5.49)         | (5.32)         |
| LG-FedAvg [127]     | 28.88       | 21.25       | 20.05       | 14.70          | 9.86           | 9.25           |
|                     | (5.64)      | (4.64)      | (4.61)      | (3.84)         | (3.13)         | (2.89)         |
| FedPer [6]          | 46.78       | 35.73       | 35.52       | 21.90          | 11.10          | 9.63           |
|                     | (7.63)      | (6.80)      | (6.58)      | (4.71)         | (3.19)         | (3.12)         |
| APFL [42]           | 61.13       | 56.90       | 55.43       | 41.98          | 34.74          | 34.23          |
|                     | (6.86)      | (7.05)      | (5.45)      | (5.94)         | (5.14)         | (5.07)         |
| pFedMe [44]         | 19.00       | 17.94       | 18.28       | 6.05           | 8.01           | 7.69           |
|                     | (5.37)      | (4.72)      | (3.41)      | (2.84)         | (2.92)         | (2.41)         |
| Ditto [117]         | 60.04       | 58.55       | 58.73       | 46.36          | 43.84          | 43.11          |
|                     | (6.82)      | (7.12)      | (5.39)      | (5.44)         | (5.44)         | (5.35)         |
| FedRep [31]         | 38.49       | 26.61       | 24.50       | 18.67          | 9.23           | 8.09           |
| FedRep [31]         | (6.65)      | (5.20)      | (4.21)      | (4.66)         | (2.84)         | (2.83)         |
| SuPerFed-MM         | 60.14       | 58.32       | 59.08       | 50.07          | 49.86          | 49.73          |
| SuPerFed-MM         | (6.24)      | (6.25)      | (5.12)      | (5.73)         | (5.03)         | (4.84)         |
| SuPerFed-LM         | 62.50       | 61.64       | 59.05       | 47.28          | 48.98          | 49.29          |
| SuPerFed-LM         | (6.34)      | (6.23)      | (5.59)      | (5.19)         | (4.79)         | (4.82)         |

Table 2.5: Experimental results on the realistic non-IID setting (FEMNIST and Shakespeare datasets) compared with other FL and PFL methods. The Top-1 and Top-5 accuracy is reported with a standard deviation.

| Dataset         | FEMNIST   | FEMNIST   | Shakespeare (Acc.)   | Shakespeare (Acc.)   |
|-----------------|-----------|-----------|----------------------|----------------------|
| Method          | (Acc.)    | (Acc.)    |                      |                      |
| # clients       | 730       | 730       | 660                  | 660                  |
| Metric          | Top-1     | Top-5     | Top-1                | Top-5                |
| FedAvg [137]    | 80.12     | 98.74     | 50.90                | 80.15                |
| FedAvg [137]    | (12.01)   | (2.97)    | (7.85)               | (7.87)               |
| FedProx [119]   | 80.23     | 98.73     | 51.33                | 80.31                |
| FedProx [119]   | (11.88)   | (2.94)    | (7.54)               | (6.95)               |
| SCAFFOLD [106]  | 80.03     | 98.85     | 50.76                | 80.43                |
| SCAFFOLD [106]  | (11.78)   | (2.77)    | (8.01)               | (7.09)               |
| LG-FedAvg [127] | 50.84     | 75.11     | 33.88                | 62.84                |
| LG-FedAvg [127] | (20.97)   | (21.49)   | (10.28)              | (13.16)              |
| FedPer [6]      | 73.79     | 86.39     | 45.82                | 75.68                |
| FedPer [6]      | (14.10)   | (14.70)   | (8.10)               | (9.25)               |
| APFL [42]       | 84.85     | 98.83     | 54.08                | 83.32                |
| APFL [42]       | (8.83)    | (2.73)    | (8.31)               | (6.22)               |
| pFedMe [44]     | 5.98      | 24.64     | 32.29                | 63.12                |
| pFedMe [44]     | (4.55)    | (9.43)    | (6.64)               | (8.00)               |
| Ditto [117]     | 64.61     | 81.14     | 49.04                | 78.14                |
| Ditto [117]     | (31.49)   | (28.56)   | (10.22)              | (12.61)              |
| FedRep [31]     | 59.27     | 70.42     | 38.15                | 68.65                |
| FedRep [31]     | (15.72)   | (15.82)   | (9.54)               | (12.50)              |
| SuPerFed-MM     | 85.20     | 99.16     | 54.52                | 84.27                |
| SuPerFed-MM     | (8.40)    | (2.13)    | (7.54)               | (6.00)               |
| SuPerFed-LM     | 83.36     | 98.81     | 54.52                | 83.97                |
| SuPerFed-LM     | (9.61)    | (2.58)    | (7.54)               | (5.72)               |

## 4.3 Benefits from Mode Connectivity

Robustness and Calibration In the practical federated system, it is possible that each client suffers from noisy labels. We anticipate that SuPerFed will benefit from the strength of ensemble models from induced mode connectivity since our method can be viewed as an explicit ensemble of two models, θ f and θ l . One of the strengths is robustness to the label noise, as each of the model components of the ensemble method can view diverse data distributions [111,145]. In SuPerFed , a federated model and a local model are induced to be orthogonal to each other in the parameter space (i.e., having low cosine similarity between parameters). Thus, we assume each of them should inevitably learn from a different view of data distribution, and naturally

Simulation of Label Noise Since we only have clean-labeled datasets (MNIST and CIFAR-10), we manually obfuscate the labels of training samples following two widely-used schemes: i) pairwise flipping [74] and i) symmetric flipping [181]. Both are based on the defining label transition matrix T , where each element of T ij indicates the probability of transitioning from an original label y = i to an obfuscated label ˜ = y j , i.e., T ij = (˜= p y j y | = ). i

Simulation i): pairwise flipping The pairwise flipping emulates a situation when labelers make mistakes only within similar classes. In this case, the transition matrix T for a pairwise flip given the noise ratio /epsilon1 is defined as follows [74].

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-76a73c0a-edc5-455b-8495-86216a674e94.jpg)

We select the noise ratio from 0.1, 0.4 for the pair flipping label noise.

Simulation i): symmetric flipping The symmetric flipping assumes a probability of mislabeling of a clean label as other labels are uniformly distributed. For N classes, the transition matrix for

symmetric flipping is defined as follows [181].

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-07aac04b-8b99-40b9-8d7f-8474d036a962.jpg)

We select the noise ratio from 0.2, 0.6 for the symmetric flipping label noise.

Using these noise schemes, we obfuscate each client's labels of the training set while keeping the labels of the test set in the same. We used MNIST and CIFAR-10 datasets with Dirichlet distribution-based non-IID setting in which the concentration parameter α = 10 0. . Since the robustness of the label noise can be quantified through evaluating ECE [72] and MCE [110], we introduced these two metrics additionally. Both ECE and MCE measure the consistency between the prediction accuracy and the prediction confidence (i.e., calibration), thus lower values are preferred. From all the extensive experiments, our method shows stable performance in terms of calibration (i.e., low ECE and MCE), and therefore overall performance is not degraded much. The results are presented in Table 2.6.

Table 2.6: Experimental results on the label noise simulation with Dirichlet distirubiotn-based non-IID setting with α = 10 on MNIST and CIFAR-10 compared with other FL and PFL methods. Per each cell, expected calibration error (ECE), maximum calibration error (MCE), and the best averaged Top-1 accuracy (in parentheses) are enumerated from top to bottom. Note that the lower ECE and MCE, the better the model calibration is.

| Dataset                            | MNIST                                                              | MNIST                                                | MNIST                                                              | MNIST                                                | CIFAR-10                                                              | CIFAR-10                                           | CIFAR-10                                           | CIFAR-10                                             |
|------------------------------------|--------------------------------------------------------------------|------------------------------------------------------|--------------------------------------------------------------------|------------------------------------------------------|-----------------------------------------------------------------------|----------------------------------------------------|----------------------------------------------------|------------------------------------------------------|
| Noise type                         | pair                                                               | pair                                                 | symmetric                                                          | symmetric                                            | pair                                                                  | pair                                               | symmetric                                          | symmetric                                            |
| Noise ratio                        | 0.1                                                                | 0.4                                                  | 0.2                                                                | 0.6                                                  | 0.1                                                                   | 0.4                                                | 0.2                                                | 0.6                                                  |
| FedAvg [137] (82 . 40 ± 3 . 31)    | 0 . 17 ± 0 . 03 0 . 58 ± 0 . 08                                    | 0 . 38 ± 0 . 03 0 . 67 ± 0 . 04 (41 . 01 ± 4 . 64)   | 0 . 29 ± 0 . 04 0 . 66 ± 0 . 07 (66 . 94 ± 4 . 27)                 | 0 . 42 ± 0 . 04 0 . 75 ± 0 . 05 (49 . 52 ± 5 . 42)   | 0 . 46 ± 0 . 04 0 . 80 ± 0 . 06 (45 . 08 ± 5 . 61)                    | 0 . 57 ± 0 . 04 0 . 87 ± 0 . 04 (20 . 90 ± 4 . 66) | 0 . 52 ± 0 . 05 0 . 81 ± 0 . 04 (38 . 62 ± 5 . 28) | 0 . 59 ± 0 . 05 0 . 84 ± 0 . 04 (30 . 18 ± 5 . 53)   |
| FedProx [119]                      | 0 . 17 ± 0 . 03 0 . 58 ± 0 . 07 (82 . 05 ± 3 . 98)                 | 0 . 38 ± 0 . 03 0 . 78 ± 0 . 05 (41 . 39 ± 4 . 61)   | 0 . 29 ± 0 . 03 0 . 66 ± 0 . 07 (67 . 15 ± 4 . 60)                 | 0 . 42 ± 0 . 05 0 . 74 ± 0 . 05 (49 . 98 ± 5 . 57)   | 0 . 47 ± 0 . 05 0 . 80 ± 0 . 05 (44 . 31 ± 6 . 20)                    | 0 . 70 ± 0 . 05 0 . 87 ± 0 . 04 (21 . 58 ± 4 . 62) | 0 . 53 ± 0 . 05 0 . 81 ± 0 . 05 (36 . 91 ± 5 . 68) | 0 . 59 ± 0 . 05 0 . 84 ± 0 . 05 (29 . 50 ± 6 . 11)   |
| (60 . 86 ± 4 . 09) LG-FedAvg [127] | 0 . 23 ± 0 . 04 0 . 66 ± 0 . 08                                    | (44 . 92 ± 5 . 07) 0 . 50 ± 0 . 05 0 . 81 ± 0 . 04   | (70 . 51 ± 4 . 25) 0 . 34 ± 0 . 04 0 . 71 ± 0 . 07                 | (51 . 46 ± 5 . 12) 0 . 45 ± 0 . 05 0 . 75 ± 0 . 06   | (47 . 54 ± 5 . 64) 0 . 59 ± 0 . 06 0 . 83 ± 0 . 05                    | (22 . 72 ± 4 . 01) 0 . 69 ± 0 . 05 0 . 89 ± 0 . 03 | (38 . 85 ± 5 . 45) 0 . 63 ± 0 . 05 0 . 85 ± 0 . 04 | (30 . 18 ± 4 . 63) 0 . 66 ± 0 . 05 0 . 87 ± 0 . 03   |
| FedPer [6]                         | (73 . 65 ± 5 . 32) 0 . 17 ± 0 . 03 0 . 57 ± 0 . 08                 | (37 . 69 ± 5 . 41) 0 . 40 ± 0 . 04 0 . 78 ± 0 . 05   | (61 . 54 ± 4 . 96) 0 . 28 ± 0 . 04 0 . 66 ± 0 . 08                 | (47 . 79 ± 5 . 02) 0 . 40 ± 0 . 04 0 . 73 ± 0 . 07   | (30 . 22 ± 6 . 49) 0 . 54 ± 0 . 05 0 . 81 ± 0 . 06                    | (17 . 44 ± 4 . 66) 0 . 70 ± 0 . 05 0 . 87 ± 0 . 04 | (25 . 68 ± 5 . 18) 0 . 60 ± 0 . 06 0 . 82 ± 0 . 05 | (22 . 04 ± 5 . 56) 0 . 65 ± 0 . 05 0 . 85 ± 0 . 04   |
| APFL [42]                          | (82 . 43 ± 4 . 18) 0 . 18 ± 0 . 03                                 | (40 . 75 ± 5 . 49) 0 . 42 ± . 0 . 05 0 . 78 ± 0 . 06 | (68 . 44 ± 5 . 63) 0 . 28 ± 0 . 05                                 | (52 . 41 ± 5 . 56) 0 . 40 ± 0 . 05 0 . 79 ± 0 . 07   | (39 . 81 ± 6 . 02) 0 . 45 ± 0 . 06 0 . 78 ± 0 . 06                    | (20 . 37 ± 5 . 43) 0 . 60 ± 0 . 06 0 . 86 ± 0 . 04 | (32 . 82 ± 5 . 90) 0 . 51 ± 0 . 06                 | (26 . 82 ± 5 . 38) 0 . 56 ± 0 . 06 0 . 83 ± 0 . 05   |
| [44]                               | 0 . 60 ± 0 . 07 (80 . 18 ± 4 . 57) 0 . 23 ± 0 . 04 0 . 66 ± 0 . 07 | (40 . 43 ± 6 . 06) 0 . 46 ± 0 . 04 0 . 80 ± . 0 . 05 | 0 . 67 ± 0 . 06 (67 . 83 ± 5 . 53) 0 . 33 ± 0 . 05 0 . 72 ± 0 . 06 | (52 . 15 ± 5 . 63) 0 . 44 ± 0 . 04 0 . 76 ± 0 . 05   | (45 . 27 ± 6 . 21) 0 . 58 ± 0 . 06 0 . 83 ± 0 . 52 (29 . 62 ± 6 . 37) | (23 . 42 ± 5 . 49) 0 . 66 ± 0 . 04 0 . 88 ± 0 . 03 | 0 . 81 ± 0 . 05 (37 . 85 ± 5 . 84) 0 . 60 ± 0 . 05 | (31 . 46 ± 5 . 73) 0 . 64 ± 0 . 05 0 . 87 ± 0 . 03   |
| pFedMe Ditto [117]                 | (72 . 05 ± 0 . 05)                                                 | (37 . 89 ± 5 . 77) 0 . 42 ± 0 . 05                   | (59 . 80 ± 5 . 94)                                                 | (45 . 79 ± 5 . 26)                                   |                                                                       | (17 . 94 ± 3 . 97)                                 | 0 . 85 ± 0 . 04 (26 . 01 ± 0 . 05)                 | (21 . 36 ± 4 . 42)                                   |
| 0 . 20 ± 0 .                       | 0 . 22 ± 0 . 04 0 . 66 ± 0 . 07 (72 . 39 ± 5 . 25) 04              | 0 . 79 ± 0 . 05 (38 . 20 ± 6 . 13) 0 . 53 ± 0 . 05   | 0 . 31 ± 0 . 04 0 . 69 ± 0 . 07 (60 . 62 ± 5 . 67)                 | 0 . 41 ± 0 . 04 0 . 77 ± 0 . 05 (45 . 11 ± 4 . 95)   | 0 . 54 ± 0 . 05 0 . 84 ± 0 . 05 (29 . 41 ± 5 . 15)                    | 0 . 60 ± 0 . 06 0 . 88 ± 0 . 04 (18 . 17 ± 4 . 43) | 0 . 56 ± 0 . 07 0 . 85 ± 0 . 04 (26 . 39 ± 5 . 83) | 0 . 58 ± 0 . 06 0 . 87 ± 0 . 04 (21 . 72 ± 4 . 90)   |
| FedRep [31] SuPerFed-MM            | 0 . 62 ± 0 . 08 (77 . 95 ± 4 . 65) 0 . 16 ± 0 . 03                 | 0 . 81 ± 0 . 05 (35 . 88 ± 5 . 15) 0 . 28 ± 0 . 04   | 0 . 30 ± 0 . 05 0 . 68 ± 0 . 08 (66 . 58 ± 5 . 60)                 | 0 . 43 ± 0 . 05 0 . 74 ± 0 . 06 (51 . 30 ± 5 . 27)   | 0 . 62 ± 0 . 05 0 . 82 ± 0 . 05 (33 . 10 ± 5 . 23)                    | 0 . 76 ± 0 . 04 0 . 87 ± 0 . 03 (17 . 80 ± 4 . 43) | 0 . 66 ± 0 . 05 0 . 83 ± 0 . 05 (29 . 22 ± 5 . 67) | 0 . 71 ± 0 . 05 0 . 85 ± 0 . 04 (22 . 94 ± 5 . 20)   |
|                                    | 0 . 53 ± 0 . 07 (83 . 67 ± 3 . 51)                                 | 0 . 69 ± 0 . 06 (46 . 41 ± 5 . 14)                   | 0 . 27 ± 0 . 03 0 . 64 ± 0 . 07 ( 71 . 99 ± 5 . 01 )               | 0 . 30 ± 0 . 04 0 . 69 ± 0 . 08 ( 56 . 07 ± 4 . 32 ) | 0 . 28 ± 0 . 06 0 . 69 ± 0 . 07 (48 . 79 ± 5 . 73)                    | 0 . 27 ± 0 . 05 0 . 63 ± 0 . 09 (26 . 64 ± 4 . 34) | 0 . 31 ± 0 . 06 0 . 71 ± 0 . 10 42 . 66 ± 5 . 61   | 0 . 28 ± 0 . 06 0 . 68 ± 0 . 10 ( 35 . 74 ± 5 . 21 ) |
|                                    | 0 . 14 ± 0 . 03 0 . 49 ± 0 . 08                                    | 0 . 35 ± 0 . 04 0 . 77 ± 0 . 04                      | 0 . 27 ± 0 . 04 0 . 66 ± 0 . 07                                    | 0 . 32 ± 0 . 04 0 . 72 ± 0 . 06                      | 0 . 29 ± 0 . 04 0 . 68 ± 0 . 06                                       | 0 . 40 ± 0 . 04 0 . 80 ± 0 . 04                    | 0 . 36 ± 0 . 05 0 . 70 ± 0 . 07                    | 0 . 37 ± 0 . 06 0 . 76 ± 0 . 05                      |
| SuPerFed-LM                        |                                                                    |                                                      |                                                                    |                                                      |                                                                       |                                                    |                                                    |                                                      |
|                                    |                                                                    |                                                      | (69 . 23 ± 5 . 25)                                                 | (54 . 69 ± 4 .                                       |                                                                       |                                                    |                                                    |                                                      |
| ( 84 . 78 ± 3 . 63 ) ( 46 . 82 ±   |                                                                    | 5 . 39 )                                             |                                                                    | 20)                                                  | ( 51 . 44 ± 5 . 67                                                    | ( 28 . 51 ± 4 . 66 )                               | ( 42 . 81 ± 5 . 50 )                               | (34 . 10 ± 5 .                                       |
|                                    |                                                                    |                                                      |                                                                    |                                                      | )                                                                     |                                                    |                                                    | 18)                                                  |

## 4.4 Ablation Studies

Start round of a local model training for personalization We conducted experiments on selecting L , which determines the start of mixing, in other words, sampling λ ∼ U (0 1). , As our proposed method can choose a mixing scheme from either model-mixing or layer-mixing , we conduct separate experiments per scheme. By adjusting L by 0.1 increments from 0 to 0.9 of T , we evaluated the Top-1 accuracy of a mixed model. We used the CIFAR-10 dataset with T =200, ν =2 and , µ =0 01, and corresponding results are summarized in Table 2.7. .

Table 2.7: Grid search results on selecting L , the starting round of training a local model. The best averaged Top-1 accuracy (top) and loss (bottom) among models that can be realized by λ ∈ [0 1] , is reported with a standard deviation.

| L/T         | 0.0              | 0.2              | 0.4              | 0.6              | 0.8              |
|-------------|------------------|------------------|------------------|------------------|------------------|
| SuPerFed-MM | 89 . 87 ± 4 . 73 | 92 . 67 ± 4 . 04 | 92 . 69 ± 3 . 86 | 92 . 50 ± 4 . 14 | 91 . 29 ± 6 . 28 |
| SuPerFed-MM | 1 . 36 ± 0 . 58  | 0 . 72 ± 0 . 40  | 0 . 78 ± 0 . 31  | 0 . 74 ± 0 . 88  | 2 . 53 ± 0 . 72  |
| SuPerFed-LM | 91 . 55 ± 4 . 26 | 92 . 41 ± 3 . 93 | 92 . 69 ± 3 . 66 | 92 . 60 ± 3 . 86 | 90 . 59 ± 9 . 93 |
| SuPerFed-LM | 1 . 43 ± 0 . 81  | 1 . 18 ± 0 . 60  | 0 . 94 ± 0 . 45  | 0 . 63 ± 0 . 33  | 6 . 28 ± 1 . 76  |

From the result, one can notice that there are some differences according to the mixing scheme. In terms of the personalization performance, setting L/T =0 4 shows the best performance with . a small standard deviation. This implies that allowing some rounds to a federated model to focus on learning global knowledge (by setting non-zero L ) is a valid strategy. While L is a tunable hyperparameter, it can be adjusted for the purpose of FL. To derive a good global model, choosing a large L close to T may be a valid choice, while in terms of personalization, it may be close to 0.

Hyperparameters for regularization terms Our proposed method has two hyperparameters, µ and ν . Each hyperparameter is supposed to affect in two-folds: i) penalizes a local update of a federated model from going in the wrong direction, away from the direction of a global model update, and i) creates a connected low-loss subspace between the federated model and a local model in each client by rendering parameters of the two models orthogonal to each other. We conducted experiments with ν = 0 0 1 0 2 0 5 0 { . , . , . , . } and µ = 0 0 0 01 0 1 1 0 { . , . , . , . } (a total of 16 combinations) under the model-mixing and layer-mixing schemes, with T =100 and L = 0 4 /floorleft . T /floorright =40, which yielded the best personalization performance on the CIFAR-10 dataset under pathological non-IID setting. Experimental results on these combinations are displayed in Figure 2.3.

There are noticeable observations supporting the efficacy of both of two regularization terms.

First, a learning strategy to find a connected low loss subspace between local and federated models yields high personalization performance. In most cases with non-zero ν and µ , a combination of federated and local models (i.e., models realized by λ ∈ (0 1)) outperforms two single models from , both endpoints (i.e., a federated model ( λ =0) and a local model ( λ =1). Second, the proximity regularization restricts learning too much when µ is large, but conistently helps a federated model not to diverge when it is properly tuned. This observation is also supported by previous results [44,119]. Third, a moderate degree of orthogonality regularization (adjusted by ν ) boosts the overall personalization performance. These empirically certifies that both regularization terms are necessary to achieve decent personalization performances.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-d80ed656-3257-4b98-ad00-7147e4de06de.jpg)

.

SuPerFed-LM

, right group of plots colored in sky-blue is the performance of

SuPerFed-MM

Figure 2.3: Left group of plots colored in orange is the performance of values from 0 to 1, with an interval of 0.1.

λ

Each subplot's vertical axis represents Top-1 accuracy, and the horizontal axis represents the range of possible

Numbers on subplots indicate the performance of the best averaged Top-1 accuracy evaluated by local test set of each client. The error bar indicates a standard

l

θ

=0) or a local model (

λ

when

f

θ

Note that each endpoint means a federated model (

,

[0 1].

∈

λ

deviation of each local model realized by different values of when λ =1).

## 5 Analysis

## 5.1 Loss Landscape of a Global Model

The loss landscape of global models obtained from the proposed methods SuPerFed-MM and SuPerFed-LM are visualized in Figure 2.4 along with one from FedAvg , following [62]. As the proposed regularization term adjusted by ν induces a connected low-loss subspace, it is consequently observed that the wider minima is acquired in the parameter space of a global model from both SuPerFed-MM and SuPerFed-LM compared to that of FedAvg . As the global model learns to be connected with multiple local models in the parameter space in each FL training round, flat minima of the global model are naturally induced, i.e., the mode connectivity is observed. One thing to note here is that the minima is far wider in layer-mixing scheme (i.e., SuPerFed-LM ) than that of model-mixing scheme (i.e., SuPerFed-MM ). It is presumably due to the fact that the number of distinct combinations of a federated model and a local model is much larger in the layer-mixing scheme than in the model-mixing scheme. In other words, the resulting global model should be connected to multiple local models in more diverse ways. Meanwhile, since the global model has flat minima, we can expect it is more generalized to unseen clients, even if their data distribution is heterogeneous from the existing clients' data distributions. Since the global model contains many good candidates of low-loss solutions thanks to the induced mode connectivity , the odds of finding a suitable model are higher than that of the global model trained using other FL algorithms.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-0e9da056-cd3a-4d63-8600-4d9f2cbcd41b.jpg)

SuPerFed-MM . (C) Third column: loss landscape obtained from SuPerFed-LM .

## 5.2 Discussion on the Convex Combination-based PFL Methods

Figure 2.5: Comparison of the personalization performance between APFL (left), SuPerFed-MM (middle), and SuPerFed-LM (right) by varying λ ∈ [0 1], , trained using MNIST with TwoNN under pathological non-IID setting with K =500 and T =500

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-8cd38364-2fef-46ed-a247-abf6751f98c5.jpg)

In previous model mixture-based PFL methods, there exist similar approaches that interpolate a local model and a federated model in the form of convex combination: i) APFL [42], ii) mapper [133] and iii) L2GD [75].

In i) APFL , the federated model and the local model are updated sequentially with a fixed λ , which is not true in SuPerFed as it jointly updates both federated and local models at once. While authors of [42] proposed the method to dynamically tune λ through another step of gradient descent, SuPerFed does not resort to a single optimal λ . Instead, it aims to find a good set of parameters θ l and θ f that can be mixed to yield good performance regardless of λ , thereby connected low-loss subspace is induced in the weight space between two models.

In ii) mapper [133], on the other hand, it iteratively selects only one client (which is an unrealistic assumption) and requests to find the best local model θ l and λ based on the transmitted global model θ g . The federated model is then updated with the the local model and the optimal λ is tuned again. In SuPerFed , it is not required to find a fixed value of λ and updates of both local and federated models can be conducted in a single run of back-propagation . In other words, no separate training on each model is required as in other methods.

Lastly, in iii) L2GD proposed by [75], the interpolation of the global model and the local model is intermittently occurred in the server as other methods. However, it requires all clients to participate every round, which is a fairly unrealistic assumption as FL setting.

Therefore, we only compared with a scalable method applicable for realistic FL settings,

APFL . For the comparison, we observed the change of performances by varying λ ∈ [0 1] in both , SuPerFed ( SuPerFed-MM &amp; SuPerFed-LM ) and APFL . In Figure 2.5, we can find that SuPerFed-MM and SuPerFed-LM consistently perform well in terms of personalization performance regardless of λ , while APFL performs best only when λ is close to 0.25. This empirical evidence supports the superiortiy of SuPerFed , realized by the explicit introduction of the mode connectivity . As two endpoints (i.e., λ =0 indicates a federated model and λ =1 indicates a local model) are explicitly ensembled to form a connected low-loss subspace, both are trained accordingly in a mutually beneficial manner.

## 6 Conclusion

In this chapter, we propose a simple and scalable personalized federated learning method SuPerFed under the scheme of the model mixture-based personalization method. Its goal is to improve personalization performance while entailing unexpected benefits, such as robustness to label noise and better calibration. In each participating client, SuPerFed aims to form a connected low-loss subspace between a local and a federated model in the parameter space, which is inspired by the intriguing phenomenon between multiple deep networks, i.e., mode connectivity . As a consequence, two models are connected in a mutually cooperative way, so that each client has a personalized model with good performance and calibration that is robust to possible label noise in practice. Through extensive experiments, we empirically demonstrate that SuPerFed , with its two variants in the mixing scheme, outperforms existing model mixture-based PFL methods as well as single model-based basic FL methods.

## Chapter III

## Perspective on Mixing Coefficients, w

## Pursuing Overall Welfare in Federated Learning via Sequential Decision Making

In this section, we introduce a new perspective in terms of the mixing coefficient , denoted as w in eq. (1.1). Most existing approaches stick to a static mixing coefficient proportional to the local sample size. This reduces the federated learning scheme to the empirical risk minimization (ERM) principle in expectation [187], but this sometimes leads to unattractive situations where the performance distributions across clients are not uniform, also known as a violation of the client-level fairness [24]. This is undoubtedly an undesirable situation caused by the statistical heterogeneity across heterogeneous clients.

Instead of adhering to using the static mixing coefficient, the federated system can adopt an adaptive mixing scheme for inducing uniform performance distributions across clients, by deciding the mixing coefficient adaptively. The decision-maker is usually the central server, who updates the mixing coefficient in response to feedbacks transmitted from clients, e.g., local losses, local gradients.

In this context, many fair FL algorithms have been proposed thus far, however, most of them overlooked the plight of the central server. While clients can use some local samples to update their local model parameters, the central server can only use signals whose size is at most equal to the number of clients to update its adaptive decision, which is far smaller in size. In other words, existing approaches do not take into account the central server's sample deficiency problem, so a federated system equipped with existing algorithms may lead to an unsatisfactory degree of

client-level fairness. In addition, current methods do not take into account past decisions when updating a new decision, making the quality of the decision questionable.

We start with the following research question:

How can we improve the scheme of deciding mixing coefficients so that it is truly adaptive even under the sample-deficient condition?

## 1 Introduction

FL has been posed as an effective strategy to acquire a global model without centralizing data, therefore with no compromise in privacy [137]. It is commonly assumed that the central server coordinates the whole FL procedure by repeatedly aggregating local updates from participating K clients during T rounds.

Since each client updates the copy of a global model with its own data, variability across clients' data distributions causes many problems [103, 118]. The client-level fairness [24] is one of the main problems affected by such a statistical heterogeneity [103, 118, 120, 142]. Although the performance of a global model is high in average, some clients may be more benefited than others, resulting in violation of the client-level fairness. In this situation, there inevitably exists a group of clients who cannot utilize the trained global model due to its poor performance. This is a critical problem in practice since the underperformed groups may lose motivation to participate in the federated system. To remedy this problem, previous works [94,116,120,142,205] proposed to modify the static aggregation scheme into an adaptive aggregation strategy, according to given local signals (e.g., losses or gradients). In detail, the server re-weights local updates by assigning larger mixing coefficients to higher local losses.

When updating the mixing coefficients, however, only a few bits are provided to the server , compared to the update of a model parameter. For example, suppose that there exist K clients in the federated system, each of which has N local samples. When all clients participate in each round, KN samples are used effectively for updating a new global model θ . On the contrary, only K bits (e.g., local losses: F 1 ( θ ) , ..., F K ( θ )) are provided to the server for an update of mixing coefficients. This is aggravated in cases where K is too large, thus client sampling is inevitably required. In this case, the server is provided with far less than K signals, which hinders faithful update of the mixing coefficients.

For sequentially updating a status in this sample-deficient situation, the online convex optimization (OCO) framework is undoubtedly the best solution. Interestingly, we discovered that most existing adaptive aggregation strategies can be readily unified into the OCO framework. Starting from this unification result, we propose an improved design for a fair FL algorithm in the view of sequential decision making. Since there exist OCO algorithms specialized for the setting where the decision space is a simplex (i.e., same as the domain of the mixing coefficient), these may be adopted to FL setting with some modifications for practical constraints.

In practice, FL is subdivided into two settings: cross-silo setting and cross-device setting [103]. For K clients and T training rounds, each setting requires a different dependency on K and T . In the cross-silo setting, the number of clients (e.g., institutions) is small and usually less than the number of rounds (i.e., K &lt; T ). e.g., K =20 institutions with T =200 rounds [38]. On the other hand, in the cross-device setting, the number of clients (e.g., mobile devices) is larger than the number of rounds ( K &gt; T ). e.g., K =1 5 . × 10 6 with T =3 000 rounds [76]. , In designing an FL algorithm, these conditions should be reflected for the sake of practicality.

Contributions We propose AAggFF , a sequential decision making framework for the central server in FL tailored for inducing client-level fairness in the system. The contributions of our work are summarized as follows.

- · We unify existing fairness-aware adaptive aggregation methods into an OCO framework and propose better online decision making designs for pursuing client-level fairness by the central server.
- · We propose AAggFF , which is designed to enhance the client-level fairness, and further specialize our method into two practical settings: AAggFF-S for cross-silo FL and AAggFF-D for cross-device FL.
- · We provide regret analyses on the behavior of two algorithms, AAggFF-S and AAggFF-D , presenting sublinear regrets.
- · We evaluate AAggFF on extensive benchmark datasets for realistic FL scenarios with other baselines. AAggFF not only boosts the worst-performing clients but also maintains overall performance.

## 2 Related Works

## 2.1 Client-Level Fairness in Federated Learning

The statistical heterogeneity across clients often causes non-uniform performances of a single global model on participating clients, which is also known as the violation of client-level fairness. Fairness-aware FL algorithms aim to eliminate such inequality to achieve uniform performance across all clients. There are mainly two approaches to address the problem [24]: a single model approach, and a personalization approach. This paper mainly focuses on the former, which is usually realized by modifying the FL objective, such as a minimax fairness objective [142] (which is also solved by multi-objective optimization [94] and is also modified to save a communication cost [43]), alpha-fairness [141] objective [120], suppressing outliers (i.e., clients having high losses) by tilted objective [116], and adopting the concept of proportional fairness to reach Nash equilibrium in performance distributions [205]. While the objective can be directly aligned with existing notions of fairness, it is not always a standard for the design of a fair FL algorithm. Notably, most of works share a common underlying principle: assigning more weights to a local update having larger losses .

Definition 3.2. (Client-Level Fairness; Definition 1 of [120], Section 4.2 of [24]) We informally define the notion of client-level fairness in FL as the status where a trained global model yields uniformly good performance across all participating clients. Note that uniformity can be measured by the spread of performances.

## 2.2 Online Decision Making

The OCO framework is designed for making sequential decisions with the best utilities, having solid theoretical backgrounds. It aims to minimize the cumulative mistakes of a decision maker (e.g., central sever), given a response of the environment (e.g., losses from clients) for finite rounds t ∈ [ T ]. The cumulative mistakes of the learner are usually denoted as the cumulative regret (see (3.5)), and the learner can achieve sublinear regret in finite rounds using well-designed OCO algorithms [138, 150, 167]. In designing an OCO algorithm, two main frameworks are mainly considered: online mirror descent (OMD) [12,144,191] and follow-the-regularized-leader (FTRL) [1, 3, 80, 168]. One of popular instantiations of both frameworks is the Online Portfolio Selection (OPS) algorithm, of which decision space is restricted to a probability simplex. The universal portfolio algorithm is the first that yields an optimal theoretical regret, O ( K log T )) despite its heavy computation ( O ( K T 4 14 )) [34], the Online Gradient Descent [213] and the Exponentiated Gradient (EG) [83] show slightly worse regrets (both are O ( √ T )), but can be executed in linear runtime in practice ( O ( K )). Plus, the online Newton step (ONS) [4, 79] presents logarithmic regret with quadratic runtime in K . Since these OPS algorithms are proven to perform well when the decision is a probability vector, we adopt them for finding adaptive mixing coefficients to achieve performance fairness in FL. To the best of our knowledge, we are the first to consider fair FL algorithms under the OCO framework.

## 3 Backgrounds

In traditional FL scheme, not all clients can be equally benefited from a trained global model. Therefore, the need to achieve the client-level fairness in a federated learning system has been emphasized, which can be realized by modifying the static aggregation scheme for updating the global model to an adaptive one, in response to the local signals of the participating clients.

We first reveal that existing fairness-aware aggregation strategies can be unified into an online convex optimization framework, in other words, a central server's sequential decision making process. Then, we propose AAggFF , from simple and intuitive improvements for suboptimal designs within existing methods to enhance the decision making capability.

Considering practical requirements, we further subdivide our method tailored for the crossdevice and the cross-silo settings, respectively. Theoretical analyses guarantee sublinear regret upper bounds for both settings: O ( √ T log K ) for the cross-device setting, and O ( K log T ) for the cross-silo setting, with K clients and T federation rounds. We provide notation table in Table 3.1.

Table 3.1: Notations in Chapter III

| Notation         | Description                                                                                                                       |
|------------------|-----------------------------------------------------------------------------------------------------------------------------------|
| T                | Total number of communication rounds                                                                                              |
| B                | Local batch size                                                                                                                  |
| E                | Number of local epochs                                                                                                            |
| K                | Total number of participating clients, indexed by i ∈ [ K ]                                                                       |
| C                | Fraction of clients selected at each round                                                                                        |
| ζ                | Step size for updating adaptive mixing coefficients                                                                               |
| p                | Decision variable, or an adaptive mixing coefficient vector, of which entry p i corresponds to a mixing coefficient of client i . |
| p /star          | Optimal decision in hindsight                                                                                                     |
| ∆ K - 1          | Probability simplex in R K                                                                                                        |
| /lscript ( t )   | Decision loss function at round t                                                                                                 |
| r ( t )          | Response vector at round t                                                                                                        |
| g ( t )          | Gradient of a decision loss function w.r.t. decision variable, p at round t                                                       |
| ρ ( t )          | Transformation function for changing a local loss value into a response at round                                                  |
| L ∞              | Lipschitz constant of a decision loss on a response w.r.t. ‖·‖ ∞                                                                  |
| ˜ /lscript ( t ) | Linearized loss, defined as 〈 p , g ( t ) 〉 at round t                                                                          |
| ˘ r ( t )        | Doubly-Robust (DR) estimator of a response vector at round t                                                                      |
| ˘ g ( t )        | Gradient estimate of a DR estimator at round t                                                                                    |
| ˜ g ( t )        | Linearly approximated gradient of a true gradient of decision loss at round t                                                     |
| ˘ L ∞            | Lipschitz constant of a decision loss on a DR estimator of a partially observed response w.r.t. ‖·‖ ∞                             |

## 3.1 Mixing Coefficients in Federated Learning

For K clients, the FL objective (eq. (1.1)) aims to minimize the composite objectives, where client i 's local objective is F i ( θ ), weighted by a corresponding mixing coefficient w i ≥ 0 ( ∑ K i =1 w i =1), which is usually set to be a static value proportional to the sample size n i : e.g., w i = n i n , n = ∑ K j =1 n j . Denote ‖ · ‖ p as an L p -norm and ∆ K -1 as a probability simplex where ∆ K -1 = { q ∈ R K : q i ≥ 0 , ‖ q ‖ 1 =1 . Note that the mixing coefficient is a member of ∆ } K -1 .

In vanilla FL, the role of the server to solve (1.1) is to naively add up local updates into a new global model by weighting each update with the static mixing coefficient proportional to n i . As the fixed scheme often violates the client-level fairness, the server should use adaptive mixing

coefficients to pursue overall welfare across clients. This can be modeled as an optimization w.r.t. p ∈ ∆ K -1 .

## 3.2 Online Convex Optimization as a Unified Language

Table 3.2: Summary of unification results of existing fair FL Methods into an OCO framework (eq. (3.1)), viz. Remark 3.1

.

| Method                      | Original Objective (w.r.t. θ )                                  | Response ( r ( t ) i )      | Last Decision ( p ( t ) i )   | Step Size ( ζ )   | New Decision ( p ( t +1) i )   |
|-----------------------------|-----------------------------------------------------------------|-----------------------------|-------------------------------|-------------------|--------------------------------|
| FedAvg [137]                | min θ ∈ R d ∑ K i =1 n i n F i ( θ )                            | 0                           | n i /n                        | 1                 | ∝ n i                          |
| q-FedAvg [120] ( AFL [142]) | min θ ∈ R d ∑ K i =1 n i /n q +1 F q +1 i ( θ ) ( AFL if q →∞ ) | q log F i ( θ ( t ) )       | n i /n                        | 1                 | ∝ n i F q i ( θ ( t ) )        |
| TERM [116]                  | min θ ∈ R d 1 λ log( ∑ K i =1 n i n exp( λF i ( θ )))           | F i ( θ ( t ) )             | n i /n                        | 1 λ               | ∝ n i exp ( λF i ( θ ( t ) ))  |
| PropFair [205]              | min θ ∈ R d - ∑ K i =1 n i n log( M - F i ( θ ))                | - log( M - F i ( θ ( t ) )) | n i /n                        | 1                 | ∝ n i M - F i ( θ ( t ) )      |

To mitigate the performance inequalities across clients, adaptive mixing coefficients can be estimated in response to local signals (e.g., local losses of a global model). Intriguingly, the adaptive aggregation strategies in existing fair FL methods [116,120,137,142,205] can be readily unified into one framework , borrowing the language of OCO.

Remark 3.1. Suppose we want to solve a minimization problem defined in (3.1). For all t ∈ [ T ], it aims to minimize a decision loss /lscript ( ) t ( p ) = -〈 p r , ( ) t 〉 (where 〈· , ·〉 is an inner product) defined by a response r ( ) t ∈ R K and a decision p ∈ ∆ K -1 , with a regularizer R ( p ) having a constant step size ζ ∈ R ≥ 0 .

$$p ^ { ( t + 1 ) } = \underset { p \in \Delta _ { K - 1 } } { \arg \min } \ell ^ { ( t ) } \left ( p \right ) + \zeta R \left ( p \right )$$

As long as the regularizer R ( p ) in the Remark 3.1 is fixed as the negative entropy, i.e., R ( p ) = ∑ K i =1 p i log p i , this subsumes aggregation strategies proposed in FedAvg [137], AFL [142], q-FFL [120], TERM [116], and PropFair [205]. It has an update as follows.

$$p _ { i } ^ { ( t + 1 ) } \in p _ { i } ^ { ( t ) } \exp \left ( r _ { i } ^ { ( t ) } / \zeta \right )$$

This is widely known as EG [83], a special realization of OMD [12, 144, 191]. We summarized how existing methods can be unified under this OCO framework in Table 2.1, and derivations of mixing coefficients (i.e.' p ( +1) t i ) of each method are in section 8.1.

To sum up, we can interpret the aggregation mechanism in FL is secretly a result of the server's sequential decision making behind the scene. Since the sequential learning scheme is well-behaved in a sample-deficient setting , adopting OCO is surely a suitable tactic for the server in that only a few bits are provided to update the mixing coefficients in each FL round, e.g, the number of local responses collected from the clients is at most K . However, existing methods have not been devised with sequential decision making in mind. Therefore, one can easily find suboptimal designs inherent in existing methods from an OCO perspective.

## 3.3 Sequential Probability Assignment

To address the client-level fairness, the server should make an adaptive mixing coefficient vector, p ( ) t ∈ ∆ K -1 , for each round t ∈ [ T ]. In other words, the server needs to assign appropriate probabilities sequentially to local updates in every FL communication round.

Notably, this fairly resembles OPS, which seeks to maximize an investor's cumulative profits on a set of K assets during T periods, by assigning his/her wealth p ∈ ∆ K -1 to each asset every time. In the OPS, the investor observes a price of all assets, r ( ) t ∈ R K for each time t ∈ [ T ] and accumulates corresponding wealth according to the portfolio p ( ) t ∈ ∆ K -1 . After T periods, achieved cumulative profits is represented as ∏ T t =1 ( 1+ 〈 p ( ) t , r ( ) t 〉) , or in the form of logarithmic growth ratio, ∑ T t =1 log ( 1+ 〈 p ( ) t , r ( ) t 〉) . In other words, one can view that OPS algorithms adopt negative logarithmic growth as a decision loss.

Definition 3.3. (Negative Logarithmic Growth as a Decision Loss) For all t ∈ [ T ], define a decision loss /lscript ( ) t : ∆ K -1 × R K → R as follows.

$$\ell ^ { ( t ) } ( p ) = - \log ( 1 + \langle p, r ^ { ( t ) } \rangle ),$$

where p is a decision vector in ∆ K -1 and r ( ) t is a response vector given at time t .

Again, the OPS algorithm can serve as a metaphor for the central server's fairness-aware online decision making in FL. For example, one can regard a response (i.e., local losses) of K clients at a specific round t the same as returns of assets on the day t . Similarly, by considering cumulative losses (i.e., cumulative wealth) achieved until t , the server can determine the next mixing coefficients (i.e., portfolio ratios) in ∆ K -1 . In the same context, the negative logarithmic growth can also be adopted as the decision loss. Accordingly, we can adopt well-established OPS strategies for achieving client-level fairness in FL. By adopting the negative logarithmic growth, we can find a loose connection between the well-known fairness notion, i.e., max-min fairness.

Remark 3.2. When the decision loss is set to the negative logarithmic growth, we can regard the global objective can be viewed as:

$$\min _ { \theta } \max _ { p } \log \left ( 1 + \sum _ { i = 1 } ^ { K } p _ { i } F _ { i } ( \theta ) \right ),$$

by ignoring the regularizer and further assuming that each entry of the response r i is a monotonic increasing transformation of F i ( θ ). Since the logarithm is also a monotonically increasing function, this objective share the same optimum as min-max fairness objective [142], i.e., min θ max p ( ∑ K i =1 p F i i ( θ ) ) . Different from the min-max objective, this reduced form can be regarded as a rectified version of the min-max objective in that it is bounded below.

Including OPS, a de facto standard objective for OCO is to minimize the regret defined in (3.5), with regard to the best decision in hindsight, p /star ≜ argmin p ∈ ∆ K -1 ∑ T t =1 /lscript ( ) t ( p ), given all decisions { p (1) , ..., p ( T ) } . [138,150,167]

$$\text{Regret} ^ { ( T ) } ( p ^ { * } ) = \sum \nolimits _ { t = 1 } ^ { T } \ell ^ { ( t ) } ( p ^ { ( t ) } ) - \sum \nolimits _ { t = 1 } ^ { T } \ell ^ { ( t ) } ( p ^ { * } )$$

In finite time T , an online decision making strategy should guarantee that the regret grows sublinearly. Therefore, when OPS strategies are modified for the fair FL, we should check if the strategy can guarantee vanishing regret upper bound in T . Besides, we should also consider the dependency on K due to practical constraints of the federated system.

## 4 Proposed Methods

## 4.1 Improved Design for Better Decision Making

From the Remark 3.1 and Table 3.2, one can easily notice suboptimal designs of existing methods in terms of OCO, as follows.

- i) Existing methods are stateless in making a new decision, p ( +1) t i . The previous decision is ignored as a fixed value ( p ( ) t i = n /n i ) in the subsequent decision making. This naive reliance on static coefficients still runs the risk of violating client-level fairness.
- ii) The decision maker sticks to a fixed and arbitrary step size η , or a fixed regularizer R ( p ) across t ∈ [ T ], which can significantly affect the performance of OCO algorithms and should be manually selected.
- iii) The decision loss is neither Lipschitz continuous nor strictly convex , which is related to achieving a sublinear regret.

As a remedy for handling i and ii, the OMD objective for the server (i.e., eq. (3.1)) can be replaced as follows.

$$\dots \dots. \\ p ^ { ( t + 1 ) } = \underset { p \in \Delta _ { K - 1 } } { \arg \min } \sum _ { \tau = 1 } ^ { t } \ell ^ { ( \tau ) } \left ( p \right ) + R ^ { ( t + 1 ) } \left ( p \right )$$

This is also known as FTRL objective [1, 3, 80, 168], which is inherently a stateful sequential decision making algorithm that adapts to histories of decision losses, ∑ t τ =1 /lscript ( τ ) ( p ), where /lscript ( ) t : ∆ K -1 × R K → R , with the time-varying regularizer R ( ) t : ∆ K -1 → R . Note that the time-varying regularizer is sometimes represented as, η ( +1) t R ( p ), a fixed regularizer R ( p ) multiplied by a time-varying step size, η ( +1) t ∈ R ≥ 0 , which can later be automatically determined from the regret analysis (see e.g., Remark 3.3).

Additionally, when equipped with the negative logarithmic growth as a decision loss (i.e., eq. (3.3)), the problem iii can be addressed due to its strict convexity and Lipscthiz continuity. (See Lemma 3.1) Note that when the loss function is convex, we can run the FTRL with a linearized loss (i.e., ˜ /lscript ( ) t ( p ) = 〈 p g , ( ) t 〉 where g ( ) t = ∇ /lscript ( ) t ( p ( ) t ) ). This is useful in that a closedform update can be obtained thanks to the properties of the Fenchel conjugate (see Remark 3.3).

## 4.2 AAggFF : Adaptive Aggregation for Fair Federated Learning

Based on the improved objective design derived from the FTRL, we now introduce our methods, AAggFF , an acronym of A daptive Agg regation for F air F ederated Learning). Mirroring the practical requirements of FL, we further subdivide into two algorithms: AAggFF-S for the cross-silo setting and AAggFF-D for the cross-device setting.

AAggFF-S : Algorithm for the Cross-Silo Federated Learning

## Algorithm 3.1 AAggFF-S

Input: number of clients K , total rounds T , transformation ρ , minimum and maximum of a response [ C ,C 1 2 ].

Initialize: mixing coefficients p (1) = 1 K 1 K , global model θ (1) ∈ R d

Procedure:

$$\text{for } t = 0 \text{ to } T - 1 \text{ do }$$

$$& \text{for each client $i=1,\dots,K$ in parallel do} \\ & \quad F _ { i } \left ( \theta ^ { ( t ) } \right ), \theta ^ { ( t ) } - \theta _ { i } ^ { ( t + 1 ) } \leftarrow \AA \AA g g F F C \text{clientUpdate} \left ( \theta ^ { ( t ) } \right )$$

end for

Return r ( ) t according to eq. (3.8) and C ,C 1 2 .

Suffer decision loss /lscript ( ) t ( p ( ) t ) according to eq. (3.3).

Return a gradient g ( ) t = ∇ /lscript ( ) t ( p ( ) t ) .

Return a mixing coefficient p ( +1) t according to eq. (3.7).

$$\bigoplus _ { \substack { \lambda \\ \text{Update a global model} } } \lambda ^ { \bullet } \lambda ^ { \bullet } = \lambda ^ { ( t + 1 ) } - \sum _ { i = 1 } ^ { K } p _ { i } ^ { ( t + 1 ) } \left ( \lambda ^ { ( t ) } - \lambda _ { i } ^ { ( t + 1 ) } \right ).$$

## end for

$$\text{Return: } \theta ^ { ( T ) }$$

In the cross-silo setting, it is typically assumed that all K clients participate in T rounds, since there are a moderately small number of clients in the federated system. Therefore, the server's stateful decision making is beneficial for enhancing overall welfare across federation rounds. This is also favorable since existing OPS algorithms can be readily adopted.

Online Newton Step [4,79] The ONS algorithm updates a new decision as follows ( α and β are constants to be determined).

$$p ^ { ( t + 1 ) } & = \underset { p \in \Delta _ { K - 1 } } { \arg \min } \sum _ { \tau = 1 } ^ { t } \tilde { \ell } ^ { ( \tau ) } \left ( p \right ) + \frac { \alpha } { 2 } \| p \| _ { 2 } ^ { 2 } \\ & + \frac { \beta } { 2 } \sum _ { \tau = 1 } ^ { t } \left ( \langle g ^ { ( \tau ) }, p - p ^ { ( \tau ) } \rangle \right ) ^ { 2 }$$

The ONS can be reduced to the FTRL objective introduced in (3.6). It can be retrieved when we use a linearized loss, ˜ /lscript ( ) t ( p ) = 〈 p g , ( ) t 〉 , and the time-varying proximal regularizer, defined as R ( +1) t ( p ) = α 2 ‖ p ‖ 2 2 + β 2 ∑ t τ =1 (〈 g ( τ ) , p -p ( τ ) 〉) 2 .

We choose ONS in that its regret is optimal in T , which is also a dominating constant for the cross-silo FL setting: O ( L ∞ K log T ) regret upper bound, where L ∞ is the Lipschitz constant of decision loss w.r.t. ‖·‖ ∞ . That is, L ∞ should be finite for a vanishing regret (see Theorem 3.1).

Necessity of Bounded Response Note that the Lipchitz continuity of the negative logarithmic growth as a decision loss is determined as follows.

Lemma 3.1. For all t ∈ [ T ] , suppose each entry of a response vector r ( ) t ∈ R K is bounded as r ( ) t i ∈ [ C ,C 1 2 ] for some constants C 1 and C 2 satisfying 0 &lt;C &lt;C 1 2 . Then, the decision loss /lscript ( ) t defined in (3.3) is C 2 1+ C 1 -Lipschitz continuous in ∆ K -1 w.r.t. ‖·‖ ∞ .

From now on, all proofs are deferred to section 8. According to the Lemma 3.1, the Lipschitz constant of the decision loss, L ∞ , is dependent upon the range of a response vector's element . While from the unification result in Table 3.2, one can easily notice that the response is constructed from local losses collected in round t , F i ( θ ( ) t ) ∈ R ≥ 0 , i ∈ [ K ].

This is a scalar value calculated from a local training set of each client, using the current model θ ( ) t before its local update . Since the local loss function is typically unbounded above (e.g., cross-entropy), it should be transformed into bounded values to satisfy the Lipschitz continuity. In existing fair FL methods, however, all responses are not bounded above, thus we cannot guarantee the Lipschitz continuity.

To ensure a bounded response, we propose to use a transformation denoted as ρ ( ) t ( ), inspired · by the cumulative distribution function (CDF) as follows.

Definition 3.4. (CDF-driven Response Transformation) We define r ( ) t i ≡ ρ ( ) t ( F i ( θ ( ) t ) ) , each element of the response vector is defined from the corresponding entry of a local loss by an elementwise mapping ρ ( ) t : R ≥ 0 → [ C ,C 1 2 ], given a pre-defined CDF as:

$$\bar { \rho } ^ { ( t ) } \left ( F _ { i } \left ( \theta ^ { ( t ) } \right ) \right ) \, \hat { \cong } \, C _ { 1 } + ( C _ { 2 } - C _ { 1 } ) \text{CDF} \left ( \frac { F _ { i } \left ( \theta ^ { ( t ) } \right ) } { \bar { F } ^ { ( t ) } } \right ) \,,$$

where ¯ F ( ) t = 1 | S ( ) t | ∑ i ∈ S ( ) t F i ( θ ( ) t ) , and S ( ) t is an index set of available clients in t .

Note again that the larger mixing coefficient should be assigned for the larger local loss. In such a perspective, using the CDF for transforming a loss value is an acceptable approach in that

the CDF value is a good indicator for estimating ' how large a specific local loss is ', relative to local losses from other clients. To instill the comparative nature, local losses are divided by the average of observed losses in time t before applying the transformation. As a result, all local losses are centered on 1 in expectation. See section 5.1 and section 5.2 for detailed discussions.

In summary, the whole procedure of AAggFF-S is illustrated as a pseudocode in Algorithm 3.1.

## AAggFF-D : Algorithm for the Cross-Device Federated Learning

## Algorithm 3.2 AAggFF-D

Input: number of clients K , client sampling ratio C ∈ (0 1), total rounds , T , transformation ρ , range of a response [ C ,C 1 2 ].

Initialize: mixing coefficients p (0) = 1 K 1 K , global model θ (0) ∈ R d

## Procedure:

for t =0 to T -1 do

S ( ) t ← Wait until min(1 , /floorleft C K · /floorright ) clients are active in a network.

for each client i ∈ S ( ) t in parallel do

$$F _ { i } \left ( \theta ^ { ( t ) } \right ), \theta ^ { ( t ) } - \theta _ { i } ^ { ( t + 1 ) } \leftarrow \AA A g g F F C \text{lientUpdate} \left ( \theta ^ { ( t ) } \right )$$

end for

Return ˘ r ( ) t according to eq. (3.8), eq. (3.10), and C ,C 1 2 .

Suffer decision loss /lscript ( ) t ( p ( ) t ) according to eq. (3.3).

Return a gradient estimate ˘ g ( ) t according to eq. (3.11).

Return mixing coefficients p ( +1) t according to eq. (3.12)). ( +1) t

p

Acquire selected coefficients ˜

=

( +1)

t

p

i

( )

t

∑

( +1)

t

, i

∈

S

.

( )

$$\sum _ { j \in S ^ { ( t ) } } p _ { j } ^ { ( t + 1 ) }, \kappa \leq \sim \cdot \\ \text{Update a global model } \theta ^ { ( t + 1 ) } = \theta ^ { ( t ) } - \sum _ { i \in S ^ { ( t ) } } \tilde { p } _ { i } ^ { ( t + 1 ) } \left ( \theta ^ { ( t ) } - \theta _ { i } ^ { ( t + 1 ) } \right ).$$

p

end for

Return: θ ( T )

Unlike the cross-silo setting, we cannot be naïvely edopt existing OCO algorithms for finding adaptive mixing coefficients in the cross-device setting. It is attributed to the large number of participating clients in this special setting. Since the number of participating clients ( K ) is massive (e.g., Android users are over 3 billion [36]), the dependence on K in terms of regret bound and algorithm runtime is as significant as a total communication round T .

Linear Runtime OCO Algorithm The ONS has regret proportional to K and runs in O ( K 2 + K 3 ) 1 per round, which is acceptable in practice for the cross-silo setting thanks to the moderate size of K , but is nearly impossible to be adopted for the cross-device FL setting due to large K , even though the logarithmic regret is guaranteed in T . Instead, we can exploit the variant of EG adapted to FTRL [150], which can be run in O ( K ) time per round.

$$p ^ { ( t + 1 ) } = \underset { p \in \Delta _ { K - 1 } } { \arg \min } \sum _ { \tau = 1 } ^ { t } \tilde { \ell } ^ { ( \tau ) } \left ( p \right ) + \eta ^ { ( t + 1 ) } R ( p ),$$

where η ( ) t is non-decreasing step size across t ∈ [ T ], and R ( p ) = ∑ K i =1 p i log p i is a negative entropy regularizer. Still, the regret bound gets worse than that of ONS, as O ( L ∞ √ T log K ) (see Theorem

1 A generalized projection required for the Online Newton Step can be solved in ˜ O ( K 3 ) [4, 79].

Partially Observed Response The large number of clients coerces the federated system to introduce the client sampling scheme in each round. Therefore, the decision maker (i.e., the central server) cannot always observe all entries of a response vector per round. This is problematic in terms of OCO, since OCO algorithms assume that they can acquire intact response vector for every round t ∈ [ T ]. Instead, when the client sampling is introduced, the learner can only observe entries of sampled client indices in the round t , denoted as S ( ) t .

To make a new decision using a partially observed response vector, the effect of unobserved entries should be appropriately estimated. We solve this problem by adopting a doubly robust (DR) estimator [11, 161] for the expectation of the response vector. The rationale behind the adoption of the DR estimator is the fact that the unobserved entries are missing data .

For handling the missingness problem, the DR estimator combines inverse probability weighting (IPW [7]) estimator and imputation mechanism, where the former is to adjust the weight of observed entries by the inverse of its observation probability (i.e., client sampling probability), and the latter is to fill unobserved entries with appropriate values specific to a given task.

Similar to the IPW estimator, the DR estimator is an unbiased estimator when the true observation probability is known. Since we sample clients uniformly at random without replacement, the observation probability is known (i.e., C ∈ (0 1)) to the algorithm. ,

Lemma 3.2. Denote C = P ( i ∈ S ( ) t ) as a client sampling probability in a cross-device FL setting for every round t ∈ [ T ] . The DR estimator ˘ r ( ) t , of which element is defined in (3.10) is an unbiased estimator of given partially observed response vector r ( ) t . i.e., E [ ˘ r ( ) t ] = r ( ) t .

$$\check { r } _ { i } ^ { ( t ) } = \left ( 1 - \frac { \mathbb { I } ( i \in S ^ { ( t ) } ) } { C } \right ) \bar { \mathbf r } ^ { ( t ) } + \frac { \mathbb { I } \left ( i \in S ^ { ( t ) } \right ) } { C } r _ { i } ^ { ( t ) },$$

where ¯ r ( ) t = 1 | S ( ) t | ∑ i ∈ S ( ) t r ( ) t i .

Still, it is required to guarantee that the gradient vector from the DR estimator is also an unbiased estimator of a true gradient of a decision loss. Unfortunately, the gradient of a decision loss is not linear in the response vector due to its fractional form: g ( ) t = ∇ /lscript ( ) t ( p ( ) t ) = -r ( ) t 1+ 〈 p ( ) t , r ( ) t 〉 .

Therefore, we instead use linearly approximated gradient w.r.t. a response vector as follows. Lemma 3.3. Denote the gradient of a decision loss in terms of a response vector as g ≡ h ( r ) = [ h 1 ( r ) , ..., h K ( r )] /latticetop = -r 1+ 〈 p r , 〉 . It can be linearized for the response vector into ˜ g ≡ ˜ ( h r ) , given a

reference r 0 as follows. (Note that the superscript ( ) t is omitted for a brevity of notation)

$$g \approx \tilde { g } \equiv \tilde { \mathbf h } ( r ) = - \frac { r } { 1 + \langle p, r _ { 0 } \rangle } + \frac { r _ { 0 } p ^ { \top } ( r - r _ { 0 } ) } { ( 1 + \langle p, r _ { 0 } \rangle ) ^ { 2 } }$$

Further denote ˘ g as a gradient estimate from (3.11) using the DR estimator of a response vector according to (3.10), at an arbitrary reference r 0 . Then, ˘ g is an unbiased estimator of the linearized gradient of a decision loss at r 0 , which is close to the true gradient: E [˘] = ˜ g g ≈ g .

As suggested in (3.10), we similarly set the reference as an average of observed responses at round t , i.e., r ( ) t 0 =¯ r ( ) t 1 K . It is a valid choice in that dominating unobserved entries are imputed by the average of observed responses as in (3.10).

To sum up, we can update a new decision using this unbiased and linearly approximated gradient estimator even if only a partially observed response vector is provided (i.e., mixing coefficients of unsampled clients can also be updated). Note that the linearized gradient calculated from the DR estimator, ˘, has finite norm w.r.t. g ‖·‖ ∞ (see Lemma 3.5).

Closed-Form Update Especially for the cross-device setting, we can obtain a closed-form update of the objective (3.9), which is due to the property of Fenchel conjugate.

Remark 3.3. The objective of AAggFF-D stated in (3.9) has a closed-form update formula as follows. [150]

$$p _ { i } ^ { ( t + 1 ) } \infty \exp \left ( - \frac { \sqrt { \log K } \sum _ { \tau = 1 } ^ { t } \breve { g } _ { i } ^ { ( \tau ) } } { \breve { L } _ { \infty } \sqrt { t + 1 } } \right )$$

It is equivalent to setting the time-varying step size as η ( ) t = ˘ L ∞ √ t √ log K . Note that ˘ g ( ) t i is an entry of gradient from DR estimator defined in Lemma 3.3 and ˘ L ∞ is a corresponding Lipschitz constant satisfying ‖ ˘ g ‖ ∞ ≤ ˘ L ∞ stated in Lemma 3.5. See section 8.11 for the derivation.

In summary, the whole procedure of AAggFF-D is illustrated in Algorithm 3.2.

## Algorithm 3.3 AAggFFClientUpdate

Input: number of local epochs E , local batch size B , local learning rate η , global model θ

## Procedure:

Evaluate the received global model on training set to yield feedback F i ( θ ).

Set a local model θ (0) ← θ .

$$\text{for } e = 0 \text{ to } E - 1 \text{ do }$$

B e ← Split the client training dataset into batches of size B .

for mini-batch b in B do

$$& \text{for mini-batch $b$ in $\mathcal{B}_{e}$ do} \\ & \text{Update the model $\theta^{(e)} \leftarrow \theta^{(e)} - \frac { \eta } { B } \sum _ { k = 1 } ^ { B } \nabla _ { \theta } \mathcal { L } \left ( b ; \theta ^ { ( e ) } \right ). \\ & \text{end for}$$

end for

$$\text{Set } \theta ^ { ( e + 1 ) } \leftarrow \theta ^ { ( e ) }$$

end for

$$\text{Return: } F _ { i } ( \theta ), \, \theta - \theta ^ { ( E ) }.$$

## 5 Analyses

## 5.1 Cumulative Distribution Function for Response Transformation

Choice of Distributions We used the CDF to transform unbounded responses from clients (i.e., local losses of clients) into bounded values. Among diverse options, we used one of the following 6 CDFs in this work. (Note that erf( x ) = 2 √ π ∫ x 0 e -y 2 d y is the Gauss error function)

- 1. Weibull [192]: CDF ( x ) = 1 -e -( x/α ) β ; we set α =1 (scale) and β =2 (shape).
- 2. Frechet [61]: CDF ( x ) = e -( x α ) -β ; we set α =1 (scale) and β =1 (shape).
- 3. Gumbel [71]: CDF ( x ) = e -e -( x -α /β ) ; we set α =1 (scale) and β =1 (shape).
- 4. Exponential: CDF ( x ) = 1 -e -αx ; we set α =1 (scale).
- 5. Logistic: CDF ( x ) = 1 1+ e ( -( x -α /β ) ) ; we set α =1 (scale) and β =1 (shape).
- 6. Normal [63]: CDF ( x ) = 1 2 [ 1+erf ( x -α β √ 2 )] ; we set α =1 (scale) and β =1 (shape).

Commonly, the scale parameter of all distributions is set to 1, since in (3.8) we centered inputs to 1 in expectation. Although we fixed the parameters of each CDF, they can be statistically estimated in practice, such as using maximum spacing estimation [25].

For imposing larger mixing coefficients for larger losses, the transformation should (i) preserve the relative difference between responses, as well as (ii) not too sensitive for outliers. While other heuristics (e.g., clipping values, subtracting from arbitrary large constant [205]) for the transformation are also viable options for (i), additional efforts are still required to address (ii).

On the contrary, CDFs can address both conditions with ease. As CDFs are increasing functions, (i) can be easily satisfied. For (ii), it can be intrinsically addressed by the nature of CDF itself. Let us start with a simple example.

Suppose we have K =3 local losses: F 1 ( θ ) = 0 01 . , F 2 ( θ ) = 0 10 . , F 3 ( θ ) = 0 02. . Since the average is ¯ = F 0 01+0 10+0 02 . . . 3 ≈ 0 043, . we have inputs of CDF as follows: F 1 ( θ ) / ¯ = 0 23 F . , F 2 ( θ ) / ¯ = F 2 31 . , F 3 ( θ ) / ¯ = 0 46. F . These centered inputs are finally transformed into bounded values as in Table 3.3.

Table 3.3: Effects of CDF transformations in AAggFF

|                                                   |   Transformed |        | Responses   |
|---------------------------------------------------|---------------|--------|-------------|
| Weibull CDF CDF ( x ) =1 - e ( - x 2 )            |          0.05 | / 1.00 | / 0.19      |
| Frechet CDF CDF ( x ) = e ( - 1 /x )              |          0.01 | / 0.65 | / 0.11      |
| Gumbel CDF CDF ( x ) = e ( - e ( - ( x - 1)) )    |          0.12 | / 0.76 | / 0.18      |
| Exponential CDF CDF ( x ) =1 - e ( - x )          |          0.21 | / 0.90 | / 0.37      |
| Logistic CDF CDF ( x ) = 1 1+ e ( - ( x - 1))     |          0.32 | / 0.79 | / 0.37      |
| Normal CDF CDF ( x ) = 1 2 [ 1+erf ( x - 1 √ 2 )] |          0.22 | / 0.90 | / 0.29      |

While all losses become bounded values in [0 1], the maximum local loss (i.e., , F 2 ( θ ) = 0 10) . is transformed into different values by each CDF (see underlined figures in the 'Transformed Responses' column of Table 3.3). When using the Weibull CDF, the maximum local loss is translated into 1 00, which means that there may be no value greater than 0.10 (i.e., 0 10 is the . . largest one in 100% probability) given current local losses. Meanwhile, when using the Frechet CDF, the maximum local loss is translated into 0 65, which means that there still is a 35% chance . that some other local losses are greater than 0 10 when provided with other losses similar to 0.01 . and 0.02. This implies that each CDF treats a maximum value differently . When a transformation is easily inclined to the maximum value, thereby returning 1 (i.e., maximum of CDF), it may

Figure 3.1: Cumulative values of a global objective according to different CDFs (smaller is better): (Left) Berka dataset (cross-silo setting; K =7 , T =100). (Right) Reddit dataset (cross-device setting; K =817 , T =300 , C =0 00612) .

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-1833f84a-5724-4b25-83ec-7b978357784c.jpg)

yield a degenerate decision, e.g., p ≈ [0 1 0] , , /latticetop .

Fortunately, most of the listed CDFs are designed for modeling maximum values . For example, the three distributions, Gumbel, Frechet, and Weibull, are grouped as the Extreme Value Distribution (EVD) [108]. As its name suggests, it models the behavior of extreme events, and it is well known that any density modeling a minimum or a maximum of independent and identically distributed (IID) samples follows the shape of one of these three distributions (by the Extreme Value Theorem [162]). In other words, EVDs can reasonably measure how a certain value is close to a maximum .

Thus, they can estimate whether a certain value is relatively large or small. Otherwise, the Exponential distribution is a special case of Weibull distribution, and the logistic distribution is also related to the Gumbel distribution. Last but not least, although it is not a family of EVD, the Normal distribution is also considered due to the central limit theorem, since the local loss is the sum of errors from IID local samples. We expect the CDF transformation can appropriately measure a relative magnitude of local losses, and it should be helpful for decision making.

Effects of Response Transformation We illustrated that the response should be bounded (i.e., Lipschitz continuous) in section 4.2, to have non-vacuous regret upper bound. To acquire bounded response, we compare the cumulative values of a global objective in (1.1), i.e., ∑ T t =1 ∑ K i =1 p ( ) t i F i ( θ ( ) t ) for the cross-silo setting, and ∑ T t =1 ∑ i ∈ S ( ) t p ( ) t i F i ( θ ( ) t ) for the cross-device setting.

In the cross-silo experiment with the Berka dataset, the Normal CDF shows the smallest

cumulative values, while in the cross-device experiment with the Reddit dataset, the Weibull CDF yields the smallest value. For the Berka dataset, the Normal CDF yields an average performance (AUROC) of 79.37 with the worst performance of 43.75, but the Weibull CDF shows an average performance of 73.02 with the worst performance of 25.00. The same tendency is also observed in the Reddit dataset. The Normal CDF presents an average performance (Acc. 1) of 14.05 and the worst performance of 4.26, while the Weibull CDF shows an average of 12.62 with the worst of 3.35. From these observations, we can conclude that an appropriate choice of CDF is necessary for better sequential decision making, and suitable transformation helps minimize a global objective of FL. Note also that these behaviors are also directly related to the global convergence of the algorithm w.r.t. θ .

## 5.2 Choice of a Response Range

In regard to determining the range of a response vector, i.e., [ C ,C 1 2 ], we can refer to the Lipschitz continuity in Lemma 3.1 and Lemma 3.5. For the cross-silo setting, we can set arbitrary constants so that L ∞ = O (1) according to Lemma 3.1. Thus, for all experiments of AAggFF-S , we set C 1 =0 , C 2 = 1 K .

For the cross-device setting, the Lipschitz constant is changed into ˘ L ∞ , since it is influenced by the client sampling probability ( C ). In detail, C is located in the denominator of the Lipschitz constant, ˘ L ∞ , which inflates the resulting gradient value as C is a constant close to 0. (e.g., when 10 among 100,000 clients are participating in each round, 1 /C =10 ) This is problematic 4 and even causes an overflow problem empirically in updating a new decision. Thus, we propose a simple remedy - setting C 1 and C 2 to be a multiple of C , so that the C in the denominator is to be canceled out, according to Lemma 3.5. For instance, when C 1 =0 , C 2 = C , resulting Lipschitz constant simply becomes ‖ ˘ g ( ) t ‖ ∞ ≤ ˘ L ∞ = C 1+0 + 2( C -0) C (1+0) = C +2 ≈ 2, which is a constant far smaller than T and K , typically assumed in the practical cross-device FL setting. Therefore, for all experiments of AAggFF-D , we set C 1 =0 , C 2 = C .

## 5.3 Regret Analysis

In this section, we provide theoretical guarantees of our methods, AAggFF-S and AAggFF-D in terms of sequential decision making. The common objective for OCO algorithms is to minimize the regret across a sequence of decision losses in eq. (3.5). We provide sublinear regret upper bounds in terms of T as follows.

Theorem 3.1. (Regret Upper Bound for AAggFF-S (i.e., ONS [4, 79])) With the notation in eq. (3.7) , suppose for every p ∈ ∆ K -1 , and for every t ∈ [ T ] , let the decisions { p ( ) t : t ∈ [ T ] } be derived by AAggFF-S for K clients during T rounds in Algorithm 3.1. Then, the regret defined in eq. (3.5) is bounded above as follows, where α and β are determined as α =4 KL ∞ , β = 1 4 L ∞ .

$$\text{Regret} ^ { ( T ) } \left ( \mathbf p ^ { * } \right ) \leq 2 L _ { \infty } K \left ( 1 + \log \left ( 1 + \frac { T } { 1 6 K } \right ) \right ).$$

From the Theorem 3.1, we can enjoy O ( L ∞ K log T ) regret upper bound, which is an acceptable result, considering a typical assumption in the cross-silo setting (i.e., K &lt; T ).

For the cross-device setting, we first present the full synchronization setting, which requires no extra adjustment.

Theorem 3.2. (Regret Upper Bound for AAggFF-D with Full-Client Participation) With the notation in (3.9), suppose for every p ∈ ∆ K -1 , and for every t ∈ [ T ] , let the decisions { p ( ) t : t ∈ [ T ] } be derived by AAggFF-D for K clients with client sampling probability C =1 during T rounds in Algorithm 3.2. Then, the regret defined in (3.5) is bounded above as follows.

$$\text{Regret} ^ { ( T ) } ( \boldsymbol p ^ { * } ) \leq 2 L _ { \infty } \sqrt { T \log K }.$$

When equipped with a client sampling, the randomness from the sampling should be considered. Due to local losses of selected clients can only be observed, AAggFF-D should be equipped with the unbiased estimator of a response vector (from Lemma 3.2) and a corresponding linearly approximated gradient vector (from Lemma 3.3). Since they are unbiased estimators, the expected regret is also the same.

Corollary 3.1. (Regret Upper Bound for AAggFF-D with Partial-Client Participation) With the client sampling probability C ∈ (0 1) , , the DR estimator of a partially observed response ˘ r ( ) t and corresponding linearized gradient ˘ g ( ) t for all t ∈ [ T ] , the regret defined in (3.5) is bounded above in expectation as follows.

$$\mathbb { E } \left [ \text{Regret} ^ { ( T ) } ( \boldsymbol p ^ { * } ) \right ] \leq \mathcal { O } \left ( L _ { \infty } \sqrt { T \log K } \right ).$$

## 6 Experimental Results

We design experiments to evaluate empirical performances of our proposed framework AAggFF , composed of sub-methods AAggFF-S and AAggFF-D , each of which is practical FL setting.

## 6.1 Experimental Setup

Table 3.4: Detailed description of federated benchmarks for cross-silo and cross-device settings

| Cross-Silo   | Cross-Silo   | Cross-Silo   | Cross-Device   | Cross-Device   | Cross-Device   |
|--------------|--------------|--------------|----------------|----------------|----------------|
| Dataset      | K            | T            | Dataset        | K              | T              |
| Berka        | 7            | 100          | CelebA         | 9,343          | 3,000          |
| MQP          | 11           | 100          | Reddit         | 817            | 300            |
| ISIC         | 6            | 50           | SpeechCommands | 2,005          | 500            |

We conduct experiments on datasets mirroring realistic scenarios in federated systems: multiple modalities (vision, text, speech, and tabular form) and natural data partitioning. We briefly summarize FL settings of each dataset in Table 3.4. For the cross-silo setting, we used Berka tabular dataset [16], MQP clinical text dataset [136], and ISIC oncological image dataset [30] (also a part of FLamby benchmark [148]). For the cross-device setting, we used CelebA vision dataset [129], Reddit text dataset (both are parts of LEAF benchmark [19]) and SpeechCommands audio dataset [190].

Instead of manually partitioning data to simulate statistical heterogeneity, we adopt natural client partitions inherent in each dataset. Each client dataset is split into an 80% training set and a 20% test set in a stratified manner where applicable. All experiments are run with 3 different random seeds after tuning hyperparameters. See Table 3.4 for descriptions of federated settings.

Datasets We used 3 datasets for the cross-silo setting (Berka [16], MQP [136], and ISIC [30,148]), and 3 other datasets for the cross-device setting (CelebA, Reddit [19], and SpeechCommands [190]).

The statistics of all federated benchmarks are summarized in Table 3.5. Note that Avg. and Std. in the table refer to the average and a standard deviation of a sample size of each client in the FL system

First, we present details of the federated benchmark for the cross-silo setting.

Table 3.5: Statistics of federated benchmarks

| Dataset        | Clients   | Samples   |    Avg. |    Std. |
|----------------|-----------|-----------|---------|---------|
| Berka          | 7         | 621       |   88.71 |   24.78 |
| MQP            | 11        | 3,048     |  277.09 |   63.25 |
| ISIC           | 6         | 21,310    | 3551.67 | 3976.16 |
| CelebA         | 9,343     | 200,288   |   21.44 |    7.63 |
| Reddit         | 817       | 97,961    |  119.9  |  229.85 |
| SpeechCommands | 2,005     | 84,700    |   42.24 |   36.69 |

- · Berka is a tabular dataset containing bank transaction records collected from Czech bank [16]. Berka accompanies the loan default prediction task (i.e., binary classification) of each bank's customers. It is fully anonymized and is originally composed of 8 relational tables: accounts, clients, disposition, loans, permanent orders, transactions, demographics, and credit cards. We merged all 8 tables into one dataset by joining the primary keys of each table, and finally have 15 input features. From the demographics table, we obtain information on the region: Prague, Central Bohemia, South Bohemia, West Bohemia, North Bohemia, East Bohemia, South Moravia, and North Moravia. We split each client according to the region and excluded all samples of North Bohemia since it has only one record of loan default, thus we finally have 7 clients (i.e., banks). Finally, we used the area under the receiver operating characteristic (ROC) curve for the evaluation metric.
- · MQP is a clinical question pair dataset crawled from medical question answering dataset [13], and labeled by 11 doctors [136]. All paired sentences are labeled as either similar or dissimilar, thereby it is suitable for the binary classification task. As a pre-processing, we merge two paired sentences into one sentence by adding special tokens: [SEP] , [PAD] , and [UNK] . We set the maximum token length to 200, thus merged sentences less than 200 are filled with [PAD] tokens, and otherwise are truncated. Then, merged sentences are tokenized using pre-trained DistilBERT tokenizer [164]. We regard each doctor as a separate client and thus have 11 clients. Finally, we used the area under the ROC curve for the evaluation metric.
- · ISIC is a dermoscopic image dataset for a skin cancer classification, collected from 4 hospitals. [30,148] The task contains 8 distinct melanoma classes, thus designed for the multi-class classification task. Following [148], as one hospital has three different imaging apparatus, its samples are further divided into 3 clients, thus we finally have 6 clients in total. Finally, we used top-5 accuracy for the evaluation metric.

Next, we illustrate details of the federated benchmark for the cross-device setting.

- · CelebA is a vision dataset containing the facial images of celebrities [129]. It is curated for federated setting in LEAF benchmark [19], and is targeted for the binary classification task (presence of smile). We follow the processing of [19], thereby each client corresponds to each celebrity, having 9,343 total clients in the FL system. Finally, we used top-1 accuracy for the evaluation metric following [19].
- · Reddit is a text dataset containing the comments of community users of Reddit in December 2017, and a part of LEAF benchmark [19]. Following [19], we build a dictionary of vocabularies of size 10,000 from tokenized sentences and set the maximum sequence length to 10. The main task is tailored for language modeling, i.e., next token prediction, given word embeddings in each sentence of clients. Each client corresponds to one of the community users, thus 817 clients are presented in total. Finally, we used the top-1 accuracy for the evaluation metric following [19].
- · SpeechCommands is designed for a short-length speech recognition task that includes one second 35 short-length words, such as 'Up', 'Down', 'Left', and 'Right' [190]. It is accordingly a multi-class classification task for 35 different classes. While it is collected from 2,618 speakers, we rule out all samples of speakers having too few samples when splitting the dataset into training and test sets. (e.g., exclude speakers whose total sample counts are less than 3) As a result, we have 2,005 clients, and each client has 16,000-length time-domain waveform samples. Finally, we used top-5 accuracy for the evaluation metric.

Model Architectures For each dataset, we used task-specific model architectures which are already used in previous works, or widely used in reality, to simulate the practical FL scenario as much as possible.

For the experiment of the cross-silo setting, we used the following models.

- · Logistic Regression is used for the Berka dataset. We used a simple logistic regression model with a bias term, and the output (i.e., logit vector) is transformed into predicted class probabilities by the softmax function.
- · DistilBERT [164] is used for the MQP dataset. We used a pre-trained DistilBERT model, from BookCorpus and English Wikipedia [164]. We also used the corresponding DistilBERT tokenizer for the pre-processing of raw clinical sentences. For a fine-tuning of the pre-trained

DistilBERT model, we attach a classifier head next to the last layer of the DistilBERT's encoder, which outputs an embedding of 768 dimension. The classifier is in detail processing the embedding as follows: (768-ReLU-Dropout-2), where each figure is an output dimension of a fully connected layer with a bias term, ReLU is a rectified linear unit activation layer, and Dropout [175] is a dropout layer having probability of 0 1. . In the experiment, we trained all layers including pre-trained weights.

- · EfficientNet [177] is used for the ISIC dataset. We also used the pre-trained EfficientNetB0 model from ImageNet benchmark dataset [40]. For fine-tuning, we attach a classifier head after the convolution layers of EfficientNet. The classifier is composed of the following components: (AdaptiveAvgPool(7 7)-Dropout-8), where AdaptiveAvgPool( , cdot,cdot ) is a 2D adaptive average pooling layer outputs a feature map of size 7 × 7 (which are flattened thereafter), Dropout is a dropout layer with a probability of 0.1, and the last linear layer outputs an 8-dimensional vector, which is the total number of classes.

Next, for the cross-device setting, we used the following models.

- · ConvNet model used in LEAF benchmark [19] is used for the CelebA dataset. It is composed of four convolution layers, of which components are: 2D convolution layer without bias term with 32 filters of size 3 × 3 (stride=1, padding=1), group normalization layer (the number of groups is decreased from 32 by a factor of 2: 32, 16, 8, 4), 2D max pooling layer with 2 × 2 filters, and a ReLU nonlinear activation layer. Plus, a classifier comes after the consecutive convolution layers, which are composed of: (AdaptiveAvgPool(5 5)-1), which , are a 2D adaptive average pooling layer that outputs a feature map of size 5 × 5 (which are flattened thereafter), and a linear layer with a bias term outputs a scalar value since it is a binary classification task.
- · StackedLSTM model used in LEAF benchmark [19] is used for the Reddit dataset. It is composed of an embedding layer of which the number of embeddings is 200, and outputs an embedding vector of 256 dimensions. It is processed by consecutive 2 LSTM [87] layers with the hidden size of 256, and enters the last linear layer with a bias term, which outputs a logit vector of 10,000 dimensions, which corresponds to the vocabulary size.
- · M5 [37] model is used for the SpeechCommands dataset. It is composed of four 1D convolution layers followed by a 1D batch normalization layer, ReLU nonlinear activation, and a 1D max pooling layer with a filter of size 4. All convolution layers EXCEPT the input layer have a filter of size 3, and the numbers of filters are 64, 128, and 256 (all with stride=1 and

padding=1). The input convolution layer has 64 filters with a filter of size 80, and stride of 4. Lastly, one linear layer outputs a logit vector of 35 dimensions.

Hyperparameters Before the main experiment, we first tuned hyperparameters of all baseline fair FL algorithms from a separate random seed. The hyperparameter of each fair algorithm is listed as follows.

- · AFL [142] - a learning rate of a mixing coefficient ∈ {0.01, 0.1, 1.0}
- · q-FedAvg [120] - a magnitude of fairness, ∈ {0.1, 1.0, 5.0}
- · TERM [116] - a tilting constant, λ , ∈ {0.1, 1.0, 10.0}
- · FedMGDA [94] - a deviation from static mixing coefficient ∈ {0.1, 0.5, 1.0}
- · PropFair [205] - a baseline constant ∈ {2, 3, 5}

Each candidate value is selected according to the original paper, and we fix the number of local epochs, E =1 (following the set up in [120]), along with the number of local batch size B =20 in all experiments. For each dataset, a weight decay (L2 penalty) factor ( ψ ; following a theoretical result [122]), a local learning rate ( η ), and variables related to a learning rate scheduling (i.e., learning rate decay factor ( φ ), and a decay step ( s )) are tuned first with FedAvg [137] as follows.

- · Berka : ψ =10 -3 , η =10 0 , φ =0 99 . , s =10
- · MQP : ψ =10 -2 , η =10 -5 2 , φ =0 99 . , s =15
- · ISIC : ψ =10 -2 , η =10 -4 , φ =0 95 . , s =5
- · CelebA : ψ =10 -4 , η =10 -1 , φ =0 96 . , s =300
- · Reddit : ψ =10 -6 , η =10 7 8 , φ =0 95 . , s =20
- · SpeechCommands : ψ =0 , η =10 -1 , φ =0 999 . , s =10

This is intended under the assumption that all fair FL algorithms should at least be effective in the same setting of the FL algorithm with the static aggregation scheme (i.e., FedAvg ). Note that client-side optimization in all experiments is done by the Stochastic Gradient Descent (SGD) optimizer.

## 6.2 Improvement in the Client-Level Fairness

We compare our methods with existing fair FL methods including FedAvg [137], AFL [142], q-FedAvg [120], TERM [116], FedMGDA [94], and PropFair [205]. Since AFL requires full synchronization of clients every round, it is only compared in the cross-silo setting.

In the cross-silo setting, we assume all K clients participate in T federation rounds (i.e., C =1), and in the cross-device setting, the client participation rate C ∈ (0 1) is set to ensure 5 , among K clients are participating in each round. We evaluate each dataset using appropriate metrics for tasks as indicated under the dataset name in Table 3.6 and 3.7, where the average, the best (10%), the worst (10%), and Gini coefficient 2 of clients' performance distributions are reported with the standard deviation inside parentheses in gray color below the averaged metric.

From the results, we verify that AAggFF can lead to enhanced worst-case metric and Gini coefficient in both settings while retaining competitive average performance to other baselines. Remarkably, along with the improved worst-case performance, the small Gini coefficient indicates that performances of clients are close to each other, which is directly translated into the improved client-level fairness.

2 The Gini coefficient is inflated by ( × 10 ) for readability. 2

|         | Gini   | ( ↓ )   | 4.84                                                        | (1.17)   | 4.80   | (1.74)   | 22.25   | (10.02)   | 3.77   | (0.94)   | 22.25   | (10.02)   | 7.91   | (2.10)   | 2.52     | (0.38)     |
|---------|--------|---------|-------------------------------------------------------------|----------|--------|----------|---------|-----------|--------|----------|---------|-----------|--------|----------|----------|------------|
| 5)      | Best   | ( ↑ )   | 92.57                                                       | (2.56)   | 93.33  | (2.18)   | 58.08   | (28.52)   | 96.00  | (3.27)   | 59.21   | (28.52)   | 91.35  | (2.48)   | 98.22    | (1.66)     |
| (Acc.   | Worst  | ( ↑ )   | 69.92                                                       | (6.78)   | 68.17  | (10.09)  | 20.38   | (23.24)   | 77.32  | (5.84)   | 21.44   | (21.30)   | 58.36  | (11.63)  | 85.17    | (3.87)     |
|         | Avg.   | ( ↑ )   | 87.42                                                       | (2.11)   | 87.39  | (2.31)   | 41.59   | (16.22)   | 87.89  | (1.69)   | 42.36   | (14.94)   | 83.88  | (2.50)   | 89.76    | (1.03)     |
|         | Gini   | ( ↓ )   | 8.63                                                        | (0.91)   | 8.56   | (1.24)   | 8.68    | (0.57)    | 8.67   | (1.43)   | 10.33   | (0.44)    | 8.74   | (0.87)   | 8.38     | (0.77)     |
| (AUROC) | Best   | ( ↑ )   | 76.31                                                       | (8.42)   | 75.54  | (6.77)   | 79.38   | (9.09)    | 76.80  | (8.30)   | 69.65   | (3.89)    | 79.09  | (7.40)   | 75.56    | (6.53)     |
| MQP     | Worst  | ( ↑ )   | 41.03                                                       | (4.33)   | 41.28  | (3.92)   | 40.22   | (3.06)    | 40.73  | (4.36)   | 34.91   | (2.22)    | 41.71  | (3.80)   | 41.79    | (4.43)     |
|         | Avg.   | ( ↑ )   | 56.06                                                       | (0.06)   | 56.01  | (0.30)   | 56.89   | (0.42)    | 56.47  | (0.19)   | 53.02   | (1.67)    | 56.60  | (0.39)   | 56.63    | (0.54)     |
|         | Gini   | ( ↓ )   | 10.87                                                       | (4.11)   | 10.58  | (5.03)   | 10.62   | (5.22)    | 10.86  | (4.73)   | 11.64   | (4.84)    | 10.47  | (5.04)   | 10.16    | (3.80)     |
| (AUROC) | Best   | ( ↑ )   | 99.03                                                       | (1.37)   | 98.55  | (2.05)   | 98.07   | (2.73)    | 99.03  | (1.37)   | 99.03   | (1.37)    | 98.07  | (2.73)   | 99.03    | (1.37)     |
|         | Worst  | ( ↑ )   | 48.06                                                       | (25.15)  | 49.02  | (25.89)  | 49.44   | (26.15)   | 48.96  | (25.79)  | 46.38   | (24.11)   | 49.44  | (26.15)  | 52.08    | (23.59)    |
|         | Avg.   | ( ↑ )   | 80.09                                                       | (2.45)   | 79.70  | (4.14)   | 79.98   | (3.89)    | 80.11  | (3.08)   | 79.24   | (2.96)    | 79.61  | (4.49)   | 80.93    | (2.96)     |
|         |        |         | [120] [94] [205]                                            |          |        |          |         |           |        |          |         |           |        |          |          |            |
| Dataset |        |         |                                                             |          |        |          |         |           |        |          |         |           |        |          |          |            |
|         | Method |         |                                                             |          |        |          |         |           |        |          |         |           |        |          |          |            |
|         |        |         | FedAvg [137] AFL [142] q-FedAvg TERM [116] FedMGDA PropFair |          |        |          |         |           |        |          |         |           |        |          | AAggFF-S | (Proposed) |

## Table 3.7: Comparison results of AAggFF-D in the cross-device setting

|                |             | Gini           | ( ↓ )   | 24.58        | (1.34)       | 23.16    | (0.13)   | 26.37      | (1.32)     | 23.68        | (1.27)       | 24.97             | (1.09) 21.42      | (0.81)     |
|----------------|-------------|----------------|---------|--------------|--------------|----------|----------|------------|------------|--------------|--------------|-------------------|-------------------|------------|
| SpeechCommands | 5)          | Best 10%( ↑ )  | 100.00  | (0.00)       | 100.00       | (0.00)   | 100.00   | (0.00)     | 100.00     | (0.00)       | 100.00       | (0.00)            | 100.00            | (0.00)     |
|                | (Acc.       | Worst 10%( ↑ ) | 7.93    | (2.87)       | 11.19        | (0.47)   | 5.98     | (1.10)     | 9.65       | (2.90)       | 7.30         | (1.02)            | 14.54             | (2.58)     |
|                | Avg.        | ( ↑ )          | 75.51   | (1.08)       | 73.34        | (0.47)   | 70.90    | (2.96)     | 72.45      | (1.88)       | 73.64        | (3.31)            | 76.68             | (0.80)     |
|                | Gini        | ( ↓ )          | 25.66   | (0.49)       | 23.34        | (0.34)   | 24.15    | (1.05)     | 25.20      | (0.22)       | 25.97        | (1.02)            | 22.59             | (0.28)     |
| Reddit         | 1) Best     | 10%( ↑ )       | 20.86   | (3.64)       | 21.81        | (0.19)   | 20.74    | (0.65)     | 19.09      | (0.62)       | 21.33        | (0.92)            | 22.81             | (1.36)     |
|                | (Acc. Worst | 10%( ↑ )       | 2.50    | (0.21)       | 3.38         | (0.20)   | 2.85     | (0.41)     | 2.35       | (0.20)       | 1.95         | (0.32)            | 4.75              | (0.76)     |
|                | Avg.        | ( ↑ )          | 10.76   | (1.45)       | 12.76        | (0.32)   | 12.02    | (0.16)     | 10.58      | (0.18)       | 11.26        | (0.71)            | 12.95             | (0.39)     |
|                | Gini        | ( ↓ )          | 7.86    | (0.30)       | 7.82         | (0.21)   | 7.90     | (0.38)     | 9.75       | (0.59)       | 10.39        | (3.43)            | 7.54              | (0.04)     |
|                | 1) Best     | 10%( ↑ )       | 100.00  | (0.00)       | 100.00       | (0.00)   | 100.00   | (0.00)     | 100.00     | (0.00)       | 100.00       | (0.00)            | 100.00            | (0.00)     |
| CelebA         | (Acc. Worst | 10% ( ↑ )      | 55.76   | (0.84)       | 55.73        | (0.85)   | 55.66    | (0.93)     | 48.60      | (25.85)      | 48.11        | (10.03)           | 56.71             | (0.08)     |
|                | Avg.        | ( ↑ )          | 90.79   | (0.53)       | 90.88        | (0.19)   | 90.71    | (0.65)     | 88.33      | (0.63)       | 87.25        | (5.01)            | 91.27             | (0.07)     |
|                |             |                |         |              | [120]        | [120]    |          |            |            |              | [205]        | [205]             |                   |            |
| Dataset        |             | Method         |         | FedAvg [137] | FedAvg [137] | q-FedAvg | q-FedAvg | TERM [116] | TERM [116] | FedMGDA [94] | FedMGDA [94] | PropFair AAggFF-D | PropFair AAggFF-D | (Proposed) |

## 6.3 Connections to Accuracy Parity

Table 3.8: Accuracy parity gap in the cross-silo setting

Table 3.9: Accuracy parity gap in the cross-device setting

| Dataset        | Berka     | MQP       | ISIC      |
|----------------|-----------|-----------|-----------|
| Method         | ∆AG ( ↓ ) | ∆AG ( ↓ ) | ∆AG ( ↓ ) |
| FedAvg [137]   | 50.84     | 35.30     | 22.64     |
|                | (23.98)   | (5.39)    | (4.50)    |
| AFL [142]      | 50.98     | 34.26     | 25.16     |
|                | (23.78)   | (5.16)    | (8.01)    |
| q-FedAvg [120] | 50.43     | 39.16     | 37.69     |
|                | (22.15)   | (7.13)    | (5.52)    |
| TERM [116]     | 49.60     | 36.07     | 15.19     |
|                | (23.74)   | (6.93)    | (9.26)    |
| FedMGDA [94]   | 44.46     | 34.74     | 37.69     |
|                | (17.49)   | (1.74)    | (5.52)    |
| PropFair [205] | 49.05     | 37.38     | 32.99     |
|                | (23.78)   | (4.35)    | (9.60)    |
| AAggFF-S       | 44.03     | 33.77     | 13.05     |

| Dataset        | CelebA    | Reddit    | Speech Commands   |
|----------------|-----------|-----------|-------------------|
| Method         | ∆AG ( ↓ ) | ∆AG ( ↓ ) | ∆AG ( ↓ )         |
| FedAvg [137]   | 44.25     | 18.36     | 92.07             |
| FedAvg [137]   | (0.84)    | (3.52)    | (2.87)            |
| q-FedAvg [120] | 44.27     | 18.43     | 88.81             |
| q-FedAvg [120] | (0.85)    | (0.09)    | (0.47)            |
| TERM [116]     | 44.34     | 17.89     | 94.02             |
| TERM [116]     | (0.93)    | (0.75)    | (1.10)            |
| FedMGDA [94]   | 51.40     | 16.74     | 90.35             |
| FedMGDA [94]   | (2.59)    | (0.43)    | (2.90)            |
| PropFair [205] | 51.90     | 19.39     | 92.70             |
| PropFair [205] | (10.03)   | (0.64)    | (1.02)            |
| AAggFF-D       | 43.29     | 18.07     | 85.46             |
| AAggFF-D       | (0.08)    | (0.70)    | (2.58)            |

As discussed in [120], the client-level fairness can be loosely connected to existing fairness notion, the accuracy parity [204]. It is guaranteed if the accuracies in protected groups are equal to each other. While the accuracy parity requires equal performances among specific groups having protected attributes [33, 204], this is too restrictive to be directly applied to FL settings, since each client cannot always be exactly corresponded to the concept of 'a group', and each client's local distribution may not be partitioned by protected attributes in the federated system.

With a relaxation of the original concept, we adopt the notion of accuracy parity for measuring the degree of the client-level fairness in the federated system, i.e., we simply regard the group as each client. As a metric, we adopt the accuracy parity gap (∆AG) proposed by [27,208], which is simply defined as an absolute difference between the performance of the best and the worst performing groups (clients). The results are in Table 3.8 and Table 3.9. It can be said that the smaller the ∆AG, the more degree of the accuracy parity fairness (and therefore the client-level fairness) is achieved.

It should be noted that strictly achieving the accuracy parity can sometimes require sacrifice in the average performance. This is aligned with the result of Reddit dataset in Table 3.9, where FedMGDA [94] achieved the smallest ∆AG, while its average performance is only 10.58 in Table 3.7. This is far lower than our proposed method's average performance, 12.95. Except this case, AAggFF consistently shows the smallest ∆AG than other baseline methods, which is important in the perspective of striking a good balance between overall utility and the client-level fairness.

## 6.4 Plug-and-Play Boosting

We additionally check if AAggFF can also boost other FL algorithms than FedAvg , such as FedAdam, FedAdagrad, FedYogi [158] and FedProx [119]. Since the sequential decision making procedure required in AAggFF is about finding a good mixing coefficient, p , this is orthogonal to the minimization of θ . Thus, our method can be easily integrated into existing methods with no special modification, in a plug-and-play manner.

For the verification, we test with two more datasets, Heart [100] and TinyImageNet [113], each of which is suited for binary and multi-class classification (i.e., 200 classes in total). Since the Heart dataset is a part of FLamby benchmark [148], it has pre-defined K =4 clients. For the TinyImageNet dataset, we simulate statistical heterogeneity for K =1 000 clients using Dirichlet , distribution with a concentration of 0 01, following [91]. . The results are in Table 3.10, where the upper cell represents the performance of a naive FL algorithm, and the lower cell contains a performance of the FL algorithm with AAggFF . While the average performance remains comparable, the worst performance is consistently boosted in both cross-silo and cross-device settings. This underpins the efficacy and flexibility of AAggFF , which can strengthen the fairness perspective of existing FL algorithms.

Table 3.10: Improved performance of FL algorithms after being equipped with AAggFF

| Dataset               | Heart (AUROC)            | Heart (AUROC)   | Heart (AUROC)       | TinyImageNet (Acc. 5)   | TinyImageNet (Acc. 5)   | TinyImageNet (Acc. 5)   | TinyImageNet (Acc. 5)   |
|-----------------------|--------------------------|-----------------|---------------------|-------------------------|-------------------------|-------------------------|-------------------------|
| Method                | Avg. ( ↑ )               | Worst ( ↑ )     | Worst ( ↑ )         | Avg. ( ↑ )              | Avg. ( ↑ )              | Worst 10%( ↑ )          | Worst 10%( ↑ )          |
| FedAvg [137]          | 84.42 (2.45)             | 65.22           | (9.78)              | 85.93                   | (0.77)                  | 50.95                   | (0.15)                  |
| FedAvg [137]          | 85.04 (2.86)             | 66.56           | (10.81)             | 86.66                   | (0.63)                  | 51.50                   | (2.32)                  |
| FedProx FedAdam [158] | 84.48(0.25) 85.04 (2.81) | 66.67           | 65.44(9.77) (10.71) | 86.49 86.11             | (0.72) (0.72)           | 51.64 52.29             | (2.07) (2.16)           |
| FedProx FedAdam [158] | 84.84 (2.85)             | 67.00           | (10.61)             | 87.89                   | (0.90)                  | 55.92                   | (2.25)                  |
| FedYogi [158]         | 84.29(2.62)              |                 | 65.67(10.68)        | 86.70                   | (1.40)                  | 52.81                   | (3.50)                  |
| FedYogi [158]         | 84.86 (3.01)             | 67.00           | (11.09)             | 87.42                   | (0.94)                  | 54.76                   | (3.11)                  |
| FedAdagrad [158]      | 84.61(2.96)              |                 | 65.67(10.68)        | 83.52                   | (0.63)                  | 45.09                   | (1.79)                  |
| FedAdagrad [158]      | 85.09 (2.91)             | 66.67           | (10.37)             | 84.62                   | (0.51)                  | 47.88                   | (1.95)                  |

## 7 Conclusion

For improving the degree of client-level fairness in FL, we first reveal the connection between existing fair FL methods and the OCO. To emphasize the sequential decision-making perspective, we propose improved designs and further specialize them into two practical settings: cross-silo FL &amp; cross-device FL. Our framework not only efficiently enhances a low-performing group of clients compared to existing baselines, but also maintains an acceptable average performance with theoretically guaranteed behaviors. It should also be noted that AAggFF requires no extra communication and no added local computation , which are significant constraints for serving FLbased services. With this scalability, our method can also improve the fairness of the performance distributions of existing FL algorithms without much modification to their original mechanisms. By explicitly bringing the sequential decision-making scheme to the front, we expect our work to open up new designs to promote the practicality and scalability of FL.

Our work suggests interesting future directions for better federated systems, which may also be a limitation of the current work. First, we can exploit side information (e.g., parameters of local updates) to not preserve all clients' mixing coefficients, and filter out malicious signals for robustness. For example, the former can be realized by adopting other decision-making schemes such as contextual Bayesian optimization [21], and the latter can be addressed by clustered FL [65, 166] for a group-wise estimation of mixing coefficients. Both directions are promising and may improve the practicality of federated systems. Furthermore, the FTRL objective can be replaced by the Follow-The-Perturbed-Leader (FTPL) [104], of which random perturbation in decision-making process can be directly linked to the differential privacy (DP [51]) guarantee [139], which is frequently considered for the cross-silo setting. Last but not least, further convergence analysis is required w.r.t. the parameter perspective along with mixing coefficients, e.g., using a bi-level optimization formulation.

## 8 Derivations &amp; Deferred Proofs

## 8.1 Derivation of Mixing Coefficients from Existing Methods

In this section, we provide details of the unification of existing methods in the OCO framework, introduced in Section 3.2. We assume full-client participation for derivation, and we denote n = ∑ K i =1 n i as a total sample size for the brevity of notation.

Suppose any FL algorithms follow the update formula in (3.13), where we define p ( +1) t as a mixing coefficient vector discussed in Section 3.2.

$$\theta ^ { ( t + 1 ) } \leftarrow \theta ^ { ( t ) } - \left ( \sum _ { i = 1 } ^ { K } p _ { i } ^ { ( t + 1 ) } \left ( \theta ^ { ( t ) } - \theta _ { i } ^ { ( t + 1 ) } \right ) \right ),$$

where θ ( ) t is a global model in a previous round t , θ ( +1) t i is a local update from i -th client starting from θ ( ) t , and θ ( +1) t is a new global model updated by averaging local updates with corresponding mixing coefficient p ( +1) t i .

FedAvg [137] The update of a global model from FedAvg is defined as follows.

$$\theta ^ { ( t + 1 ) } \leftarrow \theta ^ { ( t )$$

where n i is the sample size of client i . Thus, we can regard p ( +1) t i ∝ n i in FedAvg .

AFL &amp; q-FedAvg [120,142] The objective of AFL is a minimax objective defined as follows.

$$\min _ { \theta \in \mathbb { R } ^ { d } u \in$$

which is later subsumed by q-FedAvg as its special case for the algorithm-specific constant q , where q → 0.

The objective of q-FedAvg is therefore defined with a nonnegative constant q as follows.

$$\begin{array} {$$

which is reduced to FedAvg when q =0.

The update of a global model from (3.16) has been proposed in the form of a Newton style update by assuming L -Lipschitz continuous gradient of each local objective (i.e., q-FedSGD ) [120].

$$t \upsilon y \, \text{asounding} \, \mathcal { L } \$$

where L q,i = qF q -1 i ( θ ( ) t ) ‖∇ F i ( θ ( ) t ) ‖ 2 + LF q i ( θ ( ) t ) is an upper bound of the local Lipschitz gradient of ˜ F i ( θ ( ) t ) (see Lemma 3 of [120]).

This can be extended to q-FedAvg by replacing ∇ F i ( θ ( ) t ) into L ( θ ( ) t -θ ( +1) t i ) . To sum up, the update formula of a global model from q-FedAvg (including AFL as a special case) is as follows.

$$\theta ^ { ( t + 1 ) } \in \theta ^ { ( t ) }$$

which implies p ( +1) t i ∝ n F i q i ( θ ( ) t ) .

TERM [116] The objective of TERM is dependent upon a hyperparameter, a tilting constant λ ∈ R .

$$\min _ { \theta \in \mathbb { R } ^ { d } } \frac { 1 } { \lambda } \log \left ( \sum _ { i = 1 } ^ { K } \frac { n _ { i } } { n } \exp \left ( \lambda F _ { i } ( \theta ^ { ( t ) } ) \right ) \right )$$

The corresponding update formula is given as follows.

$$\theta ^ { ( t + 1 ) } = \theta ^ { ( t ) } - \left ( \sum _ { i = 1 } ^ { K } \frac { ( n _ { i } / n ) \exp \left ( \lambda F _ { i } \left ( \theta ^ { ( t ) } \right ) \right ) } { \sum _ { j = 1 } ^ { K } ( n _ { j } / n ) \exp \left ( \lambda F _ { j } \left ( \theta ^ { ( t ) } \right ) \right ) } \left ( \theta ^ { ( t ) } - \theta _ { i } ^ { ( t + 1 ) } \right ) \right )$$

From the update formula, we can conclude that p ( +1) t i ∝ n i exp ( λF i ( θ ( ) t )) .

PropFair [205] The objective of PropFair is to maximize Nash social welfare by regarding a negative local loss as an achieved utility as follows.

$$\min _ { \theta \in \mathbb { R } ^ { d } } - \sum _ { i = 1 } ^ { K } p _ { i } \log \left ( M - F _ { i } \left ( \theta \right ) \right ),$$

where M ≥ 1 is a problem-specific constant.

The corresponding update formula is given as follows.

$$\theta ^ { ( t + 1 ) } \in \theta ^ { ( t ) } + \left ( \sum _ { i = 1 } ^ { K } \frac { n _ { i } } { n } \nabla \log \left ( M - F _ { i } \left ( \theta ^ { ( t ) } \right ) \right ) \right ) = \theta ^ { ( t ) } - \left ( \sum _ { i = 1 } ^ { K } \frac { n _ { i } } { n } \frac { \nabla F _ { i } \left ( \theta ^ { ( t ) } \right ) } { M - F _ { i } \left ( \theta ^ { ( t ) } \right ) } \right ).$$

Similar to q-FedAvg , by replacing the gradient ∇ F i ( θ ( ) t ) into ( θ ( ) t -θ ( +1) t i ) , the update formula finally becomes:

$$\theta ^ { ( t + 1 ) } \varpropto \theta ^ { ( t ) } - \left ( \sum _ { i = 1 } ^ { K } \frac { n _ { i } / n } { M - F _ { i } \left ( \theta ^ { ( t ) } \right ) } \left ( \theta ^ { ( t ) } - \theta _ { i } ^ { ( t + 1 ) } \right ) \right ),$$

which implies p ( +1) t i ∝ n i M F -i ( θ ( ) t ) .

## 8.2 Technical Lemmas

In this section, we provide technical lemmas and proofs (including deferred ones in the main text) required for proving Theorem 3.1, Theorem 3.2, and Corollary 3.1.

## 8.3 Strict Convexity of Decision Loss

Lemma 3.4. For all t ∈ [ T ] , the decision loss /lscript ( ) t defined in (3.3) satisfies following for γ ∈ (0 1) , , i.e., the decision loss is a strictly convex function of its first argument.

/negationslash

$$\ell ^ { ( t ) } \left ( \gamma p + ( 1 - \gamma ) q \right ) < \gamma \ell ^ { ( t ) } \left ( p \right ) + ( 1 - \gamma ) \ell ^ { ( t ) } \left ( q \right ), \forall p, q \in \Delta _ { K - 1 }, p \neq q.$$

Proof. From the left-hand side, we have

$$\cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \\ & \ell ^ { ( t ) } \left ( \gamma p + ( 1 - \gamma ) q \right ) \\ = & - \log \left ( 1 + \langle \gamma p + ( 1 - \gamma ) q, r ^ { ( t ) } \rangle \right ) \\ = & - \log \left ( 1 + \langle \gamma p, r ^ { ( t ) } \rangle + \langle ( 1 - \gamma ) q, r ^ { ( t ) } \rangle \right ) \\ = & - \log \left ( \gamma ( 1 + \langle p, r ^ { ( t ) } \rangle ) + ( 1 - \gamma ) ( 1 + \langle q, r ^ { ( t ) } \rangle ) \right ).$$

Since the negative of logarithm is strictly convex, the last term becomes

$$- \log \left ( \gamma ( 1 + \langle p, r ^ { ( t ) } ) ) + ( 1 - \gamma ) ( 1 + \langle q, r ^ { ( t ) } ) ) \right ) < \gamma \left ( - \log ( 1 + \langle p, r ^ { ( t ) } ) ) \right ) + ( 1 - \gamma ) \left ( - \log ( 1 + \langle q, r ^ { ( t ) } ) ) \right ),$$

which satisfies the definition of the strict convexity, thereby concludes the proof.

■

## 8.4 Lipschitz Continuity of Decision Loss (Lemma 3.1)

From the definition of the Lipschitz continuity w.r.t. ‖·‖ , we need to check if the decision loss /lscript ( ) t satisfies following inequality for the constant L ∞ .

$$\left | \ell ^ { \left ( t \right ) } \left ( p \right ) - \ell ^ { \left ( t \right ) } \left ( q \right ) \right | \leq L _ { \infty } \left \| p - q \right \| _ { \infty }.$$

Proof. From Lemma 3.4, we have the following inequality from the convexity of the decision loss.

$$\dots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \cdots \\ & \left | \ell ^ { \left ( t \right ) } \left ( p \right ) - \ell ^ { \left ( t \right ) } \left ( q \right ) \right | \leq \left | \left \langle \nabla \ell ^ { \left ( t \right ) } \left ( p \right ), p - q \right \rangle \right | \\ & = \left | - \frac { \left \langle p - q, r ^ { \left ( t \right ) } \right \rangle } { 1 + \left \langle p, r ^ { \left ( t \right ) } \right \rangle } \right | \\ & = \frac { 1 } { 1 + \left \langle p, r ^ { \left ( t \right ) } \right \rangle } \left | \left \langle q, r ^ { \left ( t \right ) } \right \rangle - \left \langle p, r ^ { \left ( t \right ) } \right \rangle \right |$$

Setting the denominator to be the minimum value, 〈 p r , ( ) t 〉 is C 1 , we have the upper bound as follows.

$$& \frac { 1 } { 1 + \langle p, r ^ { ( t ) } \rangle } \left | \left \langle q, r ^ { ( t ) } \right \rangle - \left \langle p, r ^ { ( t ) } \right \rangle \right | \\ & \leq \frac { 1 } { 1 + \langle p, r ^ { ( t ) } \rangle } \max \left ( \left \langle q, r ^ { ( t ) } \right \rangle, \left \langle p, r ^ { ( t ) } \right \rangle \right ) \\ & \leq \frac { 1 } { 1 + C _ { 1 } } \max \left ( \left \langle q, r ^ { ( t ) } \right \rangle, C _ { 1 } \right ), \\ \text{normalize from to the fact that both } / \alpha \, \alpha ^ { ( t ) } \, \text{and } / \alpha \, \alpha ^ { ( t ) } \, \text{and} \, \text{non-notin} }$$

where the first inequality is from the fact that both 〈 p r , ( ) t 〉 and 〈 q r , ( ) t 〉 are nonnegative, and the second inequality is due to the minimized denominator achieving the upper bound.

Since 〈 q r , ( ) t 〉 can achieve its maximum as C 2 , we can further bound as follows.

$$\frac { 1 } { 1 + C _ { 1 } } \max ( \langle q, r ^ { ( t ) } \rangle, C _ { 1 } ) \leq \frac { 1 } { 1 + C _ { 1 } } \max ( C _ { 2 }, C _ { 1 } ) = \frac { C _ { 2 } } { 1 + C _ { 1 } }$$

Finally, using the fact that ‖ p - ‖ q ∞ = max i | p i -q i | = 1, we can conclude the statement by setting L ∞ = C 2 1+ C 1 . ■

## 8.5 Unbiasedness of Doubly Robust Estimator (Lemma 3.2)

Proof. Denote the client sampling probability C ∈ [0 1] , in time t as P i ( ∈ S ( ) t ) = C . Taking expectation on the doubly robust estimator of partially observed response defined in (3.10), we have

$$& \mathbb { E } \left [ \mathfrak { r } _ { i } ^ { ( t ) } \right ] = \mathbb { E } \left [ \left ( 1 - \frac { \mathbb { I } ( i \in S ^ { ( t ) } ) } { C } \right ) \mathfrak { r } ^ { ( t ) } \right ] + \mathbb { E } \left [ \frac { \mathbb { I } ( i \in S ^ { ( t ) } ) } { C } r _ { i } ^ { ( t ) } \right ] \\ & = \left ( 1 - \frac { \mathbb { E } [ \mathbb { I } ( i \in S ^ { ( t ) } ) ] } { C } \right ) \mathfrak { r } ^ { ( t ) } + \frac { \mathbb { E } \left [ \mathbb { I } ( i \in S ^ { ( t ) } ) \right ] } { C } r _ { i } ^ { ( t ) } \\ & = \left ( 1 - \frac { P ( i \in S ^ { ( t ) } ) } { C } \right ) \mathfrak { r } ^ { ( t ) } + \frac { P ( i \in S ^ { ( t ) } ) } { C } r _ { i } ^ { ( t ) } \\ & = r _ { i } ^ { ( t ) }, \\ \left \lfloor \cdot \right ) \, \text{is an indicator function.}$$

where I ( ) is an indicator function. ·

Note that the randomness of the doubly robust estimator comes from the random sampling of client indices i ∈ S ( ) t in round t , thus the expectation is with respect to i ∈ S ( ) t . Thus, we can conclude that E [ ˘ r ( ) t ] = r ( ) t . See also [11,161]. ■

## 8.6 Unbiasedness of Linearly Approximated Gradient (Lemma 3.3)

Proof. The gradient of a decision loss in terms of a response, g ≡ h ( r ) = [ h 1 ( r ) , ..., h K ( r )] /latticetop = -r 1+ 〈 p r , 〉 can be linearly approximated at reference r 0 as follows.

$$\tilde { \mathbf h } ( r ) = \mathbf h ( r _ { 0 } ) + \mathbf J _ { \mathbf h } ( r _ { 0 } ) ( r - r _ { 0 } )$$

The Jacobian J h ( r ) ∈ R K × K is defined as follows.

$$\text{The Jacobian } J _ { h } ( r ) \in \mathbb { R } ^ { K \times K } \text{ is defined as follows.} \\ \text{$J_{h}(r)=\left[\frac{\partial h}{\partial r_{1},\cdots,\frac{\partial h}{\partial r_{K}} \right]$} \\ = \left [ \begin{array} { c c c c c } \partial h _ { 1 } & \cdots & \partial h _ { 1 } \\ \partial r _ { 1 } & \cdots & \partial h _ { K } \\ \vdots & \ddots & \vdots \\ \partial h _ { K } & \cdots & \partial h _ { K } \\ \partial r _ { K } \end{array} \right ] \\ = \left [ \begin{array} { c c c c c } - \frac { 1 } { 1 + ( p, r ) } + \frac { p r _ { 1 } } { ( 1 + ( p, r ) ) ^ { 2 } } & \frac { p r _ { 2 } } { ( 1 + ( p, r ) ) ^ { 2 } } & \cdots & \frac { p _ { K } r _ { 1 } } { ( 1 + ( p, r ) ) ^ { 2 } } \\ \frac { p r _ { 1 } r _ { 2 } } { ( 1 + ( p, r ) ) ^ { 2 } } & - \frac { 1 } { 1 + ( p, r ) } + \frac { p r _ { 2 } } { ( 1 + ( p, r ) ) ^ { 2 } } & \cdots & \frac { p _ { K } r _ { 2 } } { ( 1 + ( p, r ) ) ^ { 2 } } \\ \vdots & \vdots & \ddots & \vdots \\ \frac { p r _ { 1 } r _ { K } } { ( 1 + ( p, r ) ) ^ { 2 } } & \frac { p r _ { 2 } r _ { K } } { ( 1 + ( p, r ) ) ^ { 2 } } & \cdots & - \frac { 1 } { 1 + ( p, r ) } + \frac { p _ { K } r _ { K } } { ( 1 + ( p, r ) ) ^ { 2 } } \end{array} \right ] \\ = \left [ \begin{array} { c c c c c } 1 & 1 \\ 1 + ( p, r ) \end{array} \right ] \text{$J_{K}+\frac{1}{1+(p,r)}{2} r_{p}^{\top}$} \end{array}$$

Plugging (3.33) into (3.32) with respect to arbitrary reference r 0 , we have a linearized gradient of a decision loss as follows.

$$\text{surn} \, \infty \, \text{as} \, \text{involv}. \\ \tilde { g } \, \stackrel { \Delta } { = } \, \tilde { \mathbf h } ( r ) = - \frac { r _ { 0 } } { 1 + \langle p, r _ { 0 } \rangle } - \frac { ( r - r _ { 0 } ) } { 1 + \langle p, r _ { 0 } \rangle } + \frac { r _ { 0 } p ^ { \top } ( r - r _ { 0 } ) } { ( 1 + \langle p, r _ { 0 } \rangle ) ^ { 2 } } \\ = - \frac { r } { 1 + \langle p, r _ { 0 } \rangle } + \frac { r _ { 0 } p ^ { \top } ( r - r _ { 0 } ) } { ( 1 + \langle p, r _ { 0 } \rangle ) ^ { 2 } }.$$

From the statement of Lemma 3.3, plugging the doubly robust estimator of the partially observed response, ˘ from Lemma 3.2 into above, we have gradient estimate ˘ as follows. r g

$$\check { g } = \tilde { \mathbf h } ( \check { r } ) = - \frac { \check { r } } { 1 + \langle p, r _ { 0 } \rangle } + \frac { r _ { 0 } p ^ { \top } ( \check { r } - r _ { 0 } ) } { ( 1 + \langle p, r _ { 0 } \rangle ) ^ { 2 } }.$$

Taking an expectation, we have

$$\mathbb { E } \left [ \tilde { g } \right ] = \mathbb { E } \left [ \tilde { \mathbf h } ( \tilde { r } ) \right ] = - \frac { \cdot } { 1 + \langle p, r _ { 0 } \rangle } + \frac { r _ { 0 } p ^ { \top } ( \mathbb { E } \left [ \tilde { r } \right ] - r _ { 0 } \right ) } { ( 1 + \langle p, r _ { 0 } \rangle ) ^ { 2 } } = - \frac { r } { 1 + \langle p, r _ { 0 } \rangle } + \frac { r _ { 0 } p ^ { \top } ( r - r _ { 0 } ) } { ( 1 + \langle p, r _ { 0 } \rangle ) ^ { 2 } } \\ = \tilde { \mathbf h } ( r ) = \tilde { g } \approx g.$$

■

## 8.7 Supportive Tools for the Proof of Main Theorems

## Lipschitz Continuity of Linearly Approximated Gradient from Doubly Robust Estimator

Lemma 3.5. Denote ˘ g ( ) t as the linearized gradient calculated from the doubly robust estimator of a response vector, r ( ) t , with reference r ( ) t 0 = ¯ = ¯ r r ( ) t 1 K where ¯ r ( ) t = 1 | S ( ) t | ∑ i ∈ S ( ) t r ( ) t i . When S ( ) t is a randomly selected client indices in round t and C = P ( i ∈ S ( ) t ) is a client sampling probability, then ∥ ∥ ∥ ˘ g ( ) t ∥ ∥ ∥ ∞ ≤ ˘ L ∞ = C 2 1+ C 1 + 2( C 2 -C 1 ) C (1+ C 1 ) for r ( ) t i ∈ [ C ,C 1 2 ] , ∀ i ∈ S ( ) t .

Proof. Note that we intentionally omit superscript ( ) t from now on for the brevity of notation. The linearized gradient constructed from the doubly robust estimator of a response vector has a form as follows, according to (3.34).

$$\check { g } = - \frac { \check { r } } { 1 + \langle p, \bar { r } \rangle } + \frac { \bar { r } p ^ { \top } ( \check { r } - \bar { r } ) } { ( 1 + \langle p, \bar { r } \rangle ) ^ { 2 } },$$

where we used ¯ = ¯ r r 1 K as a reference r 0 , therefore ‖ ¯ r ‖ ∞ =¯ r ≤ C 2 .

Thus, we have

$$\text{e} \\ \begin{array} { c } \| \tilde { \phi } \| _ { \infty } \\ = \left \| - \frac { \tilde { r } } { 1 + \langle p, \bar { r } \rangle } + \frac { \bar { r } p ^ { \top } ( \tilde { r } - \bar { r } ) } { ( 1 + \langle p, \bar { r } \rangle ) ^ { 2 } } \right \| _ { \infty } \\ \leq \left \| - \frac { \tilde { r } } { 1 + \langle p, \bar { r } \rangle } \right \| _ { \infty } + \left \| \frac { \bar { r } p ^ { \top } ( \tilde { r } - \bar { r } ) } { ( 1 + \langle p, \bar { r } \rangle ) ^ { 2 } } \right \| _ { \infty } \\ = \frac { \| \tilde { r } \| _ { \infty } } { 1 + \langle p, \bar { r } \rangle } + \frac { 1 } { ( 1 + \langle p, \bar { r } \rangle ) ^ { 2 } } \left \| \bar { r } p ^ { \top } ( \tilde { r } - \bar { r } ) \right \| _ { \infty } \\ \leq \frac { \| \tilde { r } \| _ { \infty } } { 1 + \langle p, \bar { r } \rangle } + \frac { 1 } { ( 1 + \langle p, \bar { r } \rangle ) ^ { 2 } } \left \| \bar { r } p ^ { \top } \right \| _ { \infty } \| \tilde { r } - \bar { r } \| _ { \infty } \\ = \frac { \| \tilde { r } \| _ { \infty } } { 1 + \langle p, \bar { r } \rangle } + \frac { 1 } { ( 1 + \langle p, \bar { r } \rangle ) ^ { 2 } } \left \| \bar { r } \| _ { \infty } \left \| \bar { r } - \bar { r } \right \| _ { \infty } \\ \text{st inequality is due to triangle inequality, the second inequality} \\ \text{a} \right \| \ < \left \| A \right \| \ \left \| a \right \| \ \text{ for a matrix } A \equiv \mathbb { R } ^ { K \times K } \text{ and a vector } a \equiv 1 \end{array}$$

/negationslash

, where the first inequality is due to triangle inequality, the second inequality is due to the property that ‖ Ax ‖ ∞ ≤‖ A ‖ ∞ ‖ x ‖ ∞ for a matrix A ∈ R K × K and a vector x ∈ R K , x = 0 K , the very next equality is due to | xy /latticetop | ∞ =max i ‖ x i y /latticetop ‖ 1 =max i | x i |‖ y ‖ 1 = ‖ x ‖ ∞ ‖ y ‖ 1 , and the last equality is trivial since p ∈ ∆ K -1 .

Since 〈 p r , ¯ 〉 = ∑ K i =1 ( p i ¯ r) =¯ r, this can be further bounded as follows.

$$\lambda _ { i = 1 } ^ { \lambda } ( p _ { i } \bar { r } ) = & \, \bar { r }, \, \text{this can be further bounded as follows.} \\ & = \frac { 1 } { 1 + \bar { r } } \, \| \check { r } \| _ { \infty } + \frac { \bar { r } } { ( 1 + \bar { r } ) ^ { 2 } } \, \| \check { r } - \bar { r } \| _ { \infty } \\ & = \frac { 1 + \bar { r } } { ( 1 + \bar { r } ) ^ { 2 } } \, \| \check { r } \| _ { \infty } + \frac { \bar { r } } { ( 1 + \bar { r } ) ^ { 2 } } \, \| \check { r } - \bar { r } \| _ { \infty } \\ & \leq \frac { 1 } { 1 + \bar { r } } \, ( \| \check { r } \| _ { \infty } + \| \check { r } - \bar { r } \| _ { \infty } ) \,,$$

Since 1 1+¯ r ≤ 1 1+ C 1 , we can further upper bound as follows.

$$\frac { 1 } { 1 + \bar { r } } \left ( \left \| \breve { r } \right \| _ { \infty } + \left \| \breve { r } - \bar { r } \right \| _ { \infty } \right ) \leq \frac { 1 } { 1 + C _ { 1 } } \left ( \left \| \breve { r } \right \| _ { \infty } + \left \| \breve { r } - \bar { r } \right \| _ { \infty } \right )$$

To upper bound each term, let us look into ˘ first. r By the definition in (3.10), we have

$$\breve { r } = \begin{cases} \bar { r } { 1 } _ { K }, & i \notin S ^ { ( t ) } \\ \left ( 1 - \frac { 1 } { C } \right ) \bar { r } { 1 } _ { K } + \frac { 1 } { C } r, & i \in S ^ { ( t ) } \end{cases}.$$

For each case, ‖ ˘ r ‖ ∞ becomes

$$\| \breve { r } \| _ { \infty } = \begin{cases} \bar { r }, & i \notin S ^ { ( t ) } \\ \sup _ { i } \left | \frac { 1 } { C } ( r _ { i } - \bar { r } ) + \bar { r } \right |, & i \in S ^ { ( t ) }. \end{cases}$$

For the first case, the average is smaller than its maximum, thus ¯ r ≤ C 2 . For the second case, it can be upper bounded as sup i ∣ ∣ ∣ 1 C ( r i -¯ r) +¯ r ∣ ∣ ∣ ≤ 1 C sup i | r i - | ¯ r + C 2 by the triangle inequality.

From the trivial fact that the deviation from the average is always smaller than its range,

$$\frac { 1 } { C } \sup _ { i } | r _ { i } - \bar { \tau } | \leq \frac { 1 } { C } ( C _ { 2 } - C _ { 1 } ).$$

Combined, we have the following upper bounds.

$$\| \breve { r } \| _ { \infty } \leq \begin{cases} C _ { 2 }, & i \notin S ^ { ( t ) } \\ \frac { C _ { 2 } - C _ { 1 } } { C } + C _ { 2 }, & i \in S ^ { ( t ) } \end{cases}$$

Similarly, for the second term inside in (3.39), we have:

$$\| \breve { r } - \bar { r } \| _ { \infty } = \begin{cases} 0, & i \notin S ^ { ( t ) } \\ \frac { 1 } { \mathcal { C } } \sup _ { i } | r _ { i } - \bar { r } |, & i \in S ^ { ( t ) }. \end{cases}$$

Corresponding upper bounds are:

$$\| \breve { r } - \bar { r } \| _ { \infty } \leq \begin{cases} 0, & i \notin S ^ { ( t ) } \\ \frac { C _ { 2 } - C _ { 1 } } { C }, & i \in S ^ { ( t ) } \end{cases}$$

Adding (3.43) and (3.45) to have (3.39), we have:

$$\left \| \check { g } ^ { ( t ) } \right \| _ { \infty } & \leq \begin{cases} \frac { C _ { 2 } } { 1 + C _ { 1 } }, & i \notin S ^ { ( t ) } \\ \frac { C _ { 2 } } { 1 + C _ { 1 } } + \frac { 2 ( C _ { 2 } - C _ { 1 } ) } { C ( 1 + C _ { 1 } ) }, & i \in S ^ { ( t ) }. \end{cases}$$

L ∞ C 2 1+ C 2( C 2 -C 1 ) C (1+ C ) ■

Finally, it suffices to set ˘ = 1 + 1 to conclude the proof.

## Regret from Linearized Loss

Corollary 3.2. From the convexity of a decision loss /lscript ( ) t (Lemma 3.4), the regret defined in (3.5) satisfies

$$\text{Regret} ^ { ( T ) } \left ( p ^ { * } \right ) = \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( p ^ { * } \right ) \leq \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } \left ( p ^ { * } \right ),$$

where ˜ /lscript ( ) t is a linearized loss defined as ˜ /lscript ( ) t ( p ) = 〈 p g , ( ) t 〉 and g ( ) t = ∇ /lscript ( ) t ( p ( ) t ) .

Proof. It is straightforward from the convexity of the decision loss.

$$\ell ^ { ( t ) } ( p ^ { ( t ) } ) - \ell ^ { ( t ) } ( p ^ { * } ) \leq \left \langle g ^ { ( t ) }, p ^ { ( t ) } - p ^ { * } \right \rangle.$$

Summing up both sides for t ∈ [ T ], we proved the statement.

■

## Equality for the Regret

Lemma 3.6. (Lemma 7.1 of [138]; Lemma 5 of [150]) Let us define L ( ) t ( p ) ≜ ∑ t -1 τ =1 /lscript ( τ ) ( p ) + R ( ) t ( p ) , where /lscript : ∆ K -1 × R d → R is an arbitrary loss function and R ( ) t : ∆ K -1 → R is an arbitrary regularizer, non-decreasing across t ∈ [ T ] . Assume further that p ( ) t = argmin p ∈ ∆ K -1 L ( ) t ( p ) . Then, for any p /star ∈ ∆ K -1 , we have

$$n, \Psi \text{ using } \Psi & \, \subseteq \Lambda _ { K - 1 }, \ w c \text{ macro } \\ & \, \text{Regret} ^ { ( T ) } ( p ^ { * } ) = \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } ( p ^ { * } ) \\ & = R ^ { ( T + 1 ) } \left ( p ^ { * } \right ) - R ^ { ( 1 ) } \left ( p ^ { ( 1 ) } \right ) + L ^ { ( T + 1 ) } \left ( p ^ { ( T + 1 ) } \right ) - L ^ { ( T + 1 ) } ( p ^ { * } ) \\ & \, + \sum _ { t = 1 } ^ { T } \left [ L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) + \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \right ].$$

Proof. Since ∑ T t =1 /lscript ( ) t ( p ( ) t ) appears in both sides, we only need to show that

$$\tilde { v } \theta \left ( p ^ { \prime } \right ) & \text{appears in your source, we only need to show} \\ & \quad - \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } ( p ^ { * } ) \\ & = R ^ { ( T + 1 ) } ( p ^ { * } ) - R ^ { ( 1 ) } \left ( p ^ { ( 1 ) } \right ) \\ & + L ^ { ( T + 1 ) } \left ( p ^ { ( T + 1 ) } \right ) - L ^ { ( T + 1 ) } ( p ^ { * } ) \\ & + \sum _ { t = 1 } ^ { T } \left [ L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) \right ]$$

First, note that

$$& \ell ^ { ( t ) } \left ( p ^ { * } \right ) \\ & = \sum _ { \tau = 1 } ^ { t } \ell ^ { ( \tau ) } \left ( p ^ { * } \right ) - \sum _ { \tau = 1 } ^ { t - 1 } \ell ^ { ( \tau ) } \left ( p ^ { * } \right ) \\ & = \left ( L ^ { ( t + 1 ) } \left ( p ^ { * } \right ) - R ^ { ( t + 1 ) } \left ( p ^ { * } \right ) \right ) \\ & - \left ( L ^ { ( t ) } \left ( p ^ { * } \right ) - R ^ { ( t ) } \left ( p ^ { * } \right ) \right ).$$

Summing up the right-hand side of the above from t =1 , ..., T , we have

$$\text{ignt-named} & \text{of the above from } t = 1, \dots, 1 \,, \, \text{we have} \\ & \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( p ^ { * } \right ) \\ & = \left ( L ^ { ( T + 1 ) } \left ( p ^ { * } \right ) - R ^ { ( T + 1 ) } \left ( p ^ { * } \right ) \right ) \\ & - \left ( L ^ { ( 1 ) } \left ( p ^ { * } \right ) - R ^ { ( 1 ) } \left ( p ^ { * } \right ) \right ) \\ & = L ^ { ( T + 1 ) } \left ( p ^ { * } \right ) - R ^ { ( T + 1 ) } \left ( p ^ { * } \right ), \\ \text{to}$$

by telescoping summation.

Thus,

Similarly,

$$- \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( p ^ { * } \right ) = R ^ { ( T + 1 ) } ( p ^ { * } ) - L ^ { ( T + 1 ) } ( p ^ { * } ).$$

$$& \sum _ { t = 1 } ^ { T } \left [ L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) \right ] \\ & = L ^ { ( 1 ) } \left ( p ^ { ( 1 ) } \right ) - L ^ { ( T + 1 ) } \left ( p ^ { ( T + 1 ) } \right ) \\ & = R ^ { ( 1 ) } \left ( p ^ { ( 1 ) } \right ) - L ^ { ( T + 1 ) } \left ( p ^ { ( T + 1 ) } \right ).$$

Rearranging,

$$0 = L ^ { ( T + 1 ) } \left ( p ^ { ( T + 1 ) } \right ) - R ^ { ( 1 ) } \left ( p ^ { ( 1 ) } \right ) + \sum _ { t = 1 } ^ { T } \left [ L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) \right ].$$

Adding (3.53) and (3.55), we have

$$\text{und} \, ( 3. 5 5 ), & \text{we have} \\ & - \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } ( p ^ { * } ) \\ & = R ^ { ( T + 1 ) } ( p ^ { * } ) - R ^ { ( 1 ) } \left ( p ^ { ( 1 ) } \right ) \\ & + L ^ { ( T + 1 ) } \left ( p ^ { ( T + 1 ) } \right ) - L ^ { ( T + 1 ) } ( p ^ { * } ) \\ & + \sum _ { t = 1 } ^ { T } \left [ L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) \right ].$$

Finally, by adding ∑ T t =1 /lscript ( ) t ( p ( ) t ) to both sides, we prove the statement. Note that the left hand side of the main statement does not depend on R ( ) t , thus we can replace R ( T +1) ( p /star ) into R ( T ) ( p /star ). (Remark 7.3 of [150]) ■

## Upper Bound to the Suboptimality Gap

Lemma 3.7. (Oracle Gap; adapted from Corollary 7.7 of [150]) Let f : R K → R be a µ -strongly convex w.r.t. ‖· ‖ over its domain. Let x /star =argmin x f ( x ) . Then, for all x ∈ dom ∂f ( x ) , and g ∈ ∂f ( x ) , we have:

$$f ( x ) - f ( x ^ { * } ) \leq \frac { 1 } { 2 \mu } \| g \| _ { * } ^ { 2 },$$

where ‖·‖ /star is a dual norm of ‖·‖ .

## Progress Bound

Lemma 3.8. (Progress Bound of FTRL with Proximal Regularizer) With a slight abuse of notation, assume L ( ) t is closed, subdifferentiable and µ ( ) t -strongly convex w.r.t. ‖ · ‖ in ∆ K -1 . First assume that p ( +1) t = argmin p ∈ ∆ K -1 L ( +1) t ( p ) . Assume further that the regularizer satisfies p ( ) t = argmin p ∈ ∆ K -1 ( R ( +1) t ( p ) -R ( ) t ( p ) ) , and g ( ) t ∈ ∂L ( +1) t ( p ( ) t ) . Then, we have the following inequality:

$$L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) + \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \leq \frac { \left \| g ^ { ( t ) } \right \| _ { * } ^ { 2 } } { 2 \mu ^ { ( t + 1 ) } } + \left ( R ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - R ^ { ( t + 1 ) } \left ( p ^ { ( t ) } \right ) \right ),$$

where ‖·‖ /star is a dual norm of ‖·‖ .

Proof.

$$\text{of.} \\ & L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) + \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \\ & = \left ( L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) + \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) + R ^ { ( t + 1 ) } \left ( p ^ { ( t ) } \right ) - R ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \right ) \\ & - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) - R ^ { ( t + 1 ) } \left ( p ^ { ( t ) } \right ) + R ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \\ & = L ^ { ( t + 1 ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) - R ^ { ( t + 1 ) } \left ( p ^ { ( t ) } \right ) + R ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \\ & \leq \frac { \left \| g ^ { ( t ) } \right \| _ { * } ^ { 2 } } { 2 \mu ^ { ( t + 1 ) } } - R ^ { ( t + 1 ) } \left ( p ^ { ( t ) } \right ) + R ^ { ( t ) } \left ( p ^ { ( t ) } \right ), \\ \text{re the first inequality is due the assumption that } p ^ { ( t + 1 ) } = \arg \min _ { p \in \Delta _ { \mathcal { C } } _ { - 1 } } L ^ { ( t + 1 ) } \left ( p \right ), \, g ^ { ( t ) } \in$$

where the first inequality is due the assumption that p ( +1) t = argmin p ∈ ∆ K -1 L ( +1) t ( p ), g ( ) t ∈ ∂L ( +1) t ( p ( ) t ), and the result from Lemma 3.7. See also Lemma 7.23 of [150]. ■

Lemma 3.9. (Progress Bound of FTRL with Non-Decreasing Regularizer) With a slight abuse of notation, assume L ( ) t to be closed and sub-differentiable in ∆ K , and ( L ( ) t + /lscript ( ) t ) to be closed, differentiable and ν ( ) t -strongly convex w.r.t. ‖ · ‖ 1 in ∆ K -1 . Further define with an abuse of notation again that g ( ) t = ∇ /lscript ( ) t ( p ( ) t ) ∈ ∂ ( L ( ) t + /lscript ( ) t )( p ( ) t ) , and define further that p ( ) t = argmin p ∈ ∆ K -1 L ( ) t ( p ) .

Then, we have the following inequality:

$$L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) + \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \leq \frac { \left \| g ^ { ( t ) } \right \| _ { \infty } ^ { 2 } } { 2 \nu ^ { ( t ) } } + \left ( R ^ { ( t ) } \left ( p ^ { ( t + 1 ) } \right ) - R ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) \right ).$$

Proof. Let us first assume that p ( ) t ∗ =argmin p ∈ ∆ K -1 ( L ( ) t ( p ) + /lscript ( ) t ( p ) ) . Observe that

$$L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) = L ^ { ( t ) } \left ( p ^ { ( t + 1 ) } \right ) + \ell ^ { ( t ) } \left ( p ^ { ( t + 1 ) } \right ) - R ^ { ( t ) } \left ( p ^ { ( t + 1 ) } \right ) + R ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ), \quad \ \ ( 3. 6 1 )$$

we have

$$& \text{we have} \\ & \quad L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) + \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \\ & = L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \left ( L ^ { ( t ) } \left ( p ^ { ( t + 1 ) } \right ) + \ell ^ { ( t ) } \left ( p ^ { ( t + 1 ) } \right ) - R ^ { ( t ) } \left ( p ^ { ( t + 1 ) } \right ) + R ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) \right ) + \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \\ & = \left ( L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) + \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \right ) - \left ( L ^ { ( t ) } \left ( p ^ { ( t + 1 ) } \right ) + \ell ^ { ( t ) } \left ( p ^ { ( t + 1 ) } \right ) \right ) + \left ( R ^ { ( t ) } \left ( p ^ { ( t + 1 ) } \right ) - R ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) \right ) \\ & \leq \left ( L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) + \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \right ) - \left ( L ^ { ( t ) } \left ( p ^ { ( t ) } _ { ^ { * } } \right ) + \ell ^ { ( t ) } \left ( p ^ { ( t ) } _ { ^ { * } } \right ) \right ) + \left ( R ^ { ( t ) } \left ( p ^ { ( t + 1 ) } \right ) - R ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) \right ) \\ & \leq \frac { \left \| g ^ { ( t ) } \right \| _ { \infty } ^ { 2 } } { 2 \nu ^ { ( t ) } } + \left ( R ^ { ( t ) } \left ( p ^ { ( t + 1 ) } \right ) - R ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) \right ), \\ & \text{where the first inequality is due the assumption that } p ^ { ( t ) } _ { ^ { * } } = & \arg \min _ { - } \sim \dots \left ( L ^ { ( t ) } + \ell ^ { ( t ) } \right ) \left ( p \right ). \, g ^ { ( t ) } \in$$

where the first inequality is due the assumption that p ( ) t ∗ =argmin p ∈ ∆ K -1 ( L ( ) t + /lscript ( ) t ) ( p ), g ( ) t ∈ ∂ ( L ( ) t + /lscript ( ) t ) . Lastly, the second inequality is the direct result from Lemma 3.7. See also Lemma 7.8 of [150]. ■

## Exp-concavity

Definition 3.5. A function f : X → R is γ -exp-concave if exp( -γf ( x )) is concave for x ∈ X .

Remark 3.4. The decision loss defined in (3.3) is 1-exp-concave.

Lemma 3.10. For an γ -exp-concave function f : X → R , let the domain X is bounded, and choose δ ≤ γ 2 such that | δ 〈∇ f ( x ) , y -x 〉| ≤ 1 2 and for all x y , ∈ X , the following statement holds.

$$f ( y ) \geq f ( x ) + \langle \nabla f ( x ), y - x \rangle + \frac { \delta } { 2 } \left ( \langle \nabla f ( y ), y - x \rangle \right ) ^ { 2 }$$

Proof. For all such that δ ≤ γ 2 , a function g ( x ) = exp( -2 δf ( x )) is concave. From the concavity of g , we have:

$$g ( x ) \leq g ( y ) + \langle \nabla g ( y ), x - y \rangle \,.$$

By taking logarithm on both sides, we have:

$$f ( x ) \geq f ( y ) - \frac { 1 } { 2 \delta } \log \left ( 1 - 2 \delta \left \langle \nabla f ( y ), x - y \right \rangle \right ).$$

From the assumption, we have | δ 〈∇ f ( x ) , y -x 〉| ≤ 1 2 , and using the fact that log(1+ x ) ≤ x -x 2 4 for | x | ≤ 1, we can conclude the proof. ■

Remark 3.5. (Remark 7.27 from [150]) For a positive definite matrix B ∈ R K × K , ‖ p ‖ B is a norm induced by B , defined as ‖ p ‖ B ≜ √ p /latticetop Bp for p ∈ R K . A function f ( p ) = 1 2 p /latticetop Bp is therefore 1-strongly convex w.r.t. ‖·‖ B . Note that the dual norm of ‖·‖ B is ‖·‖ B -1 .

## 8.8 Regret Bound of AAggFF-S : Proof of Theorem 3.1

Remark 3.6. The regularizer of AAggFF-S (i.e., ONS) is proximal since it has a quadratic form.

Proof. Since Lemma 3.6 holds for arbitrary loss function, let us set L ( ) t ( p ) ≜ ∑ t -1 τ =1 ˜ /lscript ( τ ) ( p ) + α 2 ‖ p ‖ 2 2 + β 2 ∑ t -1 τ =1 (〈 g ( τ ) , p -p ( τ ) 〉) 2 as in (3.7) with a slight abuse of notation. Note that we set R ( ) t ( p ) = α 2 ‖ p ‖ 2 2 + β 2 ∑ t -1 τ =1 (〈 g ( τ ) , p -p ( τ ) 〉) 2 , which is often called a proximal regularizer.

From the regret, we have:

$$\text{from the regret, we have} \colon \\ & \text{Regret} ^ { ( T ) } ( p ^ { * } ) \\ & = \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } ( p ^ { * } ) \\ & \leq \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } ( p ^ { * } ) \\ & = \underbrace { R ^ { ( T + 1 ) } ( p ^ { * } ) - R ^ { ( 1 ) } \left ( p ^ { ( 1 ) } \right ) } _ { ( i ) } + \underbrace { L ^ { ( T + 1 ) } \left ( p ^ { ( T + 1 ) } \right ) - L ^ { ( T + 1 ) } ( p ^ { * } ) } _ { ( i i i ) } \\ & + \sum _ { t = 1 } ^ { T } \left [ L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) + \tilde { \ell } ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \right ] } _ { ( i i i ) } \\ \\ & \cdots \, \underbrace { \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \frac { R } { 2 } + \delta } }$$

Let us first denote A ( ) t ≜ g ( ) t g ( ) t /latticetop for g ( ) t = ∇ /lscript ( ) t ( p ( ) t ) as in the main text, and further denote that B ( ) t ≜ α I K + β ∑ t τ =1 A ( τ ) . Then, we can rewrite the regularizer of AAggFF-D as follows.

$$R ^ { ( t ) } ( p ) = \frac { \alpha } { 2 } \| p \| _ { 2 } ^ { 2 } + \frac { \beta } { 2 } \sum _ { \tau = 1 } ^ { t - 1 } \left ( \left \langle g ^ { ( \tau ) }, p - p ^ { ( \tau ) } \right \rangle \right ) ^ { 2 } = \frac { \alpha } { 2 } \| p \| _ { 2 } ^ { 2 } + \frac { \beta } { 2 } \sum _ { \tau = 1 } ^ { t - 1 } \left \| p ^ { ( \tau ) } - p \right \| _ { A ^ { ( \tau ) } } ^ { 2 }$$

That is, R ( ) t ( p ), as well as L ( ) t ( p ) is β -strongly convex function w.r.t. ‖·‖ B ( t -1) , t ∈ [ T ].

For (i), since the regularizer R ( ) t ( p ) is nonnegative for all t ∈ [ T ], it can be upper bounded as R ( T +1) ( p /star ). Using (3.67), we have:

$$R ^ { ( T + 1 ) } ( p ^ { * } ) = \frac { \alpha } { 2 } \| p \| _ { 2 } ^ { 2 } + \frac { \beta } { 2 } \sum _ { t = 1 } ^ { T } \left \| p ^ { ( t ) } - p ^ { * } \right \| _ { A ^ { ( t ) } } ^ { 2 }.$$

For (ii), we use the assumption in Lemma 3.9, where p ( ) t =argmin p ∈ ∆ K -1 L ( ) t ( p ). From the assumption, since p ( T +1) is the minimizer of L ( T +1) , (ii) becomes negative. Thus, we can exclude it in further upper bounding.

For (iii), we can directly use the result of Lemma 3.8.

$$\sum _ { t = 1 } ^ { T } \left [ L _ { \sum _ { \pi } } ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) + \tilde { \ell } ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \right ]$$

$$\stackrel { \dots - \cdot } { \leq } \frac { 1 } { 2 \beta } \sum _ { \substack { t = 1 \\ \pi } } ^ { T } \left \| g ^ { ( t ) } \right \| _ { B ^ { ( t ) } } ^ { 2 } + \sum _ { t = 1 } ^ { T } \left ( R ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - R ^ { ( t + 1 ) } \left ( p ^ { ( t ) } \right ) \right )$$

$$= \frac { 1 } { 2 \beta } \sum _ { t = 1 } ^ { \vdash - \cdot } \left \| g ^ { ( t ) } \right \| _ { B ^ { ( t ) } } ^ { 2 }.$$

Combining all, we have regret upper bound as follows.

$$\text{pning all, we have regret upper bound as follows.} \\ & \text{Regret} ^ { ( T ) } ( p ^ { * } ) = \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } ( p ^ { * } ) \\ & \leq \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } \left ( p ^ { * } \right ) \\ & \leq \frac { \alpha } { 2 } \| p \| _ { 2 } ^ { 2 } + \frac { \beta } { 2 } \sum _ { t = 1 } ^ { T } \left \| p ^ { ( t ) } - p ^ { * } \right \| _ { A ^ { ( t ) } } ^ { 2 } + \frac { 1 } { 2 \beta } \sum _ { t = 1 } ^ { T } \left \| g ^ { ( t ) } \right \| _ { B ^ { ( t ) } - 1 } ^ { 2 } \,.$$

Lastly, from the result of Lemma 3.10, we have

$$& ; \text{ from the result or Lemma } \delta. 1 0, \text{ we have} \\ & \text{Regret} ^ { ( T ) } \left ( p ^ { * } \right ) = \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( p ^ { * } \right ) \\ & \leq \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } \left ( p ^ { * } \right ) - \frac { \beta } { 2 } \sum _ { t = 1 } ^ { T } \left \| p ^ { ( t ) } - p ^ { * } \right \| _ { A ^ { ( t ) } } ^ { 2 } \\ & \leq \frac { \alpha } { 2 } \| p \| _ { 2 } ^ { 2 } + \frac { 1 } { 2 \beta } \sum _ { t = 1 } ^ { T } \left \| g ^ { ( t ) } \right \| _ { B ^ { ( t ) } } ^ { 2 }, \\ \cdots \quad \lambda \left | \Delta / \Delta ( t ) \right | \varpi \right | _ { C } \varpi ( t ) \left | \varkappa \right | _ { M } \varpi ( t ) \right | _ { C } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { C } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { C } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { C } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { C } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { C } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \varpi ( t ) \right | _ { M } \vparrow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t ) \right | _ { M } \varprow ( t. 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.$$

where we need ∣ ∣ ∣ β 〈 g ( ) t , p -p ( ) t 〉∣ ∣ ∣ ≤ 1 2 due to the assumption.

To meet the assumption, we have

$$\left | \beta \left \langle g ^ { ( t ) }, p - p ^ { ( t ) } \right \rangle \right | & \leq \beta \| p - p ^ { ( t ) } \| _ { 1 } \| g ^ { ( t ) } \| _ { \infty } \leq 2 \beta L _ { \infty },$$

where the first inequality is due to Hölder's inequality and the second inequality is due to Lemma 3.1 and the fact that a diameter of the simplex is 2. Thus, we can set β = 1 4 L ∞ to satisfy the assumption.

For the first term, using the fact that ‖·‖ 2 ≤‖·‖ 1 , we have

$$\frac { \alpha } { 2 } \| p \| _ { 2 } ^ { 2 } \leq \frac { \alpha } { 2 } \| p \| _ { 1 } ^ { 2 } \leq \frac { \alpha } { 2 },$$

where the last equality is due to p ∈ ∆ K -1 .

For the second term, denote λ ,...,λ 1 K as the eigenvalues of B ( T ) -α I K , then we have:

$$\sum _ { t = 1 } ^ { T } \left \| g ^ { ( t ) } \right \| _ { B ^ { ( t ) } } ^ { 2 } \leq \sum _ { i = 1 } ^ { K } \log \left ( 1 + \frac { \lambda _ { i } } { \alpha } \right ),$$

which is the direct result of Lemma 11.11 and Theorem 11.7 of [20].

This can be further bounded by AM-GM inequality as follows.

$$\sum _ { i = 1 } ^ { K } \log \left ( 1 + \frac { \lambda _ { i } } { \alpha } \right ) \leq K \log \left ( 1 + \frac { 1 } { K \alpha } \sum _ { i = 1 } ^ { K } \lambda _ { i } \right ).$$

Since we have

$$\sum _ { i = 1 } ^ { K } \lambda _ { i } = & \, \text{trace} \left ( B ^ { ( T ) } - \alpha I _ { K } \right ) = \text{trace} \left ( \beta \sum _ { t = 1 } ^ { T } g ^ { ( t ) } g ^ { ( t ) } ^ { \top } \right ) = \beta \sum _ { t = 1 } ^ { T } \| g ^ { ( t ) } \| _ { 2 } ^ { 2 } \\ & \leq \beta K T \| g ^ { ( t ) } \| _ { \infty } ^ { 2 } \leq \beta K T L _ { \infty } ^ { 2 } = \frac { K T L _ { \infty } } { 4 }, \\, \quad \tau \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \,.$$

where L ∞ is a Lipschitz constant w.r.t. ‖· ‖ ∞ from Lemma 3.1, thus the inequality is due to ‖ p ‖ 2 ≤ √ K ‖ p ‖ ∞ , ∀ p ∈ ∆ K -1 .

Followingly, we can upper-bound the second term as

$$\sum _ { t = 1 } ^ { T } \left \| g ^ { ( t ) } \right \| _ { B ^ { ( t ) } } ^ { 2 } \leq K \log \left ( 1 + \frac { T L _ { \infty } } { 4 \alpha } \right ).$$

Putting them all together, we have:

$$\log \text{the all together, we have} \colon \\ & \text{Regret} ^ { ( T ) } ( p ^ { * } ) = \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } ( p ^ { * } ) \\ & \leq \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } ( p ^ { * } ) - \frac { 1 } { 2 } \sum _ { t = 1 } ^ { T } \left \| p ^ { ( t ) } - p ^ { * } \right \| _ { A } ^ { 2 } ( t ) \\ & \leq \frac { \alpha } { 2 } \| p \| _ { 2 } ^ { 2 } + \frac { 1 } { 2 \beta } \sum _ { t = 1 } ^ { T } \left \| g ^ { ( t ) } \right \| _ { B ^ { ( t ) } } ^ { 2 } \\ & \leq \frac { \alpha } { 2 } + \frac { K } { 2 \beta } \log \left ( 1 + \frac { T L _ { \infty } } { 4 \alpha } \right ) \\ & = \frac { \alpha } { 2 } + 2 L _ { \infty } K \log \left ( 1 + \frac { T L _ { \infty } } { 4 \alpha } \right ). \\ \text{her set } \alpha = 4 L _ { \infty } K, \, \text{we finally have}$$

If we further set α =4 L ∞ K , we finally have

$$\text{Regret} ^ { ( T ) } \left ( p ^ { * } \right ) \leq 2 L _ { \infty } K \left ( 1 + \log \left ( 1 + \frac { T } { 1 6 K } \right ) \right ).$$

■

## 8.9 Regret Bound of AAggFF-D with Full Client Participation: Proof of Theorem 3.2

Proof. Again, since Lemma 3.6 holds for arbitrary loss function, let us set L ( ) t ( p ) ≜ ∑ t -1 τ =1 ˜ /lscript ( τ ) ( p )+ ζ ( +1) t ∑ K i =1 p i log p i with a slight abuse of notation. Note that we set R ( ) t ( p ) = ζ ( ) t ∑ K i =1 p i log p i is a negative entropy regularizer with non-decreasing time-varying step size ζ ( ) t , thus L ( ) t ( p ) is ζ ( ) t -strongly convex w.r.t. ‖·‖ 1 . (Proposition 5.1 from [12]) Then, we have an upper bound of the regret of AAggFF-D (with full-client participation setting) as follows.

$$\text{regret of AAggFF-D} \left ( \text{with full-client participation setting} \right ) & = \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( p ^ { * } \right ) \\ & \leq \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } \left ( p ^ { * } \right ) \\ & = \underbrace { R ^ { ( T + 1 ) } \left ( p ^ { * } \right ) - R ^ { ( 1 ) } \left ( p ^ { ( 1 ) } \right ) } _ { ( i ) } + \underbrace { L ^ { ( T + 1 ) } \left ( p ^ { ( T + 1 ) } \right ) - L ^ { ( T + 1 ) } \left ( p ^ { * } \right ) } _ { ( i i ) } ( \begin{array} { c } \\ + \sum _ { t = 1 } ^ { T } \left [ L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) + \tilde { \ell } ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \end{array} \right ], \\ \text{re the inequality is due to Corollary 3.2.}$$

where the inequality is due to Corollary 3.2.

For (i), recall from Lemma 3.6 that the regret does not depend on the regularizer, we can bound it after changing from R ( T +1) ( p /star ) to R ( T ) ( p /star ).

$$R ^ { ( T ) } \left ( p ^ { * } \right ) - R ^ { ( 1 ) } \left ( p \right ) \leq \zeta ^ { ( T ) } \sum _ { i = 1 } ^ { K } p _ { i } ^ { * } \log p _ { i } ^ { * } + \zeta ^ { ( 1 ) } \log K \leq \zeta ^ { ( T ) } \sum _ { i = 1 } ^ { K } p _ { i } ^ { * } \log p _ { i } ^ { * } + \zeta ^ { ( T ) } \log K \leq \zeta ^ { ( T ) } \log K.$$

For (ii), we use the assumption in Lemma 3.9, where p ( ) t =argmin p ∈ ∆ K -1 L ( ) t ( p ). From the assumption, since p ( T +1) is the minimizer of L ( T +1) , (ii) becomes negative. Thus, we can exclude it from the upper bound.

For (iii), we directly use the result of Lemma 3.9 as follows.

$$\sum _ { t = 1 } ^ { T } \left [ L ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - L ^ { ( t + 1 ) } \left ( p ^ { ( t + 1 ) } \right ) + \tilde { \ell } ^ { ( t ) } \left ( p ^ { ( t ) } \right ) \right ] \leq \sum _ { t = 1 } ^ { T } \frac { \left \| g ^ { ( t ) } \right \| _ { \infty } ^ { 2 } } { 2 \zeta ^ { ( t ) } } \leq \sum _ { t = 1 } ^ { T } \frac { L _ { \infty } ^ { 2 } } { 2 \zeta ^ { ( t ) } },$$

where the additional terms are removed due to the non-decreasing property of regularizer thanks to the assumption of ζ ( ) t , and the last inequality is due to Lemma 3.1. Note that g ( ) t = ∇ /lscript ( ) t ( p ( ) t ).

Combining all, we have regret upper bound as follows.

$$\text{Regret} ^ { ( T ) } \left ( \mathfrak { p } ^ { * } \right ) = \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( \mathfrak { p } ^ { ( t ) } \right ) - \sum _ { t = 1 } ^ { T } \ell ^ { ( t ) } \left ( \mathfrak { p } ^ { * } \right ) \leq \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } \left ( \mathfrak { p } ^ { * } \right ) - \sum _ { t = 1 } ^ { T } \tilde { \ell } ^ { ( t ) } \left ( \mathfrak { p } ^ { * } \right ) \leq \zeta ^ { ( T ) } \log K + \sum _ { t = 1 } ^ { T } \frac { L _ { \infty } ^ { 2 } } { 2 \zeta ^ { ( t ) } }.$$

Finally, by setting ζ ( ) t = L ∞ √ t √ log K , we have

$$\leq L _ { \infty } \sqrt { T \log K } + \frac { L _ { \infty } \sqrt { \log K } } { 2 } \sum _ { t = 1 } ^ { T } \frac { 1 } { \sqrt { t } } \leq 2 L _ { \infty } \sqrt { T \log K },$$

where the inequality is due to ∑ T t =1 1 √ t ≤ ∫ T 0 d x √ x =2 √ T . See also equation (7.3) of [150]. ■

## 8.10 Regret Bound of AAggFF-D with Partial Client Participation: Proof of Corollary 3.1

Proof. Denote ˘ /lscript ( ) t as a linearized loss constructed from ˘ r ( ) t and ˘ g ( ) t . i.e.,

$$\check { \ell } ^ { ( t ) } ( p ) = \left \langle p, \check { g } ^ { ( t ) } \right \rangle = \left \langle p, \frac { \check { r } ^ { ( t ) } } { 1 + \langle p ^ { ( t ) }, \bar { r } 1 _ { K } \rangle } + \frac { \bar { r } 1 _ { K } p ^ { ( t ) \top } ( \check { r } ^ { ( t ) } - \bar { r } 1 _ { K } ) } { ( 1 + \langle p ^ { ( t ) }, \bar { r } 1 _ { K } \rangle ) ^ { 2 } } \right \rangle$$

The expected regret is

$$\text{The expected regret is} \\ \mathbb { E } \left [ \text{Regret} ^ { ( T ) } \left ( p ^ { * } \right ) \right ] = \mathbb { E } \left [ \sum _ { t = 1 } ^ { T } \left ( \ell ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \ell ^ { ( t ) } \left ( p ^ { * } \right ) \right ) \right ] \\ \leq \mathbb { E } \left [ \sum _ { t = 1 } ^ { T } \left ( \tilde { \ell } ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \tilde { \ell } ^ { ( t ) } \left ( p ^ { * } \right ) \right ) \right ] = \mathbb { E } \left [ \sum _ { t = 1 } ^ { T } \left \langle \tilde { g } ^ { ( t ) }, p ^ { ( t ) } - p ^ { * } \right \rangle \right ] \\ = \mathbb { E } \left [ \sum _ { t = 1 } ^ { T } \mathbb { E } _ { i \in S ^ { ( t ) } } \left [ \left \langle \tilde { g } ^ { ( t ) }, p ^ { ( t ) } - p ^ { * } \right \rangle \right ] \right ] \left ( \cdot \L \text{Law of Total Expectation} \right ) \\ \approx \mathbb { E } \left [ \sum _ { t = 1 } ^ { T } \left \langle g ^ { ( t ) }, p ^ { ( t ) } - p ^ { * } \right \rangle \right ] \left ( \cdot \text{ Lemma } 3. 3 \right ) \\ = \sum _ { t = 1 } ^ { T } \left ( \tilde { \ell } ^ { ( t ) } \left ( p ^ { ( t ) } \right ) - \tilde { \ell } ^ { ( t ) } \left ( p ^ { * } \right ) \right ) \leq \mathcal { O } \left ( L _ { \infty } K \sqrt { T \log K } \right )$$

■

Remark 3.7. Even though we can enjoy the same regret upper bound in expectation from Corollary 3.1, it should be noted that the raw regret (i.e., regret without expectation) from ˘ g ( ) t may inflate the regret upper bound from O ( L ∞ K √ T log K ) to O ( ˘ L ∞ K √ T log K ) , where ˘ L ∞ is a Lipschitz constant from Lemma 3.5, upper bounding ∥ ∥ ∥ ˘ g ( ) t ∥ ∥ ∥ ∞ ≤ ˘ L ∞ . It is because ˘ L ∞ is dominated by 1 /C ≈ O ( K ), which can be a huge number when if C is a tiny constant. Although this inflation hinders proper update of AAggFF-D empirically, this can be easily eliminated in AAggFF-D through an appropriate choice of a range ( C 1 and C 2 ) of the response vector, which ensures practicality of AAggFF-D . See Appendix 5.2 for a detail.

## 8.11 Derivation of Closed-From Update of AAggFF-D

The objective of AAggFF-D in (3.9) can be written in the following form.

$$& \min _ { p \in \Delta _ { K - 1 } } \sum _ { \tau = 1 } ^ { t } \tilde { \ell } ^ { ( \tau ) } ( p ) + \zeta ^ { ( t + 1 ) } \sum _ { i = 1 } ^ { K } p _ { i } \log p _ { i } = \min _ { p \in \Delta _ { K - 1 } } \left \langle p, \sum _ { \tau = 1 } ^ { t - 1 } \check { g } ^ { ( \tau ) } \right \rangle + \zeta ^ { ( t + 1 ) } \sum _ { i = 1 } ^ { K } p _ { i } \log p _ { i } \\ & = \min _ { p \in \Delta _ { K - 1 } } \left \langle \sum _ { \tau = 1 } ^ { t } \check { g } ^ { ( \tau ) }, p \right \rangle + R ^ { ( t + 1 ) } ( p ) = \max _ { p \in \Delta _ { K - 1 } } \left \langle - \sum _ { \tau = 1 } ^ { t } \check { g } ^ { ( \tau ) }, p \right \rangle - R ^ { ( t + 1 ) } ( p ).$$

It exactly corresponds to the form of the Fenchel conjugate R ( +1) t ∗ , which is defined as follows.

$$R _ { * } ^ { ( t + 1 ) } ( p ) = \max _ { p \in \Delta _ { K - 1 } } \left \langle - \sum _ { \tau = 1 } ^ { t } \check { g } ^ { ( \tau ) }, p \right \rangle - R ^ { ( t + 1 ) } ( p ).$$

Thus, we can enjoy the property of Fenchel conjugate, which is

$$p ^ { ( t + 1 ) } = \nabla R _ { * } ^ { ( t + 1 ) } \left ( - \sum _ { \tau = 1 } ^ { t } \breve { g } ^ { ( \tau ) } \right )$$

Since we can derive an explicit log-sum-exp form by solving (3.90) as follows,

$$R _ { * } ^ { ( t + 1 ) } ( \boldsymbol q ) = \log \left ( \sum _ { i = 1 } ^ { K } \exp \left ( q _ { i } \right ) \right ),$$

we have the closed-form solution for the new decision update.

$$p _ { i } ^ { ( t + 1 ) } = \frac { \exp \left ( - \sum _ { \tau = 1 } ^ { t } \breve { g } _ { i } ^ { ( \tau ) } / \zeta ^ { ( t + 1 ) } \right ) } { \sum _ { j = 1 } ^ { K } \exp \left ( - \sum _ { \tau = 1 } ^ { t } \breve { g } _ { j } ^ { ( \tau ) } / \zeta ^ { ( t + 1 ) } \right ) }.$$

Note that ζ ( +1) t is already determined in Theorem 3.2 and Corollary 3.1 as ˘ L ∞ √ t +1 √ log K , with the reflection of modified Lipschitz constant from L ∞ to ˘ L ∞ (see Remark 3.7). See also [83] and Chapter 6.6 of [150].

## Chapter IV

## Perspective on Local Data Distribution, D

## Federated Synthetic Data Generation through Energybased Composition

In this section, we dive into the aspect of local distribution , denoted as D in eq. (1.1). It is usually prohibited to access or handle the local distribution directly in the federated system, due to sensitive information about local data. Nevertheless, it would undoubtedly be beneficial if the federated system could at least be equipped with a proxy of the local distributions, since it can emulate the oracle distribution from which the centralized dataset originates. Thereby, the statistical heterogeneity problem can be mitigated through data sharing, data augmentation, or training an unbiased model on the server using the proxy data.

Existing methods have mostly focused on emulating local distributions by training a generative model in a collaborative manner. After training the generative model, the central server can utilize it to synthesize plausible datasets for downstream tasks. This typically requires the exchange of entire model parameters to obtain a generative model. However, the computational load on the clients and the large communication costs of the federated system hinder its practicality and scalability. In addition, the synthesized samples are of inferior quality, visually implausible, and sometimes unlabeled.

This leads to the following research question:

How can we imitate local distributions in the federated system with efficiency?

## 1 Introduction

FL [137] is a de facto standard method to train a statistical model from decentralized data. It is typically assumed that the central server (e.g., a service provider) orchestrates the whole process of FL, by repeatedly communicating with participating clients with their data. When the server broadcasts copies of a global model to clients, each client commits a locally updated model instead of its raw data. It is then aggregated into a single global model in the server, and this procedure is repeated until the convergence of the global model. However, the convergence is often hindered significantly, since the server cannot directly control the statistical heterogeneity naturally derived from disparate local distributions [123, 137, 210]. Furthermore, the model exchanging scheme of FL inevitably imposes high communication costs within the system, given that the model is considerably larger in size than that of the raw local data. Hence, numerous works have been proposed to mitigate this problem, including a modified aggregation scheme [131,186,203], personalization [32,73,195], use of adaptive mixing coefficients [95,121,143], and other approaches including variants of an optimization objective [101,159].

Though effective, these methods sometimes offer marginal gains compared to data-centric approaches, such as exploiting shared public data [70,115,210] or synthetic data [8,23,82,126,157] (generated from local distributions of clients) provided by the central server. While the former is not always viable due to strict regulations of the distinctiveness of the data domain, the latter is a feasible option thanks to the improved techniques in generative modeling. For example, most previous studies have proposed training generative models in a collaborative manner, such as generative adversarial networks (GANs [67]), or variational auto-encoders (VAEs [107]), by exchanging entire model parameters as in traditional FL [137].

However, these methods have room for improvement since they either i) require communication of whole model parameters, ii) an additional training procedure should be considered for local discriminative modeling, or iii) work only under the mild degree of statistical heterogeneity. Especially for ii), it may be necessary for the server or the clients to undertake additional training and communication of a discriminative model. Therefore, the design of a distributed synthetic data generation method in the federated system has been remained as a challenging and underexplored research direction.

To achieve fundamental improvement in these suboptimal designs, we begin by formulating the federated synthetic data generation as an iterative and collaborative sampling procedure without the direct access of local data distribution. We find our scheme can be realized without securing

a separate generative model , through embarrassingly simple modification to the training scheme of a discriminative model in each client, which only adds little computation overhead. The trick is closely related to the energy-based models (EBMs [114]), which are flexible in modeling a probability density with any deep networks, as well as support an easy sample generation using Markov chain Monte Carlo (MCMC) methods.

From this novel perspective, we propose FedEvg , referred to Federated Energy-based Averaging . Instead of exchanging a model parameter/gradient with clients as in the conventional FL algorithms, FedEvg starts from synthetic data (with random labels) randomly initialized in the server, which is then gradually refined in collaboration with participating clients. Therefore, FedEvg is efficient in communication, and does not require direct information from the clients. Mirroring current attention of this synthetic data-driven approach in the cross-silo FL setting [128], we empirically demonstrate the efficacy of our proposed method by conducting experiments suited for FL settings with moderate number of participating clients.

## 2 Backgrounds

## 2.1 Problem Statement

Suppose we have unknown centralized data distribution in the server, p ( D ). Then, we can solve the main objective of FL in eq. (1.1) as follows.

$$\min _ { \theta \in \Theta \subseteq \mathbb { R } ^ { d } } F \left ( \theta \right ) \stackrel { \triangle } { = } \mathbb { E } _ { \xi \sim p ( \mathcal { D } ) } \left [ \mathcal { L } \left ( \xi ; \theta \right ) \right ].$$

In other words, the server can obtain a centralized model parameterized by θ using the centralized data set, D . The synthetic data should therefore reflect all local distributions faithfully in order to be useful in the federated system.

Suppose there exist K participating clients in the system indexed by i ∈ [ K ]. We use a ∈ [ A ] as an abbreviation of an enumeration notation, a = 1 , ..., A . Each client owns its local dataset D i = ( { x j , y j ) } n i j =1 , where n i is the number of samples in the i -th client, x ∈ R D refers to an input, and y ∈ { 1 , ..., L } is a corresponding class label. Denote D = ∪ K i =1 D i as the centralized dataset, which is not accessible in a typical FL setting. We further denote that p /star ( D ) as an unknown true density, and ˜ as a synthetic dataset containing synthetic input and label, ˜ and ˜. D x y

To synthesize a plausible surrogate dataset satisfying p ( ˜ ) D ≈ p /star ( D ), one can train an explicit generative model to generate a plausible surrogate of the original dataset. The underlying philosophy of such a method is to emulate samples from a distribution close to the true density p /star ( D ). In order to estimate the density faithfully, we start with the simple assumption: the true density can be approximated by the mixture of local distributions . Given a finite number of parameterized probability density functions p ( ; · θ i ) , i ∈ [ K ] of participating clients, let us assume that the true density p ( D ) can be approximated by the mixture of each client's probability density functions as follows.

$$p ^ { * } ( \mathcal { D } ) \approx \sum _ { i = 1 } ^ { K } w _ { i } p ( \mathcal { D } ; \boldsymbol \theta _ { i } ),$$

where θ i ∈ R d is the parameter of the i -th local model, and w i ≥ 0 and ∑ K i =1 w i =1. Then, the natural follow-up questions should be:

- · Question 1: How can we model and estimate each of the parameterized density, p ( ; · θ i )?
- · Question 2: How can we sample from the mixture of them, ∑ K i =1 w p i ( ; · θ i )?

## 2.2 Answer 1: Discovery of Hidden Energy-Based Models

Energy Based Models (EBMs) An EBM models a probability density as:

$$\Phi _ { \Phi } ( x ; \theta ) = \frac { \Phi _ { \Phi } ^ { \Phi } ( - E ( x ; \theta ) ) } { Z ( \theta ) },$$

where E ( ; · θ ) : R D → R is a parametrized energy function and Z ( θ ) = ∫ exp( -E ( x θ ; ))d x is the normalizing constant, which is typically intractable and not directly modeled.

The parameter of EBMs can be estimated by maximizing the log-likelihood, with the gradientbased optimization using the following estimator [86,180]. The derivative of the log-likelihood of a single input x w.r.t. the parameter θ is:

$$\nabla _ { \theta } \log p ( x ; \theta ) = \mathbb { E } _ { x ^ { \prime } \sim p ( x ^ { \prime } ; \theta ) } \left [ \nabla _ { \theta } E ( x ^ { \prime } ; \theta ) \right ] - \nabla _ { \theta } E ( x ; \theta ).$$

To use this estimator, we should obtain samples from the EBM, i.e., x ′ ∼ p ( x θ ′ ; ). Since it is a non-trivial task, we should resort to MCMC [86] to generate approximate samples. We defer the introduction of a representative sampling method widely used thus far in the next answer.

Derivation of the Gradient of EBM's Log-Likelihood Taking a derivative of eq. (4.3) w.r.t. θ , we have:

$$\nabla _ { \theta } \log p ( x ; \theta ) = - \nabla _ { \theta } E ( x ; \theta ) - \nabla _ { \theta } \log Z ( \theta ).$$

For the latter term, ∇ θ log Z ( θ ), we have:

$$\nabla _ { \theta } \log Z ( \theta ) = \nabla _ { \theta } \log \int \exp ( - E ( x ; \theta ) ) \text{d} x$$

$$\i \text{ latter term, } \nabla _ { \theta } \log Z ( \theta ), \, \text{we have} \colon \\ & \nabla _ { \theta } \log Z ( \theta ) = \nabla _ { \theta } \log \int \exp ( - E ( x ; \theta ) ) \text{d} x \\ & = \left ( \int \exp ( - E ( x ; \theta ) ) \text{d} x \right ) ^ { - 1 } \nabla _ { \theta } \int \exp ( - E ( x ; \theta ) ) \text{d} x \\ & = \left ( \int \exp ( - E ( x ; \theta ) ) \text{d} x \right ) ^ { - 1 } \int \exp ( - E ( x ; \theta ) ) ( - \nabla _ { \theta } E ( x ; \theta ) ) \text{d} x \\ & = \int \left ( \int \exp ( - E ( x ; \theta ) ) \text{d} x \right ) ^ { - 1 } \exp ( - E ( x ; \theta ) ) ( - \nabla _ { \theta } E ( x ; \theta ) ) \text{d} x \\ & = \int p ( x ; \theta ) ( - \nabla _ { \theta } E ( x ; \theta ) ) \text{d} x \\ & = - \mathbb { E } _ { x ^ { \prime } \sim p ( x ^ { \prime } ; \theta ) } \left [ \nabla _ { \theta } E ( x ^ { \prime } ; \theta ) \right ]. \\ \text{ing this result into the derivative, we have eq. } ( 4. 4 ).$$

Plugging this result into the derivative, we have eq. (4.4).

Energy-based Implementation of the Mixture Distribution Now, we regard the parameterized probability densities as EBMs by defining an energy function E ( ; · θ i ), which can be any statistical

model including a deep network, as long as it outputs a scalar energy value. Thus, by explicitly adopting eq. (4.3), we can state eq. (4.2) again as follows.

$$p ( x ) \approx \sum _ { i = 1 } ^ { K } \frac { w _ { i } \exp \left ( - E ( x ; \theta _ { i } ) \right ) } { Z ( \theta _ { i } ) },$$

where Z ( θ i ) = ∫ exp( -E ( x θ ; i ))d x is a normalizing constant for each i ∈ [ K ].

In FL, however, the common interest is usually learning a discriminative model for clients. In other owrds, each client trains a classifier to accurately estimate the conditional density, p y ( | x θ ; i ). Intriguingly, one can retrieve an EBM from the discriminative model , following the formulation of a pioneering study [68], as follows.

Hidden EBMs behind Discriminative Models Assume that each client participating in the FL procedure aims to train a classifier for discriminating samples from L classes. Suppose the discriminative classifier (e.g., a deep network) f : R D → R L is parameterized by θ . We usually estimate categorical distribution using the softmax transformation as follows.

$$p ( y | x ; \theta ) = \frac { \exp \left ( f ( x ; \theta ) [ y ] \right ) } { \sum _ { y ^ { \prime } = 1 } ^ { L } \exp \left ( f ( x ; \theta ) [ y ^ { \prime } ] \right ) },$$

where f ( x θ ; )[ y ] refers to the y -th element of the L -dimensional logit vector, f ( x θ ; ) ∈ R L .

From this modeling scheme, we can simply approximate the marginal density p ( x θ ; ) and the joint density p ( x , y ; θ ) using Bayes' theorem: p y ( | x θ ; ) = p ( x ,y ; θ ) p ( x θ ; ) .

$$p ( x, y ; \theta ) \in \exp \left ( f ( x ; \theta ) [ y ] \right ), \quad p ( x ; \theta ) \in \sum _ { y = 1 } ^ { L } \exp \left ( f ( x ; \theta ) [ y ] \right ),$$

and the corresponding energy functions are as follows:

$$E ( x, y ; \theta ) = - f ( x ; \theta ) [ y ], \ \ E ( x ; \theta ) = - \log \left ( \sum _ { y = 1 } ^ { L } \exp \left ( f ( x ; \theta ) [ y ] \right ) \right ).$$

Thanks to the hidden connection to EBMs, we can easily retrieve (unnomralized) joint &amp; marginal density from the classifier as long as an input-label pair is provided. When training a classifier, the class probability p y ( | x θ ; ) is estimated by minimizing cross-entropy loss, and the marginal (or joint) density p ( x θ ; ) (or p ( x , y ; θ )) can also be estimated at once by minimizing eq. (4.4) simultaneously. In a word, each client can jointly obtain a discriminative as well as a generative model from a single classifier [68].

## 2.3 Answer 2: Composition of Energy-Based Models

Stochastic Gradient Langevin Dynamics (SGLD) To generate a sample following the density p ( x θ ; ) modeled by an EBM, one can resort to SGLD as follows [193].

$$x ^ { ( t + 1 ) } = x ^ { ( t ) } - \gamma ^ { ( t ) } \nabla _ { x ^ { ( t ) } } E ( x ^ { ( t ) } ; \theta ) + \sigma \epsilon, \ \epsilon \sim \mathcal { N } ( 0 _ { D }, I _ { D } ),$$

where γ ( ) t is a step-size, σ is a noise scale, and x (0) ∼ p init ( x ), which is an initial proposal distribution. The sample x ( ) t generated by SGLD is known to be converged to a sample from p ( x θ ; ), if t →∞ , γ ( ) t → 0 [155,193,199].

With sufficient number of steps T &lt; ∞ until convergence, the resulting sample x ( T ) can be considered as being sampled from the model distribution, p ( ; · θ ). Empirically, it is well known that even short-run non-convergent SGLD can generate plausible samples [47, 48, 50, 68, 147]. Thus, we can set reasonable iteration number T considering a trade-off between the computation overhead and the sample quality. Note that the proposal distribution can be chosen as as real data samples (i.e., contrastive divergence; CD [86]), or as pure noises (noisy CD; e.g., uniform distribution, or standard normal distribution) [147], or as samples generated in the past [49,68] (i.e., persistent contrastive divergence; PCD [180])

Sampling from Mixture Distribution Now, we learn how to sample from the mixture distribution using SGLD. However, we still don't know the explicit energy function of the mixture distribution in eq. (4.5). Here, we add one more assumption to induce a tractable energy function.

Suppose Z ( θ 1 ) = ... = Z ( θ K ) = Z following [47,48], then, eq. (4.5) becomes:

$$\frac { 1 } { Z } \sum _ { i = 1 } ^ { K } w _ { i } \exp \left ( - E ( x ; \theta _ { i } ) \right ) = \frac { \exp \left ( - E ( x ; \theta _ { 1 }, \dots, \theta _ { K } ) \right ) } { Z }.$$

Consequently, we acquire an energy function of the mixture distribution in a simple tractable form, denoted as E ( x θ ; 1 , ..., θ K ), as follows:

$$E ( x ; \theta _ { 1 }, \dots, \theta _ { K } ) = - \log \left ( \sum _ { i = 1 } ^ { K } w _ { i } \exp \left ( - E ( x ; \theta _ { i } ) \right ) \right ).$$

Now, we have answered all questions raised in section 2.1. Atop them, we introduce our proposed method in the following section.

## 3 Proposed Method

## 3.1 FedEvg : Federated Energy-based Averaging

In this section, we introduce our proposed method, FedEvg . Our method first randomly initializes synthetic data (i.e., random input-label pairs) in the central server, and collaboratively refines these synthetic data with participating clients, to ensure that these samples are realizations of the mixture distributions in eq. (4.5). We provide notation table in Table 4.1.

Table 4.1: Notations in Chapter IV

| Notation   | Description                                               |
|------------|-----------------------------------------------------------|
| T          | Total number of communication rounds                      |
| B          | Local batch size                                          |
| E          | Number of local iterations                                |
| K          | Total number of participating clients, indexed by i ∈ [ K |
| C          | Fraction of clients selected at each round                |
| η          | Learning rate for the local update                        |
| D          | Input dimension                                           |
| L          | Number of classes                                         |
| M          | Number of synthetic data                                  |
| R          | Number of client-side SGLD steps                          |
| β ( t )    | Server-side SGLD step size                                |
| δ          | Server-side SGLD noise scale                              |
| γ ( t )    | Client-side SGLD step size                                |
| σ          | Client-side SGLD noise scale                              |

## 3.2 Server-side Optimization

## Algorithm 4.1 FedEvg

- 1: Input: number of clients K , client sampling ratio C ∈ (0 1), size of synthetic data , M , total rounds T , server-side SGLD step size schedule { β ( ) t } T -1 t =0 , server-side SGLD noise scale δ .

## 2: Procedure:

- 3: Server randomly initializes synthetic data ˜ D (0) (s.t. |D ˜ (0) | = M ) according to eq. (4.12).
- 4: for t =0 to T -1 do
- 5: Server randomly selects a subset of clients S ( ) t of size max(1 , /floorleft C K · /floorright ).
- 6: for each client i ∈ S ( ) t in parallel do
- 7: { exp(sgn( -E (˜ x j , y ˜ ; j θ i ))) , ∇ ˜ x j E (˜ x j , y ˜ ; j θ i ) } M j =1 ← FedEvgClientUpdate ( ˜ D ( ) t )
- 8: end for
- 9: ˜ D ( +1) t ← Update ˜ D ( ) t with β ( ) t and δ according to eq. (4.14).
- 10: end for
- 11: Return: ˜ D ( T ) .

We start by randomly initializing input-label pairs in the server, ˜ D (0) = {( ˜ x (0) j , y ˜ (0) j )} M j =1 . For example,

$$\tilde { x } ^ { ( 0 ) } \sim \mathcal { N } ( 0 _ { D }, I _ { D } ), \quad \tilde { y } ^ { ( 0 ) } \sim \text{Cat} \left ( \frac { 1 } { L } { \mathbf 1 } _ { L } \right ),$$

where 0 D is a D -dimensional zero-vector, I D is an identity matrix of size D × D , and 1 L is a L -dimensional one-vector. This simple initialization scheme is beneficial since the server does not need to prepare a distinct labeling mechanism, since we simply assign random labels to randomly initialized inputs in the beginning. To alleviate the statistical heterogeneity in the FL procedure, we set the number of samples from each class to be equal, i.e., /floorleft M/L /floorright samples per class.

After the random initialization, the server begins to refine these samples in collaboration with the clients over t ∈ [ T ] rounds, to approximate sample generation from the mixture distribution in eq. (4.2). To realize this, i) the server performs a single step of SGLD in each round ii) after aggregating the signals from participating clients. As long the server can calculate to the gradient of an energy function of mixture distributions, ∇ ˜ x E (˜; x θ 1 , ..., θ K ), the server-side synthetic data can be refined using the SGLD (eq. (4.9)).

Since we know the explicit form of the energy function of the mixture distribution, viz. eq. (4.11), we can derive the gradient w.r.t. the server-side synthetic sample ˜ as follows. x

$$\varphi \cdots \quad \cdots \quad \cdots \quad \cdots \quad \cdots \quad \cdots \quad \kappa \\ \nabla _ { \tilde { x } } E ( \tilde { x } ; \theta _ { 1 }, \dots, \theta _ { K } ) = \frac { \sum _ { i = 1 } ^ { K } w _ { i } \exp ( - E ( \tilde { x } ; \theta _ { i } ) ) \nabla _ { \tilde { x } } E ( \tilde { x } ; \theta _ { i } ) } { \sum _ { j = 1 } ^ { K } w _ { j } \exp ( - E ( \tilde { x } ; \theta _ { j } ) ) }.$$

Intuitively, eq. (4.13) can be decomposed into two components: i) an exponentiated energy

value , exp( -E (˜; x θ i )) and ii) an energy gradient , ∇ ˜ x E (˜; x θ i ). For w i , we simply set it to n /n i , which is a rate of sample size of the i -th client (where n = ∑ K i =1 n i . This decomposition scheme is undoubtedly favorable to the federated setting, since each signal can be constructed in parallel from participating clients. Provided that each client transmits these energy signals , the serverside synthetic data will be close to the sample from the mixture of local distributions even without explicitly accessing each of them. The server-side SGLD update is given as follows:

$$\tilde { x } ^ { ( t + 1 ) } = \tilde { x } ^ { ( t ) } - \beta ^ { ( t ) } \nabla _ { \tilde { x } ^ { ( t ) } } E ( \tilde { x } ^ { ( t ) } ; \theta _ { 1 }, \dots, \theta _ { K } ) + \delta \epsilon, \quad \epsilon \sim \mathcal { N } ( 0 _ { D }, I _ { D } ),$$

where { β ( ) t } T -1 t =0 is a server-side SGLD step size schedule and δ is a server-side SGLD noise scale.

One can find that this procedure bears resemblance to the federated averaging algorithm (FedAvg [137]), where the server takes a step of a global model update in each round by aggregating locally updated parameters from participating clients. However, it should be noted that our method does not require the communication of model parameters from clients. In addition, the energy value is a scalar, and the energy gradient is D -dimensional vector of the same as the number of inputs of synthetic data ˜ x j , j ∈ [ M ]. Both are usually smaller in size compared to d -dimensional model parameters. Therefore, communicating with these signals is undoubtedly more cost-effective in terms of communication than exchanging an entire model parameter, as is typically done in traditional FL settings.

## 3.3 Client-side Optimization

## Algorithm 4.2 FedEvgClientUpdate

- 1: Input: downloaded synthetic data ˜ , D local model f ( ; · θ ), mini-batch size B , local iterations E , learning rate η , constant λ , SGLD steps R , SGLD step sizes { γ ( r ) } R -1 r =0 , SGLD noise σ .
- 2: Procedure:
- 3: Initialize a local model and set D init ←D ˜ .
- 4: Set e =0.
- 5: while e &lt; E do
- 6: Sample local batch B of size B from local training set.
- 7: Sample synthetic batch ˜ of size B B from ˜ . D
- 8: for mini-batches (˜ x , y ˜) ∈ B ˜ and ( x , y ) ∈ B do
- 9: Set (˘ x (0) , y ˘) ← (˜ x , y ˜).
- 10: for r =0 , ..., R -1 do
- 11: ˘ x ( r +1) ← ˘ x ( r ) + γ ( r ) ∇ ˘ x ( r ) f (˘ x ( r ) ; θ )[˘] + y σ , /epsilon1 /epsilon1 ∼N ( 0 D , I D ), viz. eq. (4.8) and (4.9).
- 12: end for
- 13: L PCD ( θ ) ← f ( x θ ; )[ y ] -f (˘ x ( R ) ; θ )[˘] ( y i.e., minimization proxy of eq. (4.4)).
- 14: L CE ( θ ) ← CrossEntropy ( f ( x θ ; ) , y ) + λ · CrossEntropy ( f (˜; x θ ) , y ˜).
- 15: Set total loss L ( θ ) ←L PCD ( θ ) + L CE ( θ ).
- 16: Update the parameter θ ← - ∇ L θ η θ ( θ ).
- 17: Replace ˜ x ← ˘ x ( R ) for persistent update.
- 18: e ← e +1
- 19: end for
- 20: end while
- 21: Return: { exp(sgn( f ( x j ; θ )[ y j ])) , -∇ x j f ( x j ; θ )[ y j ] } M j =1 for { ( x j , y j ) } M j =1 in D init .

The client trains a local model with its own dataset, where the required signals from the server are to be obtained from the local model by recovering EBMs, E ( ; · θ i ) , i ∈ [ K ]. Therefore, each client should train a local EBM using its own dataset, which is equivalent to training a local parameterized model f ( ; · θ i ) as discussed in section 2.2.

In detail, the client-side optimization process is a joint training of both generative and discriminative perspectives. First, the generative modeling is equivalent to maximizing the log-likelihood of the local EBM, as in eq. (4.4). This also requires MCMC sampling, e.g., SGLD (eq. (4.9)) due to the maximum likelihood objective incorporates an estimate from a sample generated from a model distribution, p ( ; · θ ). In this local MCMC sampling procedure, the initial sample ˘ x (0) is assigned from the synthetic data downloaded from the server. This is corresponded to the per-

sistent initialization, where the last sample of the past MCMC chain is directly used as an initial sample of a new MCMC chain. (i.e., PCD [49,147,180]) Note that the updated samples from the R steps of client-side MCMC, ˘ x ( R ) replaces its original state, as in the line 16 of Algorithm 4.2. Second, the discriminative modeling is simply corresponded to maximizing class-conditional loglikelihoods, typically realized through the minimization of the cross-entropy loss. At the end of the client-side optimization, each client calculates energy values and energy gradients w.r.t. initial synthetic data downloaded from the central server and uploads them to the central server.

Note on the Energy Value We empirically found that replacing the exponentiated energy value exp( f (˜; x θ i )[˜]) y into exponentiated signed energy value, i.e., exp(sgn( f (˜; x θ i )[˜])), y is beneficial in that it stabilizes the estimation of the energy gradient of the mixture distribution in eq. (4.13).

This is mainly due to the fact that the energy value E (˜ x , y ˜; θ ) = -f (˜; x θ i )[˜] y ∈ R is unbounded. We empirically found that the unbounded energy value can significantly influence the magnitude of the resulting energy gradient of the mixture distribution in eq. (4.13). As the sign of the logit can only yields one of three values, exp(sgn( f (˜; x θ i )[˜])) y ∈ { exp( -1) exp(0) exp(1) , , } , it prevents exploding or vanishing of the energy gradient, thereby the server can stably estimate the aggregated energy gradient in eq. (4.13).

## 4 Experimental Results

## 4.1 Setup

Datasets We conduct experiments on four vision classification benchmarks, that are i) widely used in FL studies: MNIST [41], CIFAR-10 [109], and ii) reflect practical cross-silo FL settings: DermaMNIST, OrganCMNIST [200]. The number of classes of MNIST and CIFAR-10 is L =10, DermaMNIST is L =7, and OrganCMNIST is L =11. The spatial dimension of all inputs of i) is resized to be 32 × 32, and ii) is resized to be 64 × 64.

To simulate the federated setting, we split the pre-defined training set of each dataset into K subset using Dirichlet distribution for L classes following [92]. From the Dirichlet distribution, we can sample a probability vector that can be used for designating a label distribution of each client. The degree of the statistical heterogeneity in the federated system can be adjusted by selecting an appropriate concentration parameter α , where α =0 represents complete heterogeneity in class labels across clients and α →∞ represents homogeneous label distributions. In all experiments, we use α = 0 01 1 00 { . , . } for dataset partitioning. Note that when α is small, it is possible that some clients may have samples from partial classes, e.g., two out of L classes.

Federated Settings We use K = 10 100 { , } clients across all experiments with T =500 FL rounds. To secure communication efficiency, we set the client sampling probability as C = 1 0 0 1 { . , . } , to guarantee that there exist at least 10 participating clients in each communication round. Unless otherwise stated, we use ResNet-10 [81] as a classifier backbone in all experiments. All results are reported with averaged accuracy and a standard deviation across three different random seeds (seeds=1, 2, 3). Following [123], we applied learning rate decay for all runs to stabilize the convergence behavior of FL algorithms.

Configurations of FedEvg For our proposed method, we use Swish activation function [52, 84, 156] instead of rectified linear unit (ReLU) in the model architecture, and apply the spectral normalization [140] only for the last layer of a model. Both of them empirically stabilize the EBM training with minimal additional computation. Pertaining to the server-side SGLD, we choose the step size schedule, { β ( ) t } T -1 t =0 , as β (0) =10 0 and . β ( T -1) =0 01 for all settings. . The noise scale is also adjusted with the step size as δ =0 01, and The step size schedule is a decreasing . sequence following the cosine scheduling proposed in [146]. For the client-side SGLD, we find that only a single step ( R =1) is sufficient for all experiments, which significantly boosts the speed of

a local training. The noise scale is selected as a fixed value of σ =0 01 and the step size is also . fixed as γ (0) = ... = γ ( R -1) =1, following [68]. Lastly, the constant λ is set to 0 1, since we want . the effect of synthetic data to be less influential than that of real data in local discriminative modeling. Still, we expect the nonnegative λ may mitigate the statistical heterogeneity in the local training.

## 4.2 Quantitative &amp; Qualitative Utilities of Synthetic Data

Baselines Most of the existing work in federated synthetic data generation uses GANs [67], which consists of two sub-networks, i.e., a discriminator and a generator. We select one of the basic baselines, FedCGAN [157], and let each client train both sub-networks in each round. For both benchmarks, we use the best hyperparameters reported in [157]. In addition, we select FedCVAE as an additional baseline, which utilizes conditional VAEs [171] for generating synthetic samples in federated settings. We also search the best hyperparameters for FedCVAE . While there are another lines of works [82, 206] that also aims to achieve one-shot FL through synthetic data, our work is not restricted to a single-round communication setting. Therefore, we exclude these methods from our baselines, since the scope of our work is to synthesise realistic samples under acceptable communication rounds.

Synthetic Data Generation The number of synthetic data is designated as M = L × spc, where spc refers to 'samples per class'. We set spc = 10 for all experiments. Note that the parameter count of ResNet-10 is ≈ 5 × 10 , 6 and total size of synthetic data for single-channel datasets is M =10 × 10 × × 1 (32 × 32) ≈ 1 × 10 5 for MNIST and M =11 × 10 × × 1 (64 × 64) ≈ 4 5 . × 10 5 for OrganCMNIST. For the RGB-colored datasets, M =10 × 10 × × 3 (32 × 32) ≈ 3 × 10 5 for CIFAR10 and M =7 × 10 × × 3 (64 × 64) ≈ 8 6 . × 10 5 for DermaMNIST. Therefore, the size of synthetic data M is an order of magnitude smaller than the parameter size in all datasets.

Evaluation of Synthetic Data We evaluate the effectiveness of the generated synthetic data in two aspects: i) the efficacy of the synthetic data for mitigating heterogeneity and ii) the quality of the synthetic data as a proxy of local distributions. For the former, the server trains a classifier at the end of the FL training round using the generated synthetic data in the server. The classifier is then broadcast to all clients, and each client reports the performance of the global classifier using own local holdout set. We report the results in Table 4.2 and Table 4.3. For the latter, we compute the Fréchet Inception Distance (FID) [85] of the server-side synthetic data using the pre-defined test set of each benchmark. Note that smaller FID is preferred, since it is the distance of activations between the synthetic and the real data using the large scale pre-trained deep networks. Corresponding results are reported in Table 4.4 and Table 4.5.

From both quantitative and qualitative perspectives, the synthetic data generated by the proposed method (i.e., FedEvg ) show superior performances, regardless of the number of participating clients (10 or 100) and the degree of statistical heterogeneity ( α =0 01 1 00). . , .

Table 4.2: Discriminative performance (Accuracy) of the server-side classifier trained on generated synthetic data (higher is better) - MNIST and CIFAR-10

| Dataset Method      | MNIST (Acc. 1)   | MNIST (Acc. 1)   | MNIST (Acc. 1)   | MNIST (Acc. 1)   | CIFAR-10 (Acc. 1)   | CIFAR-10 (Acc. 1)   | CIFAR-10 (Acc. 1)   | CIFAR-10 (Acc. 1)   |
|---------------------|------------------|------------------|------------------|------------------|---------------------|---------------------|---------------------|---------------------|
| # clients           | 10               | 10               | 100              | 100              | 10                  | 10                  | 100                 | 100                 |
| concentration ( α ) | 0.01             | 1.00             | 0.01             | 1.00             | 0.01                | 1.00                | 0.01                | 1.00                |
| FedCGAN             | 44.18            | 60.81            | 56.39            | 68.06            | 9.96                | 15.95               | 14.88               | 21.31               |
| FedCGAN             | (16.09)          | (9.12)           | (12.68)          | (11.78)          | (1.42)              | (4.06)              | (1.78)              | (2.42)              |
| FedCVAE             | 66.93            | 64.73            | 63.13            | 63.80            | 13.98               | 7.66                | 12.86               | 12.04               |
| FedCVAE             | (4.92)           | (2.53)           | (3.91)           | (4.30)           | (5.46)              | (2.01)              | (1.81)              | (0.57)              |
| FedEvg              | 62.95            | 70.94            | 72.25            | 86.49            | 17.25               | 29.08               | 42.68               | 58.57               |
| FedEvg              | (5.43)           | (3.20)           | (3.56)           | (2.38)           | (2.21)              | (3.44)              | (1.82)              | (2.05)              |

Table 4.3: Discriminative performance (Accuracy) of the server-side classifier trained on generated synthetic data (higher is better) - DermaMNIST and OrganCMNIST

| Dataset Method      | DermaMNIST (Acc. 1)   | DermaMNIST (Acc. 1)   | DermaMNIST (Acc. 1)   | DermaMNIST (Acc. 1)   | OrganCMNIST (Acc. 1)   | OrganCMNIST (Acc. 1)   | OrganCMNIST (Acc. 1)   | OrganCMNIST (Acc. 1)   |
|---------------------|-----------------------|-----------------------|-----------------------|-----------------------|------------------------|------------------------|------------------------|------------------------|
| # clients           | 10                    | 10                    | 100                   | 100                   | 10                     | 10                     | 100                    | 100                    |
| concentration ( α ) | 0.01                  | 1.00                  | 0.01                  | 1.00                  | 0.01                   | 1.00                   | 0.01                   | 1.00                   |
| FedCGAN             | 3.74                  | 10.15                 | 11.39                 | 21.95                 | 2.46                   | 19.24                  | 4.38                   | 26.11                  |
| FedCGAN             | (20.42)               | (6.73)                | (19.20)               | (15.39)               | (5.45)                 | (4.75)                 | (15.02)                | (11.50)                |
| FedCVAE             | 23.56                 | 16.18                 | 15.84                 | 22.18                 | 8.55                   | 14.32                  | 11.12                  | 15.04                  |
| FedCVAE             | (32.48)               | (12.34)               | (22.92)               | (13.04)               | (16.86)                | (9.03)                 | (22.14)                | (10.98)                |
| FedEvg              | 32.40                 | 51.31                 | 38.89                 | 63.23                 | 37.16                  | 44.87                  | 54.58                  | 77.59                  |
| FedEvg              | (23.58)               | (10.12)               | (31.04)               | (17.54)               | (18.51)                | (10.31)                | (26.78)                | (12.26)                |

Table 4.4: Generative performance (FID) of the server-side synthetic data (lower is better) - MNIST and CIFAR-10

| Dataset Method      | MNIST (FID)   | MNIST (FID)   | MNIST (FID)   | MNIST (FID)   | CIFAR-10 (FID)   | CIFAR-10 (FID)   | CIFAR-10 (FID)   | CIFAR-10 (FID)   |
|---------------------|---------------|---------------|---------------|---------------|------------------|------------------|------------------|------------------|
| # clients           | 10            | 10            | 100           | 100           | 10               | 10               | 100              | 100              |
| concentration ( α ) | 0.01          | 1.00          | 0.01          | 1.00          | 0.01             | 1.00             | 0.01             | 1.00             |
| FedCGAN             | 331.48 (0.23) | 300.67 (0.59) | 353.86 (1.78) | 325.66 (1.78) | 388.13 (0.67)    | 291.59 (1.21)    | 363.78 (0.17)    | 326.10 (0.78)    |
| FedCVAE             | 214.35 (0.15) | 181.30 (0.08) | 199.71 (0.94) | 171.36 (2.01) | 399.27 (1.03)    | 396.34 (0.59)    | 385.54 (0.33)    | 376.58 (1.91)    |
| FedEvg              | 171.53 (0.24) | 124.72 (0.38) | 175.90 (1.42) | 154.79 (1.77) | 359.18 (1.50)    | 286.26 (0.10)    | 338.42 (0.64)    | 316.49 (0.89)    |

Table 4.5: Generative performance (FID) of the server-side synthetic data (lower is better) - DermaMNIST and OrganCMNIST

| Dataset Method      | DermaMNIST (FID)   | DermaMNIST (FID)   | DermaMNIST (FID)   | DermaMNIST (FID)   | OrganCMNIST (FID)   | OrganCMNIST (FID)   | OrganCMNIST (FID)   | OrganCMNIST (FID)   |
|---------------------|--------------------|--------------------|--------------------|--------------------|---------------------|---------------------|---------------------|---------------------|
| # clients           | 10                 | 10                 | 100                | 100                | 10                  | 10                  | 100                 | 100                 |
| concentration ( α ) | 0.01               | 1.00               | 0.01               | 1.00               | 0.01                | 1.00                | 0.01                | 1.00                |
| FedCGAN             | 372.89             | 296.88 (15.91)     | 364.40             | 326.60 (12.64)     | 389.88 (16.77)      | 333.50              | 461.91              | 386.53 (16.21)      |
| FedCGAN             | (11.12)            |                    | (7.18)             |                    |                     | (12.98)             | (17.06)             |                     |
| FedCVAE             | 355.76             | 309.81             | 351.55             | 316.43             | 442.12              | 379.25              | 350.21              | 438.63              |
| FedCVAE             | (15.02)            | (8.89)             | (21.94)            | (13.51)            | (15.08)             | (17.64)             | (16.41)             | (19.01)             |
| FedEvg              | 317.52             | 319.34             | 272.89             | 235.84             | 298.27              | 303.14              | 209.96              | 188.01              |
| FedEvg              | (10.73)            | (13.11)            | (11.42)            | (12.77)            | (12.14)             | (13.01)             | (12.28)             | (13.05)             |

Visualization of Synthetic Data The visualizations of synthetic data of each dataset ( MNIST , CIFAR-10 , OrganCMNIST , and DermaMNIST ) from each method ( FedCGAN , FedCVAE , and FedEvg ) are provided in Figure 4.1, 4.2, 4.3 and Figure 4.4. All results are obtained in the setting of K =10 clients with α =0 01 and . R =500 rounds. Although the synthetic data generated are not as diverse as the original data, they are all sufficiently representative of each class.

Compared to existing methods, FedEvg shows far better generation quality compared to baselines. For example, pertaining to the result of MNIST dataset (Figure 4.1), FedCVAE fails to generate samples from classes of digit two and digit six. Rather, they resemble synthetic data samples from the class of digit four, which implies that FedCVAE does not fully understand the structural difference between these classes.

In case of more complicated dataset (in terms of in-class diversity and data dimension, i.e., colored dataset), such as CIFAR-10 , the excellence of the proposed method is even more emphasized. While FedCGAN generates samples that appeared to be separated by class, but samples are too noisy and of poor quality. Worse, in FedCVAE , the generated results are so blurry that they are indiscernible by visual perception.

In contrast, FedEvg clearly produces plausible and diverse samples whose class can be easily inferred from their appearance. When if the size of data is increased from 32 × 32 to 64 × 64 (e.g., OrganCMNIST and DermaMNIST ), the aforementioned trends are even accentuated, proving the superiority of the proposed method compared over existing baselines. This may promote the effectiveness of synthetic data generated by FedEvg for the downstream tasks after federated training, such as providing synthetic data for sample-deficient clients, or for data homogenization as a public shared dataset.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-7aa8b43e-6ca9-42d4-831b-6762d3abfc44.jpg)

The sets of images to the right of the dataset.

MNIST

The first image to the left of the red vertical bar is a set of random samples from the original

Figure 4.1:

Each row in each set of images consists of samples

.

FedEvg and the third by

,

FedCVAE

the second by

,

FedCGAN

red vertical bar are the results generated by from the same class, and there are 10 samples (i.e., spc = 10) in each row.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-7b41dd19-c8ad-4215-bba4-55fb5254d124.jpg)

Figure 4.2: The first image to the left of the red vertical bar is a set of random samples from the original CIFAR-10 dataset. The sets of images to the right of the red vertical bar are the results generated by FedCGAN , the second by FedCVAE , and the third by FedEvg . Each row in each set of images consists of

samples from the same class, and there are 10 samples (i.e., spc = 10) in each row.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-fa2c9781-79c6-4f0b-b186-f725519225b7.jpg)

Figure 4.3: The first image to the left of the red vertical bar is a set of random samples from the original OrganCMNIST dataset. The sets of images to the

Each row in each set of images consists

.

FedEvg and the third by

,

FedCVAE

the second by

,

FedCGAN

right of the red vertical bar are the results generated by of samples from the same class, and there are 10 samples (i.e., spc = 10) in each row.

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00050v1-figure-59006a12-e784-416b-aca7-c2e5e106d97d.jpg)

The sets of images to the right dataset.

DermaMNIST

The first image to the left of the red vertical bar is a set of random samples from the original

Figure 4.4:

## of the red vertical bar are the results generated by FedCGAN , the second by FedCVAE , and the third by FedEvg . Each row in each set of images consists of

samples from the same class, and there are 10 samples (i.e., spc = 10) in each row.

## 5 Related Works

## 5.1 Synthetic Data in Federated Learning

FL is a simple and scalable distributed optimization method [137]. However, since the orchestrator (i.e., the central server) does not have direct access to the local samples of the participating clients, the curse of statistical heterogeneity always threatens the federated system. Since it affects different local optimization trajectories, a global model constructed from these disparate local updates may not achieve satisfactory performance or may not be even converged. Most previous studies are model-centric approaches, focusing on rectifying heterogeneous local updates to be aligned with each other. This includes a regularization-based methods [101,159], usage of control variates [105], server-side momentum [92], or replacing aggregation schemes [131,186,203], and even equipping with additional models for personalization [32,73,195]. Orthogonal to these methods, data-centric approaches have been relatively less explored. This encompasses the sharing of pre-defined server-side public datasets [70, 115, 210] and the use of virtual data initialized from an untrained generative model (e.g., [130, 179]) or resorting to the low-dimensional data, which is latent representations of local models [178, 201, 212]. However, the public data is not always available, and other surrogates cannot be used separately when FL training is completed. Therefore, the usage of synthetic data has recently received considerable attention [128]. While promising, training a generative model for the synthetic data in federated settings is undoubtedly challenging. Few studies have been conducted on this topic, with the majority of research concentrating on GANs [8,78,126,157,197], but it requires heavy computation and communication cost, and is vulnerable to the mode collapse, a common failure of generative training. Other lines of work [93,189,198] are built upon the dataset condensation method [188,207], but do not produce plausible synthetic data, since the generated samples are merely a compressed version of the raw counterparts. Our method can not only contribute to the generation of plausible synthetic data without the need to prepare a generative model, but can also provide local discriminative models with a slight modification in the training procedure. Thus, FedEvg can achieve the best of both worlds: server-side benefits of acquiring synthetic data samples and client-side benefits of obtaining an improved local model.

## 5.2 Energy-Based Model

EBMs [114] are a classic method of modeling an unnormalized probability density. The omission of the normalizing constant estimation gives EBMs much flexibility, such as no restriction in the model family and easy compositional operations between EBMs. Our work relies heavily on [68], which revealed that the EBM can be externalized from any classifiers. We modify and extend this method to federated settings, where multiple classifiers are trained separately in parallel. To harmonize these EBM-driven classifiers, we choose to treat the sampling from the composition of EBMs as the sampling from implicitly aggregated local density functions. Although the composition of EBMs, also known as a mixture-of-expert, has been explored in previous works [47,48,50] in the data centralized setting, FedEvg is, to the best of our knowledge, the first to bring this intriguing property into federated settings.

## 6 Discussion

While EBMs are flexible by not modeling a normalizing constant, their training is non-trivial in return. Moreover, as we do not have access to the (normalized) log-likelihood during training, this obfuscates monitoring the status of EBM training. Therefore, stabilizing the training of local EBMs in our work with improved techniques can be a promising research direction. For example, MCMC teaching [35, 69, 196, 211] and connection to diffusion modeling [47, 163] may be good candidates.

As an alternative to EBMs, score-based generative modeling [172-174] shows a strong generation quality by estimating the score (i.e., energy gradient) directly from the model, rather than the energy value. However, one can hesitate to adopt score-based modeling for the following reasons: First, to realize the sampling from the mixture distribution , it is essential to know the local energy value to estimate the energy gradient as introduced in eq. (4.13). While some tricks are introduced to construct a proxy for energy value from the score-based approach [47,163], they are only supported by empirical evidence. Second, when using score-based modeling, each client in the federated system should consume much more local computation and sample size than the EBM to improve the generation quality of server-side synthetic data. Nevertheless, it is worthwhile to use the score-based approach in future work, as more advanced techniques have been proposed for efficient training and compositional generation of score-based generative models.

Another strong candidate that can replace the current EBM-based scheme is Probabilistic Circuits (PCs) [28,184]. It is fundamentally designed to model probabilistic distributions based on generating polynomials between random variables, and thus it naturally supports compositional operations as EBMs. While this work aggressively assumes that the normalizing constants of different local EBMs are equal to each other (as in eq. (4.10)), this is hardly acceptable in practice. It is an unavoidable assumption when using EBMs as the core engine, however, the intractable modeling of the probability density is certainly a part to be improved, especially when the effects of statistical heterogeneity are also present. From this perspective, PCs can solve the key challenge of modeling the normalization constant because they essentially model a tractable probability density. Thus, replacing EBMs with PCs may address major problems with EBMs without modifying the proposed main assumption (i.e., sampling from a mixture of local distributions) for federated synthetic data generation.

Apart from the modeling scheme, the empirical evaluation of current work should also be extended outside the vision domain, e.g., text and tabular benchmarks, to evaluate the practical-

ity of the proposed method. In a similar context, an explicit introduction of privacy-preserving mechanisms, e.g., differential privacy [51], should also be considered, mirroring the deployment scenario of the federated system equipped with the proposed method. Although we avoid explicit risks by initializing synthetic data on the server and not using the raw energy value directly, the potential risk of specific privacy leakage from various threat scenarios requires further investigation. Last but not least, our method can be roughly viewed as a cooperative MCMC sampling method. Hence, we can borrow theoretical analyses from the rich MCMC literature on the convergence behavior of FedEvg to the true unknown density.

## 7 Conclusion

In this work, we propose FedEvg , a collaborative synthetic data generation method in a datadecentralized setting. Our method not only supports the generative ability in terms of server-side synthetic data generation, but also guarantees the strong discriminative performance required for the good of the participating clients. The main motivation is the hidden connection to energybased models, which supports flexible modeling of an unknown probability density, as well as easy compositions between them. By viewing federated synthetic data generation as a collaborative sampling process from a mixture of inaccessible local densities, we can easily secure synthetic data using locally constructed energy signals. As there is a growing need for the use of synthetic data in practical federated settings, we hope that our method can serve as a stepping stone.

## Chapter V

## Concluding Remarks

Starting from the main objective of FL, we have presented three distinct perspectives for salvaging the collaborative learning method from the statistical heterogeneity problem: a parameter, a mixing coefficient, and local distributions. Contrary to dealing with a single global model as in traditional FL, a model-mixture based personalization method, SuPerFed , is first explored (Chapter II). Instead of simply mixing different models, a special regularization-based method based on mode connectivity is proposed to promote explicit synergies between models. Furthermore, a principled online decision making framework, AAggFF , is established, which is implemented by finding an optimal mixing coefficient in each communication round (Chapter III). This is especially suited for server-side sequential decision making in that only a few bits are provided in updating the mixing coefficient in an adaptive manner. Lastly, a collaborative synthetic data generation method, FedEvg , is proposed (Chapter IV), which does not depend upon the exchange of parameters. By disclosing hidden connections to energy-based modeling, the main objective is transformed into sampling from a mixture of inaccessible local distributions. Instead of communicating a model parameter, the federated system can exploit energy-based signals that contain information about local densities.

Nevertheless, there is much room for improvement in each approach, which is a limitation of the current dissertation as well as a direction for future research. First of all, SuPerFed assumes stateful clients, where each client keeps its own local model until the end of FL training. While this can improve personalization performance in the cross-silo FL setting, it may not be appropriate for the cross-device setting since it assumes that each client is stateless. Thus, improving the method to be performed in a cross-device setting can be a promising direction. Second, the theoretical analysis of AAggFF is only presented for the mixing coefficient in terms

of vanishing regret, but the convergence of finding a parameter still remains unanswered. This may be connected to min-max stochastic optimization or bi-level optimization, both of which are relatively underexplored in FL settings. Moreover, a combination of online convex optimization (for a mixing coefficient) and stochastic optimization (for a parameter) is itself novel and has sufficient value to be studied. Third but not least, advanced methods for the stable training of an EBM certainly improve the utility of FedEvg . Since FedEvg communicates signals other than a model parameter, a new theoretical analysis should be explored for analyzing the convergence behavior. Therefore, an independent analysis should be provided to explain the behavior of this algorithm, as well as what kind of disclosure risks exist and how we can prevent them using proper add-ons, e.g., Differential Privacy (DP). Last but not least, the practicality and scalability of all approaches can be greatly enhanced if each of them can deal with the setting close to reality, such as a classification task with an extreme number of classes, recognition of high-fidelity inputs, and long-sequence modeling.

While many studies are proliferating in each direction, i.e., parameters, mixing coefficients, and local distributions, this dissertation is the first to address all three perspectives in order. I hope that this work will be a minimal step towards improving the current FL framework into a more practical and scalable technology, as well as broadening the perspectives of the collaborative machine learning paradigm for machine learning as a whole.

## References

- [1] J. D. Abernethy, E. Hazan, and A. Rakhlin, 'Competing in the dark: An efficient algorithm for bandit linear optimization,' 2009.
- [2] D. A. E. Acar, Y. Zhao, R. Matas, M. Mattina, P. Whatmough, and V. Saligrama, 'Federated learning based on dynamic regularization,' in International Conference on Learning Representations , 2020.
- [3] A. Agarwal and E. Hazan, 'New algorithms for repeated play and universal portfolio management,' Princeton University Technical Report TR-740-05, Tech. Rep., 2005.
- [4] A. Agarwal, E. Hazan, S. Kale, and R. E. Schapire, 'Algorithms for portfolio management based on the newton method,' in Proceedings of the 23rd international conference on Machine learning , 2006, pp. 9-16.
- [5] S. K. Ainsworth, J. Hayase, and S. Srinivasa, 'Git re-basin: Merging models modulo permutation symmetries,' arXiv preprint arXiv:2209.04836 , 2022.
- [6] M. G. Arivazhagan, V. Aggarwal, A. K. Singh, and S. Choudhary, 'Federated learning with personalization layers,' arXiv preprint arXiv:1912.00818 , 2019.
- [7] P. Auer, N. Cesa-Bianchi, Y. Freund, and R. E. Schapire, 'The nonstochastic multiarmed bandit problem,' SIAM journal on computing , vol. 32, no. 1, pp. 48-77, 2002.
- [8] S. Augenstein, H. B. McMahan, D. Ramage, S. Ramaswamy, P. Kairouz, M. Chen, R. Mathews et al. , 'Generative models for effective ml on private, decentralized datasets,' arXiv preprint arXiv:1911.06679 , 2019.
- [9] T. Awosika, R. M. Shukla, and B. Pranggono, 'Transparency and privacy: the role of explainable ai and federated learning in financial fraud detection,' IEEE Access , 2024.
- [10] B. O. Ayinde, T. Inanc, and J. M. Zurada, 'Regularizing deep neural networks by enhancing diversity in feature extraction,' IEEE transactions on neural networks and learning systems , vol. 30, no. 9, pp. 2650-2661, 2019.

- [11] H. Bang and J. M. Robins, 'Doubly robust estimation in missing data and causal inference models,' Biometrics , vol. 61, no. 4, pp. 962-973, 2005.
- [12] A. Beck and M. Teboulle, 'Mirror descent and nonlinear projected subgradient methods for convex optimization,' Operations Research Letters , vol. 31, no. 3, pp. 167-175, 2003.
- [13] A. Ben Abacha and D. Demner-Fushman, 'A question-entailment approach to question answering,' BMC Bioinform. , vol. 20, no. 1, pp. 511:1-511:23, 2019. [Online]. Available: https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-019-3119-4
- [14] M. Ben-Or, S. Goldwasser, and A. Wigderson, 'Completeness theorems for noncryptographic fault-tolerant distributed computation,' in Proceedings of the Twentieth Annual ACM Symposium on Theory of Computing , ser. STOC '88. New York, NY, USA: Association for Computing Machinery, 1988, p. 1-10. [Online]. Available: https://doi.org/10.1145/62212.62213
- [15] G. Benton, W. Maddox, S. Lotfi, and A. G. G. Wilson, 'Loss surface simplexes for mode connecting volumes and fast ensembling,' in International Conference on Machine Learning . PMLR, 2021, pp. 769-779.
- [16] P. Berka, 'Workshop notes on discovery challenge pkdd'99,' 1999. [Online]. Available: http://lisp.vse.cz/pkdd99/
- [17] C. Blundell, J. Cornebise, K. Kavukcuoglu, and D. Wierstra, 'Weight uncertainty in neural network,' in International Conference on Machine Learning . PMLR, 2015, pp. 1613-1622.
- [18] D. Caldarola, B. Caputo, and M. Ciccone, 'Improving generalization in federated learning by seeking flat minima,' in European Conference on Computer Vision . Springer, 2022, pp. 654-672.
- [19] S. Caldas, S. M. K. Duddu, P. Wu, T. Li, J. Konečn`, H. B. McMahan, V. Smith, and y A. Talwalkar, 'Leaf: A benchmark for federated settings,' arXiv preprint arXiv:1812.01097 , 2018.
- [20] N. Cesa-Bianchi and G. Lugosi, Prediction, learning, and games . Cambridge university press, 2006.
- [21] I. Char, Y. Chung, W. Neiswanger, K. Kandasamy, A. O. Nelson, M. Boyer, E. Kolemen, and J. Schneider, 'Offline contextual bayesian optimization,' Advances in Neural Information Processing Systems , vol. 32, 2019.

- [22] P. Chatterjee, D. Das, and D. B. Rawat, 'Federated learning empowered recommendation model for financial consumer services,' IEEE Transactions on Consumer Electronics , vol. 70, no. 1, pp. 2508-2516, 2024.
- [23] H. Chen and H. Vikalo, 'Federated learning in non-iid settings aided by differentially private synthetic data,' in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition , 2023, pp. 5026-5035.
- [24] H. Chen, T. Zhu, T. Zhang, W. Zhou, and P. S. Yu, 'Privacy and fairness in federated learning: on the perspective of trade-off,' ACM Computing Surveys , 2023.
- [25] R. Cheng and N. Amin, 'Estimating parameters in continuous univariate distributions with a shifted origin,' Journal of the Royal Statistical Society: Series B (Methodological) , vol. 45, no. 3, pp. 394-403, 1983.
- [26] J. H. Cheon, A. Kim, M. Kim, and Y. Song, 'Homomorphic encryption for arithmetic of approximate numbers,' in Advances in Cryptology - ASIACRYPT 2017 , T. Takagi and T. Peyrin, Eds. Cham: Springer International Publishing, 2017, pp. 409-437.
- [27] J. Chi, Y. Tian, G. J. Gordon, and H. Zhao, 'Understanding and mitigating accuracy disparity in regression,' in International conference on machine learning . PMLR, 2021, pp. 1866-1876.
- [28] Y. Choi, A. Vergari, and G. Van den Broeck, 'Probabilistic circuits: A unifying framework for tractable probabilistic models,' UCLA. URL: http://starai. cs. ucla. edu/papers/ProbCirc20. pdf , p. 6, 2020.
- [29] A. Choromanska, M. Henaff, M. Mathieu, G. B. Arous, and Y. LeCun, 'The loss surfaces of multilayer networks,' in Artificial intelligence and statistics . PMLR, 2015, pp. 192-204.
- [30] N. C. Codella, D. Gutman, M. E. Celebi, B. Helba, M. A. Marchetti, S. W. Dusza, A. Kalloo, K. Liopyris, N. Mishra, H. Kittler et al. , 'Skin lesion analysis toward melanoma detection: A challenge at the 2017 international symposium on biomedical imaging (isbi), hosted by the international skin imaging collaboration (isic),' in 2018 IEEE 15th international symposium on biomedical imaging (ISBI 2018) . IEEE, 2018, pp. 168-172.
- [31] L. Collins, H. Hassani, A. Mokhtari, and S. Shakkottai, 'Exploiting shared representations for personalized federated learning,' in International Conference on Machine Learning . PMLR, 2021, pp. 2089-2099.
- [32] --, 'Exploiting shared representations for personalized federated learning,' in International conference on machine learning . PMLR, 2021, pp. 2089-2099.

- [33] A. Cotter, H. Jiang, M. Gupta, S. Wang, T. Narayan, S. You, and K. Sridharan, 'Optimization with non-differentiable constraints with applications to fairness, recall, churn, and other goals,' Journal of Machine Learning Research , vol. 20, no. 172, pp. 1-59, 2019.
- [34] T. M. Cover, 'Universal portfolios,' Mathematical finance , vol. 1, no. 1, pp. 1-29, 1991.
- [35] J. Cui and T. Han, 'Learning energy-based model via dual-mcmc teaching,' Advances in Neural Information Processing Systems , vol. 36, pp. 28 861-28 872, 2023.
- [36] D. Curry, 'Android statistics (2023),' BusinessofApps , 2023. [Online]. Available: https://www.businessofapps.com/data/android-statistics/
- [37] W. Dai, C. Dai, S. Qu, J. Li, and S. Das, 'Very deep convolutional neural networks for raw waveforms,' in 2017 IEEE international conference on acoustics, speech and signal processing (ICASSP) . IEEE, 2017, pp. 421-425.
- [38] I. Dayan, H. R. Roth, A. Zhong, A. Harouni, A. Gentili, A. Z. Abidin, A. Liu, A. B. Costa, B. J. Wood, C.-S. Tsai et al. , 'Federated learning for predicting clinical outcomes in patients with covid-19,' Nature medicine , vol. 27, no. 10, pp. 1735-1743, 2021.
- [39] I. Dayan, H. R. Roth, A. Zhong, A. Harouni, A. Gentili, A. Z. Abidin, A. Liu, A. B. Costa, B. J. Wood, C.-S. Tsai, C.-H. Wang, C.-N. Hsu, C. K. Lee, P. Ruan, D. Xu, D. Wu, E. Huang, F. C. Kitamura, G. Lacey, G. C. de Antônio Corradi, G. Nino, H.-H. Shin, H. Obinata, H. Ren, J. C. Crane, J. Tetreault, J. Guan, J. W. Garrett, J. D. Kaggie, J. G. Park, K. Dreyer, K. Juluru, K. Kersten, M. A. B. C. Rockenbach, M. G. Linguraru, M. A. Haider, M. AbdelMaseeh, N. Rieke, P. F. Damasceno, P. M. C. e Silva, P. Wang, S. Xu, S. Kawano, S. Sriswasdi, S. Y. Park, T. M. Grist, V. Buch, W. Jantarabenjakul, W. Wang, W. Y. Tak, X. Li, X. Lin, Y. J. Kwon, A. Quraini, A. Feng, A. N. Priest, B. Turkbey, B. Glicksberg, B. Bizzo, B. S. Kim, C. Tor-Díez, C.-C. Lee, C.-J. Hsu, C. Lin, C.-L. Lai, C. P. Hess, C. Compas, D. Bhatia, E. K. Oermann, E. Leibovitz, H. Sasaki, H. Mori, I. Yang, J. H. Sohn, K. N. K. Murthy, L.-C. Fu, M. R. F. de Mendonça, M. Fralick, M. K. Kang, M. Adil, N. Gangai, P. Vateekul, P. Elnajjar, S. Hickman, S. Majumdar, S. L. McLeod, S. Reed, S. Gräf, S. Harmon, T. Kodama, T. Puthanakit, T. Mazzulli, V. L. de Lavor, Y. Rakvongthai, Y. R. Lee, Y. Wen, F. J. Gilbert, M. G. Flores, and Q. Li, 'Federated learning for predicting clinical outcomes in patients with covid-19,' Nature Medicine , vol. 27, no. 10, p. 1735-1743, Sep. 2021. [Online]. Available:
- http://dx.doi.org/10.1038/s41591-021-01506-3

- [40] J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei, 'Imagenet: A large-scale hierarchical image database,' in 2009 IEEE conference on computer vision and pattern recognition . Ieee, 2009, pp. 248-255.
- [41] L. Deng, 'The mnist database of handwritten digit images for machine learning research,' IEEE Signal Processing Magazine , vol. 29, no. 6, pp. 141-142, 2012.
- [42] Y. Deng, M. M. Kamani, and M. Mahdavi, 'Adaptive personalized federated learning,' arXiv preprint arXiv:2003.13461 , 2020.
- [43] --, 'Distributionally robust federated averaging,' Advances in neural information processing systems , vol. 33, pp. 15 111-15 122, 2020.
- [44] C. T. Dinh, N. H. Tran, and T. D. Nguyen, 'Personalized federated learning with moreau envelopes,' arXiv preprint arXiv:2006.08848 , 2020.
- [45] C. T. Dinh, T. T. Vu, N. H. Tran, M. N. Dao, and H. Zhang, 'Fedu: A unified framework for federated multi-task learning with laplacian regularization,' arXiv preprint arXiv:2102.07148 , 2021.
- [46] F. Draxler, K. Veschgini, M. Salmhofer, and F. Hamprecht, 'Essentially no barriers in neural network energy landscape,' in International conference on machine learning . PMLR, 2018, pp. 1309-1318.
- [47] Y. Du, C. Durkan, R. Strudel, J. B. Tenenbaum, S. Dieleman, R. Fergus, J. Sohl-Dickstein, A. Doucet, and W. S. Grathwohl, 'Reduce, reuse, recycle: Compositional generation with energy-based diffusion models and mcmc,' in International conference on machine learning . PMLR, 2023, pp. 8489-8510.
- [48] Y. Du, S. Li, and I. Mordatch, 'Compositional visual generation with energy based models,' Advances in Neural Information Processing Systems , vol. 33, pp. 6637-6647, 2020.
- [49] Y. Du, S. Li, J. Tenenbaum, and I. Mordatch, 'Improved contrastive divergence training of energy based models,' arXiv preprint arXiv:2012.01316 , 2020.
- [50] Y. Du and I. Mordatch, 'Implicit generation and modeling with energy based models,' Advances in Neural Information Processing Systems , vol. 32, 2019.
- [51] C. Dwork, 'Differential privacy,' in International colloquium on automata, languages, and programming . Springer, 2006, pp. 1-12.

- [52] S. Elfwing, E. Uchibe, and K. Doya, 'Sigmoid-weighted linear units for neural network function approximation in reinforcement learning,' Neural networks , vol. 107, pp. 3-11, 2018.
- [53] R. Entezari, H. Sedghi, O. Saukh, and B. Neyshabur, 'The role of permutation invariance in linear mode connectivity of neural networks,' arXiv preprint arXiv:2110.06296 , 2021.
- [54] A. Fallah, A. Mokhtari, and A. Ozdaglar, 'Personalized federated learning with theoretical guarantees: A model-agnostic meta-learning approach,' Advances in Neural Information Processing Systems , vol. 33, pp. 3557-3568, 2020.
- [55] P. Foret, A. Kleiner, H. Mobahi, and B. Neyshabur, 'Sharpness-aware minimization for efficiently improving generalization,' arXiv preprint arXiv:2010.01412 , 2020.
- [56] S. Fort, G. K. Dziugaite, M. Paul, S. Kharaghani, D. M. Roy, and S. Ganguli, 'Deep learning versus kernel learning: an empirical study of loss landscape geometry and the time evolution of the neural tangent kernel,' Advances in Neural Information Processing Systems , vol. 33, pp. 5850-5861, 2020.
- [57] S. Fort, H. Hu, and B. Lakshminarayanan, 'Deep ensembles: A loss landscape perspective,' arXiv preprint arXiv:1912.02757 , 2019.
- [58] S. Fort and S. Jastrzebski, 'Large scale structure of neural network loss landscapes,' Advances in Neural Information Processing Systems , vol. 32, pp. 6709-6717, 2019.
- [59] J. Frankle, 'Revisiting" qualitatively characterizing neural network optimization problems",' arXiv preprint arXiv:2012.06898 , 2020.
- [60] J. Frankle, G. K. Dziugaite, D. Roy, and M. Carbin, 'Linear mode connectivity and the lottery ticket hypothesis,' in International Conference on Machine Learning . PMLR, 2020, pp. 3259-3269.
- [61] M. Fréchet, 'Sur la loi de probabilité de l'écart maximum,' Ann. de la Soc. Polonaise de Math. , 1927.
- [62] T. Garipov, P. Izmailov, D. Podoprikhin, D. Vetrov, and A. G. Wilson, 'Loss surfaces, mode connectivity, and fast ensembling of dnns,' in Proceedings of the 32nd International Conference on Neural Information Processing Systems , 2018, pp. 8803-8812.
- [63] C. F. Gauß, Theoria Motus Corporvm Coelestivm In Sectionibvs Conicis Solem Ambientivm . Perthes et Besser, 1809.

- [64] A. Ghosh, J. Chung, D. Yin, and K. Ramchandran, 'An efficient framework for clustered federated learning,' arXiv preprint arXiv:2006.04088 , 2020.
- [65] --, 'An efficient framework for clustered federated learning,' Advances in Neural Information Processing Systems , vol. 33, pp. 19 586-19 597, 2020.
- [66] Y. Gong, Y. Fang, and Y. Guo, 'Private data analytics on biomedical sensing data via distributed computation,' IEEE/ACM Transactions on Computational Biology and Bioinformatics , vol. 13, no. 3, pp. 431-444, 2016.
- [67] I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio, 'Generative adversarial nets,' Advances in neural information processing systems , vol. 27, 2014.
- [68] W. Grathwohl, K.-C. Wang, J.-H. Jacobsen, D. Duvenaud, M. Norouzi, and K. Swersky, 'Your classifier is secretly an energy based model and you should treat it like one,' arXiv preprint arXiv:1912.03263 , 2019.
- [69] L. Grenioux, É. Moulines, and M. Gabrié, 'Balanced training of energy-based models with adaptive flow sampling,' arXiv preprint arXiv:2306.00684 , 2023.
- [70] N. Guha, A. Talwalkar, and V. Smith, 'One-shot federated learning,' arXiv preprint arXiv:1902.11175 , 2019.
- [71] E. J. Gumbel, 'Les valeurs extrêmes des distributions statistiques,' in Annales de l'institut Henri Poincaré , vol. 5, no. 2, 1935, pp. 115-158.
- [72] C. Guo, G. Pleiss, Y. Sun, and K. Q. Weinberger, 'On calibration of modern neural networks,' in International Conference on Machine Learning . PMLR, 2017, pp. 1321-1330.
- [73] S.-J. Hahn, M. Jeong, and J. Lee, 'Connecting low-loss subspace for personalized federated learning,' in Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining , 2022, pp. 505-515.
- [74] B. Han, Q. Yao, X. Yu, G. Niu, M. Xu, W. Hu, I. Tsang, and M. Sugiyama, 'Co-teaching: Robust training of deep neural networks with extremely noisy labels,' Advances in neural information processing systems , vol. 31, 2018.
- [75] F. Hanzely and P. Richtárik, 'Federated learning of a mixture of global and local models,' arXiv preprint arXiv:2002.05516 , 2020.

- [76] A. Hard, K. Rao, R. Mathews, S. Ramaswamy, F. Beaufays, S. Augenstein, H. Eichner, C. Kiddon, and D. Ramage, 'Federated learning for mobile keyboard prediction,' arXiv preprint arXiv:1811.03604 , 2018.
- [77] A. S. Hard, K. Rao, R. Mathews, F. Beaufays, S. Augenstein, H. Eichner, C. Kiddon, and D. Ramage, 'Federated learning for mobile keyboard prediction,' ArXiv , vol. abs/1811.03604, 2018. [Online]. Available: https://api.semanticscholar.org/CorpusID: 53207681
- [78] C. Hardy, E. Le Merrer, and B. Sericola, 'Md-gan: Multi-discriminator generative adversarial networks for distributed datasets,' in 2019 IEEE international parallel and distributed processing symposium (IPDPS) . IEEE, 2019, pp. 866-877.
- [79] E. Hazan, A. Agarwal, and S. Kale, 'Logarithmic regret algorithms for online convex optimization,' Machine Learning , vol. 69, pp. 169-192, 2007.
- [80] E. Hazan and S. Kale, 'Extracting certainty from uncertainty: Regret bounded by variation in costs,' Machine learning , vol. 80, pp. 165-188, 2010.
- [81] K. He, X. Zhang, S. Ren, and J. Sun, 'Deep residual learning for image recognition,' in Proceedings of the IEEE conference on computer vision and pattern recognition , 2016, pp. 770-778.
- [82] C. E. Heinbaugh, E. Luz-Ricca, and H. Shao, 'Data-free one-shot federated learning under very high statistical heterogeneity,' in The Eleventh International Conference on Learning Representations , 2022.
- [83] D. P. Helmbold, R. E. Schapire, Y. Singer, and M. K. Warmuth, 'On-line portfolio selection using multiplicative updates,' Mathematical Finance , vol. 8, no. 4, pp. 325-347, 1998.
- [84] D. Hendrycks and K. Gimpel, 'Gaussian error linear units (gelus),' arXiv preprint arXiv:1606.08415 , 2016.
- [85] M. Heusel, H. Ramsauer, T. Unterthiner, B. Nessler, and S. Hochreiter, 'Gans trained by a two time-scale update rule converge to a local nash equilibrium,' Advances in neural information processing systems , vol. 30, 2017.
- [86] G. E. Hinton, 'Training products of experts by minimizing contrastive divergence,' Neural computation , vol. 14, no. 8, pp. 1771-1800, 2002.
- [87] S. Hochreiter and J. Schmidhuber, 'Long short-term memory,' Neural computation , vol. 9, no. 8, pp. 1735-1780, 1997.

- [88] X. Hou, J. Wang, C. Jiang, X. Zhang, Y. Ren, and M. Debbah, 'Uav-enabled covert federated learning,' IEEE Transactions on Wireless Communications , vol. 22, no. 10, pp. 6793-6809, 2023.
- [89] A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam, 'Mobilenets: Efficient convolutional neural networks for mobile vision applications,' arXiv preprint arXiv:1704.04861 , 2017.
- [90] T.-M. H. Hsu, H. Qi, and M. Brown, 'Measuring the effects of non-identical data distribution for federated visual classification,' arXiv preprint arXiv:1909.06335 , 2019.
- [91] --, 'Measuring the effects of non-identical data distribution for federated visual classification,' arXiv preprint arXiv:1909.06335 , 2019.
- [92] --, 'Measuring the effects of non-identical data distribution for federated visual classification,' arXiv preprint arXiv:1909.06335 , 2019.
- [93] S. Hu, J. Goetz, K. Malik, H. Zhan, Z. Liu, and Y. Liu, 'Fedsynth: Gradient compression via synthetic data in federated learning,' arXiv preprint arXiv:2204.01273 , 2022.
- [94] Z. Hu, K. Shaloudegi, G. Zhang, and Y. Yu, 'Federated learning meets multi-objective optimization,' IEEE Transactions on Network Science and Engineering , vol. 9, no. 4, pp. 2039-2051, 2022.
- [95] --, 'Federated learning meets multi-objective optimization,' IEEE Transactions on Network Science and Engineering , vol. 9, no. 4, pp. 2039-2051, 2022.
- [96] G. Huang, Y. Li, G. Pleiss, Z. Liu, J. E. Hopcroft, and K. Q. Weinberger, 'Snapshot ensembles: Train 1, get m for free,' arXiv preprint arXiv:1704.00109 , 2017.
- [97] A. Imteaj and M. H. Amini, 'Leveraging asynchronous federated learning to predict customers financial distress,' Intelligent Systems with Applications , vol. 14, p. 200064, 2022. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S2667305322000059
- [98] P. Izmailov, W. J. Maddox, P. Kirichenko, T. Garipov, D. Vetrov, and A. G. Wilson, 'Subspace inference for bayesian deep learning,' in Uncertainty in Artificial Intelligence . PMLR, 2020, pp. 1169-1179.
- [99] P. Izmailov, D. Podoprikhin, T. Garipov, D. Vetrov, and A. G. Wilson, 'Averaging weights leads to wider optima and better generalization,' arXiv preprint arXiv:1803.05407 , 2018.
- [100] A. Janosi, W. Steinbrunn, M. Pfisterer, and R. Detrano, 'Heart disease,' UCI Machine Learning Repository, 1988, DOI: https://doi.org/10.24432/C52P4X.

- [101] D. Jhunjhunwala, S. Wang, and G. Joshi, 'Fedexp: Speeding up federated averaging via extrapolation,' arXiv preprint arXiv:2301.09604 , 2023.
- [102] Y. Jiang, J. Konečn`, K. Rush, and S. Kannan, 'Improving federated learning personalizay tion via model agnostic meta learning,' arXiv preprint arXiv:1909.12488 , 2019.
- [103] P. Kairouz, H. B. McMahan, B. Avent, A. Bellet, M. Bennis, A. N. Bhagoji, K. Bonawitz, Z. Charles, G. Cormode, R. Cummings et al. , 'Advances and open problems in federated learning,' Foundations and Trends® in Machine Learning , vol. 14, no. 1-2, pp. 1-210, 2021.
- [104] A. Kalai and S. Vempala, 'Efficient algorithms for online decision problems,' Journal of Computer and System Sciences , vol. 71, no. 3, pp. 291-307, 2005.
- [105] S. P. Karimireddy, S. Kale, M. Mohri, S. Reddi, S. Stich, and A. T. Suresh, 'Scaffold: Stochastic controlled averaging for federated learning,' in International conference on machine learning . PMLR, 2020, pp. 5132-5143.
- [106] S. P. Karimireddy, S. Kale, M. Mohri, S. J. Reddi, S. U. Stich, and A. T. Suresh, 'SCAFFOLD: stochastic controlled averaging for on-device federated learning,' CoRR , vol. abs/1910.06378, 2019. [Online]. Available: http://arxiv.org/abs/1910.06378
- [107] D. P. Kingma and M. Welling, 'Auto-encoding variational bayes,' arXiv preprint arXiv:1312.6114 , 2013.
- [108] S. Kotz and S. Nadarajah, Extreme value distributions: theory and applications . world scientific, 2000.
- [109] A. Krizhevsky, 'Learning multiple layers of features from tiny images,' University of Toronto, Tech. Rep., 2009.
- [110] F. Kuppers, J. Kronenberger, A. Shantia, and A. Haselhoff, 'Multivariate confidence calibration for object detection,' in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops , 2020, pp. 326-327.
- [111] S. Laine and T. Aila, 'Temporal ensembling for semi-supervised learning,' arXiv preprint arXiv:1610.02242 , 2016.
- [112] B. Lakshminarayanan, A. Pritzel, and C. Blundell, 'Simple and scalable predictive uncertainty estimation using deep ensembles,' arXiv preprint arXiv:1612.01474 , 2016.
- [113] Y. Le and X. Yang, 'Tiny imagenet visual recognition challenge,' Standford University, Tech. Rep., 2015.

- [114] Y. LeCun, S. Chopra, R. Hadsell, M. Ranzato, and F. Huang, 'A tutorial on energy-based learning,' Predicting structured data , vol. 1, no. 0, 2006.
- [115] D. Li and J. Wang, 'Fedmd: Heterogenous federated learning via model distillation,' arXiv preprint arXiv:1910.03581 , 2019.
- [116] T. Li, A. Beirami, M. Sanjabi, and V. Smith, 'Tilted empirical risk minimization,' arXiv preprint arXiv:2007.01162 , 2020.
- [117] T. Li, S. Hu, A. Beirami, and V. Smith, 'Ditto: Fair and robust federated learning through personalization,' in Proceedings of the 38th International Conference on Machine Learning , ser. Proceedings of Machine Learning Research, M. Meila and T. Zhang, Eds., vol. 139. PMLR, 18-24 Jul 2021, pp. 6357-6368. [Online]. Available: https://proceedings.mlr.press/v139/li21h.html
- [118] T. Li, A. K. Sahu, A. Talwalkar, and V. Smith, 'Federated learning: Challenges, methods, and future directions,' IEEE signal processing magazine , vol. 37, no. 3, pp. 50-60, 2020.
- [119] T. Li, A. K. Sahu, M. Zaheer, M. Sanjabi, A. Talwalkar, and V. Smith, 'Federated optimization in heterogeneous networks,' arXiv preprint arXiv:1812.06127 , 2018.
- [120] T. Li, M. Sanjabi, A. Beirami, and V. Smith, 'Fair resource allocation in federated learning,' arXiv preprint arXiv:1905.10497 , 2019.
- [121] --, 'Fair resource allocation in federated learning,' arXiv preprint arXiv:1905.10497 , 2019.
- [122] X. Li, K. Huang, W. Yang, S. Wang, and Z. Zhang, 'On the convergence of fedavg on non-iid data,' arXiv preprint arXiv:1907.02189 , 2019.
- [123] --, 'On the convergence of fedavg on non-iid data,' arXiv preprint arXiv:1907.02189 , 2019.
- [124] X. Li, M. Jiang, X. Zhang, M. Kamp, and Q. Dou, 'Fed{bn}: Federated learning on non-{iid} features via local batch normalization,' in International Conference on Learning Representations , 2021. [Online]. Available: https://openreview.net/pdf?id= 6YEQUn0QICG
- [125] Y. Li, X. Tao, X. Zhang, J. Liu, and J. Xu, 'Privacy-preserved federated learning for autonomous driving,' IEEE Transactions on Intelligent Transportation Systems , vol. 23, no. 7, pp. 8423-8434, 2022.

- [126] Z. Li, J. Shao, Y. Mao, J. H. Wang, and J. Zhang, 'Federated learning with gan-based data synthesis for non-iid clients,' in International Workshop on Trustworthy Federated Learning . Springer, 2022, pp. 17-32.
- [127] P. P. Liang, T. Liu, L. Ziyin, N. B. Allen, R. P. Auerbach, D. Brent, R. Salakhutdinov, and L.-P. Morency, 'Think locally, act globally: Federated learning with local and global representations,' arXiv preprint arXiv:2001.01523 , 2020.
- [128] C. Little, M. Elliot, and R. Allmendinger, 'Federated learning for generating synthetic data: a scoping review,' International Journal of Population Data Science , vol. 8, no. 1, 2023.
- [129] Z. Liu, P. Luo, X. Wang, and X. Tang, 'Deep learning face attributes in the wild,' in Proceedings of International Conference on Computer Vision (ICCV) , December 2015.
- [130] M. Luo, F. Chen, D. Hu, Y. Zhang, J. Liang, and J. Feng, 'No fear of heterogeneity: Classifier calibration for federated learning with non-iid data,' Advances in Neural Information Processing Systems , vol. 34, pp. 5972-5984, 2021.
- [131] X. Ma, J. Zhang, S. Guo, and W. Xu, 'Layer-wised model aggregation for personalized federated learning,' in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition , 2022, pp. 10 092-10 101.
- [132] W. J. Maddox, P. Izmailov, T. Garipov, D. P. Vetrov, and A. G. Wilson, 'A simple baseline for bayesian uncertainty in deep learning,' Advances in Neural Information Processing Systems , vol. 32, pp. 13 153-13 164, 2019.
- [133] Y. Mansour, M. Mohri, J. Ro, and A. T. Suresh, 'Three approaches for personalization with applications to federated learning,' arXiv preprint arXiv:2002.10619 , 2020.
- [134] O. Marfoq, G. Neglia, A. Bellet, L. Kameni, and R. Vidal, 'Federated multi-task learning under a mixture of distributions,' arXiv preprint arXiv:2108.10252 , 2021.
- [135] P. S. Mashhadi, S. Nowaczyk, and S. Pashami, 'Parallel orthogonal deep neural network,' Neural Networks , vol. 140, pp. 167-183, 2021.
- [136] C. H. McCreery, N. Katariya, A. Kannan, M. Chablani, and X. Amatriain, 'Effective transfer learning for identifying similar questions: matching user questions to covid-19 faqs,' in Proceedings of the 26th ACM SIGKDD international conference on knowledge discovery &amp; data mining , 2020, pp. 3458-3465.

- [137] B. McMahan, E. Moore, D. Ramage, S. Hampson, and B. A. y Arcas, 'Communicationefficient learning of deep networks from decentralized data,' in Artificial intelligence and statistics . PMLR, 2017, pp. 1273-1282.
- [138] H. B. McMahan, 'A survey of algorithms and analysis for adaptive online learning,' The Journal of Machine Learning Research , vol. 18, no. 1, pp. 3117-3166, 2017.
- [139] A. McMillan, 'Differential privacy, property testing, and perturbations,' Ph.D. dissertation, 2018.
- [140] T. Miyato, T. Kataoka, M. Koyama, and Y. Yoshida, 'Spectral normalization for generative adversarial networks,' arXiv preprint arXiv:1802.05957 , 2018.
- [141] J. Mo and J. Walrand, 'Fair end-to-end window-based congestion control,' IEEE/ACM Transactions on networking , vol. 8, no. 5, pp. 556-567, 2000.
- [142] M. Mohri, G. Sivek, and A. T. Suresh, 'Agnostic federated learning,' in International Conference on Machine Learning . PMLR, 2019, pp. 4615-4625.
- [143] --, 'Agnostic federated learning,' in International Conference on Machine Learning . PMLR, 2019, pp. 4615-4625.
- [144] A. S. Nemirovskij and D. B. Yudin, 'Problem complexity and method efficiency in optimization,' 1983.
- [145] D. T. Nguyen, C. K. Mummadi, T. P. N. Ngo, T. H. P. Nguyen, L. Beggel, and T. Brox, 'Self: Learning to filter noisy labels with self-ensembling,' arXiv preprint arXiv:1910.01842 , 2019.
- [146] A. Q. Nichol and P. Dhariwal, 'Improved denoising diffusion probabilistic models,' in International conference on machine learning . PMLR, 2021, pp. 8162-8171.
- [147] E. Nijkamp, M. Hill, S.-C. Zhu, and Y. N. Wu, 'Learning non-convergent non-persistent short-run mcmc toward energy-based model,' Advances in Neural Information Processing Systems , vol. 32, 2019.
- [148] J. Ogier du Terrail, S.-S. Ayed, E. Cyffers, F. Grimberg, C. He, R. Loeb, P. Mangold, T. Marchand, O. Marfoq, E. Mushtaq et al. , 'Flamby: Datasets and benchmarks for crosssilo federated learning in realistic healthcare settings,' Advances in Neural Information Processing Systems , vol. 35, pp. 5315-5334, 2022.
- [149] J. Ogier du Terrail, A. Leopold, C. Joly, C. Béguier, M. Andreux, C. Maussion, B. Schmauch, E. W. Tramel, E. Bendjebbar, M. Zaslavskiy, G. Wainrib, M. Milder,

- J. Gervasoni, J. Guerin, T. Durand, A. Livartowski, K. Moutet, C. Gautier, I. Djafar, A.-L. Moisson, C. Marini, M. Galtier, F. Balazard, R. Dubois, J. Moreira, A. Simon, D. Drubay, M. Lacroix-Triki, C. Franchet, G. Bataillon, and P.-E. Heudel, 'Federated learning for predicting histological response to neoadjuvant chemotherapy in triple-negative breast cancer,' Nature Medicine , vol. 29, no. 1, p. 135-146, Jan. 2023. [Online]. Available: http://dx.doi.org/10.1038/s41591-022-02155-w
- [150] F. Orabona, 'A modern introduction to online learning,' arXiv preprint arXiv:1912.13213 , 2019.
- [151] A. Paszke, S. Gross, F. Massa, A. Lerer, J. Bradbury, G. Chanan, T. Killeen, Z. Lin, N. Gimelshein, L. Antiga et al. , 'Pytorch: An imperative style, high-performance deep learning library,' Advances in neural information processing systems , vol. 32, 2019.
- [152] S. Pati, U. Baid, B. Edwards, M. Sheller, S.-H. Wang, G. A. Reina, P. Foley, A. Gruzdev,
- D. Karkada, C. Davatzikos, C. Sako, S. Ghodasara, M. Bilello, S. Mohan, P. Vollmuth, G. Brugnara, C. J. Preetha, F. Sahm, K. Maier-Hein, M. Zenk, M. Bendszus, W. Wick, E. Calabrese, J. Rudie, J. Villanueva-Meyer, S. Cha, M. Ingalhalikar, M. Jadhav, U. Pandey, J. Saini, J. Garrett, M. Larson, R. Jeraj, S. Currie, R. Frood, K. Fatania, R. Y. Huang, K. Chang, C. Balaña, J. Capellades, J. Puig, J. Trenkler, J. Pichler, G. Necker, A. Haunschmidt, S. Meckel, G. Shukla, S. Liem, G. S. Alexander, J. Lombardo, J. D. Palmer, A. E. Flanders, A. P. Dicker, H. I. Sair, C. K. Jones, A. Venkataraman, M. Jiang, T. Y. So, C. Chen, P. A. Heng, Q. Dou, M. Kozubek, F. Lux, J. Michálek, P. Matula, M. Keřkovský, T. Kopřivová, M. Dostál, V. Vybíhal, M. A. Vogelbaum, J. R. Mitchell, J. Farinhas, J. A. Maldjian, C. G. B. Yogananda, M. C. Pinho, D. Reddy, J. Holcomb, B. C. Wagner, B. M. Ellingson, T. F. Cloughesy, C. Raymond, T. Oughourlian, A. Hagiwara, C. Wang, M.-S. To, S. Bhardwaj, C. Chong, M. Agzarian, A. X. Falcão, S. B. Martins, B. C. A. Teixeira, F. Sprenger, D. Menotti, D. R. Lucio, P. LaMontagne, D. Marcus, B. Wiestler, F. Kofler, I. Ezhov, M. Metz, R. Jain, M. Lee, Y. W. Lui, R. McKinley, J. Slotboom, P. Radojewski, R. Meier, R. Wiest, D. Murcia, E. Fu, R. Haas, J. Thompson, D. R. Ormond, C. Badve, A. E. Sloan, V. Vadmal, K. Waite, R. R. Colen, L. Pei, M. Ak, A. Srinivasan, J. R. Bapuraj, A. Rao, N. Wang, O. Yoshiaki, T. Moritani, S. Turk, J. Lee, S. Prabhudesai, F. Morón, J. Mandel, K. Kamnitsas, B. Glocker, L. V. M. Dixon, M. Williams, P. Zampakis, V. Panagiotopoulos, P. Tsiganos, S. Alexiou, I. Haliassos, E. I. Zacharaki, K. Moustakas, C. Kalogeropoulou, D. M. Kardamakis, Y. S. Choi, S.-K. Lee, J. H. Chang, S. S. Ahn, B. Luo, L. Poisson, N. Wen, P. Tiwari, R. Verma, R. Bareja, I. Yadav, J. Chen, N. Kumar, M. Smits, S. R. van der Voort,

- A. Alafandi, F. Incekara, M. M. J. Wijnenga, G. Kapsas, R. Gahrmann, J. W. Schouten, H. J. Dubbink, A. J. P. E. Vincent, M. J. van den Bent, P. J. French, S. Klein, Y. Yuan, S. Sharma, T.-C. Tseng, S. Adabi, S. P. Niclou, O. Keunen, A.-C. Hau, M. Vallières, D. Fortin, M. Lepage, B. Landman, K. Ramadass, K. Xu, S. Chotai, L. B. Chambless, A. Mistry, R. C. Thompson, Y. Gusev, K. Bhuvaneshwar, A. Sayah, C. Bencheqroun, A. Belouali, S. Madhavan, T. C. Booth, A. Chelliah, M. Modat, H. Shuaib, C. Dragos, A. Abayazeed, K. Kolodziej, M. Hill, A. Abbassy, S. Gamal, M. Mekhaimar, M. Qayati, M. Reyes, J. E. Park, J. Yun, H. S. Kim, A. Mahajan, M. Muzi, S. Benson, R. G. H. Beets-Tan, J. Teuwen, A. Herrera-Trujillo, M. Trujillo, W. Escobar, A. Abello, J. Bernal, J. Gómez, J. Choi, S. Baek, Y. Kim, H. Ismael, B. Allen, J. M. Buatti, A. Kotrotsou, H. Li, T. Weiss, M. Weller, A. Bink, B. Pouymayou, H. F. Shaykh, J. Saltz, P. Prasanna, S. Shrestha, K. M. Mani, D. Payne, T. Kurc, E. Pelaez, H. Franco-Maldonado, F. Loayza, S. Quevedo, P. Guevara, E. Torche, C. Mendoza, F. Vera, E. Ríos, E. López, S. A. Velastin, G. Ogbole, M. Soneye, D. Oyekunle, O. Odafe-Oyibotha, B. Osobu, M. Shu'aibu, A. Dorcas, F. Dako, A. L. Simpson, M. Hamghalam, J. J. Peoples, R. Hu, A. Tran, D. Cutler, F. Y. Moraes, M. A. Boss, J. Gimpel, D. K. Veettil, K. Schmidt, B. Bialecki, S. Marella, C. Price, L. Cimino, C. Apgar, P. Shah, B. Menze, J. S. Barnholtz-Sloan, J. Martin, and S. Bakas, 'Federated learning enables big data for rare cancer boundary detection,' Nature Communications , vol. 13, no. 1, Dec. 2022. [Online]. Available: http://dx.doi.org/10.1038/s41467-022-33407-5
- [153] K. Pillutla, S. M. Kakade, and Z. Harchaoui, 'Robust aggregation for federated learning,' arXiv preprint arXiv:1912.13445 , 2019.
- [154] T. Qi, F. Wu, C. Wu, L. He, Y. Huang, and X. Xie, 'Differentially private knowledge transfer for federated learning,' Nature Communications , vol. 14, no. 1, Jun. 2023. [Online]. Available: http://dx.doi.org/10.1038/s41467-023-38794-x
- [155] M. Raginsky, A. Rakhlin, and M. Telgarsky, 'Non-convex learning via stochastic gradient langevin dynamics: a nonasymptotic analysis,' in Conference on Learning Theory . PMLR, 2017, pp. 1674-1703.
- [156] P. Ramachandran, B. Zoph, and Q. V. Le, 'Searching for activation functions,' arXiv preprint arXiv:1710.05941 , 2017.
- [157] M. Rasouli, T. Sun, and R. Rajagopal, 'Fedgan: Federated generative adversarial networks for distributed data,' arXiv preprint arXiv:2006.07228 , 2020.

- [158] S. Reddi, Z. Charles, M. Zaheer, Z. Garrett, K. Rush, J. Konečn`, S. Kumar, and H. B. y McMahan, 'Adaptive federated optimization,' arXiv preprint arXiv:2003.00295 , 2020.
- [159] --, 'Adaptive federated optimization,' arXiv preprint arXiv:2003.00295 , 2020.
- [160] R. L. Rivest and M. L. Dertouzos, 'On data banks and privacy homomorphisms,' 1978. [Online]. Available: https://api.semanticscholar.org/CorpusID:6905087
- [161] J. M. Robins, A. Rotnitzky, and L. P. Zhao, 'Estimation of regression coefficients when some regressors are not always observed,' Journal of the American statistical Association , pp. 846-866, 1994.
- [162] P. Rusnock and A. Kerr-Lawson, 'Bolzano and uniform continuity,' Historia Mathematica , vol. 32, no. 3, pp. 303-311, 2005.
- [163] T. Salimans and J. Ho, 'Should ebms model the energy or the score?' in Energy Based Models Workshop-ICLR 2021 , 2021.
- [164] V. Sanh, L. Debut, J. Chaumond, and T. Wolf, 'Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter,' ArXiv , vol. abs/1910.01108, 2019.
- [165] F. Sattler, K.-R. Müller, and W. Samek, 'Clustered federated learning: Model-agnostic distributed multitask optimization under privacy constraints,' IEEE transactions on neural networks and learning systems , 2020.
- [166] --, 'Clustered federated learning: Model-agnostic distributed multitask optimization under privacy constraints,' IEEE transactions on neural networks and learning systems , vol. 32, no. 8, pp. 3710-3722, 2020.
- [167] S. Shalev-Shwartz et al. , 'Online learning and online convex optimization,' Foundations and Trends® in Machine Learning , vol. 4, no. 2, pp. 107-194, 2012.
- [168] S. Shalev-Shwartz and Y. Singer, 'Online learning meets optimization in the dual,' in International Conference on Computational Learning Theory . Springer, 2006, pp. 423437.
- [169] K. Simonyan and A. Zisserman, 'Very deep convolutional networks for large-scale image recognition,' arXiv preprint arXiv:1409.1556 , 2014.
- [170] V. Smith, C.-K. Chiang, M. Sanjabi, and A. Talwalkar, 'Federated multi-task learning,' arXiv preprint arXiv:1705.10467 , 2017.

- [171] K. Sohn, H. Lee, and X. Yan, 'Learning structured output representation using deep conditional generative models,' Advances in neural information processing systems , vol. 28, 2015.
- [172] Y. Song and S. Ermon, 'Generative modeling by estimating gradients of the data distribution,' Advances in neural information processing systems , vol. 32, 2019.
- [173] --, 'Improved techniques for training score-based generative models,' Advances in neural information processing systems , vol. 33, pp. 12 438-12 448, 2020.
- [174] Y. Song, J. Sohl-Dickstein, D. P. Kingma, A. Kumar, S. Ermon, and B. Poole, 'Scorebased generative modeling through stochastic differential equations,' arXiv preprint arXiv:2011.13456 , 2020.
- [175] N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov, 'Dropout: a simple way to prevent neural networks from overfitting,' The journal of machine learning research , vol. 15, no. 1, pp. 1929-1958, 2014.
- [176] G. Stoica, D. Bolya, J. Bjorner, P. Ramesh, T. Hearn, and J. Hoffman, 'Zipit! merging models from different tasks without training,' arXiv preprint arXiv:2305.03053 , 2023.
- [177] M. Tan and Q. Le, 'Efficientnet: Rethinking model scaling for convolutional neural networks,' in International conference on machine learning . PMLR, 2019, pp. 6105-6114.
- [178] Y. Tan, G. Long, L. Liu, T. Zhou, Q. Lu, J. Jiang, and C. Zhang, 'Fedproto: Federated prototype learning across heterogeneous clients,' in Proceedings of the AAAI Conference on Artificial Intelligence , vol. 36, no. 8, 2022, pp. 8432-8440.
- [179] Z. Tang, Y. Zhang, S. Shi, X. He, B. Han, and X. Chu, 'Virtual homogeneity learning: Defending against data heterogeneity in federated learning,' in International Conference on Machine Learning . PMLR, 2022, pp. 21 111-21 132.
- [180] T. Tieleman, 'Training restricted boltzmann machines using approximations to the likelihood gradient,' in Proceedings of the 25th international conference on Machine learning , 2008, pp. 1064-1071.
- [181] B. Van Rooyen, A. Menon, and R. C. Williamson, 'Learning with symmetric label noise: The importance of being unhinged,' Advances in neural information processing systems , vol. 28, 2015.
- [182] V. Vapnik, 'Principles of risk minimization for learning theory,' Advances in neural information processing systems , vol. 4, 1991.

- [183] V. Vapnik and A. Y. Chervonenkis, 'Teoriya raspoznavaniya obrazov.[theory of image recognition],' M.: Nauka , pp. 16-17, 1974.
- [184] A. Vergari, Y. Choi, A. Liu, S. Teso, and G. Van den Broeck, 'A compositional atlas of tractable circuit operations for probabilistic inference,' Advances in Neural Information Processing Systems , vol. 34, pp. 13 189-13 201, 2021.
- [185] H. Wang, M. Yurochkin, Y. Sun, D. Papailiopoulos, and Y. Khazaeni, 'Federated learning with matched averaging,' in International Conference on Learning Representations , 2020. [Online]. Available: https://openreview.net/forum?id=BkluqlSFDS
- [186] --, 'Federated learning with matched averaging,' arXiv preprint arXiv:2002.06440 , 2020.
- [187] J. Wang, Z. Charles, Z. Xu, G. Joshi, H. B. McMahan, M. Al-Shedivat, G. Andrew, S. Avestimehr, K. Daly, D. Data et al. , 'A field guide to federated optimization,' arXiv preprint arXiv:2107.06917 , 2021.
- [188] T. Wang, J.-Y. Zhu, A. Torralba, and A. A. Efros, 'Dataset distillation,' arXiv preprint arXiv:1811.10959 , 2018.
- [189] Y. Wang, H. Fu, R. Kanagavelu, Q. Wei, Y. Liu, and R. S. M. Goh, 'An aggregation-free federated learning for tackling data heterogeneity,' arXiv preprint arXiv:2404.18962 , 2024.
- [190] P. Warden, 'Speech commands: A dataset for limited-vocabulary speech recognition,' arXiv preprint arXiv:1804.03209 , 2018.
- [191] M. K. Warmuth, A. K. Jagota et al. , 'Continuous and discrete-time nonlinear gradient descent: Relative loss bounds and convergence,' in Electronic proceedings of the 5th International Symposium on Artificial Intelligence and Mathematics , vol. 326. Citeseer, 1997.
- [192] W. Weibull, 'A statistical distribution function of wide applicability,' Journal of applied mechanics , 1951.
- [193] M. Welling and Y. W. Teh, 'Bayesian learning via stochastic gradient langevin dynamics,' in Proceedings of the 28th international conference on machine learning (ICML-11) . Citeseer, 2011, pp. 681-688.
- [194] M. Wortsman, M. Horton, C. Guestrin, A. Farhadi, and M. Rastegari, 'Learning neural network subspaces,' arXiv preprint arXiv:2102.10472 , 2021.
- [195] Y. Wu, S. Zhang, W. Yu, Y. Liu, Q. Gu, D. Zhou, H. Chen, and W. Cheng, 'Personalized federated learning under mixture of distributions,' in International Conference on Machine Learning . PMLR, 2023, pp. 37 860-37 879.

- [196] J. Xie, Y. Zhu, J. Li, and P. Li, 'A tale of two flows: Cooperative learning of langevin flow and normalizing flow toward energy-based model,' arXiv preprint arXiv:2205.06924 , 2022.
- [197] B. Xin, W. Yang, Y. Geng, S. Chen, S. Wang, and L. Huang, 'Private fl-gan: Differential privacy synthetic data generation based on federated learning,' in ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) . IEEE, 2020, pp. 2927-2931.
- [198] Y. Xiong, R. Wang, M. Cheng, F. Yu, and C.-J. Hsieh, 'Feddm: Iterative distribution matching for communication-efficient federated learning,' in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition , 2023, pp. 16 323-16 332.
- [199] P. Xu, J. Chen, D. Zou, and Q. Gu, 'Global convergence of langevin dynamics based algorithms for nonconvex optimization,' Advances in Neural Information Processing Systems , vol. 31, 2018.
- [200] J. Yang, R. Shi, D. Wei, Z. Liu, L. Zhao, B. Ke, H. Pfister, and B. Ni, 'Medmnist v2-a large-scale lightweight benchmark for 2d and 3d biomedical image classification,' Scientific Data , vol. 10, no. 1, p. 41, 2023.
- [201] Z. Yang, Y. Zhang, Y. Zheng, X. Tian, H. Peng, T. Liu, and B. Han, 'Fedfed: Feature distillation against data heterogeneity in federated learning,' Advances in Neural Information Processing Systems , vol. 36, 2024.
- [202] M. Yurochkin, M. Agarwal, S. Ghosh, K. Greenewald, N. Hoang, and Y. Khazaeni, 'Bayesian nonparametric federated learning of neural networks,' in Proceedings of the 36th International Conference on Machine Learning , ser. Proceedings of Machine Learning Research, K. Chaudhuri and R. Salakhutdinov, Eds., vol. 97. Long Beach, California, USA: PMLR, 09-15 Jun 2019, pp. 7252-7261. [Online]. Available: http://proceedings.mlr.press/v97/yurochkin19a.html
- [203] --, 'Bayesian nonparametric federated learning of neural networks,' in International conference on machine learning . PMLR, 2019, pp. 7252-7261.
- [204] M. B. Zafar, I. Valera, M. Gomez Rodriguez, and K. P. Gummadi, 'Fairness beyond disparate treatment &amp; disparate impact: Learning classification without disparate mistreatment,' in Proceedings of the 26th international conference on world wide web , 2017, pp. 1171-1180.
- [205] G. Zhang, S. Malekmohammadi, X. Chen, and Y. Yu, 'Proportional fairness in federated learning,' arXiv preprint arXiv:2202.01666 , 2022.

- [206] J. Zhang, C. Chen, B. Li, L. Lyu, S. Wu, S. Ding, C. Shen, and C. Wu, 'Dense: Data-free one-shot federated learning,' Advances in Neural Information Processing Systems , vol. 35, pp. 21 414-21 428, 2022.
- [207] B. Zhao, K. R. Mopuri, and H. Bilen, 'Dataset condensation with gradient matching,' arXiv preprint arXiv:2006.05929 , 2020.
- [208] H. Zhao, A. Coston, T. Adel, and G. J. Gordon, 'Conditional learning of fair representations,' arXiv preprint arXiv:1910.07162 , 2019.
- [209] Y. Zhao, M. Li, L. Lai, N. Suda, D. Civin, and V. Chandra, 'Federated learning with non-iid data,' arXiv preprint arXiv:1806.00582 , 2018.
- [210] --, 'Federated learning with non-iid data,' arXiv preprint arXiv:1806.00582 , 2018.
- [211] Y. Zhu, J. Xie, Y. Wu, and R. Gao, 'Learning energy-based models by cooperative diffusion recovery likelihood,' arXiv preprint arXiv:2309.05153 , 2023.
- [212] Z. Zhu, J. Hong, and J. Zhou, 'Data-free knowledge distillation for heterogeneous federated learning,' in International conference on machine learning . PMLR, 2021, pp. 1287812 889.
- [213] M. Zinkevich, 'Online convex programming and generalized infinitesimal gradient ascent,' in Proceedings of the 20th international conference on machine learning (icml-03) , 2003, pp. 928-936.

## Acknowledgements

A long journey has come to an end. The word 'philosophy' in 'Ph.D' means the love (philia) of learning (sophia). As the one who really enjoys learning, it is certainly a privilege to pursue it as a career. From the time I entered UNIST as an undergraduate in 2015 to the time I graduate UNIST with my Ph.D. now in 2024, almost a decade has been passed. Without the support of UNIST, Ulsan &amp; Ulju-gun, and the Republic of Korea, my country, I could not successfully complete this journey.

The discussions about Zen and Buddhism that I had around the dining table at my parents' home, as well as the experience of meditating taught by mom and dad to reach the deep and peaceful state of mind, made me strong and resilient even in the extremely stressful situations. I deeply appreciate my parents and my one and only brother, Iiju, for their unconditional love and wholehearted belief in and support of me.

I am deeply thankful to my advisor, Prof. Junghye Lee, for her guidance and support throughout my Ph.D. studies. She introduced me to federated learning research and guided me with great enthusiasm, patience, and encouragement. I believe that what I have learned from my advisor will certainly be helpful in my future career and life. I am also grateful to my co-advisor, Prof. Gi-Soo Kim, for sincerely guiding and supporting my research, as well as accommodating a seat for me in her lab. Without this consideration, I would be lost and struggle at the end of my Ph.D. period. Furthermore, thanks to committee members, Prof. Sung Whan Yoon, Prof. Dongyoung Lim, Prof. Saerom Park, and Prof. Sungbin Lim, for their keen, insightful, and warm comments on my works.

I am sincerely happy to have shared my time with nice and remarkable colleagues in the Data Mining Lab. - Prof. Suhyeon Kim, Myeonghoon Lee, Wonho Sohn, Dongcheol Lim, and Hyerim Park. I can never forget their warm words, emotional support, and joyful memories with them. I would also like to sincerely thank for all the people in the Statistical Decision Making Lab. for respecting me and getting along with me in short time. Thanks to mates from other labs and other major - Gyeongho Kim, Jihyun Kim, Jae-Jun Lee, Jun Hwi min, Minsub Jeong, and

Hoichang Jeong, I could often refresh my Ph.D. life by chewing the fat, eating tasty food, and hanging out with them.

In particular, I have been extremely fortunate to know and to have a chance to work with Yoontae Hwang and Jaeho Kim, precious and wonderful colleagues who have always inspired me with their great passion, minds, and grit. They have also brought so many laughs into my Ph.D. life, and I genuinely wish them all the best, from the bottom of my heart. I hope to meet these guys in the future at Kyunghee restaurant (or Ilpoom eels restaurant if we all get success), as we did in the past.

Last but not least, I am incredibly a lucky guy to have an amazing and lovely soul mate, JaeGyeong Choi. She is always there to pat me on the back when I get dispirited and to congratulate me before anyone else. We have shared countless experiences together, from an unplanned picnic in Seonbawi, swimming in the middle of the ocean in Okinawa, watching Netflix with incessant giggling, and going around every corner of Ulsan. Without her unlimited love and unwavering support, I would definitely not be able to complete my Ph.D. successfully.
Seok-Ju Hahn
Algorithms for Collaborative Machine Learning under Statistical Heterogeneity
Learning from distributed data without accessing them is undoubtedly a
challenging and non-trivial task. Nevertheless, the necessity for distributed
training of a statistical model has been increasing, due to the privacy
concerns of local data owners and the cost in centralizing the massively
distributed data. Federated learning (FL) is currently the de facto standard of
training a machine learning model across heterogeneous data owners, without
leaving the raw data out of local silos. Nevertheless, several challenges must
be addressed in order for FL to be more practical in reality. Among these
challenges, the statistical heterogeneity problem is the most significant and
requires immediate attention. From the main objective of FL, three major
factors can be considered as starting points -- \textit{parameter},
textit{mixing coefficient}, and \textit{local data distributions}. In alignment
with the components, this dissertation is organized into three parts. In
Chapter II, a novel personalization method, \texttt{SuPerFed}, inspired by the
mode-connectivity is introduced. In Chapter III, an adaptive decision-making
algorithm, \texttt{AAggFF}, is introduced for inducing uniform performance
distributions in participating clients, which is realized by online convex
optimization framework. Finally, in Chapter IV, a collaborative synthetic data
generation method, \texttt{FedEvg}, is introduced, leveraging the flexibility
and compositionality of an energy-based modeling approach. Taken together, all
of these approaches provide practical solutions to mitigate the statistical
heterogeneity problem in data-decentralized settings, paving the way for
distributed systems and applications using collaborative machine learning
methods.