arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.07921cs.LGcs.AIcs.CL
收藏

Merino:面向IoT设备的生成式语言模型的熵驱动设计

Merino: Entropy-driven Design for Generative Language Models on IoT Devices

University of Central Florida(中佛罗里达大学);University of Technology Sydney(悉尼科技大学)

Youpeng Zhao, Ming Lin, Huadong Tang, Qiang Wu, Jun Wang

AI总结:

本文提出一种用于设计移动友好型生成式语言模型的信息熵框架MeRino,通过求解数学规划问题实现近零成本设计,在IoT设备上相比350M参数OPT模型速度快4.9倍且模型缩小5.5倍,性能相当或更优。

摘要:

生成式大型语言模型(LLMs)是现代人工智能(AI)领域的革命性进步。然而,将LLMs缩小以适应资源受限的硬件(例如物联网(IoT)设备)需要不平凡的努力和领域知识。在本文中,我们提出了一种用于设计移动友好型生成式语言模型的新型信息熵框架。整个设计过程涉及求解一个数学规划(MP)问题,该问题可在CPU上几分钟内完成,使其几乎零成本。我们在14个NLP下游任务上评估了我们设计的模型(称为MeRino),表明在移动设置下,它们与最先进的自回归transformer模型相比具有竞争力的性能。值得注意的是,与350M参数的OPT相比,MeRino在语言建模和零样本学习任务上均取得了相似或更好的性能,同时在NVIDIA Jetson Nano上速度快4.9倍,模型大小减少5.5倍。

英文摘要:

Generative Large Language Models (LLMs) stand as a revolutionary advancement in the modern era of artificial intelligence (AI). However, scaling down LLMs for resource-constrained hardware, such as Internet-of-Things (IoT) devices requires non-trivial efforts and domain knowledge. In this paper, we propose a novel information-entropy framework for designing mobile-friendly generative language models. The whole design procedure involves solving a mathematical programming (MP) problem, which can be done on the CPU within minutes, making it nearly zero-cost. We evaluate our designed models, termed MeRino, across fourteen NLP downstream tasks, showing their competitive performance against the state-of-the-art autoregressive transformer models under the mobile setting. Notably, MeRino achieves similar or better performance on both language modeling and zero-shot learning tasks, compared to the 350M parameter OPT while being 4.9x faster on NVIDIA Jetson Nano with 5.5x reduction in model size.

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

↑