Imagine a phone returning after eight missed training rounds. It averages its old model with two neighbors that kept learning. Uniform gossip still gives the phone one-third of the vote. A rule that discounts only received models can be worse: it protects the stale model merely because it is local.
The stale model in the room is your own
Decentralized federated learning means devices train private local models and exchange them with neighbors, without a central server holding a fresh global checkpoint. A returning receiver therefore aggregates the model it froze before the outage with whatever its live neighbors currently hold.
Self-inclusive Freshness-weighted Gossip (SFG) assigns every candidate—receiver included—a score γ raised to its staleness gap from the freshest candidate, then normalizes the scores. Here γ is a discount factor between zero and one. With lags [2, 0, 0] and γ = 0.5, the receiver gets only 11.1% of the aggregate, not 33.3%.
def freshness_step(models, lags, gamma, online=True):
if not online:
return models[0], lags[0] + 1
freshest = min(lags)
scores = [gamma ** (lag - freshest) for lag in lags]
total = sum(scores)
weights = [score / total for score in scores]
model = sum(weight * value for weight, value in zip(weights, models))
lag = sum(weight * value for weight, value in zip(weights, lags))
return model, lagThe TypeScript core drives every illustrative chart below; Python and C++ are faithful translations. The toy treats lag as a one-dimensional model error so the mechanism is visible without pretending to reproduce image-classification training.
Why self-discounting changes the error curve
The paper models each candidate as an older collaborative state plus dispersion. Any non-negative rule that keeps the receiver's weight at least as large as every neighbor's has an error lower bound proportional to the receiver's staleness variance. As the outage grows, that bound grows without limit. No clever discount on neighbors repairs a rule that refuses to discount itself.
Age can be laundered by one local update
Age is the number of rounds since a model last trained. Effective lag instead tracks how much collaborative progress the model is missing. After aggregation, lag becomes the weighted mean of candidate lags. Local training resets age to zero, but it does not erase lag inherited from stale neighbors.
| Moment | reported age | effective lag | What the model still carries |
|---|---|---|---|
| returns | 8 | 8.0 | eight missed rounds |
| mixes with fresh neighbor | 8 | 2.0 | weighted inherited deficit |
| trains locally | 0 | 2.0 | deficit persists |
The empirical win has a boundary
Across CIFAR-10, CIFAR-100, and FEMNIST under synthetic and smartphone-derived outages, SFG-Cut improves mean personalized accuracy over decentralized federated averaging by 4.0 percentage points in 119 of 120 paired runs. The best age-of-information baseline gains 1.8 points. Yet topology and outage correlation decide whether the method has fresh candidates to use.
| Paper condition | mean gain | Why |
|---|---|---|
| main SFG-Cut evaluation | +4.0 pp | fresher candidates usually available |
| ring communication graph | +1.6 pp | fewer paths to freshness |
| regional outages | +0.7 pp | neighbors fail and return together |
What to probe next
The theory studies aggregation error under stylized drift, not convergence of the full training process. The cut margin is chosen empirically, and the pilot was run after results for two candidate margins were known. Experiments are synchronous, map real availability traces randomly onto synthetic graphs, and cover at most 300 clients. Several close comparisons remain statistically unresolved.
The most useful follow-up is therefore not a larger image benchmark. It is a topology-aware test where availability and neighborhood structure are coupled, with an adaptive margin chosen without looking at test seeds. To inspect how the local models themselves train, continue with the site's interactive neural-network walkthrough.
References
- Wang, Q., Xiao, K., & Anagnostopoulos, C. (2026). Discount Yourself: Self-inclusive Freshness-weighted Gossip for Decentralised Learning under Client Outages. arXiv:2610.28545
- Lian, X., et al. (2017). Can Decentralized Algorithms Outperform Centralized Algorithms? A Case Study for Decentralized Parallel Stochastic Gradient Descent. NeurIPS 2017
- Koloskova, A., et al. (2020). A Unified Theory of Decentralized SGD with Changing Topology and Local Updates. ICML 2020