Editing
Graph Neural Networks
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Understanding</span> == The key insight of GNNs is: '''a node's representation should depend on both its own features and the features of its neighborhood.''' This mirrors how we understand entities in relation to their context β a person's role in society depends partly on who they're connected to. '''Message passing''' is the universal GNN framework: For each layer l and each node v: 1. '''Message''': compute a message from each neighbor u: m''{uβv} = M(h''u^l, h''v^l, e''{uv}) 2. '''Aggregate''': combine all incoming messages: a''v^l = AGG({m''{uβv} : u β N(v)}) 3. '''Update''': compute new node representation: h''v^{l+1} = U(h''v^l, a_v^l) Where M is a message function, AGG is an aggregation function (sum, mean, max, attention-weighted), and U is an update function (typically a neural network). After L layers, each node's representation encodes information from its L-hop neighborhood. Think of it like rumor spreading: after 1 layer, each node knows about its direct neighbors; after 2 layers, about neighbors' neighbors; and so on. '''Why not just use a standard neural network?''' Graphs are irregular β nodes have different numbers of neighbors, and there's no canonical ordering of neighbors. GNNs handle this through permutation-invariant aggregation (sum, mean, max produce the same result regardless of neighbor ordering). '''Expressiveness limits''': The Weisfeiler-Leman (WL) graph isomorphism test provides a theoretical upper bound on GNN expressiveness. Standard message-passing GNNs cannot distinguish certain graph structures β for example, regular graphs of the same degree look identical from any node's perspective, even if the graphs have different global structure. </div> <div style="background-color: #8B0000; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information