← 返回论文检索
The ACM Web Conference 2024Research Track: Systems and Infrastructure for Web, Mobile, and WoT

ZipZap: Efficient Training of Language Models for Large-Scale Fraud Detection on Blockchain

Sihao Hu, Tiansheng Huang, Ka-Ho Chow 0001, Wenqi Wei 0001, Yanzhao Wu 0001, Ling Liu 0001

PDF 由论文原始站点提供,PaperCompass 不保存论文文件。DOI 10.1145/3589334.3645352 ↗

摘要

Language models (LMs) have demonstrated superior performance in detecting fraudulent activities on Blockchains. Nonetheless, the sheer volume of Blockchain data results in excessive memory and computational costs when training LMs from scratch, limiting their capabilities to large-scale applications. In this paper, we present ZipZap, a framework tailored to achieve both parameter and computational efficiency when training LMs on large-scale transaction data. First, with the frequency-aware compression, an LM can be compressed down to a mere 7.5% of its initial size with an imperceptible performance dip. This technique correlates the embedding dimension of an address with its occurrence frequency in the dataset, motivated by the observation that embeddings of low-frequency addresses are insufficiently trained and thus negating the need for a uniformly large dimension for knowledge representation. Second, ZipZap accelerates the speed through the asymmetric training paradigm: It performs transaction dropping and cross-layer parameter-sharing to expedite the pre-training process, while revert to the standard training paradigm for fine-tuning to strike a balance between efficiency and efficacy, motivated by the observation that the optimization goals of pre-training and fine-tuning are inconsistent. Evaluations on real-world, large-scale datasets demonstrate that ZipZap delivers notable parameter and computational efficiency improvements for training LMs. Our implementation is available at: https://github.com/git-disl/ZipZap.