谣言检测(DUCK)《DUCK: Rumour Detection on Social Media by Modelling User and Comment Propagation Networks

论文信息

论文标题:DUCK: Rumour Detection on Social Media by Modelling User and Comment Propagation Networks
论文作者:Lin Tian, Xiuzhen Zhang, Jey Han Lau
论文来源:2022,NAACL
论文地址:download 
论文代码:download 

1 Introduction

  本文的模型研究了如何充分利用用户和评论信息,对比之前的方法,有以下不同:

  (1) we model comments both as a:

    (i) stream to capture the temporal nature of evolving comments; 

    (ii) network by following the conversational structure (see Figure 1 for an illustration);

  (2) our comment network uses sequence model to encode a pair of comments before feeding them to a graph network, allowing our model to capture the nuanced charac- teristics (e.g. agreement or rebuttal) exhibited by a reply;

  (3) when modelling the users who engage with a story via graph networks, we initialise the user nodes with encodings learned from their profiles and characteristics of their “friends” based on their social networks.

2 Problem Statement

  

3 Methodology

  总体框架:

  

  包括如下几个部分:

  (1) comment tree: models the comment network by following the reply-to structure using a combination of BERT and graph attentional networks;
  (2) comment chain: models the comments as a stream using transformer-based sequence models;
  (3) user tree: incorporates social relations to model the user network using graph attentional networks;
  (4) rumour classifier: combines the output from comment tree, comment chain and user tree to classify the source post.

  请注意,user tree 的网络结构不同于 comment tree 的网络结构,因为前者同时捕获 comment 和 reposts/retweets,但后者只考虑 comment(Figure 1)。

3.1 Comment Tree

  基于 GNN 的建模 comment 之间的关系的模型通常使用的是简单的文本特征(bag-of-words),忽略了 comment 之间的微妙关系("stance" or "deny")关系。

  所以,本文采用预训练语言模型 BERT 和 GAT 去建模 comment tree ,具体参见 Figure 2:

  

  首先,使用 BERT 去处理一对 parent-child posts ,然后使用 GAT 去建模整个 conversational strucure 。( self-attention 在 parent-child 之间的词产生细粒度的分析)

  以 Figure 2 中的 comment tree 为例,这意味着我们将首先使用 BERT 处理以下几对 comments {(0, 0),(0, 1),(0, 2),(2, 6),(2, 7),(6, 9)}:

    hp+q=BERT(emb([CLS],cp,[SEP],cq))

  其中,c 表示 text,emb() 表示 embedding function,h 表示由 BERT 产生的 [CLS] 标记的上下文表示。

  为了模拟 conversational network structure ,本文使用图注意网络 GAT。为了计算 h(l+1)i ,在迭代 l+1 次时对节点 i 的编码:

    e(l)ij=LR(a(l)T(W(l)h(l)iW(l)h(l)j))h(l+1)i=σ(jN(i)softmax(e(l)ij)z(l)j)

  为了聚合节点编码以得到一个图表示((zct) ),探索了四种方法:

  root:Uses the root encoding to represent the graph as the source post

    zct=hL0

  ¬root : Mean-pooling over all nodes except the root:

    zct=1mmi=1hLi

    where m is the number of replies/comments.

  Δ : Mean-pooling of the root node and its immediate neighbours:

    zct=1|N(0)|iN(0)hLi

  all: Mean-pooling of all nodes:

    zct=1m+1mi=0hLi

3.2 Comment Chain

  本文按照它们发布的顺序将这些帖子建模为一个流结构,而不是一个树结构,处理 comment chain 考虑了三种模型:

  (1) one-tier transformer
  (2) longformer
  (3) two-tier transformer

3.2.1 One-tier transformer

  给定一个源帖子 (c0) 和 comment ({c1,,cm}) ,我们可以简单地将它们连接成一个长字符串,并将其提供给 BERT:

    zcc=BERT(emb([CLS],c0,[SEP],c1,,cm))

  其中,m(<m) 是我们可以合并的不超过 BERT 的最大序列长度的 comment(实验中是384个)。

3.2.2 Longformer

  为规避序列长度的限制,实验使用了一个 Longformer,它可以处理多达4096个子词,允许使用大部分 comment,如果不是所有的评论。

  Longformer 具有与 one-tier transformer 类似的架构,但使用更稀疏的注意模式来更有效地处理更长的序列。我们使用一个预先训练过的 Longformer,并遵循与之前相同的方法来建模 comment chain:

    zcc=LF(emb([CLS],c0,[SEP],c1,,cm))

  其中,mm

3.2.3 Two-tier transformer

  解决序列长度限制的另一种方法是使用 two tiers of transformers 对 comment chain 进行建模:一层用于独立处理帖子,另一种用于使用来自第一个 transformer 的表示来处理帖子序列。

    hi=BERT(emb1([CLS],ci))zcc=transformer(emb2([CLS]),h0,h1,,hm)

  其中,BERT 和 transformer 分别表示 first-tier transformers 和 second-tier transformers。econd-tier transformers 具有与 BERT 类似的架构,但只有 2 层,其参数是随机初始化的。

3.3 User Tree

  我们探索了三种都是基于 GAT 建模 user network 的方法,并通过 mean-pooling 所有节点来聚合节点编码,以生成图表示:

    zut=1m+1mi=0hLi

  这三种方法之间的主要区别在于它们如何初始化用户节点 (h(0)i)

  第一种 GATrnd  :用随机向量初始化用户节点。

    h0i=random[v1,v2,,vd]

  第二种 GATprf:  : 来自他们的 user profiles :username, user screen name, user description, user account age 等。因此,static user node h0iviRk 给出

    h0i=[v1,v2,,vk]

  第三种 GATprf + rel :  :该方法基于用户特征(user profiles)及其社会关系(基于“follow”关系)通过变分图自动编码器 GAE 初始化用户节点的表示。

  前者捕捉使用源帖子的用户,而后者是互相关注的用户网络。

  给定基于训练数据构造的 social graph  Gs ,我们可以推导出一个邻接矩阵 ARn×n ,其中 n 为用户数。设 X=[x1,x2,,xn],xiRkxiRk 为输入节点特征。我们的目标是学习一个变换矩阵 ZRn×d ,它将用户转换为一个维数为 d 的潜在空间。我们使用一个两层的 GCN 作为编码器。它以邻接矩阵 A 和特征矩阵 X 作为输入,并生成潜在变量 Z 作为输出。解码器由潜在变量 Z 之间的内积定义。我们的解码器的输出是一个重构的邻接矩阵 ˆA 。从形式上讲:

    Z=enc(X,A)=GCN(f(GCN(A,X;θ1));θ2)ˆA=dec(Z,Z)=σ(ZZ)

  h(0)iRd 通过下述方法计算:

    h(0)i={ReLU(W[v1,,vk]), if useriGsZi, if useriGs

  其中,Wi 是全连接参数,viRk 是 user profiles。

3.4 Rumour Classifier

  使用 comment tree、comment chain、user tree 分别生成的图表示 zctzcczut 进行谣言分类:

    z=zctzcczutˆy=softmax(Wcz+bc)L=ni=1yilog(^yi)
  其中,n 表示训练实例数。

4 Experiments and Results

4.1 Datasets

  数据集统计如下:

  

  we report the average performance based on 5-fold cross-validation.

  we reserve 20% data as test and split the rest in a ratio of 4:1 for training and development partitions and report the average test performance over 5 runs (initialised with different random seeds).

4.2 Results

  本文实验主要回答如下问题:

  • Q1 [Comment tree]: Does incorporating BERT to analyse the relation between parent and child posts help modelling the comment network, and what is the best way to aggregate comment-pair encodings to represent the comment graph?
  • Q2 [Comment chain]: Does incorporating more comments help rumour detection when modelling them as a stream of posts?
  • Q3 [User tree]: Can social relations help modelling the user network?
  • Q4 [Overall performance]: Do the three different components complement each other and how does a combined approach compared to existing rumour detection systems?

4.2.1 Comment Tree

  为了理解使用BERT处理一对 parent-child posts 的影响,我们提出了另一种替代方法(“unpaired”),即使用 BERT 独立处理每个帖子,然后将其 [CLS] 表示提供给GAT。

    hp=BERT(emb([CLS],cp))

  其中,h 将用作 GAT 中的初始节点表示(h(0) )。这里报告了这个替代模型(“unpaired”)及不同的聚合方法(“root”“¬root”“all”)的性能。

  

  Comparing the aggregation methods, "all" performs the best, followed by "\boldsymbol{\Delta} " and "root" (0.88  vs  . 0.87 vs. 0.86 in Twitter16; 0.87 vs. 0.86 vs. 0.85 in CoAID in terms of Macro-F1). We can see that the root and its immediate neighbours contain most of the information, and not including the root node impacts the performance severely (both Twitter16 and CoAID drops to 0.80 with \neg root).

  Does processing the parent-child posts together with BERT help? The answer is evidently yes, as we see a substantial drop in performance when we process the posts independently: "unpaired" produces a macro-F1 of only 0.83 in both Twitter16 and CoAID. Given these results, our full model (DUCK) will be using "all"' as the aggregation method for computing the comment graph representation.

4.2.2 Comment Chain

  Fig. 3 绘制了我们改变所包含的评论数量来回答 Q2 的结果:

  

4.2.3 User Tree

  

4.2.4 Overall Rumour Detection Performance

  

 

__EOF__

t_220402123121_2.png
本文作者: Blair 本文链接: https://www.cnblogs.com/BlairGrowing/p/16779044.html 关于博主: 评论和私信会在第一时间回复。或者直接私信我。 版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处! 声援博主: 如果您觉得文章对您有帮助,可以点击文章右下角推荐一下。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值