Zubnet AIAprenderWiki › GNN
Models

GNN

Graph Neural Network
Redes neurais projetadas para operar em dados estruturados em grafo — dados onde entidades estão conectadas por relações (redes sociais, moléculas, grafos de conhecimento, redes de transporte). GNNs aprendem passando mensagens entre nós conectados, permitindo que cada nó atualize sua representação baseado em seus vizinhos. Lidam com dados que não encaixam certinho em grades (imagens) ou sequências (texto).

Por que importa

Nem todos os dados são texto ou imagens. Redes sociais, estruturas moleculares, sistemas de recomendação, redes de detecção de fraude e rotas logísticas são todos naturalmente estruturados em grafo. GNNs são a ferramenta certa quando relações entre entidades são tão importantes quanto as próprias entidades. Descoberta de drogas, análise de redes sociais e previsão de tráfego todos dependem de GNNs.

Deep Dive

The core operation in a GNN is message passing: each node collects information from its neighbors, aggregates it (sum, mean, or attention-weighted), and updates its own representation. After K rounds of message passing, each node's representation encodes information about its K-hop neighborhood. Graph Convolutional Networks (GCN), GraphSAGE, and Graph Attention Networks (GAT) are the most common architectures, differing in how they aggregate neighbor information.

Applications

Drug discovery: molecules are graphs (atoms = nodes, bonds = edges). GNNs predict molecular properties, binding affinity, and toxicity by learning from the molecular graph structure. Social networks: GNNs detect communities, predict links, and identify influential nodes. Recommendation systems: users and items form a bipartite graph, and GNNs predict which items a user would like based on graph structure. Fraud detection: transaction networks reveal suspicious patterns that GNNs can learn to identify.

Transformers as Graph Networks

There's a deep connection between Transformers and GNNs: self-attention can be viewed as message passing on a fully connected graph (every token attends to every other token). GNNs operate on sparse graphs (each node only connects to its actual neighbors). This connection has inspired Graph Transformers that combine the expressiveness of Transformers with the efficiency of sparse graph structures, and has led to cross-pollination of ideas between the two communities.

Conceitos relacionados

← Todos os termos
← GGUF Google DeepMind →