readout layer

[[concept]]

Readout Layer

A readout layer is an additional layer added to a GNN to achieve the desired output type/dimension for graph-level tasks or other learning tasks on graphs that require an output that is not a graph signal.

Example

In node-level tasks (ex source localization, community detection, citation networks, etc), both the input and the output are graph signals . Thus, the map is composed strictly of GNN layers.

GNN layer equation

$X_{\ell} = \sigma(U_{\ell}) = \sigma\left( \sum_{k=0}^{K-1} S^k X_{\ell-1} H_{\ell, k} \right)$$

When we learn our GNN layers, we fix and learn only which does not depend on the graph size.

Mentions

TABLE
FROM [[]]
 
FLATTEN choice(contains(artist, this.file.link), 1, "") + choice(contains(author, this.file.link), 1, "") + choice(contains(director, this.file.link), 1, "") + choice(contains(source, this.file.link), 1, "") as direct_source
 
WHERE !direct_source