当前位置:网站首页>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′
边栏推荐
- Apple added the first iPad with lightning interface to the list of retro products
- EKLAVYA -- 利用神经网络推断二进制文件中函数的参数
- 【双目视觉】双目矫正
- 【Cutout】《Improved Regularization of Convolutional Neural Networks with Cutout》
- 针对tqdm和print的顺序问题
- 【Random Erasing】《Random Erasing Data Augmentation》
- [binocular vision] binocular correction
- 【Paper Reading】
- 【Random Erasing】《Random Erasing Data Augmentation》
- C # connect to MySQL database
猜你喜欢

Implementation of yolov5 single image detection based on pytorch

CVPR19-Deep Stacked Hierarchical Multi-patch Network for Image Deblurring论文复现

Pointnet understanding (step 4 of pointnet Implementation)

Semi supervised mixpatch

半监督之mixmatch

Eklavya -- infer the parameters of functions in binary files using neural network
![Open3d learning note 4 [surface reconstruction]](/img/9d/c1c3f2f3d4acd74a2c043571a120b3.png)
Open3d learning note 4 [surface reconstruction]

Look for we media materials from four aspects to ensure your creative inspiration

【AutoAugment】《AutoAugment:Learning Augmentation Policies from Data》

Deep learning classification Optimization Practice
随机推荐
Open3d learning note 3 [sampling and voxelization]
jetson nano安装tensorflow踩坑记录(scipy1.4.1)
【Paper Reading】
The internal network of the server can be accessed, but the external network cannot be accessed
Implementation of yolov5 single image detection based on pytorch
How gensim freezes some word vectors for incremental training
利用Transformer来进行目标检测和语义分割
【MnasNet】《MnasNet:Platform-Aware Neural Architecture Search for Mobile》
【学习笔记】Matlab自编高斯平滑器+Sobel算子求导
Meta Learning 简述
【AutoAugment】《AutoAugment:Learning Augmentation Policies from Data》
[mixup] mixup: Beyond Imperial Risk Minimization
open3d学习笔记四【表面重建】
Command line is too long
[learning notes] matlab self compiled image convolution function
Organigramme des activités
E-R draw clear content
【Batch】learning notes
Look for we media materials from four aspects to ensure your creative inspiration
Summary of solving the Jetson nano installation onnx error (error: failed building wheel for onnx)