SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1902.06673 · 2019

Fake News Detection on Social Media using Geometric Deep Learning

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 12 functions out of this paper's own repositories and ran 10 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
npurg/faknow pwc_unofficial 8 of 10
copy not recorded — 1 of 1
gordicaleksa/pytorch-GAT reimplementation 1 of 1
FunctionStatusWhere it lives
cal_length Ran npurg/faknow/faknow/model/content_based/m3fend.py
code served (permissive licence) · get_code("1f9e3635ea437a43")
calculate_accuracy Ran npurg/faknow/faknow/evaluate/metrics.py
code served (permissive licence) · get_code("3d7ef288ba2728b6")
conv2d_bn_relu Ran npurg/faknow/faknow/model/layers/dct.py
code served (permissive licence) · get_code("99c62a2efeaa598a")
get_metric_func Ran npurg/faknow/faknow/evaluate/metrics.py
code served (permissive licence) · get_code("30876570035a9feb")
masked_softmax Ran npurg/faknow/faknow/model/layers/transformer.py
code served (permissive licence) · get_code("d585b0b52e8e6a84")
norm Ran npurg/faknow/faknow/model/content_based/m3fend.py
code served (permissive licence) · get_code("260cf2039211af77")
sequence_mask Ran npurg/faknow/faknow/model/layers/transformer.py
code served (permissive licence) · get_code("62c7cc7bf1f04934")
split Ran this paper's copy was not recorded; identical code first harvested from safe-graph/GNN-FakeNews
pointer only · get_code("fa145afc46ed4a2d")
to_GBs Ran gordicaleksa/pytorch-GAT/playground.py
code served (permissive licence) · get_code("364e76fb256f12f4")
transpose_qkv Ran npurg/faknow/faknow/model/layers/transformer.py
code served (permissive licence) · get_code("9fe1fb5979d44c4d")
calculate_precision Not yet run npurg/faknow/faknow/evaluate/metrics.py
code served (permissive licence) · get_code("811f77b9f94fc00d")
convert_to_onehot Not yet run npurg/faknow/faknow/model/content_based/m3fend.py
code served (permissive licence) · get_code("2f32d51fc968cd31")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Social media are nowadays one of the main news sources for millions of people around the globe due to their low cost, easy access and rapid dissemination. This however comes at the cost of dubious trustworthiness and significant risk of exposure to 'fake news', intentionally written to mislead the readers. Automatically detecting fake news poses challenges that defy existing content-based analysis approaches. One of the main reasons is that often the interpretation of the news requires the knowledge of political or social context or 'common sense', which current NLP algorithms are still missing. Recent studies have shown that fake and real news spread differently on social media, forming propagation patterns that could be harnessed for the automatic fake news detection. Propagation-based approaches have multiple advantages compared to their content-based counterparts, among which is language independence and better resilience to adversarial attacks. In this paper we show a novel automatic fake news detection model based on geometric deep learning. The underlying core algorithms are a generalization of classical CNNs to graphs, allowing the fusion of heterogeneous data such as content, user profile and activity, social graph, and news propagation. Our model was trained and tested on news stories, verified by professional fact-checking organizations, that were spread on Twitter. Our experiments indicate that social network structure and propagation are important features allowing highly accurate (92.7% ROC AUC) fake news detection. Second, we observe that fake news can be reliably detected at an early stage, after just a few hours of propagation. Third, we test the aging of our model on training and testing data separated in time. Our results point to the promise of propagation-based approaches for fake news detection as an alternative or complementary strategy to content-based approaches.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("1902.06673")
get_code_for_paper("1902.06673")
have("1902.06673")

Connect an agent — have() is free.