FedAdam is a server-side optimizer within the FedOpt framework, an alternative to simple weighted averaging in Federated Averaging (FedAvg). Instead of directly averaging client-submitted model updates (deltas), the server treats the aggregated update as a pseudo-gradient and applies the Adam adaptive optimization algorithm. This incorporates momentum and per-parameter adaptive learning rates, which can accelerate convergence and improve stability, particularly in scenarios with heterogeneous client data or partial participation.
Glossary
FedAdam

What is FedAdam?
FedAdam is a federated optimization algorithm where the central server uses the Adam optimizer to adaptively update the global model based on aggregated client gradients.
The algorithm operates by having the server maintain its own first and second moment estimates (like standard Adam) for the global model parameters. Each round, the server computes a weighted average of client updates, then uses this vector to update its moments and apply the Adam update rule. This makes FedAdam part of a family of adaptive federated optimizers, alongside FedYogi and FedAdagrad, designed to handle the complex optimization landscape of decentralized training more effectively than vanilla averaging.
Key Features of FedAdam
FedAdam is a federated optimization algorithm within the FedOpt framework where the server uses the Adam optimizer to adaptively update the global model based on aggregated client gradients.
Server-Side Adaptive Optimization
Unlike standard Federated Averaging (FedAvg) which performs a simple weighted average of client updates, FedAdam applies the Adam optimizer on the server. The server treats the aggregated client update as a pseudo-gradient and uses Adam's adaptive learning rates (maintaining first-moment and second-moment estimates) to update the global model. This provides per-parameter learning rate adjustments based on past update history.
Mitigation of Client Drift
A primary benefit of FedAdam is its robustness to statistical heterogeneity (non-IID data). The adaptive moment estimation helps correct for client drift, where local models diverge due to optimizing on different data distributions. By adjusting update magnitudes parameter-by-parameter, FedAdam can stabilize convergence paths that would oscillate or diverge under simple averaging.
FedOpt Framework Implementation
FedAdam is a canonical example within the generalized FedOpt framework. This framework abstracts the server update step as: server_optimizer.apply_gradients(aggregated_client_deltas). FedAdam instantiates this with an Adam optimizer. Other variants in the same family include FedYogi and FedAdagrad, which use different adaptive optimizers on the server.
Hyperparameter Tuning & Server Learning Rate
Introduces key server-side hyperparameters beyond the client learning rate:
- Server learning rate (η): The global step size for the Adam update.
- Adam β₁, β₂: Exponential decay rates for the moment estimates (typically 0.9 and 0.999).
- ε: A small constant for numerical stability. Tuning these is critical for performance, as the server learning rate often needs to be larger than the client learning rate used in FedAvg.
Convergence Acceleration on Heterogeneous Data
Empirical and theoretical analyses show FedAdam can achieve faster convergence than FedAvg, particularly under high data heterogeneity. The adaptive updates can navigate complex loss landscapes more efficiently. The convergence guarantee typically requires assumptions like bounded client gradients and convexity, but demonstrates improved dependency on data variance terms compared to FedAvg.
Communication & Computation Overhead
FedAdam maintains the same communication pattern as FedAvg—clients send model deltas, server broadcasts the new global model. The added computational cost is minimal and confined to the server, which must maintain and update the moment vectors for all model parameters. This makes it a practical upgrade from FedAvg without increasing client-side burden or communication frequency.
FedAdam vs. Other Federated Averaging Algorithms
A comparison of core federated optimization algorithms, focusing on the server's aggregation and update mechanism.
| Algorithm / Feature | FedAdam | FedAvg (Baseline) | FedAvgM | FedProx |
|---|---|---|---|---|
Core Server Update Rule | Applies Adam optimizer (adaptive moments) to aggregated pseudo-gradients | Simple weighted average of client model deltas | Weighted average with a momentum buffer | Weighted average of client updates computed with a proximal term |
Primary Optimization Goal | Fast convergence; handles client update variance | Foundation for collaborative training | Stabilized convergence; reduces oscillation | Mitigates client drift from data heterogeneity |
Adaptive Learning Rates | ||||
Server-Side Momentum | Via Adam's first moment (m) | |||
Explicit Client Drift Mitigation | ||||
Handles Non-IID Data | Moderate (via adaptation) | Poor | Improved over FedAvg | Good (explicit constraint) |
Communication Efficiency | Standard (one update per round) | Standard (one update per round) | Standard (one update per round) | Standard (one update per round) |
Key Hyperparameters | Server learning rate (η), β₁, β₂, ε | Server learning rate (η) | Server learning rate (η), momentum (ρ) | Server learning rate (η), proximal term (μ) |
Part of FedOpt Framework |
Implementations and Frameworks
FedAdam is a federated optimization algorithm within the FedOpt framework where the server uses the Adam optimizer to adaptively update the global model based on aggregated client gradients.
Core Algorithm Mechanics
FedAdam replaces the simple weighted averaging step in Federated Averaging (FedAvg) with an adaptive optimizer on the server. The server maintains first-moment (m) and second-moment (v) estimates of the aggregated client gradients. It then applies the Adam update rule:
- Server computes pseudo-gradient: Δ = Σ (weightᵢ * client_deltaᵢ)
- Updates moments: m = β₁*m + (1-β₁)Δ, v = β₂v + (1-β₂)*Δ²
- Applies correction and update: θ = θ - η * (m̂ / (√v̂ + ε)) This adapts the global learning rate per parameter, often leading to faster and more stable convergence than FedAvg, especially with heterogeneous client data.
Within the FedOpt Framework
FedAdam is a specific instantiation of the generalized FedOpt framework. FedOpt abstracts the server aggregation step as an optimization problem, allowing the use of any gradient-based optimizer:
- FedAvg: Server optimizer = SGD
- FedAdam: Server optimizer = Adam
- FedYogi: Server optimizer = Yogi
- FedAdagrad: Server optimizer = Adagrad This framework provides a unified view for analyzing and developing new federated optimization algorithms by decoupling client-side local SGD from the server's update rule.
Key Hyperparameters
Tuning FedAdam requires setting server-specific hyperparameters in addition to standard federated learning ones:
- Server Learning Rate (η): The global step size. Often set lower than client LR.
- β₁, β₂: Exponential decay rates for the moment estimates (e.g., 0.9, 0.999).
- ε: A small constant for numerical stability (e.g., 1e-8).
- Client Learning Rate & Local Epochs: Control local optimization depth.
- Momentum vs. Adaptive Methods: FedAdam's β₁ provides momentum-like acceleration, while β₂ provides per-parameter adaptive scaling, distinguishing it from FedAvgM which uses a single momentum scalar.
Advantages Over FedAvg
FedAdam addresses several limitations of vanilla FedAvg:
- Faster Convergence: Adaptive per-parameter learning rates can accelerate progress, especially in early training or with sparse gradients.
- Improved Stability: Automatic scaling of updates can be more robust to varying gradient magnitudes across clients.
- Handling Heterogeneity: Can better navigate the complex loss landscapes arising from non-IID data by adapting the server update direction.
- Reduced Hyperparameter Sensitivity: Less sensitive to the exact choice of server learning rate compared to FedAvg's SGD step.
Implementation Considerations & Trade-offs
Deploying FedAdam introduces specific system and algorithmic considerations:
- Increased Server Memory: The server must store two additional moment tensors (m, v) equal in size to the model, doubling server-state memory overhead.
- Communication Cost Unchanged: Client-server communication costs are identical to FedAvg; only the server's aggregation logic changes.
- Client-Server Mismatch: The adaptive update is computed from aggregated gradients, not true gradients, which can bias moment estimates. Techniques like FedAdam with correction adjust for this.
- Convergence Guarantees: Theoretical analysis is more complex than for FedAvg but proofs exist under similar assumptions of bounded gradients and convexity.
Related Algorithms & Variants
FedAdam is part of a family of adaptive federated optimizers:
- FedYogi: Uses a more conservative update for the second moment (v), which can be more stable in non-stationary federated settings.
- FedAdagrad: Adapts learning rates based on the sum of historical squared gradients, often too aggressive decay in deep learning.
- FedAvgM (Momentum): Incorporates a simpler momentum term without per-parameter adaptation.
- Adaptive Federated Optimization (AFO): A broader class exploring how to best leverage adaptive methods on the server while accounting for client sampling and data heterogeneity.
Frequently Asked Questions
FedAdam is a federated optimization algorithm within the FedOpt framework where the server uses the Adam optimizer to adaptively update the global model based on aggregated client gradients.
FedAdam is a federated optimization algorithm where the server applies the Adam optimizer to the aggregated client updates instead of performing a simple weighted average. It works by having clients compute gradients or model deltas locally and send them to the server. The server then treats the aggregated update as a pseudo-gradient and applies Adam's adaptive moment estimation—maintaining and updating first-moment (m) and second-moment (v) estimates—to compute the new global model parameters. This adapts the server's update direction and step size based on the history of aggregated updates, often leading to faster and more stable convergence, especially under heterogeneous client data.
Key Mechanism:
- Server broadcasts global model
w_tto selected clients. - Clients perform local SGD for
Eepochs, producing a model deltaΔ_i. - Server aggregates deltas:
Δ = Σ (n_i / n) * Δ_i. - Server updates its Adam moments:
m = β1*m + (1-β1)*Δ,v = β2*v + (1-β2)*Δ². - Server computes bias-corrected moments and updates global model:
w_{t+1} = w_t - η * (m_hat / (√v_hat + ε)).
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
FedAdam is part of a broader family of federated optimization algorithms designed to address the unique challenges of decentralized training. These related techniques focus on improving convergence, stability, and performance under statistical heterogeneity.
FedOpt Framework
The FedOpt framework is a generalized server-side optimization paradigm for federated learning. Instead of using simple averaging (like FedAvg), it allows the central server to apply adaptive optimization algorithms—such as Adam, Yogi, or Adagrad—to the aggregated client updates. This framework provides a flexible template for designing algorithms that can better handle non-IID data and varying client participation.
- Core Idea: Treat the aggregated client update as a pseudo-gradient and apply an adaptive optimizer on the server.
- Key Benefit: Enables the use of momentum and per-parameter learning rate adjustments at the server level, which can stabilize and accelerate convergence.
- Example: FedAdam and FedYogi are specific instantiations of the FedOpt framework.
FedAvgM (Server Momentum)
FedAvgM (Federated Averaging with Server Momentum) incorporates a momentum term into the server's aggregation step. After computing the weighted average of client updates, the server applies a momentum buffer, similar to traditional SGD with momentum, to update the global model.
- Mechanism:
server_state = momentum * server_state + aggregated_update;global_model = global_model - server_learning_rate * server_state. - Purpose: Momentum helps smooth out the update trajectory, dampening oscillations caused by client heterogeneity and improving convergence speed, especially in settings with partial client participation.
- Relation to FedAdam: FedAvgM can be seen as a precursor or a specific case within the adaptive optimizer family, where the update is adapted using a single, global momentum buffer rather than per-parameter adaptive learning rates.
SCAFFOLD
SCAFFOLD (Stochastic Controlled Averaging for Federated Learning) is an algorithm designed to correct for client drift—the divergence of local client models due to non-IID data. It introduces control variates (correction terms) for both the server and each client to reduce the variance between local and global update directions.
- Key Innovation: Clients compute a difference between their local and global control variates to correct their update before sending it to the server.
- Contrast with FedAdam: While FedAdam adapts the server's update rule, SCAFFOLD modifies the client's local objective and update computation. SCAFFOLD provides stronger theoretical convergence guarantees under heterogeneity but requires storing and communicating additional state (the control variates).
FedProx
FedProx is a federated optimization algorithm that addresses statistical heterogeneity by adding a proximal term to the local loss function on each client. This term penalizes the local model for deviating too far from the global model received at the start of the round.
- Local Objective:
Local Loss + (mu/2) * ||local_model - global_model||^2wheremuis a hyperparameter. - Effect: The proximal term acts as a regularizer, explicitly limiting client drift and making local updates more consistent. It also allows for variable amounts of local work (e.g., different numbers of local steps) across clients.
- Comparison: FedProx operates by modifying the client-side optimization, whereas FedAdam modifies the server-side optimization. They address similar challenges (non-IID data) from different angles and can be conceptually complementary.
Adaptive Optimizers (Adam/Yogi)
Adaptive optimization algorithms like Adam and Yogi are the foundation upon which FedAdam is built. These optimizers compute individual adaptive learning rates for each model parameter based on estimates of the first moment (the mean of gradients) and the second moment (the uncentered variance of gradients).
- Adam (Adaptive Moment Estimation): Combines momentum (first moment) and RMSProp (second moment) with bias correction. It is known for robust performance in centralized deep learning.
- Yogi: A modification of Adam that provides more robust second-moment estimation, which can be beneficial in the noisy, decentralized setting of federated learning.
- Federated Adaptation: In FedAdam, the server uses these optimizers' update rules, treating the aggregated client update as a pseudo-gradient to compute the moments and adapt the global model's learning rates per parameter.
FedNova
FedNova (Federated Normalized Averaging) is an aggregation scheme designed to account for heterogeneity in local client workloads. When clients perform different numbers of local epochs or steps, their update magnitudes vary, which can bias the simple weighted average.
- Core Method: FedNova normalizes each client's update by the number of local steps taken before averaging them on the server. This ensures updates are combined fairly, irrespective of local computation effort.
- Problem it Solves: Prevents clients that perform more work from disproportionately dominating the global update direction, leading to more stable convergence.
- Synergy with FedOpt: Normalization in FedNova addresses one source of variance, while adaptive optimization in FedAdam addresses another. They can be combined; for example, the normalized updates from FedNova can serve as the input to the FedAdam optimizer on the server.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us