Journal of Computer Applications ›› 2023, Vol. 43 ›› Issue (4): 1005-1012.DOI: 10.11772/j.issn.1001-9081.2022030345

• Artificial intelligence •    

Deep graph matching model based on self-attention network

Zhoubo XU, Puqing CHEN(), Huadong LIU, Xin YANG   

  1. Guangxi Key Laboratory of Trusted Software (Guilin University of Electronic Technology),Guilin Guangxi 541004,China
  • Received:2022-03-22 Revised:2022-05-31 Accepted:2022-06-13 Online:2023-04-11 Published:2023-04-10
  • Contact: Puqing CHEN
  • About author:XU Zhoubo, born in 1976, Ph. D., professor. Her research interests include symbolic calculation, intelligent planning, constraint solving.
    LIU Huadong, born in 1978, M. S., lecturer. His research interests include graph data representation.
    YANG Xin, born in 1997, M. S. candidate. Her research interests include subgraph isomorphism, graph data mining, symbolic calculation.
  • Supported by:
    National Natural Science Foundation of China(61762027);Natural Science Foundation of Guangxi(2017GXNSFAA198172)

基于自注意力网络的深度图匹配模型

徐周波, 陈浦青(), 刘华东, 杨欣   

  1. 广西可信软件重点实验室(桂林电子科技大学),广西 桂林 541004
  • 通讯作者: 陈浦青
  • 作者简介:徐周波(1976—),女,浙江奉化人,教授,博士,CCF会员,主要研究方向:符号计算、智能规划、约束求解;
    刘华东(1978—),男,江西瑞金人,讲师,硕士,主要研究方向:图数据表示;
    杨欣(1997—),女,四川资阳人,硕士研究生,主要研究方向:子图同构、图数据挖掘、符号计算。
  • 基金资助:
    国家自然科学基金资助项目(61762027);广西自然科学基金资助项目(2017GXNSFAA198172)

Abstract:

Node feature representation was learned by Graph Convolutional Network (GCN) by deep graph matching models in the stage of node feature extraction. However, GCN was limited by the learning ability for node feature representation, affecting the distinguishability of node features, which causes poor measurement of node similarity, and leads to the loss of model matching accuracy. To solve the problem, a deep graph matching model based on self-attention network was proposed. In the stage of node feature extraction, a new self-attention network was used to learn node features. The principle of the network is improving the feature description of nodes by utilizing spatial encoder to learn the spatial structures of nodes, and using self-attention mechanism to learn the relations among all the nodes. In addition, in order to reduce the loss of accuracy caused by relaxed graph matching problem, the graph matching problem was modelled to an integer linear programming problem. At the same time, structural matching constraints were added to graph matching problem on the basis of node matching, and an efficient combinatorial optimization solver was introduced to calculate the local optimal solution of graph matching problem. Experimental results show that on PASCAL VOC dataset, compared with Permutation loss and Cross-graph Affinity based Graph Matching (PCA-GM), the proposed model has the average matching precision on 20 classes of images increased by 14.8 percentage points, on Willow Object dataset, the proposed model has the average matching precision on 5 classes of images improved by 7.3 percentage points, and achieves the best results on object matching tasks such as bicycles and plants.

Key words: deep graph matching, graph matching problem, combinatorial optimization, deep learning, self-attention, integer linear programming

摘要:

现有深度图匹配模型在节点特征提取阶段常利用图卷积网络(GCN)学习节点的特征表示。然而,GCN对节点特征的学习能力有限,影响了节点特征的可区分性,造成节点的相似性度量不佳,最终导致模型的匹配精度受损。为解决这一问题,提出一种基于自注意力网络的深度图匹配模型。所提模型在节点特征提取阶段使用新的自注意力网络来学习节点特征,其原理是通过空间编码器和自注意力机制分别学习节点的空间结构以及所有节点之间的联系,从而改善节点的特征描述。此外,为了减小放松图匹配问题所带来的精度损失,将图匹配问题建模为整数线性规划问题,在图匹配问题的节点匹配基础上增加结构匹配约束,以及引入高效的组合优化求解器来计算图匹配问题的局部最优解。实验结果表明,在PASCALVOC数据集上,与PCA-GM相比,所提模型在20类图像上的匹配精度平均值提高了14.8个百分点;在Willow Object数据集上,所提模型在5类图像上的匹配精度平均值提高了7.3个百分点,并且在自行车、植物等目标匹配任务上达到了最佳的效果。

关键词: 深度图匹配, 图匹配问题, 组合优化, 深度学习, 自注意力, 整数线性规划

CLC Number: