rusty1s / pytorch_spline_conv

Implementation of the Spline-Based Convolution Operator of SplineCNN in PyTorch
https://arxiv.org/abs/1711.08920
MIT License
172 stars 36 forks source link

Question: Similiar to Receptive Field #42

Closed chengq220 closed 1 year ago

chengq220 commented 1 year ago

Hello. I'm fairly new to ML, AI, and Pytorch so I'm having some difficulty trying to visualize which individual nodes in the original graph affect the convoluted node in the new graph after convolution. So for example, I want to know which nodes in the original graph G affect the first node in the G' (graph after convolution) and which affects the second nodes, etc.. Thank you so much for your assistance.

rusty1s commented 1 year ago

Mh, this is a tricky question to answer. In the end, all neighbors have a positive or negative contribution to the central nodes, and they are only ignored in case the weights at the sample points multiplied by the neighbor's features will be close to zero across all feature dimensions, i.e., all "nearly zero rows" here.

chengq220 commented 1 year ago

Understood. Additionally, are there any possible ways for a central node to be affected by non-neighbors nodes?

rusty1s commented 1 year ago

No, this is not possible.

chengq220 commented 1 year ago

Thank you