首页 > 其他分享 >Understanding Structural Vulnerability in Graph Convolutional Networks

Understanding Structural Vulnerability in Graph Convolutional Networks

时间:2023-05-17 13:46:13浏览次数:50  
标签:Convolutional lfloor Graph Vulnerability aggregation rfloor alpha mathcal mean

目录

Chen L., Li J., Peng Q., Liu Y., Zheng Z. and Yang C. Understanding structural vulnerability in graph convolutional networks. IJCAI, 2021.

mean 是在 GCN 中是一种常见的 aggregation 方式, 但是作者认为这种方式是不鲁棒的, 很容易受到异常连接的影响.

符号说明

  • \(G = (V, E)\), 图;
  • \(X_{v}\), node features;
  • 一般的 GCN 的每一层可以表述为:

    \[a_v^{(k)} = f(\{h_u^{(k-1)}: u \in \mathcal{N}_v\}), h_v^{(k)} = \sigma(a_v^{(k)} W^{(k)}). \]

    其中 \(f\) 为 aggregation function.

本文的方法

  • 这里省略本文的 motivation, 即关于 mean 不鲁棒的经验验证:

:

  • mean aggregation 可以表述为:

    \[a_v^{(k)} = \sum_{u \in \mathcal{N}_v} w_{uv} h_u^{(k-1)}, w_{uv} = \frac{1}{\sqrt{|\mathcal{N}_u||\mathcal{N}_v|}}. \]

  • 作者提出用一下两种来替代:

    1. Median aggregation:

      \[a_v = \left \{ \begin{array}{ll} (h_{n / 2} + h_{(n / 2 + 1)}) / 2 & n \text{ is even}; \\ h_{(n+1) / 2} & n \text{ is odd}. \end{array} \right. \]

      即取中位数, 这里假设 \([h_u]_{u=1}^n\) 是有序的 (按照数值大小进行排序).

    2. Trimmed mean aggregation:

      \[a_v = \frac{1}{n - 2\lfloor n\alpha \rfloor} \sum_{u=s}^t h_u, s = \lfloor n\alpha \rfloor + 1, t = n - \lfloor n\alpha \rfloor, \]

      即该式只对 \([\alpha, 1 - \alpha]\) 内的取平均.

代码

official

标签:Convolutional,lfloor,Graph,Vulnerability,aggregation,rfloor,alpha,mathcal,mean
From: https://www.cnblogs.com/MTandHJ/p/17408500.html

相关文章

  • hasura graphql-engine 支持mysql&oracle了
    hasuragraphql-engine这几年的变化很大,目前已经支持了不少数据库了,已经不单单是pg了,就在最近hasura对于mysql&oracle的支持已经处于beta阶段了说明hasuragraphql-engine对于其他数据库支持的玩法还是直接学习的(通过dataconnector解决)参考资料https://hasura.io/blog......
  • Ubuntu系统下python模块graphviz运行报错:graphviz.backend.execute.ExecutableNotFoun
    代码中需要运行python模块graphviz,安装:pipinstallgraphviz 运行后报错:graphviz.backend.execute.ExecutableNotFound:failedtoexecutePosixPath('dot'),makesuretheGraphvizexecutablesareonyoursystems'PATH  报错的全部信息:Traceback(mostrecentc......
  • 2023-05-12:存在一个由 n 个节点组成的无向连通图,图中的节点按从 0 到 n - 1 编号, 给你
    2023-05-12:存在一个由n个节点组成的无向连通图,图中的节点按从0到n-1编号,给你一个数组graph表示这个图,其中,graph[i]是一个列表,由所有与节点i直接相连的节点组成。返回能够访问所有节点的最短路径的长度。你可以在任一节点开始和停止,也可以多次重访节点,并且可以重......
  • Gdiplus::Graphics::DrawString绘制文字
     Gdiplus::FontFamilyfontfm(_T("微软雅黑"));Gdiplus::Fontfont(&fontfm,24,Gdiplus::FontStyleBold,Gdiplus::UnitPixel);/*参数1:FontFamilyfamily字体,如我们常见的“宋体”、“仿宋”、“微软雅黑”、“Arial”等参数2:floatemSize......
  • Personalized Top-N Sequential Recommendation via Convolutional Sequence Embeddin
    目录概符号说明Caser代码TangJ.andWangK.Personalizedtop-nsequentialrecommendationviaconvolutionalsequenceembedding.WSDM,2018.概序列推荐的经典之作,将卷积用在序列推荐之上.符号说明\(\mathcal{U}=\{u_1,u_2,\cdots,u_{|\mathcal{U}|}\}\),us......
  • MBN:Mutual Boost Network for Attributed Graph Clustering
    论文阅读07-MBN:MutualBoostNetworkforAttributedGraphClustering论文信息论文地址:https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4195979代码地址:https://github.com/Xiaoqiang-Yan/MBN1.存在问题存在问题现有区分表示的方法受到节点和结构特征之间差异......
  • 论文解读《Mixup for Node and Graph Classification》
    论文信息论文标题:MixupforNodeandGraphClassification论文作者:YiweiWang、WeiWang论文来源:WWW2021论文地址:download 论文代码:download视屏讲解:click1介绍 ......
  • 论文解读(ID-MixGCL)《ID-MixGCL: Identity Mixup for Graph Contrastive Learning》
    论文信息论文标题:ID-MixGCL:IdentityMixupforGraphContrastiveLearning论文作者:GehangZhang.....论文来源:2023aRxiv论文地址:download 论文代码:download视屏讲解:click介绍    ......
  • D. Fish Graph
    D.FishGraphYouaregivenasimpleundirectedgraphwith$n$nodesand$m$edges.Notethatthegraphisnotnecessarilyconnected.Thenodesarelabeledfrom$1$to$n$.WedefineagraphtobeaFishGraphifitcontainsasimplecyclewithaspecial......
  • Three.js#04#Responsive Design&Scenegraph
    参考https://threejs.org/manual/#en/responsive和https://threejs.org/manual/#en/scenegraph前者主要是说怎样创建一个响应式的three.js应用,就是在变化屏幕大小的时候,画面不会畸形。后者是再说,怎么组合小的组件变成一个大的组件(依赖于一个空组件object3D)下面是示例代码:index.......