Paper Information
Abstract
该方法侧重于属性图的构建,并使用 attention network 描述邻居节点对 target node 的重要性。
1 Introduction
目前研究现状:基于图表示学习的方法都是两阶段的方法 。
总结目前研究:重构拓扑结构以及重建节点表示的方法。
研究缺陷:拓扑结构和节点表示融合机制并不完美。
本文模型:$\text{DAEGC}$ [ a goal-directed graph attentional autoencoder based attributed graph clustering framework ]
重建节点表示:采用 $\text{graph attentional autoencoder }$:
- $\text{Encoder}$ 可以同时学习节点内容以及图结构 ;
- $\text{Decoder}$ 重建图拓扑结构 ;
训练模型:自训练模型 [ 高置信度分布指导模型训练 ]
本文模型与传统的 $\text{two-step}$ 方法的比较如 Figure 1 所示:
- 本文模型是将 $\text{node embedding}$ 和聚类放在一个统一的框架中学习。
- $\text{Two-step}$ 方法则是先学习 $\text{node embedding}$,然后进行聚类。
本文贡献:
- 第一个提出图注意自编码器;
- 提出了基于 $\text{goal-directed}$ 的图聚类框架;
2 Related Work
2.1 Graph Clustering
阐述早起方法的不顶用,以及感谢深度方法对图聚类的发展。
2.2 Deep Clustering Algorithms
铭记 DEC 深度聚类。
3 Problem Definition and Overall Framework
$\text{Graph basic definition}$ :略。
给定图 $G$,图聚类的目的是将 $G$ 中的节点划分为 $k$ 个不相交 $\text{groups}$: ${G_1、G_2、···、G_k}$,使在同一 $\text{group}$ 的节点满足两个条件:
- 彼此图结构相似 ;[ 社区结构类似 ]
- 节点属性相似 ;
本文模型框架包括两个部分,如 Fig 2 所示 :
- Graph Attentional Autoencoder :AE 以属性值和图结构作为输入,并通过最小化重构损失来学习潜在的 representation ;
- Self-training Clustering :根据学习到的 representation 进行聚类,并根据聚类结果对潜在 representation 进行操作;
该框架将学习 graph embedding 和执行聚类放在一个统一的框架中,因此可以使每个组件彼此受益。
4 Proposed Method
本节先阐述 graph attentional autoencoder [ 有效的学习图结构和 content information ] 生成 latent representation,然后阐述 self-training module 指导聚类。
4.1 Graph Attentional Autoencoder
Graph Attentional Autoencoder:通过关注每个节点的邻居来学习每个节点的 latent representation ,从而将 attribute values 与图结构信息 融入 latent representation。
首先:衡量 $\text{node}$ $i$ 的邻居 $N_i$ 对于 $\text{node}$ $i$ 的影响,这里考虑的是不同邻居对 $\text{node}$ $i $ 的影响不一样,主要体现在对邻居赋予不同的权重。
$z_{i}^{l+1}=\sigma\left(\sum\limits _{j \in N_{i}} \alpha_{i j} W z_{j}^{l}\right)\quad\quad\quad(1)$
其中:
- $z_{i}^{l+1}$ denotes the output representation of node $i$ ;
- $N_{i}$ denotes the neighbors of $i$ ;
- $\alpha_{i j}$ is the attention coefficient that indicates the importance of neighbor node $j$ to node $i$ ;
- $\sigma$ is a nonlinerity function ;
对于 attention 系数 $\alpha_{i j}$ [ 重要度 ] 主要参考两个方面:
- 属性值(attribute values) ;
- 拓扑距离( topological distance );
Aspact 1:属性值
attention 系数 $\alpha_{i j}$ 可以表示为 由 $x_i$ 和 $x_j$ 拼接形成的单层前馈神经网络:
$c_{i j}=\vec{a}^{T}\left[W x_{i} \| W x_{j}\right]\quad \quad \quad(2)$
其中:
- $\vec{a} \in R^{2 m^{\prime}}$ 是权重向量;
Aspact 2:拓扑距离
在 AE 的 $\text{Encoder}$ 中考虑高阶邻居信息(这里指 $ \text{t-order} $ 邻居),得到 $\text{proximity matrix} $ :
$M=\left(B+B^{2}+\cdots+B^{t}\right) / t\quad \quad\quad(3)$
其中:
- $B$ 是转移矩阵(transition matrix),当 $e_{i j} \in E$ 有边相连,那么 $B_{i j}=1 / d_{i}$ ,否则 $B_{i j}=0$ 。
- $M_{i j}$ 表示 $\text{node}$ $i$ 和 $\text{node}$ $j$ 的 $t$ 阶内的拓扑相关性。这意味着 如果 $\text{node}$ $i$ 和 $\text{node}$ $j$ 存在邻居关系($t$ 阶之内),那么 $M_{i j}>0 $。
通常对每个 $\text{group}$ 中的 $\text{node}$ 做标准化:采用 $\text{softmax function}$
${\large \alpha_{i j}=\operatorname{softmax}_{j}\left(c_{i j}\right)=\frac{\exp \left(c_{i j}\right)}{\sum_{r \in N_{i}} \exp \left(c_{i r}\right)}} \quad \quad \quad(4)$
将 $\text{Eq.2}$ 中 $c_{ij}$ 带入,并添加上 $\text{topological weights }$ $M$ 和激活函数 $\delta$ ,那么 $\text{attention}$ 系数可以表示为:
${\large \alpha_{i j}=\frac{\exp \left(\delta M_{i j}\left(\vec{a}^{T}\left[W x_{i} \| W x_{j}\right]\right)\right)}{\sum_{r \in N_{i}} \exp \left(\delta M_{i r}\left(\vec{a}^{T}\left[W x_{i} \| W x_{r}\right]\right)\right)}} \quad\quad\quad(5)$
其中
- 激活函数 $\delta$ 采用 $LeakyReLU$ ;
- $x_{i}=z_{i}^{0}$ 作为问题的输入 ;
这里我们堆叠 $2$ 个 $\text{graph attention layers}$ :
$z_{i}^{(1)}=\sigma\left(\sum \limits _{j \in N_{i}} \alpha_{i j} W^{(0)} x_{j}\right)\quad \quad \quad (6)$
$z_{i}^{(2)}=\sigma\left(\sum\limits _{j \in N_{i}} \alpha_{i j} W^{(1)} z_{j}^{(1)}\right)\quad \quad\quad(7)$
到这就 Encoder 就编码了 结构信息和属性信息(node attributes),并且我们最终的 $z_{i}=z_{i}^{(2)}$ 。
Inner product decoder
本文采用了简单的 $\text{Inner product decoder}$ [ 输入已经包括了属性值和拓扑结构 ] 去预测节点之间的连接: