acceptodds
Published as a conference paper at NeurIPS 2026

Focus on Where You Aggregate: Restricted SAM for Non-IID Federated Learning

Haotong Wen, Junkang Liu, Yi Xu, Xiao Liu, Longkun Guo, Kewen Liao

Abstract

Data heterogeneity and multiple local update steps in federated learning can increase client drift and make global parameter aggregation less stable. Existing Sharpness Aware Minimization (SAM) based federated learning methods usually try to ease this problem by flattening local neighborhoods around client models. However, they do not explicitly optimize on the geometry region where the global parameters are actually aggregated. As a result, the aggregated global model often cannot fully benefit from local flattening. To address this problem, we propose a federated restricted SAM method called FedRSAM, which improves the stability of federated optimization by flattening the parameter aggregation region. First, we build a cone-shaped geometry region using the global update direction from the previous round and the variance of client parameter aggregation, in order to predict where the aggregated parameters may fall in the next round. Then, we restrict the search of SAM perturbation directions to the cone-manifold and only flatten the loss surface inside this region. Extensive experiments on multiple benchmarks and on both vision and natural language backbones verify the superiority of our method in terms of convergence stability and performance under heterogeneous settings.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Top 27%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.50 over 4 reviews, above 73% of the others.
Reviewer_YwaqOpenReview ↗
Rating
5
Clarity
3
Confidence
5
Originality
1
Quality
3
Significance
3
Read review
Summary

This paper studies sharpness-aware optimization in federated learning under heterogeneous data distributions. The authors argue that existing SAM-based methods flatten local neighborhoods without explicitly considering the geometry of the server aggregation process. To address this limitation, they propose FedRSAM, which restricts SAM perturbations to an aggregation-relevant cone constructed from the previous global update direction and client update variance. The paper provides convergence analysis and extensive experiments on vision and language benchmarks. The outcome indicates improved performance and training stability compared to FedAvg, FedSAM, and several recent federated optimization methods.

Strengths and weaknesses

Strengths:

  1. The paper introduces an aggregation-aware perspective for SAM-based federated optimization by restricting perturbations to an aggregation-relevant cone. This provides a conceptually interesting alternative to existing local flattening and momentum-based approaches.

Weaknesses

  1. The proposed cone construction relies on the assumption that the previous global update direction accurately predicts future aggregation trajectories. However, the validity of this assumption is not thoroughly analyzed under highly heterogeneous or non-stationary settings.
  2. While convergence guarantees are provided, the theoretical analysis largely establishes the same-order convergence rate as existing methods and offers limited theoretical insight into the specific advantages of the restricted perturbation region.
Questions
  1. The proposed cone construction assumes that the previous global update direction is informative of future aggregation trajectories. Could the authors provide additional empirical evidence (e.g., cosine similarity between consecutive aggregation directions across rounds) to validate this assumption, particularly under severe heterogeneity settings? Strong evidence would strengthen the motivation for the method.
  2. How sensitive is FedRSAM to inaccuracies in the estimated aggregation direction and variance statistics? An ablation study that perturbs or replaces these quantities would help quantify the robustness of the proposed design and clarify whether the geometric restriction itself primarily drives performance gains.
  3. The convergence analysis establishes the same-order convergence guarantee as FedAvg and FedSAM. Can the authors provide additional theoretical insight or analysis to explain why restricting the perturbation region should improve optimization beyond what is captured by the standard convergence rate?
  4. What is the computational overhead of FedRSAM relative to FedSAM in terms of local computation, memory consumption, and communication? A concise complexity analysis or runtime comparison would help assess the practical trade-offs of the proposed method.
  5. The empirical results are generally strong. However, it would be helpful to include a comparison with a simpler directional restriction strategy (e.g., using only the previous global direction without variance-aware modeling) to isolate the contribution of the proposed cone construction and variance regularization.

My evaluation could increase if the authors provide empirical evidence validating the predictive value of the aggregation direction, demonstrate the robustness of FedRSAM to inaccurate aggregation statistics, and clarify the unique benefits of the proposed geometric restriction through additional theoretical or ablation analysis. A clear runtime and complexity comparison with FedSAM would further strengthen the practical significance of the work. Conversely, if the proposed aggregation-aware cone is shown to be highly sensitive to estimation errors or if the performance gains cannot be attributed to the proposed cone construction and variance-aware design, my assessment would decrease.

Limitations

yes

Paper formatting concerns

No issue

Final justification

The rebuttal addressed my main concerns, and the remaining limitations can be clarified in the revision; therefore, I have raised my score.

Reviewer_M2mqOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes FedRSAM, a restricted sharpness-aware minimization method for federated learning under non-IID data. Specifically, FedRSAM constructs an aggregation-relevant cone-like perturbation region using the previous global update direction as the principal axis and the coordinate-wise variance of client updates as a residual uncertainty constraint. During local training, the SAM perturbation is restricted to this region, so the local sharpness-aware update focuses on directions that are more relevant to server-side aggregation. The paper provides a nonconvex convergence analysis showing that FedRSAM preserves the same-order convergence rate as FedAvg/FedSAM under standard assumptions. Empirically, the method is evaluated on various datasets and models. The reported results show consistent improvements over the baseline algorithms in many settings.

Strengths and weaknesses

Strengths

  1. The main conceptual contribution is appealing: instead of flattening the entire local neighborhood, the method focuses sharpness-aware optimization on the region where aggregation is likely to move the global model. This is a natural and potentially important perspective for non-IID federated learning, where local flatness does not necessarily imply global or aggregation-relevant flatness.
  2. FedRSAM is conceptually simple: use the previous global update direction as a main aggregation direction, estimate coordinate-wise client-update variance, and restrict the SAM perturbation accordingly. The method does not require full covariance estimation or transmitting a full basis, which makes the design more practical than a full geometric-region construction.
  3. The component ablation shows that the learnable principal-direction coefficient, residual component, and variance-aware suppression all matter. This supports the claim that the full restricted perturbation design is better than using only a fixed direction or an unconstrained residual component.

Weaknesses

  1. The convergence proof mainly uses the fact that the perturbation norm is bounded by ρ\rho. It does not exploit the cone structure, the previous aggregation direction, or the variance-based residual constraint in an essential way. Therefore, the theorem would appear to apply to many arbitrary SAM-like perturbation rules with bounded radius. This limits the theoretical support for the main design choice.
  2. The paper defines a restricted inner maximization problem, but the implementation performs only one projected ascent step on α\alpha and zz. It is unclear how close this step is to the true restricted maximizer, and there is no comparison against alternative restricted perturbation constructions, such as directly projecting the SAM direction onto the proposed cone or solving the inner problem more accurately.
  3. FedRSAM uses the previous global update direction as the principal direction for the next round. However, under strong client heterogeneity and partial participation, the next aggregation direction can change substantially from round to round. The paper would be stronger if it directly measured the alignment between the previous global update direction and the actual next aggregation direction, or the fraction of the next aggregated update captured by the proposed cone. Without such evidence, the central assumption that the previous direction plus coordinate-wise variance defines the “aggregation-relevant” region remains plausible but not fully substantiated.
Questions
  1. How accurate is the previous-round direction as a predictor (e.g., cosine similarity between $ d_t=\theta^t-\theta^{t-1}$ and the actual next update θt+1−θt\theta^{t+1}-\theta^{t})?
  2. Can you compare the one-step inner ascent with a more exact restricted inner maximization or with a simpler projection of the SAM perturbation onto the aggregation direction?
Limitations

Yes

Paper formatting concerns

N/A

Final justification

Most of my concerns have been addressed.

Reviewer_sTAJOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
3
Quality
4
Significance
2
Read review
Summary

This paper addresses the persistent challenge of client drift in Federated Learning (FL) under highly heterogeneous (non-IID) data distributions. While existing methods based on Sharpness-Aware Minimization (SAM), such as FedSAM, attempt to improve model generalization by finding locally flat minima, the authors identify a critical "geometric mismatch": uniformly flattening a client's local neighborhood does not guarantee that the server-aggregated global model will ultimately land in a flat, low-loss area. Furthermore, the paper observes that recent momentum-based SAM variants (e.g., FedNSAM), which use historical global trends to align local updates, are prone to accumulating biased directions and collapsing under extreme data heterogeneity.

To overcome these limitations, the authors propose Federated Restricted SAM (FedRSAM). Instead of searching for the worst-case perturbation uniformly across a spherical local boundary, FedRSAM restricts the SAM perturbation search specifically to an "aggregation-relevant region." Geometrically, this region is parameterized as a cone: its central principal axis is defined by the global update direction from the previous communication round, and the boundary of its orthogonal subspace (the width of the cone) is dynamically constrained by the coordinate-wise variance of client updates. By doing so, FedRSAM explicitly forces client-side optimization to flatten the loss landscape along the anticipated trajectory of the server aggregation, rather than in arbitrary local directions.

Strengths and weaknesses

Strengths

The central idea is interesting and reasonably well motivated. Replacing an unconstrained SAM perturbation ball with an aggregation-aware cone gives the method a clear geometric interpretation, and the connection between local perturbation geometry and global aggregation is a useful perspective for federated optimization.

The theoretical presentation is also relatively clean. The use of orthogonal projection and the parameterization of the cone constraint translate the intuition into a concrete optimization procedure. The convergence result suggests that the restriction does not sacrifice the standard convergence rate, and the ablations provide some evidence that the main design components are contributing to performance.

The paper is generally easy to follow. Figure 1 helps clarify the mismatch between local flatness and aggregation-relevant flatness, and the transition from the formulation to the algorithm is mostly smooth.

Weaknesses

My main concern is the reliance on cross-round guidance under partial participation. FedRSAM uses the previous round’s global direction and client-update variance to constrain the current round’s perturbation. In realistic cross-device FL, however, the participating clients may change substantially from one round to the next. Under strong non-IID sampling, the previous round’s variance estimate may be stale or biased for the current set of clients. The paper should therefore report sensitivity to the client sampling rate. It is unclear whether the method remains stable when participation drops from, for example, 10% to 1% or lower.

The empirical comparison within the SAM-for-FL family is not fully convincing. The paper compares against FedSAM and FedNSAM, but newer or more closely related methods such as FedSMOO and FedGloSS are discussed but not included in the main experimental tables. Without direct comparisons to these stronger baselines, it is hard to assess whether FedRSAM represents a genuine state-of-the-art improvement rather than an improvement over a limited baseline set.

The architecture choices also weaken the practical claims. LeNet5 is not a very informative benchmark for modern federated learning, especially if the motivation includes deployment on edge devices. Since SAM-style behavior can depend on parameter geometry, it would be useful to test whether the cone restriction still helps on lightweight architectures such as MobileNet or ShuffleNet, where depth-wise separable convolutions and compact parameter spaces may change the optimization behavior.

Finally, the method appears sensitive to several additional hyperparameters, especially the cone-width-related parameter. The paper notes that this parameter should vary with the degree of heterogeneity, but in real FL deployments the server often has limited knowledge of the client data distribution. This raises a practical concern: if the method requires careful tuning based on an unknown heterogeneity level, its deployability is less clear. An adaptive rule or a stronger robustness study would substantially improve the paper.

Questions

I have several questions that would help clarify the robustness and practical value of FedRSAM.

  1. How robust is FedRSAM under low client participation? Since the cone is built from the previous round’s direction d^t−1\hat{d}_{t-1} and variance Vt−1V_{t-1}, the guidance may become stale when the sampled clients change substantially across rounds. Could the authors report results under different participation rates, on one representative vision or NLP benchmark?

  2. How does FedRSAM compare with recent SAM-based FL methods beyond FedSAM and FedNSAM? The paper mentions FedSMOO and FedGloSS, but they are not included in the main comparisons. Adding at least one direct comparison, for example on CIFAR-100/ResNet18 or a GLUE task, would make the empirical claim stronger.

  3. Does the method remain effective on edge-oriented architectures? LeNet5 is too simple to support strong practical claims for cross-device FL. An additional experiment with MobileNetV2/V3 or ShuffleNet would help test whether the restricted perturbation remains useful in compact models with different parameter geometry.

  4. How should practitioners tune zlrz_{lr} in realistic FL settings? Section 5.2 suggests that this parameter is sensitive to data heterogeneity, but the server often cannot estimate heterogeneity reliably or run large grid searches. Could the authors provide a heuristic or adaptive rule, possibly based on early-round estimates of VtV_t, to reduce this tuning burden?

Limitations

First, the additional downlink communication required to transmit variance information (1×d1 \times d, Table 8) may be non-negligible in cross-device FL, especially under asymmetric or bandwidth-limited edge networks. This should be discussed as a deployment cost, not only as a complexity term.

Second, the reliance on historical variance statistics raises a cold-start and partial-participation concern. In early training rounds, or when the client sampling rate is extremely low, VtV_t may be noisy and poorly representative of the global objective landscape.

Third, FedRSAM introduces several additional hyperparameters, including λz,αlr,zlr,ηα\lambda_z, \alpha_{lr}, z_{lr}, \eta_\alpha. This increases the tuning burden in FL settings, where centralized validation and exhaustive grid search are often infeasible.

Paper formatting concerns

None.

Final justification

Thank you for the detailed response and additional experiments.

The direct comparisons with FedSMOO and FedGloSS, together with the MobileNetV2 experiment, substantially address my concerns regarding baseline coverage and edge-oriented architectures. These results materially strengthen the empirical evaluation of FedRSAM.

The participation diagnostics and the extreme 1% participation experiment also provide useful evidence that the historical direction and coordinate-wise variance remain informative under sparse participation. Although the 1% setting changes the total number of clients and is therefore not a strict single-factor ablation, the comparison with FedSAM still shows that FedRSAM retains a clear relative advantage in this difficult regime.

The proposed adaptive rule for zlrz_{\mathrm{lr}} is a reasonable practical direction, although its effectiveness has not yet been demonstrated experimentally. I therefore view hyperparameter adaptation as a remaining limitation rather than an acceptance-blocking concern. The measured communication and runtime results also provide a much clearer account of the practical cost.

Overall, the rebuttal has addressed my main empirical concerns and materially strengthened the paper. I therefore update my overall rating from 4 to 5.

Reviewer_pojROpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This work addresses the central challenge of client drift in non-IID federated learning. The authors argue that, after multiple local update steps, each client model may deviate from the true global descent direction. As a result, the server-aggregated model may fall into a sharp or high-loss region, leading to unstable training. Based on this observation, the authors propose FedRSAM. The method decomposes the perturbation into a principal-direction component and an orthogonal residual component. The principal direction is derived from the previous global update direction, while the residual part is controlled by the variance of client updates. The authors conduct experiments on multiple datasets, and the results show clear performance improvements.

Strengths and weaknesses

Pros:

  1. The paper provides a meaningful perspective from aggregation geometry. It points out that local flatness is not necessarily equivalent to global flatness. This is an important observation, since server aggregation does not happen in the local neighborhood of a single client, but rather in a mixed region determined by multiple client updates.

  2. The proposed method is well motivated by the identified problem. If the aggregation-relevant region is not properly flattened, then restricting the SAM perturbation to this region is a reasonable design choice.

  3. The experimental evaluation is relatively comprehensive, and the reported results show consistent improvements over several baselines.

Cons:

  1. The core assumption of the paper is not directly validated. The paper assumes that the previous global update direction, together with the variance of client updates, can approximate the aggregation-relevant region in the next round. However, the paper does not directly measure how accurate this cone approximation is. The current Fig. 3c only provides indirect evidence and does not fully support the geometric claim in a direct way.

  2. Theorem 1 mainly proves that FedRSAM preserves the same-order convergence guarantee as existing methods. However, it does not prove that restricted aggregation-aware flatness leads to smaller client drift or a smaller aggregation loss gap.

  3. Some baselines show large performance fluctuations, but the paper does not provide enough analysis on whether these fluctuations are caused by the methods themselves, insufficient hyperparameter tuning, or other experimental factors.

Questions
  1. Why is the principal direction restricted to the forward direction only? If the previous-round direction is noisy, or if the true aggregation direction in the current round changes significantly or even reverses, forcing the perturbation to move only forward may overly restrict the search space. The authors should better justify why they use a non-negative parameterization such as α2α^2, instead of allowing αα to be either positive or negative.

  2. The method still relies on the previous global update direction. However, under partial participation and strong non-IID settings, this direction can be very noisy. What happens if this direction becomes unreliable? How would this affect the performance of FedRSAM?

Limitations

The authors have listed their limitations.

Paper formatting concerns

None

Final justification

The rebuttal and additional results have fully addressed my concerns. I now believe the paper is ready for acceptance.

Comments on the paper

1 comment
Meta-review

Summary of the Scientific Claims and Findings The paper proposes FedRSAM, a federated learning algorithm that modifies Sharpness-Aware Minimization (SAM) by restricting local perturbations to an "aggregation-relevant" cone. Instead of flattening the entire local neighborhood, FedRSAM constructs a search region based on the previous round's global update direction and the coordinate-wise variance of client updates. The goal is to optimize flatness specifically along the trajectory where the server-aggregated model is expected to land, thereby mitigating client drift in non-IID settings.

Main Strengths of the Paper The conceptual motivation is noted by the all reviewers. The empirical results show consistent improvements over basic baselines like FedAvg and standard FedSAM.

Main Weaknesses of the Paper Reviewers pojR, sTAJ, M2mq, and Ywaq all emphasize that using the previous round's direction and variance to predict the current aggregation geometry is fragile, especially under low partial participation and high data heterogeneity. The paper lacks direct empirical measurement (e.g., cosine similarity) to prove this historical cone actually aligns with the true subsequent update.

As noted by Reviewer M2mq and verified by myself, the convergence analysis completely ignores the geometric properties of the restricted cone. The proofs (e.g., Lemma 1, Lemma 3) simply apply a generic bound.Thus, the established rate applies to any bounded perturbation scheme. The theory fails to prove why FedRSAM's specific restriction is mathematically advantageous.

The inner maximization formulation seems redundant. It applies a soft Tikhonov-style penalty to the residual in the objective (Eq. 12), and immediately follows it with a hard box projection on the same variable (Eq. 13), without any justification. Furthermore, defining the principal direction as lacks a safeguard for when the model stagnates (dt=0d_t = 0), which will trigger a division-by-zero error.

Reviewer sTAJ points out the absence of comparisons against more relevant/recent baselines (FedSMOO, FedGloSS) and questions the reliance on overly simple architectures like LeNet5, which do not reflect modern cross-device FL realities.

Required Author Response The current support for acceptance is weak, and a solid rebuttal is required to address the points raised by the reviewers and stated above. In particular, authors should provide direct empirical evidence (e.g., cosine similarity metrics) validating that the historical cone accurately captures the next aggregation direction under low client participation rates. They should try to address the theoretical critique by either demonstrating how the cone geometry can mathematically tighten the bounds, or explicitly clarifying the limitations of the current generic proof. Authors should also justify or correct the redundancy between the soft penalty and hard projection on zz, and address the division-by-zero edge case. Finally, they should try to include comparisons against stronger baselines (FedSMOO, FedGloSS) and report results on more representative architectures (e.g., MobileNet/ResNet).

(e) How well did the authors respond to the weaknesses that you flagged? Summarize your discussion with the reviewers. reviewer sTAJ raised their score to a 5 (Accept). Reviewers pojR and M2mq maintained scores of 4 but explicitly stated that their concerns were resolved and indicated support for acceptance. However, Reviewer Ywaq (also maintaining a 4) correctly noted that despite the improvements, the theoretical analysis remains tied to restrictive assumptions, and the method introduces considerable overhead (approximately 52% higher runtime and nearly twice the communication cost relative to FedSAM).

Provide the most important reasons for your decision to accept/reject. The conceptual idea of moving away from uniform local flattening toward an aggregation-relevant cone is interesting. The authors' rebuttal was somewhat adequate. Due to the several key concerns identified by he reviewers and the AC, it is imperative that the authors revise the manuscript thoroughly according to the reviews and the rebuttal discussions for the camera-ready or any future version. Specifically, the newly introduced theoretical bounds, the participation stress tests, and a transparent discussion of the performance-efficiency trade-offs must be fully integrated into the main text.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.