Skip to content

Conversation

eduard54
Copy link

@eduard54 eduard54 commented Aug 4, 2025

Pull Request

Summary

This pull request introduces CAFF (Cache-based Aggregation with Fairness and Filtering) — a new asynchronous aggregation mechanism for decentralized federated learning (DFL) — into the NEBULA platform.

Key features:

  • Implements CAFFUpdateHandler for fully asynchronous model aggregation with update caching and staleness filtering.
  • Adds parameters to control dynamic aggregation thresholds, staleness limits, and timeout fallback behavior.
  • Integrates CAFF into the frontend, allowing scenario creation with the new mechanism via the UI (only DFL).
  • Includes optional code to propagate updates only to peers that contributed in the previous round for CAFF (uncomment code-block in propagator.py marked with comments "TEST CAFF").

This work was developed as part of my bachelor's thesis at the University of Zurich and aims to contribute to NEBULA's asynchronous FL capabilities.

Checklist

Related Issues

Non explicitly linked - this is a new feature.

Signed-off-by

Signed-off-by: eduard.gash@gmail.com
Date: 2025-08-04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant