SubgraphExpander<T>

Models & Types · AiDotNet.FederatedLearning.Graph

Expands a local subgraph with pseudo-nodes to approximate missing cross-client neighbors.

Inheritance: FederatedLearningComponentBase<T> → SubgraphExpander<T>

For Beginners

When a graph is split across clients, GNNs on each client “see” only their local subgraph. Nodes near the boundary are missing their cross-client neighbors, which degrades message passing. The SubgraphExpander adds “pseudo-nodes” to fill these gaps:

Constructors

Constructor Summary
SubgraphExpander(FederatedGraphOptions options) Initializes a new instance of SubgraphExpander.

Methods

Method Summary
ExpandedSubgraph<T> Expand(Tensor<T> adjacency, Tensor<T> nodeFeatures, Dictionary<int, Tensor<T>> crossClientFeatures) Expands a local subgraph with pseudo-nodes for missing cross-client neighbors.