Prompt 库 / 方法论 / 技术路线

方法论 / 技术路线

联邦学习流程

客户端本地训练、参数上传、服务器聚合和下一轮广播组成的联邦学习闭环。

完整 Prompt

A federated learning round diagram, drawn as a star topology.

Center — Aggregation Server:
- Holds the global model w_t.
- Sends w_t to all clients at round start (broadcast arrows out).

Around — N=5 Clients:
- Each client i has private data D_i (drawn as a small cylinder beside the client).
- Each client trains for a few local epochs on D_i, producing updated weights w_t^i (or weight delta).
- Each client uploads w_t^i to the server (arrows in).

Server (next step):
- Aggregates client updates by weighted average: w_{t+1} = sum_i (n_i / N) * w_t^i.
- Broadcasts w_{t+1} to clients for the next round.

Show one round of the loop with a small "Round t -> t+1" annotation. Highlight in a small callout that "data never leaves clients".
Style: clean publication-style schematic, navy and teal palette, white background, thin connectors, suitable for medical / federated systems venues.
立即试用此 Prompt

适用场景

For privacy-preserving ML papers, edge-AI, healthcare and remote sensing federated setups.

变体

Differential-privacy variant

Add per-client noise injection (epsilon) before upload, and a callout: "Each client adds calibrated Gaussian noise to its update for (epsilon, delta)-DP."

使用建议

  • Show "data never leaves clients" prominently. It is the defining property of federated learning.
  • Pick a star topology, not a linear pipeline. The visual centrality of the server matters.
  • Annotate the aggregation rule explicitly (FedAvg, FedProx, etc.).

常见问题

Can I show client drop-out?

Gray out 1-2 clients and add the note "stragglers / dropouts excluded from this round's aggregation."