自动化学报2017,Vol.43Issue(9):1532-1543,12.DOI:10.16383/j.aas.2017.c160655
基于语义嵌入模型与交易信息的智能合约自动分类系统
Towards Automatic Smart-contract Codes Classification by Means of Word Embedding Model and Transaction Information
黄步添 1刘琦 2何钦铭 3刘振广 1陈建海3
作者信息
- 1. 浙江大学计算机科学与技术学院 杭州 310007 中国
- 2. 杭州云象网络技术有限公司 杭州 310012 中国
- 3. 新加坡国立大学计算机学院 新加坡 119613 新加坡
- 折叠
摘要
Abstract
As an innovative extension of the blockchain technology,smart contract enables users to implement personalized logic.As such,blockchain technology becomes more simple and useful.However,due to the rapid increase of the amount of smart contract codes,managing smart contract codes is becoming much more challenging.Automatic code classifier,which rests on the machine learning methods,can automatically identify the categories of the codes so as to saves a lot of human efforts.In this paper we investigate the smart contract codes of the Ethereum platform and propose a novel smart contract code classifier.To the best of our knowledge,this is the first exploration on automatic classification of the smart contract codes.The classifier is based on the word embedding model.Since each smart contract corresponds to a series of transactions,we further utilize the transactions in the contract to understand the intrinsic logic of the contract.Extensive experiments have verified the effectiveness of our proposed system.关键词
智能合约/代码/交易信息/词嵌入模型/神经网络/长短时记忆模型Key words
Smart contract/codes/transaction information/word embedding/neural network/long-short term memory引用本文复制引用
黄步添,刘琦,何钦铭,刘振广,陈建海..基于语义嵌入模型与交易信息的智能合约自动分类系统[J].自动化学报,2017,43(9):1532-1543,12.