Research Papers 论文研究 5h ago Updated 1h ago 更新于 1小时前 44

GreenBench: Benchmarking Energy Efficiency and Carbon Footprint of Open-Source LLM Inference on Apple Silicon GreenBench:评估开源LLM在Apple Silicon上的推理能效与碳足迹

GreenBench is a new benchmarking framework evaluating energy efficiency, throughput, and carbon footprint of open-source LLM inference on Apple Silicon, a previously unstudied area in Green AI research. The Apple M4 Pro (48 GB unified memory) draws only 0.47 W of CPU+GPU package power during sustained inference, achieving 30-40x better energy efficiency per token than datacenter GPUs in single-user deployment. Smaller models (3-3.8B parameters) deliver 2.6-4.2x higher throughput and up to 62% le 提出GreenBench基准测试框架,首次系统评估Apple Silicon统一内存架构上LLM推理的能效与碳足迹 M4 Pro持续推理时仅消耗0.47W封装功率(总系统8-12W),单用户部署能效比数据中心GPU高30-40倍 小模型(3-3.8B)吞吐量比大模型(7-9B)高2.6-4.2倍,每token能耗降低高达62% Qwen 2.5 (7B)在57% MMLU和59 tokens/s时实现最优精度-效率权衡,Llama 3.2 (3B)适合延迟敏感场景(175 tokens/s) 提供按token的封装级和系统级能耗数据,以及印度和美国电网的CO2排放估算

58
Hot 热度
72
Quality 质量
62
Impact 影响力

Analysis 深度分析

TL;DR

  • GreenBench is a new benchmarking framework evaluating energy efficiency, throughput, and carbon footprint of open-source LLM inference on Apple Silicon, a previously unstudied area in Green AI research.
  • The Apple M4 Pro (48 GB unified memory) draws only 0.47 W of CPU+GPU package power during sustained inference, achieving 30-40x better energy efficiency per token than datacenter GPUs in single-user deployment.
  • Smaller models (3-3.8B parameters) deliver 2.6-4.2x higher throughput and up to 62% less energy per token compared to larger models (7-9B parameters).
  • Pareto analysis identifies Qwen 2.5 (7B) as the optimal accuracy-efficiency trade-off (57% MMLU, 59 tokens/s), while Llama 3.2 (3B) is best suited for latency-critical applications at 175 tokens/s.
  • The study provides per-token energy measurements at both package and system levels, along with CO2 estimates for India and US power grids.

Why It Matters

This research fills a critical gap in Green AI by quantifying the environmental impact of running LLMs on consumer-grade Apple Silicon, which is increasingly used for local inference. For AI practitioners deploying models on edge devices or personal hardware, these findings provide actionable data to balance performance, energy consumption, and carbon footprint without relying on datacenter infrastructure.

Technical Details

  • Benchmark Framework: GreenBench evaluates five open-source LLMs (3-9B parameters) across three NLP tasks on an Apple M4 Pro with 48 GB unified memory, using macOS powermetrics for direct power measurement and Ollama's nanosecond-precision timing.
  • Power Characteristics: The M4 Pro consumes only 0.47 W at the CPU+GPU package level during sustained inference, with total system power ranging from 8-12 W, demonstrating exceptional energy efficiency compared to datacenter GPUs.
  • Model Scaling Analysis: Smaller models (3-3.8B) achieve 2.6-4.2x higher throughput and up to 62% less energy per token than larger models (7-9B), highlighting the significant efficiency gains from model downsizing.
  • Pareto-Optimal Models: Qwen 2.5 (7B) emerges as the best accuracy-efficiency compromise at 57% MMLU and 59 tokens/s, while Llama 3.2 (3B) excels in latency-sensitive scenarios at 175 tokens/s.
  • Carbon Footprint Estimation: The study reports per-token energy at both package and system levels, with CO2 estimates calibrated for India and US electrical grids, enabling region-specific sustainability assessments.

Industry Insight

  • Organizations deploying LLMs on consumer hardware should prioritize smaller model variants (3-4B parameters) for throughput-heavy workloads, as they offer dramatically better energy efficiency without severe accuracy sacrifices.
  • Apple Silicon's unified memory architecture presents a compelling alternative for single-user or edge LLM inference, potentially reducing operational carbon costs by 30-40x compared to datacenter GPU deployments.
  • GreenBench's methodology and open framework can serve as a template for evaluating other edge AI platforms, encouraging the industry to adopt standardized energy-efficiency benchmarks alongside accuracy-focused evaluations.

TL;DR

  • 提出GreenBench基准测试框架,首次系统评估Apple Silicon统一内存架构上LLM推理的能效与碳足迹
  • M4 Pro持续推理时仅消耗0.47W封装功率(总系统8-12W),单用户部署能效比数据中心GPU高30-40倍
  • 小模型(3-3.8B)吞吐量比大模型(7-9B)高2.6-4.2倍,每token能耗降低高达62%
  • Qwen 2.5 (7B)在57% MMLU和59 tokens/s时实现最优精度-效率权衡,Llama 3.2 (3B)适合延迟敏感场景(175 tokens/s)
  • 提供按token的封装级和系统级能耗数据,以及印度和美国电网的CO2排放估算

为什么值得看

本文填补了Apple Silicon统一内存架构上LLM推理能效研究的空白,为开发者和企业评估边缘部署的绿色AI方案提供了关键基准数据。研究结果揭示了小模型在吞吐量和能耗上的显著优势,为实际应用场景的模型选型提供了量化依据。

技术解析

  • 测试平台:Apple M4 Pro,48GB统一内存,使用macOS powermetrics进行直接功率测量,Ollama提供纳秒级精度计时
  • 模型范围:五个开源LLM(3-9B参数),覆盖三个NLP任务,测试了不同规模模型在统一内存架构下的性能表现
  • 能效发现:M4 Pro封装功率仅0.47W,总系统功率8-12W,相比数据中心GPU实现30-40倍能效提升,验证了统一内存架构在边缘推理中的优势
  • 模型权衡分析:通过Pareto分析识别出Qwen 2.5 (7B)为精度-效率最优平衡点(57% MMLU,59 tokens/s),Llama 3.2 (3B)适合延迟关键应用(175 tokens/s)
  • 碳排放评估:提供封装级和系统级每token能耗数据,并基于印度和美国电网的碳排放因子估算CO2足迹

行业启示

  • Apple Silicon统一内存架构为LLM边缘部署提供了极具竞争力的能效方案,企业可考虑将部分推理负载从数据中心迁移至本地设备以降低碳足迹
  • 小参数模型(3-4B)在吞吐量和能耗上的显著优势表明,实际应用中应优先评估小模型而非盲目追求大模型规模
  • 绿色AI基准测试框架的标准化需求日益迫切,GreenBench为行业提供了可复用的评估方法论和参考数据

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 Inference 推理 Benchmark 基准测试 Chip 芯片 Open Source 开源