arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.08171cs.LGstat.ML
收藏

图对比学习中的评价模块

Evaluating Modules in Graph Contrastive Learning

Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);Beijing University of Posts and Telecommunications(北京邮电大学);Tencent Inc.(腾讯公司)

Ganqu Cui, Yufeng Du, Cheng Yang, Jie Zhou, Liang Xu, Xing Zhou, Xingyi Cheng, Zhiyuan Liu

摘要:

近年来,对比学习方法的出现促进了图表示学习(GRL)的应用,将图对比学习(GCL)引入到文献中。这些方法对比语义相似和不相似的样本对,以将语义编码到节点或图嵌入中。然而,现有的研究大多只进行了\textbf{model-level}的评价,并没有对模块的组合空间进行更全面、系统的研究。为了有效的\textbf{module-level}评估,我们提出了一个框架,将GCL模型分解为四个模块:(1)\textbf{sampler},用于生成锚点,正和负数据样本(节点或图);(2)\textbf{encoder}和\textbf{readout}函数,用于获取样本嵌入;(3)\textbf{discriminator},用于对每个样本对(锚点阳性和锚点阴性)进行评分;以及(4)\textbf{estimator},用于定义损失函数。基于这个框架,我们对节点和图分类任务的各种架构设计和超参数设置进行了受控实验。具体来说,我们设法量化单个模块的影响,研究模块之间的交互,并将整体性能与当前模型架构进行比较。我们的主要发现包括一套GCL的模块级指南,例如,来自LINE和DeepWalk的简单采样器是强大和鲁棒的;与Sum读出相关联的MLP编码器可以在图分类上实现有竞争力的性能。最后,我们将我们的实现和结果作为OpenGCL发布,OpenGCL是一个模块化的工具包,允许方便的复制,标准模型和模块评估,以及易于扩展。OpenGCL可从\url{https://github.com/thunlp/OpenGCL}获得。

英文摘要:

The recent emergence of contrastive learning approaches facilitates the application on graph representation learning (GRL), introducing graph contrastive learning (GCL) into the literature. These methods contrast semantically similar and dissimilar sample pairs to encode the semantics into node or graph embeddings. However, most existing works only performed \textbf{model-level} evaluation, and did not explore the combination space of modules for more comprehensive and systematic studies. For effective \textbf{module-level} evaluation, we propose a framework that decomposes GCL models into four modules: (1) a \textbf{sampler} to generate anchor, positive and negative data samples (nodes or graphs); (2) an \textbf{encoder} and a \textbf{readout} function to get sample embeddings; (3) a \textbf{discriminator} to score each sample pair (anchor-positive and anchor-negative); and (4) an \textbf{estimator} to define the loss function. Based on this framework, we conduct controlled experiments over a wide range of architectural designs and hyperparameter settings on node and graph classification tasks. Specifically, we manage to quantify the impact of a single module, investigate the interaction between modules, and compare the overall performance with current model architectures. Our key findings include a set of module-level guidelines for GCL, e.g., simple samplers from LINE and DeepWalk are strong and robust; an MLP encoder associated with Sum readout could achieve competitive performance on graph classification. Finally, we release our implementations and results as OpenGCL, a modularized toolkit that allows convenient reproduction, standard model and module evaluation, and easy extension. OpenGCL is available at \url{https://github.com/thunlp/OpenGCL}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑