Messi-Q / AMEVulDetector

Smart Contract Vulnerability Detection From Pure Neural Network to Interpretable Graph Feature and Expert Pattern Fusion (IJCAI-21 Accepted)
79 stars 12 forks source link

Questions about using the cross attention model #3

Open urnotcoward opened 2 years ago

urnotcoward commented 2 years ago

Dear professor Peng Qian, Recently I have read the latest paper published by your team in IJCAI-21-《Smart Contract Vulnerability Detection: From Pure Neural Network to Interpretable Graph Feature and Expert Pattern Fusion》, which is a very interesting work and has brought me a lot of inspiration. I have read your paper and code, and want to use the cross attention mechanism mentioned in your paper to perform feature fusion on the data. image

   The following is the model I adjusted according to the idea of cross attention to perform feature fusion, but the effect is very poor. Before the fusion, the accuracy of my data classification was 90%, but after using the cross attention feature fusion model, the accuracy dropped to less than 50%.

   I tried to ask related questions in the TensorFlow community, but none of the community members seem to understand this new model and mechanism.
   Would you please to help me find out what is wrong with my model?
   I would like to hear your experience and advice about it.

image

    I'm very sorry if it bothered you. Looking forward to your reply!
    All the best to you and your team~☺
scener-y commented 5 months ago

你好,打扰了,我还没有做的这一步,我对标签的问题一直疑惑,不知道怎么获取数据集的标签,作者在文件里面给的数据的标签很少,请问如何获取更多的智能合约漏洞标签。谢谢。

scener-y commented 5 months ago

Hello, sorry to bother you. I haven't taken this step yet. I have been puzzled about the issue of tags and don't know how to obtain the tags of the dataset. The author provided very few tags for the data in the file. How can I obtain more smart contract vulnerability tags. Thank you.