arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.12749cs.CRcs.LG
收藏

区块链大语言模型

Blockchain Large Language Models

University of California, Berkeley(加州大学伯克利分校);Imperial College London(帝国理工学院);University College London(伦敦大学学院);Berkeley Center for Responsible, Decentralized Intelligence (RDI)(伯克利负责任去中心化智能中心(RDI))

Yu Gai, Liyi Zhou, Kaihua Qin, Dawn Song, Arthur Gervais

AI总结:

本研究提出区块链异常交易检测工具BlockGPT,通过生成链上活动追踪表示、从头训练大语言模型实现无规则实时检测,在以太坊6800万交易数据集上验证了有效性,并提出适配的编码与分词方法。

摘要:

本文提出了一种动态、实时的区块链异常交易检测方法。所提出的工具BlockGPT生成区块链活动的追踪表示,并从头训练一个大语言模型以充当实时入侵检测系统。与传统方法不同,BlockGPT被设计为提供无限制的搜索空间,不依赖预定义的规则或模式,使其能够检测更广泛的异常。我们通过将BlockGPT用作以太坊交易的异常检测工具来证明其有效性。在我们的实验中,它在包含6800万笔交易的数据集里有效识别出异常交易,平均批量吞吐量为每秒2284笔交易。我们的结果表明,BlockGPT通过将124次攻击中的49次排在与其受害合约交互的前3大最异常交易之列,来识别异常交易。这项工作通过引入一种与transformer架构兼容的自定义数据编码、一种领域特定的分词技术,以及一种专门为以太坊虚拟机(EVM)追踪表示设计的树编码方法,为区块链交易分析领域做出了贡献。

英文摘要:

This paper presents a dynamic, real-time approach to detecting anomalous blockchain transactions. The proposed tool, BlockGPT, generates tracing representations of blockchain activity and trains from scratch a large language model to act as a real-time Intrusion Detection System. Unlike traditional methods, BlockGPT is designed to offer an unrestricted search space and does not rely on predefined rules or patterns, enabling it to detect a broader range of anomalies. We demonstrate the effectiveness of BlockGPT through its use as an anomaly detection tool for Ethereum transactions. In our experiments, it effectively identifies abnormal transactions among a dataset of 68M transactions and has a batched throughput of 2284 transactions per second on average. Our results show that, BlockGPT identifies abnormal transactions by ranking 49 out of 124 attacks among the top-3 most abnormal transactions interacting with their victim contracts. This work makes contributions to the field of blockchain transaction analysis by introducing a custom data encoding compatible with the transformer architecture, a domain-specific tokenization technique, and a tree encoding method specifically crafted for the Ethereum Virtual Machine (EVM) trace representation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑