当前位置:网站首页>A brief analysis of graph pooling
A brief analysis of graph pooling
2022-07-02 07:58:00 【MezereonXP】
Graph Pooling analysis
Pooling It is a technology for graph feature extraction , It is usually used for graph classification .
Some marks
Let's remember one with N N N Attribute graph of nodes (attributed graph) by G = ( X , E ) \mathcal{G} = (\mathcal X, \mathcal E) G=(X,E)
among X = { ( i , x i ) } i = 1 : N \mathcal X =\{(i,x_i)\}_{i=1:N} X={ (i,xi)}i=1:N Is a node set , x i x_i xi It's No i i i Attribute vector of nodes
E = { ( ( i , j ) , e i j ) } i , j ∈ 1 : N \mathcal E = \{((i,j), e_{ij})\}_{i,j\in 1:N} E={ ((i,j),eij)}i,j∈1:N It's an edge set , among e i j e_{ij} eij Is the attribute vector of the edge
Let's remember that the adjacency matrix of this graph is A ∈ { 0 , 1 } N × N A \in \{0,1\}^{N\times N} A∈{ 0,1}N×N
With the help of papers “Understanding Pooling in Graph Neural Networks” We use SRC Come on Pooling Methods to summarize .
Select, Reduce, Connect
about Pooling, We can understand it as a graph to graph mapping , namely : G → G ′ = ( X ′ , E ′ ) \mathcal G \rightarrow \mathcal G' = (\mathcal X', \mathcal E') G→G′=(X′,E′)
As shown in the figure above ,Select The function divides the node into multiple node clusters , These node clusters can be considered as a super node
Reduce The function will put a supernode ( May contain one or more nodes ) Map to an attribute vector , The attribute vector corresponds to Pooling Supernode of the post graph
Connect Function accounting calculates the edge set of super nodes
stay Pooling After the operation , We will N The graph of nodes is mapped to a K Graph of nodes
In this way , We can give a table , Some of the current Pooling Method , utilize SRC Summarize in a way
Here we use DiffPool For example , Explain SRC Three parts :
First , Suppose we have a N Graph of nodes , Where the node vector is written as X ∈ R N × d X\in \mathbb R^{N\times d} X∈RN×d, The dimension of each node vector is d d d
Select The function will output a N × N ′ ( N < N ′ ) N\times N' (N <N') N×N′(N<N′) Mapping matrix S S S, Also is to N N N A point is mapped to N ’ N’ N’ A little bit
There is a GNN To the matrix S S S To study
Reduce The function is the mapping matrix S Take one GNN The matrix after that , That is to say N ′ × N N'\times N N′×N Multiply the matrix of N × d ′ N\times d' N×d′
Output is N ′ × d N'\times d N′×d A vector matrix of , representative Pooling The node vectors of these supernodes after one time
Connect The function outputs the adjacency matrix A ′ ∈ { 0 , 1 } N ′ × N ′ A'\in \{0,1\}^{N'\times N'} A′∈{ 0,1}N′×N′
边栏推荐
- 图像增强的几个方法以及Matlab代码
- Semi supervised mixpatch
- open3d学习笔记三【采样与体素化】
- 【学习笔记】Matlab自编图像卷积函数
- label propagation 标签传播
- AR system summary harvest
- 【C#笔记】winform中保存DataGridView中的数据为Excel和CSV
- TimeCLR: A self-supervised contrastive learning framework for univariate time series representation
- It's great to save 10000 pictures of girls
- Programmers can only be 35? The 74 year old programmer in the United States has been programming for 57 years and has not retired
猜你喜欢
Replace convolution with full connection layer -- repmlp
Eklavya -- infer the parameters of functions in binary files using neural network
【Random Erasing】《Random Erasing Data Augmentation》
What if the notebook computer cannot run the CMD command
[binocular vision] binocular correction
open3d学习笔记五【RGBD融合】
Common CNN network innovations
【Programming】
【Cascade FPD】《Deep Convolutional Network Cascade for Facial Point Detection》
【双目视觉】双目立体匹配
随机推荐
【Wing Loss】《Wing Loss for Robust Facial Landmark Localisation with Convolutional Neural Networks》
What if the laptop can't search the wireless network signal
【Cascade FPD】《Deep Convolutional Network Cascade for Facial Point Detection》
MoCO ——Momentum Contrast for Unsupervised Visual Representation Learning
【DIoU】《Distance-IoU Loss:Faster and Better Learning for Bounding Box Regression》
Network metering - transport layer
【学习笔记】Matlab自编图像卷积函数
Graph Pooling 简析
笔记本电脑卡顿问题原因
Specification for package drawing
In the era of short video, how to ensure that works are more popular?
C#与MySQL数据库连接
Traditional target detection notes 1__ Viola Jones
Organigramme des activités
Target detection for long tail distribution -- balanced group softmax
【Programming】
Command line is too long
[Sparse to Dense] Sparse to Dense: Depth Prediction from Sparse Depth samples and a Single Image
【BiSeNet】《BiSeNet:Bilateral Segmentation Network for Real-time Semantic Segmentation》
Summary of open3d environment errors