Elamur Research

FedProto: Federated Prototype Learning across Heterogeneous Clients

Paper · 2022 · Yue Tan, Guodong Long, Lu Liu et al.

Summary

Two devices can have something useful to teach each other about a category even when they collect different examples and run different neural networks. Standard federated training frequently combines updates to a common network, so it depends on clients having compatible parameters. Even when their networks match, the updates may pull in different directions because the devices see different mixes of examples. FedProto, short for federated prototype learning, changes the message that passes between clients and the server. Each client sends a compact description of every category it sees. The training examples stay on the device.

The description, called a prototype, is a vector formed by averaging the features that a client’s network produces for examples of a class. The server gathers vectors under their class labels, combines those with the same label, and sends back the resulting global prototypes. On the next round, a client trains to predict its own labels and to bring its local class averages closer to the shared ones. Information can travel between clients through the categories they have in common, even if the rest of their classification tasks differ. Each client retains its own network and decision layers. The vectors exchanged under a label still need to be comparable.

The authors test FedProto on MNIST, FEMNIST, and CIFAR10. They vary how many classes each client sees and how many training examples it has per class. They also test a version called FedProto-mh, which allows modest differences in network architecture. The authors report that FedProto typically gives higher average test accuracy and smaller differences in accuracy across clients than the alternatives they test, while exchanging fewer values. On MNIST, the paper gives a size of 50 entries for a single class prototype and 21,500 parameters for the network. On FEMNIST, it reports that FedProto uses around 0.025% of the total parameters communicated in the comparison it describes. The extent of the accuracy gains is harder to judge because the individual numerical entries are missing from the paper’s comparison tables.

The convergence analysis distinguishes two changes to the client’s loss. Local training can bring it down, and a fresh set of shared prototypes can move it again before another training step occurs. Under assumptions about the local loss, the stochastic gradients, and the rate at which features can change, the authors give conditions for making progress and bound the average squared size of the gradients. The experiments support prototype exchange for the tested image tasks, with every client participating each round and with limited architectural changes. The theory addresses optimization under its assumptions. The authors’ separate privacy argument rests on what the messages contain, and the paper gives no formal privacy guarantee.

Deep dive: FedProto: Federated Prototype Learning across Heterogeneous Clients

FedProto shares class averages so clients with different data and networks can train together. The paper tests accuracy, communication and convergence. · about 43 minutes to read

The problem and its context

What a common network asks of its clients

Federated learning starts with data that live in different places. Consider devices that gather examples through their users’ habits, or sensors that observe different locations. Each participant can train on what it has collected. A central coordinator can then use information from those training runs to improve the next round of learning. This lets clients collaborate when moving the original examples would be costly or when the examples are private.

In the standard arrangement the authors describe, the server sends out a common set of weights. The clients each train a copy on their own data, and the server combines what comes back to produce the next set of shared weights. FedAvg is the paper’s main example of this arrangement. Its objective weights the contribution from a local dataset by that dataset’s share of the training examples across clients. The federation is trying to improve a single predictor, even though the evidence that guides each update is scattered across separate devices. Communication-Efficient Learning of Deep Networks from Decentralized Data

This procedure asks for agreement at the level of network construction. If each client trains the same layout, a parameter in one copy has a corresponding position in the others. The server can line the copies up and average them. If a device uses a convolutional layer with a different number of output channels, for instance, the corresponding layer can have a different number of weights. Direct averaging then has no straightforward correspondence to use. Changing the local network to fit a device’s hardware can thus alter the object that the federation relies on for communication.

A different problem remains even when the layouts are identical. A client learns from the examples it actually observes, and those examples can favor some decisions over others. If clients see different categories or see them in different proportions, their preferred updates can diverge. Combining the updates may then produce a poor compromise for local tasks. The paper distinguishes this statistical variation from architectural variation because the two can arise independently and can occur together. It places both concerns in the wider discussion of federated learning. Advances and Open Problems in Federated Learning

The authors call the data setting non-IID. In this context, the important part is that the distribution of inputs and labels can vary by client. An image application may serve users who need predictions for different sets of categories. The overall service has a vocabulary of labels, and a local client may need only a portion of it. Class frequency is one kind of difference. A class can also be entirely absent on one device while providing much of another device’s training material.

The paper makes this concrete with handwritten digits. One client is concerned with {2,3,4} and another with {4,5}. Both have observations that could help describe the digit 4. The first also has knowledge about digits 2 and 3, and the second has knowledge about digit 5. A federation designed around partial overlap needs a way to use the shared evidence and let each client continue to serve its own task. Identical local parameters are a particularly strong requirement for achieving that narrower form of cooperation.

There are consequences for evaluation as well. If the aim were to train a single classifier for a common test set, everyone’s results could be reduced to the performance of that classifier. The setting here puts the emphasis on how well the participants do at their own tasks. The federation can produce something valuable centrally even when the clients use that shared output differently. That distinction motivates the paper’s later focus on client test accuracy and on the spread of performance across clients.

How earlier work responded to uneven data

The paper describes several ways earlier federated methods dealt with statistical differences. FedProx introduced an additional term into local optimization. A regularizer is a term in the training objective that gives the learner a reason to prefer one solution over another even when both perform similarly on its examples. In the authors’ account, FedProx intervenes in how the client learns locally while retaining the familiar federated structure. Federated Optimization in Heterogeneous Networks

Personalized federated learning keeps some of the benefit of a shared training effort while allowing the final predictor to reflect the circumstances of a particular client. The paper describes earlier work that learns from global and personal components, and it mentions an approach that uses meta-training for personalization. The common motivation is that information gathered elsewhere can be valuable even when a single predictor would fit some clients poorly. The question is where to retain local freedom and where to impose agreement.

Clustering provides another option. Clients or their predictors are grouped so that the federation can maintain multiple shared solutions. A client can then draw on a group with a more compatible distribution without asking the entire population to converge on the same result. The related-work discussion also identifies approaches that change the signals used during local training through self-supervision. Such work gives a client additional ways to learn useful features from its own data.

For FedProto’s authors, these responses leave an open communication question. Adjusting the local loss changes the updates clients produce. Grouping changes which clients influence one another. Personalization changes which parts of the eventual predictor reflect the client. Much of the work surveyed still relies, in the authors’ account, on exchanging updates or learned parameters, with communication and structural compatibility costs. A federation could instead make its requirements depend on the form of the message and let clients choose how to produce it.

How earlier work dealt with different architectures

The related-work discussion treats knowledge distillation as an established approach to architectural differences. In distillation, a teacher supplies a predictive signal that a student can learn to imitate. Matching predictions provides an interface even when the teacher and student compute them in different ways. The federated variants discussed by the paper use an extra shared dataset to give the participants common inputs on which to compare their outputs.

That shared dataset has a practical role and a practical cost. Participants have to compute predictions on it, and its examples must support the kind of transfer their private tasks need. The authors argue that a substantial difference between the shared collection and the local distributions can make the resulting teaching signal less effective. For their method, the transferable objects come from features of examples clients already have, and the labels on those examples supply the means of matching the messages.

The paper also cites work that uses neural architecture search to customize networks for groups of devices with different resources. It describes a collective training approach that can operate without seeing the participating architectures or private examples. Another line of work matches neurons by the functions they perform, creating correspondences where positions in the network are a poor basis for matching. These methods illustrate how many different choices arise once a federation allows architectural variation. FedProto makes its choice at the level of the class representation.

Why a class average might carry useful information

The authors draw on earlier prototype learning. An image classifier can describe a category by the mean of the feature vectors for its examples. A new input can then be compared with those representative points. The paper also cites uses of feature averaging in other tasks. Representations across moments in a video can be combined into a description of the video, and aggregating local image features can produce a descriptor for retrieval. In a language example, averages of word embeddings can represent sentences. These precedents concern what a mean can summarize. FedProto uses a mean as something separate learners can exchange. Towards Universal Paraphrastic Sentence Embeddings

The connection to few-shot learning is particularly close. The paper cites work in which a category is represented using the limited examples available for it. A federated client faces a related constraint when it has little local evidence. Several clients may have seen the category, even if each has seen it in different circumstances. A class label gives the server a rule for collecting the descriptions that belong together.

The paper also notes predecessors that used prototypes for other kinds of distributed knowledge sharing, including task-agnostic information used to construct a predictor for a new task, and prototype margins used to shape visual features in federated learning. FedProto’s question is how far a federation can go by exchanging supervised class prototypes as its shared training object. The category name tells the server what is being described. The geometry of the feature space determines whether combining the descriptions is useful.

The method, step by step

Follow a category through a round

Start with the client that reads digits 2, 3, and 4. Its representation layers process each private image and produce a list of feature values. Its decision layers read those values and make a classification. During training the client also knows the correct label of each example, so it can gather the feature vectors for digit 4 and average them. That average is the client’s contribution for digit 4. The same operation supplies contributions for the other labels it has observed.

Now consider the client that reads digits 4 and 5. Its contribution for digit 4 can be grouped with the first client’s contribution, despite the difference between their tasks. The server performs this grouping separately for each label. The client with digits 2, 3, and 4 can learn from the returned reference for digit 4 while still doing its own training on the full set of digits relevant to it. The labels permit cooperation where tasks overlap. They also define exactly which local examples contribute to each part of the message.

The returned reference affects the next training phase. A client still receives a penalty for poor predictions of its known labels. It also receives a penalty when a local class prototype is far from its global counterpart. Once the client has updated its network, the features it computes for its training examples can change. Its next set of class averages therefore reflects the latest local training. This is an exchange of evolving summaries.

How class prototypes circulate during FedProto training

The steps in order.

How class prototypes circulate during FedProto trainingStep 1: Hold shared class references fixed during local training1. Hold shared class references fixed during local trainingStep 2: Update local predictors using labels and prototype distances2. Update local predictors using labels and prototype distancesStep 3: Encode local training examples with the updated network3. Encode local training examples with the updated networkStep 4: Average feature vectors separately for each observed class4. Average feature vectors separately for each observed classStep 5: Upload the resulting labeled prototypes5. Upload the resulting labeled prototypesStep 6: Combine available contributions for each label6. Combine available contributions for each labelStep 7: Distribute the refreshed class references7. Distribute the refreshed class references

The training loop has a distinct role for each participant. Computing representations and supervised losses requires access to the examples and happens locally. Combining the summaries requires collecting messages from different clients and happens centrally. The server can complete its part without access to the layers that generated the features. The clients use its output as a target in their next training phases, with their own weights still supplying the machinery for processing images and making decisions.

State the learning problem

Let each client have a dataset of inputs and their correct labels, drawn from a distribution particular to that client. The paper writes the conventional FedAvg objective as follows.

argmin_ω Σ_{i=1}^m (|Dᵢ| / N) ℒ_S(ℱ(ω; x), y)

The operator argmin asks which choice of parameters minimizes the expression. The shared parameters are ω. The index i runs from 1 through m, the number of clients. The dataset on client i is Dᵢ, and vertical bars around it give its size. N is the total number of examples across clients. The predictor ℱ takes input x and uses ω to produce a prediction. The supervised loss ℒ_S assesses that prediction using the correct label y. The summation adds the clients’ contributions with the displayed dataset-size weights. The dependence of x and y on the local data is implicit in this notation.

For separate local networks, the paper writes the supervised problem over the collection of client parameters.

argmin_{ω₁, ω₂, …, ωₘ} Σ_{i=1}^m (|Dᵢ| / N) ℒ_S(ℱᵢ(ωᵢ; x), y)

The collection ω₁ through ωₘ contains one parameter set per client. The predictor ℱᵢ uses the parameters ωᵢ of client i. The remaining symbols have the meanings in the FedAvg expression, including the sum over clients and the weight based on each dataset’s size. This objective gives every client an explicit place in the learning problem. Each supervised term depends on its own local parameters, so the displayed expression alone would permit each client to train independently. The prototype penalty supplies a connection between those otherwise separate objectives.

The distinction helps explain what counts as a federation-wide outcome. In the shared-weights formulation, the result of optimization is a single parameter collection. With separate local parameters, cooperation appears in the objective through the shared references. One client changes the information available at another by influencing those references. The same references can therefore matter to predictors with different parameter sizes and structures.

Describe the local computation precisely

The paper factors each client’s predictor into an embedding function and a decision function. An embedding is the feature vector the network computes for an input. The authors write that computation as follows.

hᵢ = fᵢ(φᵢ; x)

The vector hᵢ is the embedding of input x on client i. The function fᵢ takes that input and is governed by representation parameters φᵢ. A semicolon inside the argument list separates the parameters from the example being processed. The index i allows one client’s feature extractor to have a different internal construction from another’s.

ℱᵢ(φᵢ, νᵢ) = gᵢ(νᵢ) ∘ fᵢ(φᵢ)

The symbol ℱᵢ denotes the complete predictor on client i. The function gᵢ uses decision parameters νᵢ and takes the embedding as its input. The composition operator ∘ says that fᵢ, with parameters φᵢ, runs first and that gᵢ acts on its output. The paper uses ωᵢ as shorthand for the pair of parameter groups φᵢ and νᵢ.

In the appendix’s notation, the functions have explicit input and output dimensions.

fᵢ(φᵢ): ℝ^{dₓ} → ℝ^{d꜀}

Here ℝ denotes the real numbers, and a superscript on it specifies the dimension of a real-valued vector space. The input dimension is dₓ and the prototype dimension is d꜀. The arrow gives the direction of the mapping by client i’s embedding function with parameters φᵢ. The appendix takes these dimensions to be common to all clients.

gᵢ(νᵢ): ℝ^{d꜀} → ℝ^{dᵧ}

The decision function gᵢ with parameters νᵢ takes a vector from the prototype space of dimension d꜀ and produces an output in a space of dimension dᵧ. Here dᵧ is the dimension of the output associated with the label y. The real-valued spaces and the arrow have the same meaning as in the embedding function. This notation shows why clients can use different operations inside their feature extractors and still present the server with vectors of the same length.

Equal lengths make addition and subtraction possible, while the meaning of a distance depends on how clients use their coordinates. If two clients place the same class in very different parts of their respective spaces, the shared target penalizes that disagreement during training. The paper relies on this process to encourage compatibility. The shared class labels tell the algorithm which vectors to bring together.

Build the local prototypes and combine them by label

A client uses the subset of its training set that belongs to a given category to compute that category’s prototype.

Cᵢ⁽ʲ⁾ = (1 / |Dᵢ,ⱼ|) Σ_{(x,y)∈Dᵢ,ⱼ} fᵢ(φᵢ; x)

The symbol Cᵢ⁽ʲ⁾ denotes the prototype for class j on client i. The subset Dᵢ,ⱼ comprises that client’s labeled training pairs for class j. In each pair, x is the input and y is its label. The membership sign ∈ selects pairs from the subset. The sum adds the representations computed by fᵢ with its current parameters φᵢ, and dividing by the number of examples |Dᵢ,ⱼ| gives the mean. The numerator 1 in the prefactor makes it the reciprocal of the subset size.

Each position in the prototype summarizes the corresponding feature across the class examples. An updated extractor can change those means even if the underlying training set stays fixed. Also, the calculation requires examples in the class. When a client has no examples under a label, it has no average to contribute for that label. Class absence is thus handled by deciding which clients enter the aggregation for that class.

The main method gives the following server rule.

C̄⁽ʲ⁾ = (1 / |𝒩ⱼ|) Σ_{i∈𝒩ⱼ} (|Dᵢ,ⱼ| / Nⱼ) Cᵢ⁽ʲ⁾

The bar in C̄⁽ʲ⁾ identifies the global prototype for class j. The set 𝒩ⱼ contains clients that have examples of that class, and |𝒩ⱼ| counts them. The scalar Nⱼ is the total number of examples of class j across clients. The sum ranges over contributing clients i. The local count |Dᵢ,ⱼ| determines the fraction of that class’s examples associated with client i, and Cᵢ⁽ʲ⁾ supplies that client’s vector. The outer reciprocal divides the resulting sum by the number of contributing clients.

There are two layers of weighting in the printed expression. The fraction inside the sum ties the importance of a contribution to how many examples went into that client’s class average. The outer factor applies another scale depending on how widely the class is represented among clients. That factor matters for a distance-based method because it changes the magnitude of the reference vector. The proof appendix uses a differently normalized expression, discussed below. The common operation across the two presentations is the collection of weighted contributions under their class labels.

This server step can produce a reference even for a category with a very narrow distribution across the federation. The information available for that reference is then correspondingly narrow. For categories observed on several clients, the method can pool distinct local descriptions. The algorithm treats both cases through the same label-specific operation.

Put the shared reference into the local objective

The clients use two training signals. The supervised signal evaluates predictions against known labels. The prototype signal compares each available local summary with its global counterpart.

ℒ(Dᵢ, ωᵢ) = ℒ_S(ℱᵢ(ωᵢ; x), y) + λ ℒ_R(C̄ᵢ, Cᵢ)

Here ℒ is the local training objective, Dᵢ is the dataset on client i, and ωᵢ contains that client’s weights. The term ℒ_S is the supervised loss for the prediction that ℱᵢ makes on input x and for label y. The term ℒ_R is the prototype regularizer. Cᵢ is the collection of local prototypes and C̄ᵢ is the collection of global references used by client i. The coefficient λ sets how strongly prototype agreement influences the combined training loss.

ℒ_R = Σ_j d(Cᵢ⁽ʲ⁾, C̄ᵢ⁽ʲ⁾)

The regularizer ℒ_R on client i adds the values of distance function d over the relevant class indices j. The arguments of d are the client’s prototype Cᵢ⁽ʲ⁾ for the class and the global reference C̄ᵢ⁽ʲ⁾ available to that client. The paper uses L2 distance, the Euclidean distance between feature vectors. It also names L1 distance and earth mover’s distance as possible choices.

During a local phase, the global references are held fixed. Moving the features of examples with a given label can move that class’s average towards the reference. Training also has to preserve features that the local decision function can use to assign the right labels. This provides a reason for clients with the same class to develop related representations and a reason for them to retain distinctions needed by their own tasks.

The paper expresses the combined objective across the federation as follows.

argmin_{ {C̄⁽ʲ⁾}_{j=1}^{|ℂ|} }
  [ Σ_{i=1}^m (|Dᵢ| / N) ℒ_S(ℱᵢ(ωᵢ; x), y)
    + λ Σ_{j=1}^{|ℂ|} Σ_{i=1}^m (|Dᵢ,ⱼ| / Nⱼ) ℒ_R(C̄ᵢ⁽ʲ⁾, Cᵢ⁽ʲ⁾) ]

The operator argmin is written over the collection of global prototypes C̄⁽ʲ⁾ indexed by j, from 1 through the number |ℂ| of labels in the federation’s class set ℂ. Client i runs from 1 through m. Its total sample count |Dᵢ| is weighted by the federation’s total N for the supervised loss ℒ_S of predictor ℱᵢ, with weights ωᵢ, input x, and label y. Its count |Dᵢ,ⱼ| for class j is weighted by the class total Nⱼ for the distance penalty ℒ_R. The global reference C̄ᵢ⁽ʲ⁾ used on the client is compared with its local prototype Cᵢ⁽ʲ⁾. The coefficient λ weights the entire regularization contribution. Where a class is absent locally, the operational rule uses the available class contributions.

The surrounding procedure also optimizes the ωᵢ. The authors describe alternating between the two kinds of variables. The clients optimize their own parameters with the references held fixed. The server aggregates the resulting prototypes with client parameters held fixed. This division shows how the supervised term, whose calculation requires labeled examples, can stay local while the reference term conveys information collected across the federation.

The weight λ is where training expresses the relative importance of that information. A larger weight gives the class-level references more influence over the learned features. Even for clients that agree on the label, those references reflect multiple training distributions. The classification term gives the client a continuing incentive to fit its own evidence. How much to favor agreement is an empirical choice for the task and also enters the convergence conditions.

The appendix suppresses the class superscript and gives a per-example objective.

ℒ(φᵢ, νᵢ; x, y) = ℒ_S(ℱᵢ(φᵢ, νᵢ; x), y) + λ ‖fᵢ(φᵢ; x) − C̄‖₂²

The local loss ℒ depends on representation parameters φᵢ, decision parameters νᵢ, input x, and correct label y. The classifier ℱᵢ supplies the prediction for supervised loss ℒ_S. The second term compares the example embedding from fᵢ with global prototype C̄, using squared Euclidean distance as indicated by the norm with subscript 2 and superscript 2. The coefficient λ multiplies that contribution. The suppressed label is the one selecting the appropriate reference.

This version explicitly draws an individual feature vector towards its class reference. A penalty on a class average constrains the mean of a group. A per-example penalty can also constrain individual deviations around that mean. Both express the intention to encourage class alignment, and the difference affects which quantity the loss controls. The appendix also writes the aggregation in class-suppressed form.

C̄ = Σ_{i=1}^m qᵢ Cᵢ

The sum builds global prototype C̄ from local prototypes Cᵢ. Each qᵢ is an aggregation weight for client i, and m is the client count used in the appendix notation. The analysis further introduces pᵢ as shorthand for a client’s loss weight. The displayed aggregation uses the prototype weights qᵢ.

Σ_{i=1}^m qᵢ = Σ_{i=1}^m |Dᵢ| / N = 1

This line gives the total weight in the appendix’s calculation. The sums are over clients i from 1 through m, |Dᵢ| is a local example count, and N is the total count. The equality to 1 makes the weights normalized. The appendix also writes the local prototype with its class index suppressed.

Cᵢ = (1 / |Dᵢ|) Σ_{(x,y)∈Dᵢ} fᵢ(φᵢ; x)

In this expression Cᵢ is the local prototype in the simplified analysis. The sum ranges over example pairs (x,y) in Dᵢ, the local set in that notation. The feature extractor fᵢ produces a vector using parameters φᵢ and input x. The factor 1 divided by |Dᵢ| forms the average. The class-specific definition earlier supplies the rule for selecting examples when several classes are considered explicitly.

Make a prediction or adapt a new client

The decision layers give a client one way to classify an input. The paper also describes a rule that predicts directly from distances to class prototypes.

ŷ = argmin_j ‖f(φ; x) − C⁽ʲ⁾‖₂

The prediction is ŷ. The feature extractor f, with parameters φ, embeds the input x. For each candidate label j, the vector C⁽ʲ⁾ is the corresponding prototype. The subscript 2 on the norm denotes Euclidean distance, and argmin over j selects the label whose prototype is closest. This gives the prototype an interpretation as a point against which the network’s representation of a new example can be compared.

The proposal for a newly joining client uses the same reference set in a different way. The authors suggest beginning with a feature extractor from a pretrained ResNet18, using ImageNet as their example, and initializing the decision layers randomly. The client downloads the prototypes for classes present in its dataset. It can then fine-tune its network on local examples using the supervised and prototype terms together. The global state supplies class references to start that adaptation. The client supplies the trainable machinery that processes inputs.

Track two changes to the loss in each round

The theoretical problem is that the loss depends on a reference that moves. During a block of local updates, the client is training against a fixed set of global prototypes. At the server refresh, the client’s weights can stay exactly where they are and its loss can still change. An embedding that was close to the old reference can be farther from the new one. A bound for local stochastic training alone would miss this part of the round.

The paper uses t for the communication-round index and E for the number of local updates. The point tE is just before server aggregation. The point tE+1/2 lies just after aggregation, with the refreshed references available and before local training begins. The local positions are indexed by e, starting with 1/2 for that first gradient evaluation and continuing at integer positions. The loss ℒ with a time subscript refers to the local objective at that stage. At the end of a local block, the paper distinguishes the pre-refresh loss at (t+1)E from the post-refresh loss at (t+1)E+1/2.

The first assumption bounds how rapidly the gradient of the local objective can change. The paper expresses this as Lipschitz smoothness.

‖∇ℒ_{t₁} − ∇ℒ_{t₂}‖₂ ≤ L₁ ‖ω_{i,t₁} − ω_{i,t₂}‖₂

The operator ∇ gives the gradient with respect to the local weights. The subscripts t₁ and t₂ mark two positive points in the iteration notation. The parameter vectors at those points on client i are ω with subscripts i and the corresponding time. Each norm with subscript 2 measures Euclidean length. The constant L₁ controls how much change in the gradient can accompany movement of the weights. The assumption is stated for all clients. In the local descent argument it is applied while the global reference is fixed.

The corresponding upper bound on the loss change has a linear part and a quadratic part.

ℒ_{t₁} − ℒ_{t₂} ≤ ⟨∇ℒ_{t₂}, ω_{i,t₁} − ω_{i,t₂}⟩
                   + (L₁ / 2) ‖ω_{i,t₁} − ω_{i,t₂}‖₂²

The left side is the difference between the local losses at times t₁ and t₂. The angle brackets give the inner product between the gradient at the starting point t₂ and the displacement in the client’s weights. The constant L₁ is the smoothness bound, and the squared Euclidean norm of the displacement is multiplied by L₁ divided by 2. The linear part measures progress predicted by the gradient at the starting weights. The quadratic part allows for the effect of curvature along the step.

The next assumptions concern the gradient estimated from a sampled example or batch. The paper uses g with time and client subscripts for that estimate, distinct from the decision function used earlier.

𝔼_{ξᵢ∼Dᵢ}[g_{i,t}] = ∇ℒ(ω_{i,t}) = ∇ℒ_t

Here 𝔼 is expectation over a draw ξᵢ from client i’s dataset Dᵢ, as indicated by ∼. The random vector g_{i,t} estimates the gradient at the current weights ω_{i,t}. Both expressions on the right denote the full local gradient at that point. The equalities say that the sampling procedure gives the correct gradient on average.

𝔼[‖g_{i,t} − ∇ℒ(ω_{i,t})‖₂²] ≤ σ²

This inequality bounds the expected squared Euclidean length of the error of the sampled gradient g_{i,t} relative to the full gradient at weights ω_{i,t}. The bound σ² is non-negative. The subscript i identifies the client, t identifies the current point in training, and 𝔼 averages the randomness in the sampled gradient.

𝔼[‖g_{i,t}‖₂] ≤ G

This is a separate bound on the expected Euclidean length of the sampled gradient itself, with G the upper bound used for every client and time. It will control how far the client’s parameters can travel during local training. The previous assumption controls sampling error around the full gradient, a quantity that can be small even when the gradients themselves are large.

The final assumption links changes in the feature extractor’s parameters to changes in its output.

‖fᵢ(φ_{i,t₁}) − fᵢ(φ_{i,t₂})‖ ≤ L₂ ‖φ_{i,t₁} − φ_{i,t₂}‖₂

The left side compares the outputs of client i’s embedding function fᵢ at two parameter settings, with the input implicit. The vectors φ at times t₁ and t₂ comprise the embedding weights. The constant L₂ limits feature movement per unit of Euclidean movement in those weights. The left norm measures the change in features. The authors single out this assumption as relatively strong and use it in the proof over the interval spanned by a block of local updates.

Derive the local and server contributions

The local proof starts with the stochastic gradient step.

ω_{t+1} = ω_t − η g_t

In this line t is the update index, with the client label suppressed. The parameter vector is ω_t before the step and ω_{t+1} afterwards. The vector g_t is the sampled local gradient, and η is the learning rate. The expression moves the weights against the sampled direction by the amount controlled by η.

Substituting that displacement into the quadratic bound gives an inner product between the full gradient and its sampled estimate, along with a term proportional to the squared length of the sampled estimate. Unbiasedness turns the expected inner product into the squared length of the full gradient. The second moment of the sampled estimate can be handled through the paper’s variance identity.

Var(x) = 𝔼[x²] − (𝔼[x])²

Here x denotes a generic random quantity in the variance identity, and Var is variance. The first term is the expected square and the second is the square of the expectation. In the gradient calculation, the corresponding squared lengths let the authors bound the contribution from stochastic error by σ². Each update gives a bound on the change from the preceding loss. Adding those changes cancels the intermediate loss values.

𝔼[ℒ_{(t+1)E}] ≤ ℒ_{tE+1/2}
  − (η − L₁η²/2) Σ_{e=1/2}^{E−1} ‖∇ℒ_{tE+e}‖₂²
  + (L₁Eη²/2) σ²

On the left is the expected loss at the end of the local updates, before another server refresh. The first term on the right is the loss at the start of those updates, with the preceding refresh already applied. The sum over local positions e contains squared Euclidean lengths of the local gradients ∇ℒ. The factor η minus L₁η² divided by 2 determines how much descent the proof credits to those gradients. The last term accumulates the variance penalty across E local updates. In this display 𝔼 is expectation, t counts communication rounds, η is the local learning rate, L₁ is the smoothness constant, and σ² bounds the stochastic gradient variance.

The server part changes the reference while keeping the client’s newly trained weights fixed. Consequently the supervised loss is the same on the two sides of that event. For the unsquared distance used in the refresh calculation, the effect on the distance penalty follows from the triangle inequality.

‖a − b‖₂ − ‖a − c‖₂ ≤ ‖b − c‖₂

The vectors a, b, and c denote, respectively, a fixed feature vector, the new reference, and the old reference when this inequality is applied to the proof. The subscript 2 denotes Euclidean length. The difference between the two distances from a is bounded above by how far apart the references are.

The authors bound the change of the global prototype by changes in the local prototypes that contributed to it. Each local prototype averages features, so the effect of the local updates can be bounded by the movement in the features of its examples. Lipschitz continuity connects that feature movement to the displacement of the representation weights, which are part of the complete local weights. Finally, the change in the weights is bounded using the lengths of the stochastic steps, each of which is scaled by the learning rate. The normalized weights of the appendix let the resulting bound apply across contributing clients.

𝔼[ℒ_{(t+1)E+1/2}] ≤ ℒ_{(t+1)E} + λL₂ηEG

Here 𝔼 denotes expectation. The loss ℒ at (t+1)E+1/2 is evaluated after aggregation, and the loss at (t+1)E precedes aggregation for the same local update block. The global round index is t and the block contains E local updates. The term on the right combines the regularization weight λ, feature continuity constant L₂, learning rate η, number of updates E, and expected gradient length bound G. It is an allowance for a possible increase at the server step.

Read the round bound and the convergence conditions

Combining the two parts gives the paper’s one-round deviation result.

𝔼[ℒ_{(t+1)E+1/2}] ≤ ℒ_{tE+1/2}
  − (η − L₁η²/2) Σ_{e=1/2}^{E−1} ‖∇ℒ_{tE+e}‖₂²
  + (L₁Eη²/2) σ² + λL₂ηEG

The losses on the two sides refer to consecutive post-aggregation states. The expectation 𝔼 averages over stochastic training. The indices t and e refer to the global round and the local update position, and E is the number of local updates. The gradient ∇ℒ is taken with respect to local weights and ‖·‖₂² is squared Euclidean length. The constants L₁ and L₂ control loss smoothness and feature movement. The step size is η, σ² bounds gradient variance, G bounds expected stochastic gradient length, and λ weights the prototype term.

The bound gives a concrete way to think about the two training phases. The gradient term can lower the loss, while stochastic variance and movements of the reference make the upper bound larger. Keeping the step size suitable for the local curvature helps retain the negative contribution. Keeping λ suitably small limits the allowance the proof has to make for a reference update. A full round is successful in the sense of this bound when the descent term dominates the other contributions.

The corollary gives a sufficient learning-rate condition that uses the partial sum through a local position e′.

η_{e′} < 2(Σ_{e=1/2}^{e′} ‖∇ℒ_{tE+e}‖₂² − λL₂EG)
         / [L₁(Σ_{e=1/2}^{e′} ‖∇ℒ_{tE+e}‖₂² + Eσ²)]

Here η_{e′} is the learning rate indexed by the local position e′, which the authors take from 1/2 through the integer positions up to E−1. The index e runs through the gradient evaluations included in the partial sum, and t is the round index. Each norm is the squared Euclidean size of the corresponding local gradient. The constants L₁, L₂, σ², and G have the meanings in the round bound, E is the local step count, and λ is the prototype weight. Dividing by the positive scale in the denominator sets an upper limit on the learning rate when the numerator allows one.

λ_t < ‖∇ℒ_{tE+1/2}‖₂² / (L₂EG)

The coefficient λ_t is the regularization weight for round t. The numerator is the squared Euclidean length of the gradient just after aggregation and before the first local step. The denominator contains the feature continuity bound L₂, the number E of local updates, and the expected stochastic gradient length bound G. This condition controls the reference term using the gradient at the start of the round. The corollary presents these restrictions to secure a decrease, with the proof reasoning about expected loss changes.

For the rate result the authors use a loss gap from the start of training.

Δ = ℒ₀ − ℒ*

The symbol Δ is the difference between initial local loss ℒ₀ and the reference loss ℒ*, which the paper calls the local optimum. Summing the round bounds over time cancels the intermediate rounds’ loss values and uses this gap to bound how much loss is available to decrease. This leaves a bound on an average of squared gradient sizes.

T = 2Δ / [Eε(2η − L₁η²) − Eη(L₁ησ² + 2λL₂G)]

In the theorem statement T is the number of communication rounds expressed in terms of the gap Δ and positive tolerance ε. The symbol E is the number of local iterations; η and λ are the learning rate and prototype weight. The constant L₁ controls smoothness, σ² controls variance, L₂ controls embedding changes, and G controls expected stochastic gradient size. The denominator compares the specified target for optimization progress with the terms that limit it. The proof concludes with a strict lower bound on T using this same expression, so the derivation gives a sufficient threshold for the number of rounds.

(1 / (TE)) Σ_{t=0}^{T−1} Σ_{e=1/2}^{E−1} 𝔼[‖∇ℒ_{tE+e}‖₂²] < ε

The sum takes the expected squared Euclidean length of the local gradient at each included position e in each communication round t. The factors T and E count rounds and local iterations. Their product supplies the normalizing divisor, with 1 in the numerator giving its reciprocal. The expectation 𝔼 accounts for stochastic training, and ε is the desired upper bound for that average. The quantity is a measure of proximity to stationarity in the non-convex optimization problem.

The paper sets two conditions for that result.

η < 2(ε − λL₂G) / [L₁(ε + σ²)]

The learning rate η is constrained by the positive tolerance ε, the regularization strength λ, the feature stability constant L₂, and the gradient length bound G. The denominator uses L₁ to account for curvature and σ² to account for stochastic variation. The restriction ties the admissible step size to the desired optimization accuracy.

λ < ε / (L₂G)

The weight λ must also be smaller than ε divided by the product of the feature movement bound L₂ and the expected gradient length bound G. This keeps the prototype contribution sufficiently small for the target in the theorem. Together the conditions explain why tightening the gradient tolerance can call for a different choice of hyper-parameters and more communication rounds. The experiments choose the prototype weight empirically through a limited search.

Experiments and results

Use the same federation size with different local tasks

The authors run their image classification experiments on MNIST, FEMNIST, and CIFAR10. They implement the methods in PyTorch. Each experiment uses 20 clients, and the entire group participates in every communication round. This makes the statistical and architectural comparisons easier to read because the population available to the server does not fluctuate between rounds.

For MNIST and FEMNIST, the networks use 2 convolutional layers followed by 2 fully connected layers. The initial hyper-parameter choices for those tasks come from the defaults identified in the FedAvg work. For CIFAR10, the authors start with a ResNet18 pretrained on ImageNet. Before the CIFAR10 federated training, the starting network has an average test accuracy on CIFAR10 of 27.55%. That figure describes initialization. Deep Residual Learning for Image Recognition

The local tasks borrow the notation of few-shot classification. In an n-way k-shot task, n counts the categories assigned to a client and k counts the training examples available for each category. The study specifies average values and applies random variations to both quantities across clients. This gives the authors separate ways to vary the demands placed on participants. Changing n changes the breadth of the classification task. Changing k changes the amount of supervised evidence clients can draw on for each part of the task.

The default average size for a class on a client is 100 training examples. In the simulations of statistical differences, the authors use standard deviations of 1 or 2. The supplemental setup specifically identifies the standard deviation of n as a control for heterogeneity. A higher spread in the number of classes means the federation comprises clients with more varied class coverage. The method’s label-wise server operation allows those clients to contribute different sets of prototypes in a single round.

For the architectural comparison, the authors introduce changes within the network families already used for the tasks. In the MNIST and FEMNIST settings, convolutional output channels can number 18, 20, or 22. On CIFAR10 the changes concern the stride of convolutional layers, which determines how the operation steps across the input features. The designation FedProto-mh identifies the experiments with architectural heterogeneity. These settings let the authors test the prototype exchange when client internals vary while preserving the feature interface used by the server.

Clients train by stochastic gradient descent, abbreviated SGD. This optimizer estimates an update from a sample of the training data at each step. The reported learning rate is 0.01 and the momentum is 0.5. Momentum carries an influence from earlier steps into an update. The local training schedule uses 1 epoch and a batch size of 8 for all datasets. An epoch refers to a pass through the local training set, while a batch is the group used for a local update.

The prototype weight is chosen from a limited set of possibilities by grid search, meaning that the authors try candidate settings and select among them. The selected λ for MNIST is 1. For FEMNIST it is also 1. For CIFAR10 the selected value is 0.1. The change across datasets is part of the setup and matters when interpreting how strongly the experiments enforce cross-client agreement.

Compare collaborative methods with local training

The Local baseline trains an independent predictor on each client and exchanges no training information. This comparison asks whether there is a benefit from the federation at all under the constructed local tasks. FedAvg and FedProx give the authors comparisons with conventional averaging and a method designed to account for varying local data. FeSEM supplies a multi-center comparison. FedPer and FedRep are also included, giving the study comparisons with approaches concerned with personalized learning and shared representations.

The authors say they adapt the baselines to the heterogeneous setup. The main performance metric is average test accuracy over clients. On MNIST the supplemental description explicitly refers to local test sets. Averaging over clients summarizes how well the methods serve those distinct tasks. The paper also discusses variation in accuracy between clients. That measure addresses how consistently the federation performs across its participants, since a strong client average can coexist with poor results for some of them.

Communication enters the comparison through two measurements. The authors count the values transmitted in a round and count the rounds needed for convergence. Those address different aspects of cost. A small message makes an individual exchange cheaper in terms of transmitted values. A smaller round count means the exchanges are needed less often during a run. The paper reports advantages for FedProto on both measures in its main comparison.

Read the reported differences by dataset

For MNIST, the supplemental results say that FedProto has higher average local test accuracy than FeSEM, FedProx, FedPer, and FedAvg across the reported settings. The conclusion concerns the average on the local test sets. This is the most specific ranking given in the discussion of MNIST. The individual final accuracy entries are absent from the paper’s table displays, so the size of each gap and the absolute final accuracy cannot be recovered from the stated ranking.

For FEMNIST, the authors emphasize smaller variation in accuracy across clients at the tested heterogeneity levels. In that discussion they report that FedProto uses around 0.025% of the total parameters communicated. This is a communication figure, paired in the prose with the finding on variation. It gives an indication of the savings the authors report for FEMNIST, although the comparison’s full denominator and the per-setting breakdown are unclear from the numerical information in the paper.

For CIFAR10, the supplemental discussion emphasizes faster convergence in most heterogeneous cases. It also says that the values communicated per round are substantially lower for both FedProto and FedProto-mh than for the baselines. The 27.55% initial accuracy provides context for the starting point on this dataset. The paper gives the direction of the convergence and communication comparisons in its prose, without giving the individual final test scores or round counts there.

Across the benchmark, the authors characterize FedProto as having the highest average accuracy and smallest variation in most cases. They report similar performance when they introduce the tested architectural differences. They also describe FedProto as using the fewest communication rounds in their main comparison. These claims establish the pattern the authors report across the tested settings. Individual comparisons against Local or FedRep, for example, cannot be assigned a numerical gap on the strength of this description.

Interpret the size of the exchanged object

The paper’s MNIST illustration compares the length of a class prototype with the network’s parameter count. This is the clearest comparison for which it directly states both numbers.

MNIST size comparison by number of scalar entries

A class vector has fewer entries than the network’s full collection of weights.

MNIST size comparison by number of scalar entriesFull network parameter collection: 21,500Full network parameter collection21,500FedProto class prototype (this paper): 50FedProto class prototype (this paper)50
The numbers
System or settingscalar entries
Full network parameter collection21,500
FedProto class prototype (this paper)50

The 50 entries describe one MNIST class prototype. The 21,500 entries count the parameters in the MNIST network discussed in the illustration. A client that has examples from several classes can send several vectors in a round, and the server sends references back. A per-round accounting would need to reflect that traffic. The chart gives the sizes of the two objects whose exchange the research contrasts, while the per-round results are discussed separately by the authors.

The size comparison also clarifies why the cost can vary across clients. A parameter-based message follows the dimensions of the network that supplied it. A FedProto message follows the size of the feature vector and the number of classes the client represents. Hence, increasing the internal size of a network can leave its per-class prototype length unchanged. Increasing the number of classes represented by a client can increase how many vectors it needs to send.

The FEMNIST percentage, the MNIST count, and the CIFAR10 convergence description answer different empirical questions. The first is a reported communication share in a benchmark comparison. The second gives the dimensions of particular objects. The third concerns training rounds under the tested distributions. Taken together, they show the scope of the authors’ claim about communication. A total cost for any one setting would require the corresponding round counts and exchange sizes for that setting.

What the ablations show

Stronger agreement can reduce distance after accuracy peaks

The clearest intervention on FedProto itself changes λ. The authors vary the prototype weight over values selected from [0,4] on FEMNIST, with n=3 classes and k=100 training examples per class in the stated setup. They track average test accuracy and the distance loss used to measure prototype agreement. This comparison asks whether the extra term helps and how far the benefit extends as the term gains influence.

At λ=0 the prototype term contributes no weight to the training objective. At λ=1 it affects the learned representation, and the authors report a sharp increase in average test accuracy from the zero-weight case. The best average test accuracy in this experiment occurs at λ=1. As the weight grows, the distance loss continues to decrease. The text describes a subsequent accuracy drop of 6%, with no absolute scores at the two ends of that drop stated in the discussion.

This combination of trends is more informative than the location of the best setting alone. The auxiliary distance responds as expected to increased pressure, while the prediction task has its own optimum within the tested settings. The experiment shows that measuring only the closeness of the prototypes would miss the decline in accuracy. Its interpretation is that the shared reference can help organize local features and that pushing further towards it can conflict with what a client needs for prediction.

The zero-weight case isolates the contribution of the agreement penalty more directly than a comparison with FedAvg can. FedAvg and FedProto also differ in their messages and in how they coordinate the local learners. Varying λ inside FedProto asks what happens as the training objective relies more heavily on the shared reference. The study gives no corresponding sweep over server weighting rules or the alternative distances mentioned in the method. Its evidence about the mechanism is concentrated on the strength of the chosen penalty.

Reduce the training examples available per class

A separate MNIST experiment varies the number of samples per class and compares FedProto with FedAvg. The outcome is average test accuracy. Both methods perform worse as the supply of training examples declines. FedProto’s accuracy falls more slowly in the authors’ description. The figures support the direction of the change, while the text supplies no particular accuracy at a chosen point on either curve.

This is a test of how the methods respond to data scarcity on their clients. It speaks directly to the motivation for class summaries: a local learner with limited observations can draw on evidence from others that see the same category. The plotted trend is consistent with that explanation. The design compares the complete FedProto and FedAvg training procedures, so the trend pertains to their difference as run in the experiment.

The paper describes this as a scalability analysis. The dimension being varied is the number of training examples for a class. A client population of increasing size would raise a different question, involving the volume of incoming contributions and the extent of class overlap as more clients join. The reported experiment supports FedProto’s ability to retain comparatively better accuracy as the local task becomes more data-starved.

The comparison with FedProto-mh changes the network structure available to clients. The authors report performance similar to the corresponding cases with a common architecture. The channel and stride variations are a practical test of whether different internals can produce useful messages under the same prototype protocol. Their scope is the given network families and modifications. In particular, the fact that the server receives a vector for each represented class stays constant across the comparison.

The authors also inspect learned MNIST representations using t-SNE, a visualization that projects feature vectors into a space that can be plotted. The visualization uses the MNIST test set in a federation of 20 clients with an average of n=3 classes per client. In the FedProto view, small colored points represent examples and larger points indicate the global class prototypes. The caption describes several centers for examples of one class, associated with different clients, around a global class center.

The authors read this organization as evidence of proximity by class and some separation by client. Their FedAvg panel shows examples of a class concentrated in a common region. The FeSEM panel shows several groups within a class. The FedPer panel shows clusters tied to a class on a particular client. The comparison illustrates how federated training can organize the same classification problem differently in feature space.

In the paper’s interpretation, class proximity is associated with generalization and the ability to distinguish client groups is associated with personalization. The FedProto picture helps explain how a global prototype can act as a common reference while local features retain their own arrangement. These are qualitative observations about a projection. The accuracy comparisons supply the predictive measurements, and the projection provides a way to see the geometry the authors associate with those results.

Limitations

Assumptions and qualifications stated by the authors

The authors describe the feature extractor’s Lipschitz condition as relatively strong. They explain that their proof uses it over a limited period, corresponding to the local stochastic steps in a round. This is the interval during which the client’s weights move and produce the changed prototypes that will be combined at the server. A bound on feature movement over that part of training is enough for the particular estimate they make.

The convergence statements are conditional on that feature bound and on the smoothness and stochastic gradient assumptions. They additionally restrict the learning rate and the prototype regularization weight. The theorem measures expected squared gradient size across local steps and rounds. The significance of a small value is that the derivative of the training objective is small on average. That mathematical criterion leaves test accuracy, equality of outcomes among clients, and the best achievable loss outside the guarantee.

The authors themselves characterize the experimental architectural variations as minor. Their design asks whether FedProto can accommodate the stated changes to convolutional channels and strides. Both the successful aggregation of those vectors and the reported similarity to the common-architecture case have that scope. In the main motivation, devices may have very different computing resources, while the experiments test a particular set of structural differences within related networks.

The paper also gives a privacy argument. The authors emphasize that clients exchange averages of low-dimensional features, so information from the separate training examples is discarded in making each message. They argue that access to the local network matters for reconstructing raw data and suggest integrating privacy-preserving techniques. These are arguments about the disclosed object and about possible additional protection. The paper reports neither a formal privacy bound nor an evaluation of what an attacker can infer from prototype traffic.

Boundaries visible in the experimental design

The dependence on shared labels is part of the method. The server needs to know that a prototype for a given label on one client belongs with the prototypes under that label elsewhere. Partial coverage of a shared vocabulary is enough to create interesting heterogeneous tasks. Discovering correspondences between different vocabularies or resolving disagreement over what counts as a category is beyond the server operation described in the paper.

There is a related constraint on representation geometry. Adding two vectors of the same length is a defined operation. The resulting point is useful as a reference only insofar as the representations bear a meaningful relationship. The prototype penalty gives the clients an incentive to build such a relationship. The experiments show how it behaves for the studied image networks, and the paper’s appendix assumes common input and prototype dimensions. A reader considering very different input spaces or feature representations has to distinguish this common interface from the broader range of client differences in the introduction.

Every client participates on every round. In that setup, the server can regularly collect prototypes from all of its contributors for a class. Different participation patterns could change both the observations used to form a reference and how often some categories are represented. The experiments do not establish the behavior of those intermittent references. They also do not measure the effect of network delays or different compute speeds. The reported counts concern communication rounds and transmitted values, leaving elapsed time and other systems costs open.

The suggested onboarding procedure uses pretrained representation layers and prototypes downloaded for the labels a new client covers. It gives a plausible path to joining the federation in the authors’ framework. There is no separate evaluation of new arrivals with measured adaptation times or test accuracy across a range of novel architectures. The participation experiments concern the clients already included in the training group.

The mean itself places a limit on what the federation learns through the messages. Quite different collections of feature vectors can have the same average. An average therefore leaves out how widely features vary within a category or whether there are several distinct kinds of example in it. The authors’ visualization of local class centers makes the distinction concrete. The class can exhibit client-specific structure even while a single global point provides a useful reference. FedProto evaluates the point as a communication object, with richer descriptions of within-class structure outside the comparisons.

The reported aggregate accuracy comparisons also have limited resolution. Client-average accuracy summarizes outcomes that can differ for reasons such as local class coverage and the amount of training data. Smaller variation indicates more uniform reported performance and leaves open how the lowest-performing clients fare. The numerical table entries needed to check the magnitudes and client-level breakdowns are missing. The baseline adaptations are described at a general level. These details matter for a reader who wants to reproduce individual comparisons or identify which clients gain most.

Boundaries visible in the mathematical presentation

The server rule in the main method applies a client-count divisor to the sum of prototype vectors already weighted by class sample shares. The appendix represents the reference as a weighted sum with weights totaling 1. Suppressing the class index explains why the appendix can use shorter notation. The extra divisor in the main rule still changes the scale of the reference. A reader following the equations closely therefore encounters different normalizations in the method and proof.

The penalty is also presented in different forms. The main objective describes distances between class means and global references. The appendix first writes a squared Euclidean penalty on an input’s individual feature vector. Its proof of the loss change at aggregation then uses a difference of unsquared Euclidean distances. The particular triangle inequality used there directly controls differences of distances. A squared-distance penalty would require accounting for the lengths being squared. These distinctions affect how literally the proof can be mapped to each version of the displayed objective.

Finally, the theorem presents the communication requirement as an equality for T, while the concluding derivation gives a strict lower bound. The latter matches the use of a sufficient round threshold for a strict gradient tolerance. The theoretical constants, including the bounds on stochastic gradients and feature movement, are absent as measured values for the image experiments. The round formula is best read as a conditional account of how optimization depends on those quantities. The experimental convergence comparisons concern runs configured with the authors’ reported empirical settings.

What came after

FedPAGR, a citing work from 2026, takes up federated prototype alignment across heterogeneous architectures. Its title identifies geometric refinement as the approach. This puts the comparability of prototypes at the center of the problem. FedProto brings local representations toward shared class references during training. The later work’s stated focus is the geometry of alignment itself when the contributing architectures differ. FedPAGR: Federated Prototype Alignment via Geometric Refinement for Heterogeneous Architectures

That focus follows from a question already visible in FedProto. The category identifier establishes which vectors describe the same class, and a compatible vector dimension lets the server combine them. The usefulness of the resulting reference depends on how the clients’ feature spaces relate. FedPAGR’s title establishes that it pursues that alignment question through geometric refinement. The specific refinement procedure and its measured effects are undocumented in the available account of the later work.

Cite

Cite as Yue Tan, Guodong Long, Lu Liu, Tianyi Zhou, Qinghua Lu, Jing Bo Jiang and Chengqi Zhang. 2022. FedProto: Federated Prototype Learning across Heterogeneous Clients. Proceedings of the AAAI Conference on Artificial Intelligence.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1609/aaai.v36i8.20819 · arXiv 2105.00243

@inproceedings{tan2022fedproto,
  title = {{FedProto: Federated Prototype Learning across Heterogeneous Clients}},
  author = {Yue Tan, Guodong Long, Lu Liu, Tianyi Zhou, Qinghua Lu, Jing Bo Jiang and Chengqi Zhang},
  booktitle = {Proceedings of the AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i8.20819},
  eprint = {2105.00243},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1609/aaai.v36i8.20819}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/tan-2022-fedproto-federated-prototype-learning-across/

References

53 references, from the paper's own bibliography.

  1. Arivazhagan, M. G.; Aggarwal, V.; Singh, A. K.; and Choudhary, S. 2019. Federated learning with personalization layers. arXiv preprint arXiv:1912.00818. OpenAlex ↗ · Scholar ↗
  2. Babenko, A.; and Lempitsky, V. 2015. Aggregating local deep features for image retrieval. In Proceedings of the IEEE international conference on computer vision, 1269–1277. OpenAlex ↗ · Scholar ↗
  3. Cai, T.; Li, J.; Mian, A. S.; Sellis, T.; Yu, J. X.; et al. 2020. Target-aware holistic influence maximization in spatial social networks. IEEE Transactions on Knowledge and Data Engineering. OpenAlex ↗ · Scholar ↗
  4. Caldas, S.; Duddu, S. M. K.; Wu, P.; Li, T.; Konečnỳ, J.; McMahan, H. B.; Smith, V.; and Talwalkar, A. 2018. Leaf: A benchmark for federated settings. arXiv: 1812.01097. OpenAlex ↗ · Scholar ↗
  5. Chen, C.; Zhang, J.; Tung, A. K.; Kankanhalli, M.; and Chen, G. 2020. Robust federated recommendation system. arXiv preprint arXiv:2006.08259. OpenAlex ↗ · Scholar ↗
  6. Collins, L.; Hassani, H.; Mokhtari, A.; and Shakkottai, S. 2021. Exploiting Shared Representations for Personalized Federated Learning. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
  7. Deng, Y.; Kamani, M. M.; and Mahdavi, M. 2020. Adaptive Personalized Federated Learning. arXiv:2003.13461. OpenAlex ↗ · Scholar ↗
  8. Dvornik, N.; Schmid, C.; and Mairal, J. 2020. Selecting relevant features from a universal representation for few-shot classification. OpenAlex ↗ · Scholar ↗
  9. Fallah, A.; Mokhtari, A.; and Ozdaglar, A. 2020. Personalized Federated Learning with Theoretical Guarantees: A Model-Agnostic Meta-Learning Approach. In Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
  10. Ghosh, A.; Chung, J.; Yin, D.; and Ramchandran, K. 2020. An Efficient Framework for Clustered Federated Learning. In Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
  11. He, C.; Annavaram, M.; and Avestimehr, S. 2020. FedNAS: Federated Deep Learning via Neural Architecture Search. In Proceedings of the IEEE conference on computer vision and pattern recognition. OpenAlex ↗ · Scholar ↗
  12. He, C.; Li, S.; So, J.; Zhang, M.; Wang, H.; Wang, X.; Vepakomma, P.; Singh, A.; Qiu, H.; Shen, L.; et al. 2020. Fedml: A research library and benchmark for federated machine learning. arXiv:2007.13518. OpenAlex ↗ · Scholar ↗
  13. He, K.; Zhang, X.; Ren, S.; and Sun, J. 2016. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, 770–778. our card
  14. Hoang, M.; Hoang, N.; Low, B. K. H.; and Kingsford, C. 2019. Collective model fusion for multiple black-box experts. In International Conference on Machine Learning, 2742–2750. PMLR. OpenAlex ↗ · Scholar ↗
  15. Hoang, N.; Lam, T.; Low, B. K. H.; and Jaillet, P. 2020. Learning Task-Agnostic Embedding of Multiple Black-Box Experts for Multi-Task Model Fusion. In International Conference on Machine Learning, 4282–4292. PMLR. OpenAlex ↗ · Scholar ↗
  16. Jeong, E.; Oh, S.; Kim, H.; Park, J.; Bennis, M.; and Kim, S.-L. 2018. Communication-efficient on-device machine learning: Federated distillation and augmentation under non-IID private data. In Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
  17. Jiang, J.; Ji, S.; and Long, G. 2020. Decentralized knowledge acquisition for mobile internet applications. World Wide Web, 1–17. OpenAlex ↗ · Scholar ↗
  18. Kairouz, P.; McMahan, H. B.; Avent, B.; Bellet, A.; Bennis, M.; Bhagoji, A. N.; et al. 2019. Advances and open problems in federated learning. arXiv:1912.04977. our card
  19. Krizhevsky, A.; Hinton, G.; et al. 2009. Learning multiple layers of features from tiny images. OpenAlex ↗ · Scholar ↗
  20. Krizhevsky, A.; Sutskever, I.; and Hinton, G. E. 2017. Imagenet classification with deep convolutional neural networks. Communications of the ACM, 60(6): 84–90. our card
  21. LeCun, Y. 1998. The MNIST database of handwritten digits. http://yann. lecun. com/exdb/mnist/. OpenAlex ↗ · Scholar ↗
  22. Li, D.; and Wang, J. 2020. Fedmd: Heterogenous federated learning via model distillation. In Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
  23. Li, Q.; He, B.; and Song, D. 2021. Model-Contrastive Federated Learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 10713–10722. OpenAlex ↗ · Scholar ↗
  24. Li, T.; Sahu, A. K.; Zaheer, M.; Sanjabi, M.; Talwalkar, A.; and Smith, V. 2020. Federated optimization in heterogeneous networks. MLSys. our card
  25. Li, Z.; Wang, X.; Li, J.; and Zhang, Q. 2021. Deep attributed network representation learning of complex coupling and interaction. Knowledge-Based Systems, 212: 106618. OpenAlex ↗ · Scholar ↗
  26. Liang, P. P.; Liu, T.; Ziyin, L.; Salakhutdinov, R.; and Morency, L.-P. 2020. Think Locally, Act Globally: Federated Learning with Local and Global Representations. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
  27. Lin, T.; Kong, L.; Stich, S. U.; and Jaggi, M. 2020. Ensemble Distillation for Robust Model Fusion in Federated Learning. In Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
  28. Liu, L.; Hamilton, W. L.; Long, G.; Jiang, J.; and Larochelle, H. 2020. A Universal Representation Transformer Layer for Few-Shot Image Classification. In International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
  29. Liu, Y.; Pan, S.; Jin, M.; Zhou, C.; Xia, F.; and Yu, P. S. 2021a. Graph self-supervised learning: A survey. arXiv preprint arXiv:2103.00111. OpenAlex ↗ · Scholar ↗
  30. Liu, Y.; Pan, S.; Wang, Y. G.; Xiong, F.; Wang, L.; and Lee, V. 2021b. Anomaly Detection in Dynamic Graphs via Transformer. IEEE Transactions on Knowledge and Data Engineering. OpenAlex ↗ · Scholar ↗
  31. Long, G.; Shen, T.; Tan, Y.; Gerrard, L.; Clarke, A.; and Jiang, J. 2021. Federated learning for privacy-preserving open innovation future on digital health. In Humanity Driven AI. Springer. OpenAlex ↗ · Scholar ↗
  32. Long, G.; Tan, Y.; Jiang, J.; and Zhang, C. 2020. Federated Learning for Open Banking. In Federated Learning, 240–254. Springer. OpenAlex ↗ · Scholar ↗
  33. Luo, J.; Wu, X.; Luo, Y.; Huang, A.; Huang, Y.; Liu, Y.; and Yang, Q. 2019. Real-world image datasets for federated learning. arXiv:1910.11089. OpenAlex ↗ · Scholar ↗
  34. Mansour, Y.; Mohri, M.; Ro, J.; and Suresh, A. T. 2020. Three approaches for personalization with applications to federated learning. arXiv:2002.10619. OpenAlex ↗ · Scholar ↗
  35. McMahan, H. B.; Moore, E.; Ramage, D.; et al. 2017. Communication-efficient learning of deep networks from decentralized data. AISTATS. our card
  36. Michieli, U.; and Ozay, M. 2021. Prototype Guided Federated Learning of Visual Feature Representations. arXiv preprint arXiv:2105.08982. OpenAlex ↗ · Scholar ↗
  37. Rieke, N.; Hancox, J.; Li, W.; Milletari, F.; Roth, H. R.; Albarqouni, S.; Bakas, S.; Galtier, M. N.; Landman, B. A.; Maier-Hein, K.; et al. 2020. The future of digital health with federated learning. NPJ digital medicine, 3(1): 1–7. OpenAlex ↗ · Scholar ↗
  38. Sattler, F.; Müller, K.-R.; and Samek, W. 2020. Clustered federated learning: Model-agnostic distributed multitask optimization under privacy constraints. IEEE transactions on neural networks and learning systems. OpenAlex ↗ · Scholar ↗
  39. Simonyan, K.; and Zisserman, A. 2014. Two-Stream Convolutional Networks for Action Recognition in Videos. In Advances in Neural Information Processing Systems, 568–576. OpenAlex ↗ · Scholar ↗
  40. Singh, I.; Zhou, H.; Yang, K.; Ding, M.; Lin, B.; and Xie, P. 2020. Differentially-private federated neural architecture search. In FL-International Conference on Machine Learning Workshop. OpenAlex ↗ · Scholar ↗
  41. Snell, J.; Swersky, K.; and Zemel, R. 2017. Prototypical Networks for Few-shot Learning. Advances in Neural Information Processing Systems, 30: 4077–4087. OpenAlex ↗ · Scholar ↗
  42. Tan, A. Z.; Yu, H.; Cui, L.; and Yang, Q. 2021. Towards personalized federated learning. arXiv preprint arXiv:2103.00710. OpenAlex ↗ · Scholar ↗
  43. Van der Maaten, L.; and Hinton, G. 2008. Visualizing data using t-SNE. Journal of machine learning research, 9(11). OpenAlex ↗ · Scholar ↗
  44. Wang, H.; Yurochkin, M.; Sun, Y.; Papailiopoulos, D.; and Khazaeni, Y. 2020a. Federated Learning with Matched Averaging. In International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
  45. Wang, J.; Liu, Q.; Liang, H.; Joshi, G.; and Poor, H. V. 2020b. Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization. Advances in neural information processing systems. OpenAlex ↗ · Scholar ↗
  46. Wieting, J.; Bansal, M.; Gimpel, K.; and Livescu, K. 2015. Towards universal paraphrastic sentence embeddings. arXiv:1511.08198. our card
  47. Xie, M.; Long, G.; Shen, T.; Wang, X.; Tianyi, Z.; and Jiang, J. 2020. Multi-center Federated Learning. arXiv:2005.01026. OpenAlex ↗ · Scholar ↗
  48. Xu, J.; Glicksberg, B. S.; Su, C.; Walker, P.; Bian, J.; and Wang, F. 2020. Federated learning for healthcare informatics. Journal of Healthcare Informatics Research, 1–19. OpenAlex ↗ · Scholar ↗
  49. Xue, G.; Zhong, M.; Li, J.; Chen, J.; Zhai, C.; and Kong, R. 2021. Dynamic network embedding survey. arXiv preprint arXiv:2103.15447. OpenAlex ↗ · Scholar ↗
  50. Yang, Y.; Guan, Z.; Li, J.; Zhao, W.; Cui, J.; and Wang, Q. 2021. Interpretable and efficient heterogeneous graph convolutional network. IEEE Transactions on Knowledge and Data Engineering. OpenAlex ↗ · Scholar ↗
  51. Zheng, Y.; Jin, M.; Liu, Y.; Chi, L.; Phan, K. T.; and Chen, Y.-P. P. 2021. Generative and Contrastive Self-Supervised Learning for Graph Anomaly Detection. IEEE Transactions on Knowledge and Data Engineering. OpenAlex ↗ · Scholar ↗
  52. Zhu, H.; Zhang, H.; and Jin, Y. 2020. From federated learning to federated neural architecture search: a survey. Complex & Intelligent Systems, 1–19. OpenAlex ↗ · Scholar ↗
  53. Zhu, L.; Liu, Z.; and Han, S. 2019. Deep Leakage from Gradients. In Advances in Neural Information Processing Systems, 14774–14784. OpenAlex ↗ · Scholar ↗