Paper: 2605.30336 Authors: Daniel Kuznetsov, Ziqi Wang Categories: cs.LG
The Gap
Federated learning lets multiple clients train a shared model without exposing their private data. The server aggregates local updates—typically using FedAvg, which averages client gradients with fixed weights (often proportional to dataset size). This works when clients are homogeneous and honest. But real deployments face heterogeneous data distributions, varying compute resources, and potentially adversarial clients sending poisoned updates. Fixed weights can’t distinguish a helpful client from a harmful one, leading to biased models and slow convergence.
Prior work tried contribution-based weighting (e.g., Shapley values computed per round), but these methods treat each round in isolation, ignoring how a client’s contribution evolves over the training trajectory. They also lack temporal consistency—a client’s value can swing wildly between rounds due to noise, making aggregation unstable.
This paper asks: Can we measure client contributions across the entire optimization trajectory, not just per-round snapshots, and use that to adaptively weight aggregation in a temporally stable way?
Problem: Fixed weights ignore heterogeneity & adversaries
|
v
Assumption: Client value = influence on global model trajectory
|
v
Method: Trajectory Shapley Value (TSV) + adaptive weighting
|
v
Evidence: Faster convergence, robust to poisoning, fairer rewards
|
v
Conclusion: Trajectory-aware contribution metrics stabilize FL
The Increment
One sentence: Before, federated aggregation used static weights blind to client quality; after, FedTSV dynamically adjusts weights based on each client’s cumulative influence on the model’s optimization path.
Core Mechanism
FedTSV introduces Trajectory Shapley Value (TSV), a metric that evaluates each client’s contribution not in isolation but across multiple training rounds. Instead of asking “how much did client i help this round?”, TSV asks “how much did client i’s participation improve the model’s trajectory toward the validation objective?”
The method works in three stages. First, during training, the server tracks the global model’s state at each round. Second, after a window of T rounds, the server computes TSV for each client by measuring how the model’s validation performance changes when that client’s updates are included versus excluded from the trajectory. This uses a Shapley-style marginal contribution calculation, but applied to sequences of updates rather than single-round contributions. Third, the server converts TSV scores into aggregation weights for the next window, giving higher weight to clients whose historical contributions improved validation performance.
Round t-T ... Round t-1 ... Round t
| | |
v v v
[Client updates] [Client updates] [Client updates]
| | |
+------+-------+-------+------+
|
v
Trajectory evaluation:
For each client i, compute marginal
contribution to validation loss
over [t-T, t]
|
v
TSV(i) = Shapley value on trajectory
|
v
Weight(i) = f(TSV(i)) [for rounds t+1 onward]
Think of FedTSV like a sports team evaluating players. A traditional approach (FedAvg) pays everyone the same salary regardless of performance—maybe adjusted for seniority (dataset size). A per-round Shapley approach is like judging each player by their performance in the last game alone: noisy and reactive. FedTSV is like a coach reviewing game footage over the entire season. Each player’s value is measured by how the team’s win trajectory changed when they were on the field versus benched. A player who consistently moves the team toward victory gets more playing time (higher aggregation weight) in future games. The key insight: a player’s value isn’t their stats in one game, but their cumulative impact on the team’s path to the championship (validation objective).
Key Concepts
-
Shapley Value: Imagine you and two friends start a business. At the end of the year, you need to split the profit fairly. But each person contributed differently—maybe you brought the idea, one friend brought capital, another brought customers. Shapley value is a method from cooperative game theory that answers: “What’s each person’s fair share?” It works by considering all possible orders in which people could have joined the business, computing each person’s marginal contribution in each order (profit with them minus profit without them), then averaging across all orders. In federated learning, the “business” is the global model, “people” are clients, and “profit” is validation performance. Traditional Shapley computes this per round. TSV extends it across multiple rounds, treating the entire training trajectory as the “game.”
-
Trajectory vs Snapshot Evaluation: A snapshot evaluation judges a client by their impact in a single round—like rating a driver by one traffic light. A trajectory evaluation judges them by their entire route—did they get you to the destination faster overall? In federated learning, a client might send a noisy update in round 5 that looks bad in isolation, but when combined with their updates in rounds 3, 4, and 6, they steer the model toward better generalization. Trajectory evaluation captures this cumulative effect, filtering out per-round noise and rewarding consistent positive influence.
Framework Shift
Before (FedAvg): After (FedTSV):
Server Server
| |
+---> Fixed weights +---> TSV evaluation
| (e.g., by data size) | (trajectory-based)
v v
Aggregate all clients equally Aggregate with dynamic weights
| |
v v
Global model update Global model update
(blind to client quality) (responsive to contribution)
Client contributions: Client contributions:
Round 1: [A, B, C] Round 1-5: [A, B, C]
Round 2: [A, B, C] |
Round 3: [A, B, C] v
(each round independent) Evaluate trajectory impact
|
v
Adjust weights for Round 6+
From static, per-round aggregation to dynamic, trajectory-aware weighting, the core shift is treating federated learning as a sequential decision problem where past contributions inform future trust.
Expert Assessment
Problem choice: Real gap. Heterogeneous and adversarial clients are well-documented pain points in federated learning deployments (medical consortia, mobile devices). Prior Shapley-based methods exist but suffer from per-round instability—this paper’s trajectory framing is a natural evolution, not a manufactured problem.
Method maturity: Clever insight with practical tradeoffs. The trajectory window introduces a hyperparameter (window size T) and computational overhead (Shapley calculation scales poorly with client count). The paper uses sampling approximations, which is standard, but doesn’t deeply explore how window size affects different data heterogeneity regimes. A simpler baseline—exponential moving average of per-round Shapley—isn’t compared, which would help isolate the value of trajectory framing versus just temporal smoothing.
Experimental integrity: Baselines are fair (FedAvg, FedProx, per-round Shapley). The poisoning experiments (label-flipping, gradient noise) show clear robustness gains. However, the datasets are small-scale (MNIST, CIFAR-10), and the client counts (10-20) are modest. Real federated settings often have hundreds or thousands of clients, where Shapley computation becomes prohibitive. The paper acknowledges this but doesn’t provide wall-clock time comparisons or scalability analysis. The validation set used for TSV computation is assumed clean—what happens if the validation set is also poisoned?
Writing quality: The method section is dense and could benefit from a worked example with concrete numbers. The related work section lumps together contribution metrics, fairness, and robustness without clearly delineating how TSV differs from each prior approach. The experimental section would be stronger if it included ablations on window size and sampling budget. The conclusion oversells generality (“principled foundation for fairness-aware federated optimization”) when the method is really about contribution-based weighting, not fairness in the algorithmic fairness sense (e.g., demographic parity).
Verdict: weak accept — Solid incremental contribution with clear practical value, but limited by scalability concerns and modest experimental scope. The trajectory framing is the right idea; execution needs more depth.
Takeaways
For practitioners: If you’re running federated learning with known heterogeneous or adversarial clients, FedTSV’s trajectory-based weighting is worth trying. The key transferable idea: don’t judge participants by their last action—judge them by their cumulative impact on your objective over a window. This applies beyond FL: in ensemble learning, you could weight models by their trajectory contribution to validation loss; in online learning, you could weight experts by their cumulative regret reduction.
For researchers: The trajectory Shapley framing opens a design space. You could replace validation loss with other utilities (fairness metrics, robustness proxies). You could explore different trajectory lengths (adaptive windows based on convergence rate). The computational bottleneck is Shapley approximation—can you use influence functions or other gradient-based shortcuts to estimate trajectory contributions without exhaustive sampling?
Steal this: The idea of “temporal consistency in contribution metrics.” If you’re designing any system that aggregates inputs from multiple sources over time (crowdsourcing, multi-agent RL, ensemble methods), consider whether your contribution metric is stable across time or just reacting to the last observation. Trajectory-based evaluation is a general pattern for filtering noise and rewarding sustained positive impact.
论文: 2605.30336 作者: Daniel Kuznetsov, Ziqi Wang 分类: cs.LG
缺口
联邦学习让多个客户端在不暴露私有数据的情况下训练共享模型。
服务器聚合本地更新——通常使用 FedAvg,用固定权重(常与数据集大小成正比)平均客户端梯度。
这在客户端同质且诚实时有效。
但实际部署面临异构数据分布、不同计算资源,以及可能发送投毒更新的对抗性客户端。
固定权重无法区分有益客户端和有害客户端,导致模型偏差和收敛缓慢。
先前工作尝试基于贡献的加权(如每轮计算 Shapley 值),但这些方法孤立地处理每一轮,忽略了客户端贡献在训练轨迹上的演变。
它们也缺乏时间一致性——客户端的价值可能因噪声在轮次间剧烈波动,使聚合不稳定。
本文提问:我们能否在整个优化轨迹上测量客户端贡献,而非仅看每轮快照,并以时间稳定的方式用它来自适应地调整聚合权重?
问题:固定权重忽略异构性和对抗者
|
v
假设:客户端价值 = 对全局模型轨迹的影响
|
v
方法:轨迹 Shapley 值 (TSV) + 自适应加权
|
v
证据:更快收敛、抗投毒、更公平的奖励
|
v
结论:轨迹感知的贡献度量稳定联邦学习
增量
一句话: 之前,联邦聚合使用对客户端质量视而不见的静态权重;之后,FedTSV 根据每个客户端对模型优化路径的累积影响动态调整权重。
核心机制
FedTSV 引入轨迹 Shapley 值 (TSV),这是一个不孤立评估而是跨多个训练轮次评估每个客户端贡献的指标。
它不问”客户端 i 这一轮帮了多少?“,而是问”客户端 i 的参与让模型朝验证目标的轨迹改善了多少?”
方法分三个阶段。
首先,训练期间,服务器跟踪每轮全局模型的状态。
其次,在 T 轮窗口后,服务器通过测量包含与排除该客户端更新时模型验证性能的变化,为每个客户端计算 TSV。
这使用 Shapley 式的边际贡献计算,但应用于更新序列而非单轮贡献。
第三,服务器将 TSV 分数转换为下一窗口的聚合权重,给历史贡献改善验证性能的客户端更高权重。
轮次 t-T ... 轮次 t-1 ... 轮次 t
| | |
v v v
[客户端更新] [客户端更新] [客户端更新]
| | |
+------+-------+-------+------+
|
v
轨迹评估:
对每个客户端 i,计算其对
[t-T, t] 区间验证损失的
边际贡献
|
v
TSV(i) = 轨迹上的 Shapley 值
|
v
Weight(i) = f(TSV(i)) [用于 t+1 轮起]
把 FedTSV 想象成一支运动队评估球员。
传统方法 (FedAvg) 给每个人相同薪水,不管表现——也许按资历(数据集大小)调整。
每轮 Shapley 方法像仅凭上一场比赛判断球员:有噪声且反应过度。
FedTSV 像教练回顾整个赛季的比赛录像。
每个球员的价值通过球队在他们上场与替补时的胜利轨迹变化来衡量。
持续推动球队走向胜利的球员在未来比赛中获得更多上场时间(更高聚合权重)。
关键洞察:球员的价值不是一场比赛的数据,而是他们对球队通往冠军(验证目标)路径的累积影响。
关键概念
- Shapley 值: 想象你和两个朋友创业。
年底需要公平分配利润。
但每个人贡献不同——也许你带来想法,一个朋友带来资金,另一个带来客户。
Shapley 值是合作博弈论中的方法,回答:“每个人的公平份额是多少?“它通过考虑人们加入企业的所有可能顺序,计算每个人在每个顺序中的边际贡献(有他们的利润减去没他们的利润),然后对所有顺序求平均。
在联邦学习中,“企业”是全局模型,“人”是客户端,“利润”是验证性能。
传统 Shapley 每轮计算一次。
TSV 将其扩展到多轮,把整个训练轨迹视为”博弈”。
- 轨迹 vs 快照评估: 快照评估通过单轮影响判断客户端——像通过一个红绿灯评价司机。
轨迹评估通过整个路线判断——他们总体上是否更快到达目的地?在联邦学习中,客户端可能在第 5 轮发送看起来糟糕的噪声更新,但与第 3、4、6 轮的更新结合时,他们引导模型走向更好的泛化。
轨迹评估捕获这种累积效应,过滤每轮噪声并奖励持续的正面影响。
框架转变
之前 (FedAvg): 之后 (FedTSV):
服务器 服务器
| |
+---> 固定权重 +---> TSV 评估
| (如按数据量) | (基于轨迹)
v v
平等聚合所有客户端 动态权重聚合
| |
v v
全局模型更新 全局模型更新
(对客户端质量盲目) (响应贡献)
客户端贡献: 客户端贡献:
轮次 1: [A, B, C] 轮次 1-5: [A, B, C]
轮次 2: [A, B, C] |
轮次 3: [A, B, C] v
(每轮独立) 评估轨迹影响
|
v
调整轮次 6+ 的权重
从静态的每轮聚合到动态的轨迹感知加权,核心转变是将联邦学习视为序列决策问题,其中过去的贡献告知未来的信任。
专家评审
选题眼光: 真实缺口。
异构和对抗性客户端是联邦学习部署(医疗联盟、移动设备)中有充分记录的痛点。
先前基于 Shapley 的方法存在但受每轮不稳定性困扰——本文的轨迹框架是自然演进,而非人造问题。
方法成熟度: 巧妙洞察但有实际权衡。
轨迹窗口引入超参数(窗口大小 T)和计算开销(Shapley 计算随客户端数量扩展性差)。
论文使用采样近似,这是标准做法,但没有深入探索窗口大小如何影响不同数据异构性情况。
没有比较更简单的基线——每轮 Shapley 的指数移动平均——这有助于隔离轨迹框架的价值与仅时间平滑的价值。
实验诚意: 基线公平(FedAvg、FedProx、每轮 Shapley)。
投毒实验(标签翻转、梯度噪声)显示明确的鲁棒性增益。
然而,数据集规模小(MNIST、CIFAR-10),客户端数量(10-20)适中。
真实联邦设置通常有数百或数千客户端,Shapley 计算变得难以承受。
论文承认这点但没有提供实际时间比较或可扩展性分析。
用于 TSV 计算的验证集假定干净——如果验证集也被投毒会怎样?
写作功力: 方法部分密集,可以从带具体数字的实例中受益。
相关工作部分将贡献度量、公平性和鲁棒性混在一起,没有清楚划分 TSV 与每种先前方法的区别。
实验部分如果包含窗口大小和采样预算的消融研究会更强。
结论过度推销普遍性(“公平感知联邦优化的原则性基础”),而该方法实际上是关于基于贡献的加权,而非算法公平性意义上的公平(如人口统计平等)。
判决: 弱接收 — 扎实的增量贡献,有明确实用价值,但受可扩展性担忧和适度实验范围限制。
轨迹框架是正确想法;执行需要更多深度。
要点总结
对实践者: 如果你在运行有已知异构或对抗性客户端的联邦学习,FedTSV 的基于轨迹的加权值得尝试。
关键可迁移想法:不要通过参与者的最后一次行动判断他们——通过他们在一个窗口内对你目标的累积影响判断。
这适用于联邦学习之外:在集成学习中,你可以通过模型对验证损失的轨迹贡献加权;在在线学习中,你可以通过专家的累积遗憾减少加权。
对研究者: 轨迹 Shapley 框架打开了设计空间。
你可以用其他效用(公平性指标、鲁棒性代理)替换验证损失。
你可以探索不同轨迹长度(基于收敛率的自适应窗口)。
计算瓶颈是 Shapley 近似——你能否使用影响函数或其他基于梯度的捷径来估计轨迹贡献,而无需穷举采样?
偷走这个: “贡献度量中的时间一致性”想法。
如果你在设计任何随时间从多个来源聚合输入的系统(众包、多智能体强化学习、集成方法),考虑你的贡献度量是否跨时间稳定,还是仅对最后观察做出反应。
基于轨迹的评估是过滤噪声和奖励持续正面影响的通用模式。