Questions: Graph Neural Networks

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A GNN is trained to classify nodes in a citation network. After training, you discover the model uses 3 layers of neighborhood aggregation. What information does each node's learned representation capture?

AEach node's representation encodes features of all nodes within 3 hops (its 3-hop neighborhood)
BEach node's representation captures only its own features, since layers process nodes independently
CEach node's representation encodes features of its immediate neighbors only, regardless of depth
DEach node's representation is an average of all other nodes in the graph
Question 2 Multiple Choice

What is the key difference between a Graph Convolutional Network (GCN) and a Graph Attention Network (GAT) in how they aggregate neighbor information?

AGCNs treat all neighbors as equally important (scaled by degree); GATs learn to weight neighbors differently based on their relevance
BGCNs use attention mechanisms; GATs use fixed degree-normalized aggregation
CGCNs work on directed graphs; GATs only work on undirected graphs
DGCNs can handle graph-level tasks; GATs are restricted to node-level tasks
Question 3 True / False

Stacking more GNN layers allows each node to incorporate feature information from more distant nodes in the graph.

TTrue
FFalse
Question 4 True / False

GNNs handle graph-structured data by first converting each graph to a fixed-length feature vector (flattening the structure), then feeding that vector into a standard neural network.

TTrue
FFalse
Question 5 Short Answer

Why can't you simply flatten a graph into a fixed-length vector and feed it into a standard feedforward neural network, and how does the message-passing framework address this limitation?

Think about your answer, then reveal below.