1 of 42

Final Project

Astroturfing Detection Approach Base on MLP, GNN

Using Ground Truth Data from PTT during 2020 Taiwanese presidential election

​

1

2021/6/29

Group 5

2 of 42

Outline

  • Introduction
  • Dataset
  • Method&Experiment
    • MLP
    • GNN
  • Result

​

2

2021/6/29

3 of 42

Introduction

3

2021/6/29

4 of 42

Introduction

根據此篇論文:

Ming-Hung Wang , et al. (2018). “Detecting Potential Cyber Armies of Election Campaigns Based on Behavioral Analysis.” In 7th International Conference on Complex Networks and Their Applications.

​

所提出的特徵算法,嘗試用MLP、GNN,來看是否能預測網軍(異常者)

​

4

2021/6/29

5 of 42

Dataset

5

2021/6/29

6 of 42

Dataset

6

2021/6/29

​

HatePolitics(黑特版)

Gossiping(八卦版)

​

# of articles

286

331

Tsai, Ying-Wun

234

271

Han, Guo-Yu

47

5

Song, Chu-Yu

​

567

602

Total

# of user

4256

5000

​

# of violator

26

466

​

政黑版 / 八卦版 2019/1~2019/12

​

Ground Truth

7 of 42

根據此篇論文的方法:

​

​

​

​

1.網軍有明顯的政治偏好

2.留言速度快

​

​

我們蒐集了三位總統大選候選人相關的文章對於某議題的總評論數、極性、使用者平均反應時間,當作模型的features使用。

7

2021/6/29

Ming-Hung Wang , et al. (2018). “Detecting Potential Cyber Armies of Election Campaigns Based on Behavioral Analysis.” In 7th International Conference on Complex Networks and Their Applications.

8 of 42

8

2021/6/29

網軍特徵:

​

1.網軍有明顯的政治偏好

​

​

​

​

2.留言速度快

Response time:T(u , a) = 使用者u對於文章a的第一則回應時間-文章a的發表時間

Polarity = PR – NR ( positive ratings – negative ratings )

9 of 42

Polarity

9

2021/6/29

八

卦

版

政

黑

版

10 of 42

Response Time

2021/6/29

八

卦

版

政

黑

版

11 of 42

12 of 42

八卦版

政黑版

政黑版 v.s. 八卦版

13 of 42

Method

13

2021/6/29

14 of 42

MLP

14

2021/6/29

15 of 42

MLP分類

  • 無用戶之間的關係

​

​

15

2021/6/29

16 of 42

作法

  • 總評論數
  • 極性
  • 平均反應時間

​

16

2021/6/29

17 of 42

作法

蔡

  • 總評論數
  • 極性
  • 平均反應時間

​

17

2021/6/29

韓

  • 總評論數
  • 極性
  • 平均反應時間

​

宋

  • 總評論數
  • 極性
  • 平均反應時間

​

18 of 42

作法

蔡

  • 總評論數
  • 極性
  • 平均反應時間

​

18

2021/6/29

韓

  • 總評論數
  • 極性
  • 平均反應時間

​

宋

  • 總評論數
  • 極性
  • 平均反應時間

​

9維向量

19 of 42

作法

19

2021/6/29

9維向量

20 of 42

作法

20

2021/6/29

Fully Connected Layer (128dim)

9維向量

21 of 42

作法

21

2021/6/29

Fully Connected Layer (128dim)

9維向量

Fully Connected Layer (64dim)

22 of 42

作法

22

2021/6/29

Fully Connected Layer (128dim)

9維向量

Fully Connected Layer (64dim)

Drop out (0.1)

Output Layer

23 of 42

實驗-黑特版

  • Train data:3783 筆
  • Test data:473 筆

23

2021/6/29

24 of 42

實驗-黑特版

  • Train data:3783 筆
  • Test data:473 筆

24

2021/6/29

25 of 42

實驗-黑特版

  • Train data:3783 筆
  • Test data:473 筆

25

2021/6/29

正確!!

26 of 42

實驗-黑特版

26

2021/6/29

27 of 42

實驗-黑特版

蔡

  • 總評論數
  • 極性
  • 平均反應時間

​

27

2021/6/29

韓

  • 總評論數
  • 極性
  • 平均反應時間

​

宋

  • 總評論數
  • 極性
  • 平均反應時間

​

28 of 42

實驗-黑特版

蔡

  • 總評論數
  • 極性
  • 平均反應時間

​

28

2021/6/29

韓

  • 總評論數
  • 極性
  • 平均反應時間

​

宋

  • 總評論數
  • 極性
  • 平均反應時間

​

29 of 42

實驗-黑特版

蔡

  • 總評論數
  • 極性
  • 平均反應時間

​

29

2021/6/29

韓

  • 總評論數
  • 極性
  • 平均反應時間

​

宋

  • 總評論數
  • 極性
  • 平均反應時間

​

30 of 42

實驗-八卦版

30

2021/6/29

31 of 42

實驗-八卦版

31

2021/6/29

錯誤

32 of 42

實驗-八卦版

32

2021/6/29

33 of 42

實驗-八卦版

蔡

  • 總評論數
  • 極性
  • 平均反應時間

​

33

2021/6/29

韓

  • 總評論數
  • 極性
  • 平均反應時間

​

宋

  • 總評論數
  • 極性
  • 平均反應時間

​

34 of 42

GNN

34

2021/6/29

35 of 42

接著參考此篇論文提出的觀點:

​

​

​

​

網軍跟網軍之間可能會有某些關聯,如:網軍會對相同產品洗正負評、網軍可能會分散任務到不同帳號以躲避偵測,但對相同議題會擁有類似的看法。

35

2021/6/29

"User-based Network Embedding for Collective Opinion Spammer Detection."  Wang, Ziyang, et al. (2020).

36 of 42

  • MLP沒有考慮到使用者與使用者之間的關係。
  • 使用的GNN model
  • 訓練資料為4800個使用者,測試資料為200個使用者。
    • 訓練資料:正常用戶的部分為4390位,違規用戶為410位
    • 測試資料:正常用戶的部分為144位,違規用戶為56位

36

2021/6/29

GCNConv

Linear

Node feature

Output

model

37 of 42

  • 建立邊:發文者-留言者、留言者-留言者之間建立一條邊。

37

2021/6/29

發文者A

發文者B

留言者

C

留言者�B

留言者A

留言者�D

38 of 42

  • 使用Graph Neural Network進行node classification ,將使用者的總評論數、對於某議題的極性、使用者平均的反應時間當作每個點的feature,讓GNN自己去學node embedding,並辨識可能為網軍的Node embedding。

38

2021/6/29

GCNConv

Linear

Node feature

Output

x.Feature = [T_comment_count:T_polarity:T_response_time:

H_comment_count:H_polarity:H_response_time:

S_comment_count:S_polarity:S_response_time](9個feature)

39 of 42

Result

39

2021/6/29

40 of 42

GNN結果

40

2021/6/29

Model

Accuracy

precision

recall

f1

MLP(政黑)

0.997885835

0.5

1

0.666666667

MLP(八卦)

0.988821385

0

0

0

GNN(八卦)

0.72

0.52

0.72

0.60

41 of 42

遇到的困難

  • 違規用戶跟正常用戶的資料比例不平衡。
    • 違規用戶的資料量太少了。(即使最多人使用的八卦版能當作資料來使用的違規用戶也才大約466個左右)

41

2021/6/29

42 of 42

改進方向

  • 更有效的建立邊的方法。(目前太直觀簡單。)

​

42

2021/6/29