arXiv:2512.08314cs.LG2025-12中稿 · WACV 2024被引 6

通过约束每层激活值范数提升联邦学习模型泛化能力

Minimizing Layerwise Activation Norm Improves Generalization in Federated Learning

  • 在客户端引入激活范数最小化正则项,间接降低损失函数的海森矩阵最大特征值
  • 实验表明该方法在多个数据集上显著提升联邦学习模型的测试准确率
  • 适用于注重模型泛化性能的联邦学习场景,尤其适合数据分布不均的场景

联邦学习(FL)是一种新兴的机器学习框架,允许多个客户端在服务器协调下协同训练全局模型,而无需共享任何客户端的原始数据。近期研究发现,联邦学习可能导致聚合后的全局模型收敛到‘尖锐极小值’,从而影响模型泛化性能。为此,本文提出一种基于‘平坦性’约束的联邦优化方法,通过限制训练损失的海森矩阵最大特征值来改善泛化能力。针对客户端本地训练过程,我们进一步将该复杂问题重新表述为基于客户端损失函数的形式,并提出一种计算高效的正则化技术——MAN(Minimizing Activation's Norm),即最小化各层激活值的范数。理论上证明,最小化激活范数可降低层间损失函数的海森矩阵最大特征值,从而减小整体海森矩阵的最大特征值,确保收敛至平坦极小值。将该方法应用于现有联邦学习算法,在多个基准数据集上获得显著性能提升,达到新的最先进水平。

原文摘要 · Abstract (English)

Federated Learning (FL) is an emerging machine learning framework that enables multiple clients (coordinated by a server) to collaboratively train a global model by aggregating the locally trained models without sharing any client's training data. It has been observed in recent works that learning in a federated manner may lead the aggregated global model to converge to a 'sharp minimum' thereby adversely affecting the generalizability of this FL-trained model. Therefore, in this work, we aim to improve the generalization performance of models trained in a federated setup by introducing a 'flatness' constrained FL optimization problem. This flatness constraint is imposed on the top eigenvalue of the Hessian computed from the training loss. As each client trains a model on its local data, we further re-formulate this complex problem utilizing the client loss functions and propose a new computationally efficient regularization technique, dubbed 'MAN,' which Minimizes Activation's Norm of each layer on client-side models. We also theoretically show that minimizing the activation norm reduces the top eigenvalue of the layer-wise Hessian of the client's loss, which in turn decreases the overall Hessian's top eigenvalue, ensuring convergence to a flat minimum. We apply our proposed flatness-constrained optimization to the existing FL techniques and obtain significant improvements, thereby establishing new state-of-the-art.

联邦学习泛化性能平坦极小值正则化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。