AI Lab for the Internet of Things

From sensors to intelligent self-deciding systems: lessons, projects, architectures, interactive simulation labs and a specialist AIoT assistant.

20Lesson

Distributed & Federated Architecture

Several nodes learn locally and share model updates rather than raw data, to protect privacy.

Educational content in scientific-draft form; a specialist should review it before it is adopted as an academic reference. No measurement or performance result that was not actually obtained is shown here.

Layers

  1. Local nodesTrain on their own data
  2. Aggregation serverMerges the updates
  3. Shared modelDistributed to the nodes

Components explained

  1. Local client — Local training
  2. Aggregator — Merging the updates

Strengths

  • Better privacy
  • Less data transfer

Limitations

  • High complexity
  • Affected by uneven data distribution
  • An active research area

Requirements

Theoretically expected latencyIts goal is not response time.
Connectivity requirementsPeriodic connectivity.
Resource requirementsLocal training resources.

Use cases

  • Health devices
  • Phones

Reference versus implementation

This is a simplified reference architecture for teaching; a production design adds details such as identity management, updates, monitoring and redundancy according to the project's requirements. Federated learning is a research area and is usually well beyond beginner projects.

Design your architecture in the lab

References

  1. Weisong Shi, Jie Cao, Quan Zhang, Youhuizi Li, Lanyu Xu. Edge Computing: Vision and Challenges. IEEE Internet of Things Journal 3(5):637–646 (2016). DOI Link not checked automatically
  2. Jie Lin, Wei Yu, Nan Zhang, Xinyu Yang, Hanlin Zhang, Wei Zhao. A Survey on Internet of Things: Architecture, Enabling Technologies, Security and Privacy, and Applications. IEEE Internet of Things Journal 4(5):1125–1142 (2017). DOI Link not checked automatically

Simulations and labs run inside your browser. Nothing you enter and none of the conversations is stored on the server. Privacy policy