arXiv:2506.09061cs.DCcs.AI2025-06ICML被引 5

EdgeProfiler快速评估边缘设备上轻量大模型的性能表现。

EdgeProfiler: A Fast Profiling Framework for Lightweight LLMs on Edge Using Analytical Model

  • 用解析模型估算延迟、计算量和能耗,实现快速评估。
  • 4比特量化使内存减少60%-70%,推理速度提升2-3倍。
  • 适合边缘部署场景,尤其适用于树莓派、Jetson等设备。

本文提出EdgeProfiler,一种面向边缘系统上轻量级大语言模型(LLM)的快速性能评估框架。尽管大模型在自然语言理解与生成方面表现出色,但其高计算、内存和功耗需求使其通常仅限于云端运行。EdgeProfiler通过系统化方法评估资源受限环境下的模型性能,针对TinyLLaMA、Gemma3.1B、Llama3.2-1B和DeepSeek-r1-1.5B等紧凑模型,在激进量化与严格内存约束下进行分析。采用解析建模估算延迟、浮点运算量(FLOPs)及能耗。结果表明,4比特量化可将模型内存使用降低约60%-70%,同时保持与全精度基线2%-5%的准确率差距;在多种边缘设备上,推理速度相比FP16基线提升2-3倍。功耗建模显示,INT4配置可实现35%-50%的能耗下降,使模型可在Raspberry Pi 4/5和Jetson Orin Nano Super等硬件上实现实际部署。研究强调了为边缘环境定制高效评估方法的重要性,需在准确性、能效与计算可行性间取得平衡。

原文摘要 · Abstract (English)

This paper introduces EdgeProfiler, a fast profiling framework designed for evaluating lightweight Large Language Models (LLMs) on edge systems. While LLMs offer remarkable capabilities in natural language understanding and generation, their high computational, memory, and power requirements often confine them to cloud environments. EdgeProfiler addresses these challenges by providing a systematic methodology for assessing LLM performance in resource-constrained edge settings. The framework profiles compact LLMs, including TinyLLaMA, Gemma3.1B, Llama3.2-1B, and DeepSeek-r1-1.5B, using aggressive quantization techniques and strict memory constraints. Analytical modeling is used to estimate latency, FLOPs, and energy consumption. The profiling reveals that 4-bit quantization reduces model memory usage by approximately 60-70%, while maintaining accuracy within 2-5% of full-precision baselines. Inference speeds are observed to improve by 2-3x compared to FP16 baselines across various edge devices. Power modeling estimates a 35-50% reduction in energy consumption for INT4 configurations, enabling practical deployment on hardware such as Raspberry Pi 4/5 and Jetson Orin Nano Super. Our findings emphasize the importance of efficient profiling tailored to lightweight LLMs in edge environments, balancing accuracy, energy efficiency, and computational feasibility.

边缘计算轻量模型量化性能评估

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。