Federated Optimization:Distributed Optimization Beyond the Datacenter
Paper · 2015 · Jakub Konečný, Brendan McMahan and Daniel Ramage
Summary
Training from data scattered across personal devices creates a different optimization problem from training inside a datacenter. The devices may hold very different amounts of data, and each person’s records may reflect habits that are unusual in the population as a whole. Communication can also be much harder to arrange than local computation. Federated Optimization: Distributed Optimization Beyond the Datacenter studies how to optimize a shared predictor under these conditions, while leaving the training examples on the devices that generated them.
The paper’s main contribution is to make this setting explicit and propose an algorithm adapted to it. The authors identify three linked difficulties: a very large population of participating devices, local datasets that do not resemble random samples from the overall collection, and substantial differences in dataset size between devices. They pay particular attention to sparse data, where a feature may occur in very few examples or on very few devices. Their algorithm modifies distributed stochastic variance-reduced gradient optimization with device-specific step sizes, corrections for local feature frequencies, and an aggregation rule that treats widely shared and narrowly concentrated features differently.
The experiment uses public social-network posts to predict whether a post will attract a comment. Each author becomes a separate computational node. The training collection contains 2,166,693 examples spread across 10,000 authors, using word-based features drawn from a vocabulary of 20,000 frequent words. This partition is deliberately demanding: an author’s training collection ranges from 75 to 9,000 examples, and different authors produce different kinds of text. The comparison therefore tests an algorithm against the organization of the data that motivates federated optimization, rather than first making the data convenient for an existing distributed method.
The reported results are encouraging within that setting. DANE and DiSCO diverge. CoCoA converges, but more slowly than distributed gradient descent when progress is measured against communication rounds. The proposed method approaches the offline optimum after relatively little communication, and its behavior changes little when the examples are randomly reassigned between nodes while preserving their unequal sizes. The paper presents these outcomes graphically without stating exact numerical performance values in the accompanying discussion. Its contribution is consequently an empirical demonstration of a promising direction, instead of a quantified guarantee of communication savings.
The authors also leave substantial work unfinished. They do not provide a convergence theory for the modified algorithm, and the experiment does not establish performance across other datasets or more demanding prediction tasks. Keeping examples on devices motivates the approach, but a complete privacy mechanism is still future work. The paper is best understood as both an optimization proposal and a statement of a research problem: distributed learning should account for where data originate, how unevenly they are distributed, and what communication is realistically available.
Interesting ideas
Treat the data partition as part of the problem
A partition is more than a storage decision. If records remain grouped by the people who produced them, local computations reflect those people’s particular behavior. An algorithm designed for randomly allocated records may therefore receive systematically different information from what its analysis expects. The reusable idea is to describe the partition before choosing the optimizer: which examples belong together, how group sizes differ, and whether any group represents the full population. This applies whenever an engineering system inherits organizational or physical boundaries that cannot simply be erased by shuffling.
Optimize for the expensive resource
The authors organize the problem around communication rounds because contacting devices can be much more restrictive than performing additional local calculations. That choice changes what counts as an efficient algorithm. A method with cheap individual updates may still be impractical if every update requires coordination. Conversely, a locally demanding method may be attractive if it makes useful progress between communication opportunities. The broader lesson is to measure efficiency against the resource that constrains deployment. Local arithmetic, transferred information, elapsed time, and coordination frequency are related costs, but they need not lead to the same algorithmic preference.
Weight contributions according to the objective
When devices hold unequal amounts of data, giving every device the same influence does not generally reproduce an objective that gives every example the same influence. The paper expresses the global loss as a weighted combination of local average losses, with each weight determined by that device’s share of the examples. This is useful beyond federated optimization because it separates a statistical decision from an implementation convenience. Equal treatment of workers and equal treatment of records are different choices. Writing the objective explicitly makes it possible to check whether the aggregation procedure implements the intended choice.
Correct for locally distorted feature frequencies
A word or another sparse feature can be common on a particular device while remaining rare in the full dataset. Local stochastic updates may then give that coordinate too much influence relative to the global objective. The paper’s local scaling matrix uses the relationship between global and local occurrence frequencies to adjust the stochastic correction. The transferable insight is that sparsity contains information about distributional differences. In systems where groups specialize in particular features, a local update can require correction even when its calculation is entirely correct for the group’s own data.
Aggregate each coordinate according to its coverage
The paper also asks how many nodes can contribute evidence about a particular feature. If a feature is spread widely, averaging across nodes is natural. If it is confined to a narrow part of the network, ordinary averaging can attenuate the useful change. The proposed aggregation matrix compensates for this uneven coverage. This suggests a general design principle for distributed systems with sparse parameters: an aggregation rule can depend on which participants actually have relevant information. The paper’s particular correction remains heuristic, but the distinction between broad and narrow feature coverage is independently useful.
Use reshuffling as a diagnostic
The experiment compares the natural author partition with a randomized assignment that preserves the number of examples on each node. This makes the comparison informative because it changes the content distribution without removing the size imbalance. The procedure offers a practical way to investigate whether an optimizer is sensitive to the grouping of examples. It does not explain every source of difficulty, and it does not establish robustness to every possible partition. It does, however, create a more focused comparison than changing the partition and the local dataset sizes together.
Deep dive: Federated Optimization:Distributed Optimization Beyond the Datacenter
Federated optimization for uneven, user-held data: how sparse updates reduce communication, what the experiments show, and their limits. · about 32 minutes to read
How Mova uses it
For Mova, the small transparent language system written in Rust, this paper offers a possible design direction for learning from data that should remain separated by user or source. There is no established integration to report. The useful connection is prospective: if Mova develops a trainable component whose examples remain distributed, the paper provides questions to answer before adapting a conventional centralized training procedure.
The first question concerns the learning objective. A transparent implementation should make clear whether each example has equal influence, whether each user has equal influence, or whether some other weighting is intended. The paper chooses an average over examples and derives the corresponding weights for local objectives. Mova could borrow that explicitness even without using the proposed optimizer. The intended weighting could be represented directly in the training configuration and reflected in the aggregation code, so that the meaning of a local contribution is inspectable.
A second possible application concerns sparse language features. Suppose a future Mova component learns weights for words or other explicitly represented features from separate collections of text. Some features might be concentrated in particular users’ records. The paper explains why a local update for such a feature can have a different scale from an update drawn from the complete collection. Mova could investigate a correction based on feature occurrence frequencies, provided the necessary statistics are available and the component actually has the optimization structure assumed by the method.
That qualification matters. The algorithm operates on differentiable losses and gradient-based parameter updates. Its matrices do not automatically apply to every component of a language system. Before adopting them, an implementation would need to identify the trainable parameters, define a loss for individual examples, and establish what a feature’s occurrence means for those parameters. A sparse, inspectable representation may make those questions easier to examine, but transparency by itself does not establish that the correction is appropriate.
The distinction between the paper’s two sparsity corrections could be especially valuable in a readable Rust implementation. One correction changes the stochastic calculation performed within a node. The other changes how completed local updates are combined. Keeping those operations distinct would make their purposes easier to review and their effects easier to investigate. Combining them into an unexplained multiplier would obscure an important part of the method: locally distorted feature frequency and network-wide feature coverage are different problems.
The experiment also suggests a suitable evaluation pattern for a future implementation. Mova could compare a natural partition with a shuffled partition that retains the original collection sizes. The result would help determine whether learning depends strongly on which source owns which examples. Such an experiment should accompany a basic centralized or distributed reference procedure, because the paper itself shows that a sophisticated communication-oriented method can perform worse than a simpler alternative in an unfavorable setting.
Finally, Mova should treat local data retention and privacy as separate engineering commitments. The paper motivates leaving examples on devices, but it does not complete the privacy work required for deployment. A future implementation could use the optimization ideas without claiming that the resulting system provides a formal privacy guarantee. The concrete lesson is to expose what information is exchanged, what remains local, and what protection has actually been implemented. At present, these are possible uses of the paper’s reasoning, rather than capabilities established for Mova.
The problem and its context
A familiar objective under unfamiliar conditions
The paper starts with a standard objective in machine learning: choose parameters that minimize an average of losses over training examples. Each example contributes a function that evaluates how well the current parameters perform on that example. The global task combines those contributions. The mathematical form accommodates several kinds of prediction, and the authors mention linear regression, logistic regression, support vector machines, conditional random fields, and neural networks as examples of its scope.
The familiar form can conceal an important practical assumption: somewhere, an algorithm must be able to obtain the information needed to improve the parameters. When the dataset fits on a single machine, that machine can read examples and perform a long sequence of updates. As collections grow, storage alone can make this arrangement infeasible. Distributed optimization addresses the same global objective when separate machines hold different portions of the data.
Distribution introduces a second problem alongside storage. Calculations on separate machines need coordination. If every inexpensive local update is followed by an expensive exchange, the communication can dominate the useful work. The paper emphasizes this mismatch between the speed of arithmetic and the cost of coordination. An optimization method can have attractive iteration behavior while making poor progress under a realistic communication budget.
What earlier distributed methods assumed
As the authors describe the field, much earlier work already recognized communication as a central obstacle. Researchers had developed distributed variants of established methods and studied limits on how much communication particular optimization problems require. Another line of work tried to trade extra local computation for less frequent communication. Instead of synchronizing after each small calculation, a node could perform a more substantial local optimization before returning an update.
The paper places DANE, DiSCO, and CoCoA within this communication-oriented context. Its objection is therefore not that earlier research ignored communication altogether. The issue is that much of that research addressed a different distribution of data and computation. According to the authors, the relevant earlier approaches generally expected each node to hold a substantial collection of examples relative to the number of nodes.
They also frequently assumed that local data were randomly sampled from a common distribution and that local dataset sizes were equal. Under such assumptions, each node can act as a reasonably representative view of the overall problem. Local optimization then has a particular relationship to global optimization: although a node sees only part of the data, that part is expected to resemble what other nodes see.
The authors identify CoCoA as an exception to this characterization of earlier assumptions. That qualification is important because the paper does not claim that all existing distributed optimization relied on the same restrictions. Its broader argument is that the combination of restrictions was sufficiently common to leave the device-centered setting poorly served.
Why devices change the problem
When examples come from personal devices, their placement is usually a consequence of how they were generated. A person’s interactions with applications produce records on that person’s device. Those records may be relevant to a shared prediction task, but they do not become a random sample of everyone’s behavior simply because the device participates in distributed training.
The paper gives several motivations: anticipating typed words, estimating which photographs someone might share, and deciding which notifications matter to a user. These examples explain why local data may be valuable and why central collection may be undesirable. The optimization objective can be shared even though the underlying examples remain associated with separate users.
The resulting population has three characteristics that matter together. There may be many more nodes than examples on a typical node. Local distributions may differ substantially. Local dataset sizes may also vary widely. A successful procedure must therefore handle many small, unequal, specialized views of a common task.
These properties can interact. A small local collection may give a poor estimate of the global gradient even if it were randomly sampled. A specialized collection can produce a systematically different estimate even when it is comparatively large. Unequal sizes then affect how much influence each local estimate should have. Treating all these problems as generic randomness would miss the structure the authors want the optimizer to use.
Sparsity makes heterogeneity visible
The paper focuses especially on sparse data. A sparse representation contains many coordinates that are absent from a particular example. With word-based features, a post activates only the words it contains, while the full vocabulary defines a much larger coordinate space.
Sparsity can be distributed unevenly across devices. A feature might occur often in one user’s records, occasionally in another’s, and never elsewhere. This makes two questions important: how common is the feature among a node’s examples, and how widely is it spread across nodes? The proposed method assigns a different correction to each question.
This is more specific than saying that users have different data. It identifies a measurable aspect of that difference that can influence an optimizer. The algorithm tries to use the pattern of feature occurrence instead of treating the natural partition as an inconvenience that must be eliminated.
Communication opportunities define the practical goal
Mobile connectivity adds a scheduling constraint. The authors suggest that communication might be deferred until a device is charging and has a suitable wireless connection. In their motivating discussion, coordination could be restricted to a single opportunity per day.
That scenario explains their emphasis on rounds. If a device can perform substantial work before the next exchange, an algorithm should use that interval effectively. The paper treats local computation as comparatively abundant within reasonable limits and prioritizes reducing the number of required exchanges.
This is a deliberate abstraction. It does not mean that device computation literally has no cost. It means that, for the setting being studied, a procedure that needs fewer synchronized exchanges can be preferable even if it performs more local work. The experiment evaluates progress using the resource that the motivation identifies as scarce.
The method, step by step
The method combines a shared reference point with local stochastic optimization. Nodes use information about the global objective, work on their own examples, and return parameter changes. The proposed modifications adjust how those changes are produced and how they are combined, with special attention to unequal dataset sizes and sparse feature distributions.
A communication round in federated optimization
The steps in order.
Define the global learning objective
The starting point is the finite-sum optimization problem:
minimize f(w) over w ∈ ℝᵈ, where f(w) = (1/n) ∑ᵢ₌₁ⁿ fᵢ(w)
The vector w contains the parameters being learned. The set ℝᵈ means that w has d real-valued coordinates. The symbol n is the total number of training examples. The function fᵢ gives the loss associated with example i, and f is the average of those losses. Minimization means finding parameters that make that average as small as possible.
The average is consequential. Each example enters the global objective with the same weight, regardless of which node stores it. The objective is therefore defined over examples before it is reorganized into computations performed by nodes.
The paper expresses an individual contribution through a loss function:
fᵢ(w) = ℓ(w; xᵢ, yᵢ)
Here, ℓ is the loss function, xᵢ is the input associated with example i, and yᵢ is its target output. The semicolon separates the parameters being optimized from the data on which the loss is evaluated. In the experiment, the input comes from a post’s word features, and the target indicates whether the post receives a comment.
This notation deliberately leaves the prediction task general. The optimizer is described in terms of losses and gradients rather than a particular application. The empirical evidence, however, comes from the specific logistic regression task used later in the paper.
Describe who holds each example
Let K denote the number of nodes. The training indices are partitioned into sets, with one set assigned to each node. The size of a local dataset is written as:
nₖ = |𝒫ₖ|
The set 𝒫ₖ contains the indices of the examples stored on node k. The vertical bars denote the number of members in that set, so nₖ is the number of local training examples. The sets form a partition: they describe the placement of the global training collection across nodes.
The local objective Fₖ is the average loss over the examples assigned to node k. The global objective can then be rewritten as:
f(w) = ∑ₖ₌₁ᴷ (nₖ/n) Fₖ(w) = ∑ₖ₌₁ᴷ (nₖ/n) (1/nₖ) ∑ᵢ∈𝒫ₖ fᵢ(w)
The symbol Fₖ denotes a local average loss, and nₖ/n is the fraction of all training examples held by node k. The summation over k combines the local objectives. The inner summation collects the individual losses for examples whose indices belong to 𝒫ₖ.
This representation separates local normalization from global weighting. A node first describes its own examples through an average. Its average then receives a weight proportional to the number of examples it represents. That organization preserves the original example-level objective in spite of an uneven partition.
It also reveals why equal node weighting would be a different statistical choice. A small collection and a large collection would receive the same influence at the node level, even though they contain different numbers of equally weighted examples. The paper instead keeps the original empirical objective fixed.
Connect local solving with variance reduction
The algorithmic starting point is a relationship between DANE and stochastic variance-reduced gradient methods. DANE constructs local subproblems using both a node’s data and information from the global gradient. In its exact form as described by the authors, a node solves its newly constructed subproblem completely before the distributed procedure continues.
The paper considers approximate local solution instead. An optimization routine can make progress on a subproblem without solving it exactly. When the local routine is SVRG, the resulting updates can be expressed as a distributed version of that variance-reduced method.
The shared reference point is central to this construction. Local stochastic updates compare gradients evaluated at the current local parameters with gradients evaluated at the common reference. A global gradient at that reference supplies information about the full objective. Thus local work is anchored to a point whose overall behavior has been evaluated across the training collection.
The ordinary distributed version can work well in simpler conditions, according to the authors. Their concern is its behavior under the natural, sparse, heterogeneous partitions of federated optimization. The proposed algorithm retains the reference-and-correction structure while modifying its scale and aggregation.
Adjust the step size to local dataset size
The first change allows each node to use its own step size, denoted hₖ. The authors specify that this step size should vary inversely with nₖ, the local number of examples. A node with a larger collection therefore receives a smaller step size under this prescription.
This is a rule for adapting the local optimization process to unequal data volumes. It should be distinguished from the weight assigned to a node when results are combined. The step size changes how a node moves through parameter space during local work; the aggregation weight changes how its eventual movement contributes to the shared parameters.
The paper does not give a complete numerical schedule for these step sizes in the surrounding algorithm discussion. It identifies the relationship to local dataset size as an important modification. A reader can therefore understand the intended dependence without assuming that the experiment establishes a universally applicable tuning rule.
Correct the stochastic gradient difference
The next modification introduces a diagonal matrix Sₖ into the local update:
wₖ ← wₖ − hₖ (Sₖ [∇fᵢ(wₖ) − ∇fᵢ(w̃)] + ∇f(w̃))
The vector wₖ is the current local parameter vector on node k. The symbol w̃ is the shared reference vector. The notation ∇fᵢ indicates the gradient of the loss for instance i, while ∇f is the gradient of the complete objective. The arrow means that the expression on the right replaces the current local vector.
The scalar hₖ controls the local step size. The matrix Sₖ scales coordinates of the difference between the individual-example gradients at wₖ and w̃. The global gradient at w̃ is then added to that scaled difference. The scope of the matrix matters: it adjusts the stochastic difference term rather than multiplying the entire update.
A diagonal matrix changes each coordinate independently. It does not mix information from one feature into another. This suits the paper’s explanation, which concerns the occurrence frequency of individual features.
The entries of Sₖ are determined by comparing a feature’s overall occurrence frequency with its occurrence frequency on node k. If a feature is disproportionately common locally, the corresponding correction reduces the scale associated with that local frequency. If local occurrence resembles global occurrence, the motivation for a substantial correction is weaker.
The authors illustrate the problem with a feature whose non-zero examples are all located on a particular node. Sampling from that node encounters the feature far more often than sampling from the entire collection would. Without adjustment, the local stochastic calculation can overstate the feature’s contribution relative to the global objective.
This explanation is narrower than a claim that Sₖ makes all local gradients representative of the full dataset. The correction uses sparsity patterns. It addresses an important source of scale distortion, but it does not prove that every difference between users’ distributions has been removed.
Combine movements using example weights
After local work, each node has moved from the shared reference to a local vector. The aggregation procedure combines those movements:
w̃ ← w̃ + A ∑ₖ₌₁ᴷ (nₖ/n) (wₖ − w̃)
The difference wₖ − w̃ is the parameter change produced on node k relative to the common reference. The fraction nₖ/n gives that change a weight based on the node’s share of the training examples. The summation combines the weighted changes, and A applies a coordinate-specific adjustment before the shared reference is updated.
This equation makes the roles of the components visible. The local change describes what a node’s computation proposes. The example weight connects that proposal to the global objective. The matrix A then modifies the resulting movement according to how features are distributed across nodes.
The procedure aggregates changes from a common starting point. That common reference is what makes the local movements comparable within a communication round. The expression is more informative than an instruction simply to average final parameters, because it exposes both the sample weighting and the additional coordinate correction.
Avoid diluting narrowly supported features
The aggregation matrix A uses the number of nodes containing each feature:
Aᵢᵢ = K / ωᵢ
The entry Aᵢᵢ is the diagonal scaling factor for coordinate i. K denotes the total number of nodes, while ωᵢ counts the nodes where feature i appears. The subscript i here identifies a feature coordinate; its role differs from the example index used in the loss notation.
A feature present throughout the network does not need the same treatment as one concentrated on very few nodes. For a widely shared feature, many nodes can contribute relevant changes. For a narrowly distributed feature, a network-wide average can make the contribution from the relevant nodes too small.
The paper motivates the correction through a separable thought experiment. Imagine disjoint groups of coordinates, with each example depending only on coordinates in its own group, and data placement following those groups. For linear prediction under that arrangement, independent solutions could be combined by addition. Ordinary averaging would unnecessarily shrink independently useful contributions.
Real data need not have that clean separation. The matrix therefore interpolates between the intuition of averaging shared coordinates and taking larger steps on coordinates supported by fewer nodes. The authors explicitly describe this part of the procedure as heuristic.
Keep the two corrections conceptually separate
Sₖ and A both use sparsity, but they act at different stages and answer different questions. Sₖ concerns the relationship between local and global feature occurrence during stochastic optimization. A concerns the number of nodes that can contribute to a coordinate when local movements are aggregated.
Confusing them would hide why the algorithm contains both. A node can overemphasize a locally common feature during its own optimization, while the distributed average can later underemphasize that same feature because most nodes never observe it. These effects occur at different points in the computation and need not cancel.
For fully dense data, the authors state that both matrices become identities. Their role is therefore tied to sparse occurrence patterns instead of being an arbitrary replacement for the basic optimizer. This gives the method a useful structural interpretation: retain the distributed variance-reduced procedure, then modify the parts made unreliable by sparse, uneven data placement.
Experiments and results
A task organized around authors
The experiment begins with public posts from a large social network. The authors randomly select 10,000 people who each have at least 100 posts in English. The prediction target is whether an individual post receives a comment. This creates a binary classification task, with a positive outcome corresponding to a post that attracts at least one comment.
The important design choice is the computational partition. Each author is treated as a separate node. A node therefore holds examples generated by the same person, instead of an arbitrary slice of the full collection. This preserves the source of the heterogeneity that motivates the paper.
The records are divided chronologically within each author. The earlier 75% form the training portion, and the later 25% form the test portion. The training collection contains 2,166,693 examples. Because the split is performed separately for each author, evaluation concerns later posts from the participating authors instead of a test population consisting of entirely different people.
The text is represented using a bag of words built from the 20,000 most frequent words. Logistic regression then predicts the binary outcome from those features. The task is therefore a sparse word-feature experiment, which is particularly relevant to the proposed occurrence-based corrections.
The natural partition is substantially uneven
With 10,000 authors treated as nodes, the reported average local training collection is roughly 216 examples. The actual local counts extend from 75 to 9,000. The average alone would conceal much of the imbalance that the optimizer must accommodate.
The following chart compares the reported endpoints of local training-set size. It describes the experimental partition, rather than predictive quality or convergence. Higher means a larger local collection; it should not be read as a claim that a larger node is intrinsically preferable. The star identifies an observed setting within the paper’s own author-based experiment.
Public social-network posts: training examples per author-node
The author-based partition contains sharply different local dataset sizes.
The numbers
| System or setting | training examples per node |
|---|---|
| Smallest node in the author partition | 75 |
| Largest node in the author partition (this paper) | 9,000 |
The authors also report that users exhibit distinct data patterns. Thus the experiment combines unequal sizes with non-identically distributed content. It does not isolate heterogeneity by creating a synthetic distortion of an otherwise convenient partition. The author grouping supplies the challenging organization directly.
This matters for interpretation. An optimizer can struggle because local collections have different sizes, because their contents differ, or because sparse features are concentrated unevenly. The main experiment exposes the proposed method to these conditions together. It demonstrates behavior under their combination, while leaving their individual contributions less precisely measured.
What the comparison measures
The main figure plots progress against communication rounds. One panel tracks the optimization objective, and the other tracks prediction error on the test data. These measurements address related but distinct questions.
Objective value asks whether the algorithm is solving the specified training problem. Test error asks whether the resulting parameters predict held-out outcomes well. An algorithm could make progress on the training objective without a corresponding improvement in predictive performance, so presenting both is useful.
The figure also includes an offline reference called OPT. For the objective panel, this represents the best offline value used as the optimization target. For the test panel, it represents the test error associated with that offline solution. It is a reference point for solving the stated task, rather than a claim about the lowest error any conceivable predictor could attain.
Distributed gradient descent supplies a simple operational baseline. It is particularly informative because the paper argues for communication-aware optimization. A more elaborate method should be assessed against a straightforward procedure under the same communication-based measure, rather than only against other elaborate methods.
CoCoA supplies another distributed comparison. DANE and DiSCO are also tested, but the authors report divergence and omit their curves from the displayed figure. Their failure is part of the experimental result even though it is not shown as a plotted trajectory.
The reported optimization outcome
The paper’s proposed method is labeled SVRGfo in the figure description. A reshuffled-data version appears as SVRGfoR. The surrounding discussion also calls the proposed approach DSVRG. These labels refer to the algorithm under discussion and its randomized-partition comparison, instead of establishing separate independently evaluated contributions.
The authors report that the proposed method reaches the offline optimum after relatively few communication rounds. Distributed gradient descent makes progress, while CoCoA converges more slowly than that simple baseline. DANE and DiSCO do not converge in this experiment.
These findings support the paper’s central empirical point: communication-oriented methods developed under other data assumptions do not automatically remain effective in a federated partition. Even a method that converges can be unattractive if it requires more communication than a basic alternative.
The numerical size of the advantage cannot be stated precisely from the reported discussion. Exact round counts, objective values, and test-error values are not supplied as written results. Accordingly, the experiment supports a qualitative ordering and the authors’ description of rapid convergence, without supporting a newly calculated speedup or a precise reduction in error.
The reshuffled comparison
The randomized condition keeps the same local dataset sizes but reassigns examples between nodes. It therefore preserves imbalance while reducing the relationship between a node and a particular author’s content.
The authors report little performance loss for the natural author partition relative to this randomized version. This is useful evidence that the proposed method is not relying on random allocation to work well in the presented task.
The conclusion has a clear boundary. The comparison concerns the same global collection and the same pattern of local counts. It does not test every possible kind of distributional difference. Nevertheless, it directly addresses the motivating concern that source-based grouping could undermine a method that otherwise works when local data resemble random samples.
What the ablations show
The paper does not present a numerical component-by-component ablation study; its evidence consists mainly of optimizer comparisons, a controlled reshuffling comparison, and a qualitative statement about removing the aggregation correction.
Reshuffling examines sensitivity to the partition
The clearest controlled comparison changes the assignment of examples while preserving each node’s number of records. This holds the overall dataset and the size imbalance in place. The principal change is whether a node’s examples remain associated with a particular author.
Because the proposed algorithm performs similarly under the natural and randomized assignments, the experiment supports a specific robustness claim. The method appears able to handle the author-associated differences present in this dataset without suffering a large reported deterioration relative to the shuffled condition.
It does not establish that the original partition is equivalent to a random sample in every relevant respect. Nor does it measure how performance changes as heterogeneity becomes progressively more severe. There is no reported sequence of increasingly distorted partitions. The evidence is a comparison between the natural arrangement and a particular randomized alternative.
The design also cannot determine whether the proposed method’s behavior comes largely from variance reduction, the local scaling matrix, the aggregation matrix, or the step-size rule. All those components remain present in the natural-versus-shuffled comparison. The experiment evaluates the assembled method’s sensitivity to assignment, instead of isolating the contribution of each component.
The aggregation correction receives qualitative support
The authors state that leaving out A substantially harms performance. This is the most direct claim about removing an individual modification. It is consistent with their motivation: sparse coordinates supported by few nodes can be diluted when local changes are combined.
However, the paper does not provide a separate numerical comparison for that omission in its written results. It does not state the resulting objective values, prediction errors, or communication requirements. The observation therefore supports the relevance of the correction, but it cannot establish a precise benefit or show whether the benefit is uniform across features.
It also does not turn the motivating separability argument into a proof. The thought experiment explains why coordinate-dependent aggregation can make sense. The reported deterioration when A is omitted indicates practical usefulness in the authors’ experiment. These are complementary forms of support, but neither supplies a general convergence guarantee.
Baselines reveal assumption sensitivity
The optimizer comparisons are not ablations, because replacing the whole method changes more than an individual component. They nevertheless provide an important analysis of the problem setting.
The divergence of DANE and DiSCO shows that established communication-oriented procedures can fail under the tested partition. CoCoA’s slower progress than gradient descent shows that convergence alone is insufficient to establish practical communication efficiency. The relevant question is how much useful progress each exchange purchases.
The paper does not isolate the exact reason each baseline behaves as reported. Local dataset size, author-specific content, sparsity, and algorithm settings could all matter. Its result is that the full federated setup creates difficulty for these procedures, rather than a causal decomposition of their failures.
The dense-data observation is structural
The claim that the sparsity matrices become identities for dense data is an analysis of the algorithm’s form. It shows how the specialized method relates to its underlying distributed procedure when the targeted sparsity issue disappears.
That observation should not be treated as an experimental dense-data ablation. No separate dense benchmark is reported. Its value is explanatory: the proposed corrections have a stated reason to exist, and the algorithm’s equations expose the condition under which that reason no longer requires coordinate-specific scaling.
Limitations
The authors’ stated limit: no supporting convergence theory
The authors explicitly acknowledge that the method lacks an adequate theoretical justification. This is especially important for the heuristic aggregation correction. Its motivation is plausible, and the experiment suggests it matters, but the paper does not prove that the complete algorithm converges under a defined class of federated partitions.
A convergence result would need to connect assumptions about the losses, data placement, local work, and correction matrices to the behavior of the shared parameter sequence. The paper offers an algorithmic construction and empirical support without completing that connection.
Accordingly, successful optimization on the reported task should not be converted into a claim of guaranteed success on arbitrary sparse distributed data. The same equations can be implemented elsewhere, but the paper does not establish the conditions under which their behavior will remain favorable.
The authors’ stated limit: broader experiments are needed
The authors call for more rigorous evaluation on larger collections and more difficult problems. They specifically identify deep learning as an area requiring further investigation. The broad finite-sum formulation does not itself supply evidence that the proposed corrections work equally well for every predictor that can be expressed through that formulation.
The experiment is closely aligned with the algorithm’s motivating sparsity pattern. Word features in a logistic regression task give a direct meaning to feature occurrence and node coverage. Other parameterizations may make those quantities less straightforward or change their relationship to gradient behavior.
This does not diminish the relevance of the experiment to its stated question. It does limit the range of demonstrated applicability. The paper shows a promising result for a sparse classification problem under natural author grouping, rather than a general empirical survey of federated optimization.
The authors’ stated limit: accessible user-grouped data are missing
The paper identifies the lack of a readily available, naturally user-grouped benchmark as an obstacle to further research. Its concern is not simply the total amount of public training data. The grouping itself is essential: an ordinary dataset that has lost its user or source boundaries cannot necessarily reproduce the setting being studied.
A useful benchmark would preserve the organization that creates unequal sizes and distinct local distributions. Without that organization, researchers can evaluate distributed optimization while missing the particular challenge the paper names.
The experiment describes how its social-network collection was assembled, but it does not identify a released benchmark or an official implementation. The paper’s call for a public dataset should therefore be read as an unresolved research need, rather than as a release announcement.
The authors’ stated limit: local storage is insufficient privacy protection
Privacy helps motivate retaining examples on devices, but the authors state that differential privacy techniques still need to be incorporated. They also expect practical learning pipelines to require substantial redesign.
The distinction is fundamental to the paper’s scope. An architecture can avoid central collection of raw records while still exchanging information derived from those records. Describing where examples remain does not, by itself, establish a formal protection for everything the training process communicates.
The proposed optimizer is therefore part of a possible device-centered learning system. It is not a complete account of how such a system should meet privacy requirements. Any claim of stronger protection would require mechanisms and evidence beyond those established by the optimization experiment.
A setup limit: communication rounds are not total deployment cost
A careful reader should distinguish the paper’s chosen metric from a complete accounting of system cost. Communication rounds are central to the motivating scheduling constraint, but they do not describe every resource consumed by training.
The experiment does not report a complete device deployment with measured battery use, transferred bytes, network delays, or elapsed training time. It compares optimization progress against synchronization frequency. That is a relevant measure for the stated problem, but it leaves open how the algorithm behaves when additional implementation costs become important.
The sparsity corrections also rely on information about feature occurrence across local collections and across nodes. The paper explains what those statistics mean, but it does not provide a full operational account of obtaining and maintaining them in a changing device population. Their availability is part of making the proposed procedure concrete.
A setup limit: participation and scheduling remain abstract
The equations describe a partitioned collection and aggregation across its nodes. They do not establish behavior under missed participation, changing availability, or a continually changing training collection.
The mobile-device motivation makes such questions natural, but motivation should not be mistaken for experimental coverage. A procedure can be well suited to infrequent synchronization while still needing additional design for participants that cannot join a particular exchange.
The paper’s result therefore concerns optimization under its represented partition and communication process. It does not establish a complete protocol for managing the operational variability of a large device network.
A setup limit: the test split answers a particular question
The chronological split is performed within each author. This makes the test data later records from the participating authors. It is suitable for asking how the learned predictor behaves on subsequent examples from that collection of people.
It does not directly test prediction for an entirely unseen author population. Such a claim would require a different separation between training and evaluation. The distinction matters because learning across heterogeneous users can involve both adapting to future behavior from known sources and transferring to sources absent from training.
The paper reports the former type of temporal arrangement. A reader should not silently expand it into the latter.
A reporting limit: the effect size is not numerically specified
The experiment’s strongest statements concern convergence behavior and relative progress. Exact numerical performance values are not stated in the written account accompanying the figure.
This limits the precision of any secondary comparison. One can report that particular methods diverged, that CoCoA progressed more slowly than gradient descent, and that the proposed approach performed similarly under author grouping and reshuffling. One cannot responsibly assign an exact communication advantage or test-error improvement without additional reported values.
The paper’s broad language about the shortcomings of existing methods also deserves a bounded reading. The experiment evaluates particular procedures on a particular task. It provides evidence that familiar distributed methods can be unsuitable for this setting, rather than proof that every existing or conceivable alternative must be inefficient.
What came after
The later citation trail includes Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer, listed in 2019, and Sequence-level self-learning with multiple hypotheses, listed in 2021. Both cite the federated optimization paper. Their titles identify different research directions, but the citation information alone does not establish that either adopted its optimizer or its sparsity corrections.
Transfer learning as a later citation context
Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer concerns transfer learning in a unified text-to-text formulation, as its title states. Its inclusion in the citation trail shows that the federated optimization paper was referenced in later research beyond the immediate distributed logistic regression experiment.
The available description does not specify the role of that reference. It does not identify an implementation of Sₖ, an aggregation rule based on A, or a comparison against SVRGfo. Attributing any of those contributions would exceed what is established about the later work.
The useful historical distinction is between influence through problem framing and direct algorithmic inheritance. A paper can cite federated optimization because decentralized data or training arrangements matter to its discussion, without using the particular procedure proposed here. For this later work, the citation is established; the precise mechanism of influence is not.
Self-learning as another later citation context
Sequence-level self-learning with multiple hypotheses is likewise a later citing work. Its title identifies sequence-level self-learning and the use of multiple hypotheses as its subject. That is enough to locate its broad topic, but it does not describe how the federated optimization reference participates in its argument.
There is no basis in the citation information for claiming that it trains on personal devices, preserves author-level partitions, or applies feature-frequency corrections. Nor is there a stated result that would allow a comparison with the social-network classification experiment.
The connection should therefore remain explicit and modest: this is part of the paper’s later citation record, while direct reuse of the proposed optimization method is not established. That boundary preserves a more useful account of influence than treating every citation as evidence of an implemented extension.
The research agenda the paper leaves open
The clearest continuation described by the paper itself is its unfinished agenda. The authors call for publicly usable data with meaningful user boundaries, more demanding experiments, theoretical analysis, and privacy mechanisms suitable for device-centered learning.
Those needs follow directly from the argument. If the data partition is scientifically important, benchmarks must preserve it. If coordinate corrections are central to performance, their behavior needs analysis and controlled evaluation. If communication opportunities determine practical feasibility, deployment studies must examine the costs surrounding those opportunities.
The enduring idea is to make the organization of data an explicit part of optimization design. The paper demonstrates why a method that works with conveniently distributed records may behave differently when records remain with their sources. Its proposed algorithm is an encouraging response to that problem; its open questions define what further evidence is needed before the response can support broader claims.
Cite
Cite as Jakub Konečný, Brendan McMahan and Daniel Ramage. 2015. Federated Optimization:Distributed Optimization Beyond the Datacenter. arXiv (Cornell University).
@misc{konecny2015federated,
title = {{Federated Optimization:Distributed Optimization Beyond the Datacenter}},
author = {Jakub Konečný, Brendan McMahan and Daniel Ramage},
year = {2015},
doi = {10.48550/arxiv.1511.03575},
eprint = {1511.03575},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1511.03575}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/konecny-2015-federated-optimization-distributed-optimization-beyond/
References
- Yossi Arjevani and Ohad Shamir. Communication complexity of distributed convex learning and optimization. arXiv preprint arXiv:1506.01900, 2015. OpenAlex ↗ · Scholar ↗
- Maria-Florina Balcan, Avrim Blum, Shai Fine, and Yishay Mansour. Distributed learning, communication complexity and privacy. arXiv preprint arXiv:1204.3514, 2012. OpenAlex ↗ · Scholar ↗
- Olivier Fercoq, Zheng Qu, Peter Richtárik, and Martin Takác. Fast distributed coordinate descent for non-strongly convex losses. In Machine Learning for Signal Processing (MLSP), 2014 IEEE International Workshop on, pages 1–6. IEEE, 2014. OpenAlex ↗ · Scholar ↗
- Martin Jaggi, Virginia Smith, Martin Takác, Jonathan Terhorst, Sanjay Krishnan, Thomas Hofmann, and Michael I Jordan. Communication-efficient distributed dual coordinate ascent. In Advances in Neural Information Processing Systems, pages 3068–3076, 2014. OpenAlex ↗ · Scholar ↗
- Rie Johnson and Tong Zhang. Accelerating stochastic gradient descent using predictive variance reduction. In Advances in Neural Information Processing Systems, pages 315–323, 2013. OpenAlex ↗ · Scholar ↗
- Jakub Konečný and Peter Richtárik. Semi-stochastic gradient descent methods. arXiv preprint arXiv:1312.1666, 2013. OpenAlex ↗ · Scholar ↗
- Chenxin Ma, Virginia Smith, Martin Jaggi, Michael I Jordan, Peter Richtárik, and Martin Takáč. Adding vs. averaging in distributed primal-dual optimization. arXiv preprint arXiv:1502.03508, 2015. OpenAlex ↗ · Scholar ↗
- Peter Richtárik and Martin Takáč. Distributed coordinate descent method for learning with big data. arXiv preprint arXiv:1310.2059, 2013. OpenAlex ↗ · Scholar ↗
- Ohad Shamir and Nathan Srebro. Distributed stochastic optimization and learning. In Communication, Control, and Computing (Allerton), 2014 52nd Annual Allerton Conference on, pages 850–857. IEEE, 2014. OpenAlex ↗ · Scholar ↗
- Ohad Shamir, Nathan Srebro, and Tong Zhang. Communication efficient distributed optimization using an approximate newton-type method. arXiv preprint arXiv:1312.7853, 2013. OpenAlex ↗ · Scholar ↗
- Tianbao Yang. Trading computation for communication: Distributed stochastic dual coordinate ascent. In Advances in Neural Information Processing Systems, pages 629–637, 2013. OpenAlex ↗ · Scholar ↗
- Yuchen Zhang, John Duchi, Michael I Jordan, and Martin J Wainwright. Information-theoretic lower bounds for distributed statistical estimation with communication constraints. In Advances in Neural Information Processing Systems, pages 2328–2336, 2013. OpenAlex ↗ · Scholar ↗
- Yuchen Zhang, Martin J Wainwright, and John C Duchi. Communication-efficient algorithms for statistical optimization. In Advances in Neural Information Processing Systems, pages 1502–1510, 2012. OpenAlex ↗ · Scholar ↗
- Yuchen Zhang and Lin Xiao. Communication-efficient distributed optimization of self-concordant empirical loss. arXiv preprint arXiv:1501.00263, 2015. OpenAlex ↗ · Scholar ↗