GithubHelp home page GithubHelp logo

bunsenfeng / botheterogeneity Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 1.0 28 KB

Code listing for the paper 'Heterogeneity-aware Twitter Bot Detection with Relational Graph Transformers'. AAAI 2022.

Python 100.00%

botheterogeneity's People

Contributors

bunsenfeng avatar tamsiuhin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

evanlyf

botheterogeneity's Issues

Data Processing for All Relations

Thank you for this great work. I have processed Twibot-20 in accordance with the process in BotRGCN. However, this data lacks some of the relation heterogeneity aspects described in the paper (interest domain, counts, and clusters). Is it possible to get that preprocessing code?

Is the uploaded code incomplete?

Is the uploaded code incomplete?
I haven't seen the code for how so many files are generated.
What part of the experiment are the different files mainly doing?

Was the code you uploaded earlier used ?

Was the code you uploaded earlier used to generate some user profile file in "BotHeterogeneity"? Such as BotRGCN.
I'm not sure because the generated files are named differently.

Missing files while running "allrelation.py"

After running thorough the data preprocess codes, there seems to be missing some PyTorch files, such as label_list.pt, user_feature2.pt, user_feature3.pt

May I ask if there is some code missing ? If there are some extra data process files, how should I process the data to get the similar results ?

A minor discrepancy between the code and the paper

Hi, team.
1.The formula (4) mentioned in the paper states that the representation obtained through the relational graph transformer is the weighted aggregation of neighbor representations. However, upon briefly understanding the mechanism of TransformerConv in the code, I found that its output is the node representation along with the weighted aggregated neighbor representations. I am unsure if my understanding is correct or if there might be an issue with it.
2.Regarding the construction of initial hidden vectors for the nodes in the relational graph, the description given in the paper is consistent with BotRGCN from 2021. That is, the initial hidden vector equals the tweet features, profile description features, 6 numerical features , and
11 categorical features. However, in the code, the number of numerical and categorical features doesn't match that in the paper. Could you explain the reasoning behind this inconsistency? Additionally, when conducting comparative experiments, how were the initial hidden vectors for BotRGCN's nodes obtained?
您好,感谢在百忙之中查看我的问题。
1.论文里面公式(4)提到,通过relational graph transformer,获取到的表示是邻居表示的加权聚合,但我在简要了解代码中TransformerConv机理时,发现它输出值为节点表示+加权聚合后的邻居表示,我不清楚是否是我的理解出现了问题
2.对于构建关系图节点的初始隐藏向量,论文里面给出的描述是与2021年 BotRGCN保持一致,即初始隐藏向量=推文特征+个人描述特征+数字特征(6个)+类型特征(11个),但代码中数字特征与类型特征的特征数与论文不匹配,这是出于什么考虑呢;在做对比实验时,是如何得到BotRGCN的节点初始隐藏向量的呢?

Error during the training step

Hello again, I've took the advice previously and check the Twi-bot20 repo and the RGCN progress. Yet with all the files required ready, I confront an error while the program runs to the training step.

The error code is as follow.
image

Thank you for your time !

Question for the method of the Heterogeneous Information Networks' construction

hello, thanks for reading my question:
《Heterogeneity-aware Twitter Bot Detection with Relational Graph Transformers》 has mentioned the Heterogeneous Information Networks(relation heterogeneity and influence heterogeneity), but I have not found the method of how to build the Heterogeneous Information Networks(HIN). Can you introduce the details of the method of building the Heterogeneous Information Networks. Thank you very much!

preprocessed data query

Dear owner,
Sorry to disturb you. I'm wondering where I can get preprocessed data files such as "des_cluster2_00_edge.pt","f0_edge_index_28.pt" in all_relations.py

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.