Metrics and evaluations for computational and sustainable AI efficiency

Hongyuan Liu, Xinyang Liu, Guosheng HuarXiv 2025 · DOI

Abstract

As AI models grow in complexity, the environmental cost of computation has become a critical concern. This paper introduces a unified benchmarking framework that elevates energy consumption and carbon footprint to first-class metrics alongside traditional performance indicators like latency and throughput. By evaluating vision and language models across various software runtimes and precisions, the authors identify significant optimization opportunities, particularly for Large Language Models (LLMs), where INT8 quantization can reduce energy use by over 95%.

Introduction

The rapid advancement of AI has led to a "comparability gap" in performance evaluation. While metrics for speed (latency) and volume (throughput) are well-established, the environmental impact of these models is often overlooked or inconsistently reported. Current "Green AI" research frequently lacks consideration for data-center overheads or regional variations in carbon intensity. This study proposes a reproducible, vendor-agnostic methodology to measure the trade-offs between accuracy, performance, and sustainability.

Methodology

The proposed framework utilizes a compact suite of metrics to provide a holistic view of model efficiency:

  • Performance Metrics: Latency ($L$) is calculated as the average of $N$ runs, while Throughput is defined as the ratio of batch size to latency.
  • Efficiency Metrics: Energy ($E$) is measured as the integral of power usage over time. Carbon footprint ($C$) is derived using the formula $C = PUE \times \kappa \times E$, where $PUE$ (Power Usage Effectiveness) accounts for infrastructure overhead and $\kappa$ represents the grid's carbon intensity.
  • Cross-Stack Evaluation: The methodology tests identical model graphs across multiple runtimes (PyTorch, TensorRT, ONNX) and hardware platforms (e.g., NVIDIA RTX 3090) to identify software-level bottlenecks.

Experimental Results

Vision Models: ResNet Benchmarks

The evaluation of ResNet-18 and ResNet-50 reveals that while optimization provides steady improvements, the results are highly dependent on the software runtime.

Performance and efficiency metrics for ResNet-18 and ResNet-50 across different runtimes and precisions.

As shown in the table above, TensorRT with INT8 precision achieved the highest efficiency for ResNet-50, reducing latency from 65.85 ms (PyTorch FP16) to 33.29 ms and cutting carbon emissions from 45.58 mg to 17.29 mg. Interestingly, the ONNX runtime showed inconsistent results, improving ResNet-50 performance but degrading it for ResNet-18 relative to the PyTorch baseline.

Large Language Models: The Quantization Breakthrough

The most dramatic results were observed in LLMs like OPT-1.3B. Unlike vision models, which are often compute-bound, LLMs are typically memory-bandwidth bound. Reducing weight precision to INT8 via SmoothQuant alleviated this bottleneck, resulting in a "transformative" shift. For OPT-1.3B, latency dropped from 1207.11 ms to 44.14 ms, and energy consumption fell from 16.56 Wh to 0.59 Wh—a reduction exceeding 95%.

Discussion

The findings highlight that "optimization" is not a uniform process. The disparity between compute-bound vision models and memory-bound LLMs suggests that hardware-software co-design must account for specific architectural bottlenecks. Furthermore, the direct correlation between latency and carbon emissions reinforces a key principle for sustainable AI: faster code is almost always greener code. However, the paper also cautions against relying solely on mean latency, as "tail latencies" (p95/p99) often dictate the actual user experience in production environments.

Conclusion and Future Work

This framework provides a necessary foundation for standardized sustainability reporting in AI. While the current focus is on inference—which represents a significant portion of a model's lifecycle cost—future research will expand to include the energy costs of the training phase and a broader range of hardware environments, including CPU-only clusters. The authors have open-sourced their instrumentation tools to facilitate community adoption of these metrics.

Summary updated

BibTeX
@misc{liu2025metrics,
  author = {Hongyuan Liu and Xinyang Liu and Guosheng Hu},
  title = {{Metrics and evaluations for computational and sustainable AI efficiency}},
  year = {2025},
  eprint = {2510.17885},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.17885},
}
Figure