gnn_1
Graph Neural Network (1)
What is Graph
A Graph
A convenient way to represent graphs is through an adjacency matrix
Multi-relational Graphs
Beyond weighted, directed, undirected edges, we also consider graphs that have different types of edges. In this case, we can construct the edge notation to include an edge or relation type
- Heterogeneous graphs: In heterogeneous graphs, nodes also have types, that is we can partition the set of nodes into disjoint sets:
where . Edges in heterogeneous graphs generally satisfy constraints according to the node types. For example, , the edge of type only connects nodes with type and . Multipartite graphs are special case of heterogeneous graphs, where edges can only connect nodes that have different types, . - Multiplex graphs: In multiplex graphs we assume the graphs can be decomposed into a set of
layers. Every node is assumed to belong to every layer, and each layer corresponds to a unique relation, representing the intra-layer edge type for that layer (edge relation between nodes in the same layer). We assume that inter-layer edges types can exist, which connect the same node across layers (edge relation between different layers of the same node).
Feature Information
There are also attribute or feature information associated with a graph. Most often are node-level attributes that we represent with a feature matrix
REF
Graph Representation Learning By William L. Hamilton