TLDR: This research paper introduces a comprehensive framework for evaluating AI model inference, integrating both computational metrics (latency, throughput) and environmental metrics (energy consumption, carbon footprint) under realistic conditions. It proposes a reproducible methodology that spans heterogeneous hardware and software stacks, demonstrating how precision quantization, especially INT8, significantly enhances efficiency, particularly for large language models, while clarifying trade-offs between accuracy, performance, and sustainability.
The rapid growth of Artificial Intelligence (AI) has brought immense computational demands, from training complex models to deploying them for real-world use. As AI systems become more pervasive, understanding and optimizing their performance, efficiency, and environmental impact is more critical than ever. A new research paper by Hongyuan Liu, Xinyang Liu, and Guosheng Hu introduces a unified, reproducible methodology to address this challenge, integrating both computational and environmental metrics for AI model inference under realistic serving conditions. This framework aims to provide a pragmatic, carbon-aware evaluation that helps researchers and practitioners measure, compare, and jointly optimize these crucial dimensions across diverse hardware and software environments. You can read the full paper here: Metrics and evaluations for computational and sustainable AI efficiency.
Understanding Computational Efficiency: Latency and Throughput
When we talk about how efficiently an AI system performs, two key metrics come to mind: latency and throughput. Latency refers to the time it takes for an AI system to process an input and produce an output. This includes the time spent on computations, data transfer across networks, and other ancillary tasks like memory operations. The paper highlights that while average latency is a general benchmark, “tail latencies” (like the 95th or 99th percentile) are particularly important in real-world scenarios, as they represent the worst-case delays that can significantly impact user experience and system stability.
Throughput, on the other hand, measures the rate at which an AI system can process tasks over a given period. It’s often expressed in terms of requests per second, transactions per second, or task-specific units like tokens per second for large language models. While related to bandwidth (the maximum data transfer rate), throughput reflects the actual performance, taking into account real-world inefficiencies. The paper emphasizes that optimizing throughput is crucial for scalability and handling high volumes of requests, ensuring systems remain responsive under peak loads.
There’s often a fundamental trade-off between latency and throughput. For instance, processing data in larger batches can increase throughput by handling more data at once, but it might also increase latency due to the time required to fill and process these larger batches. Balancing these two metrics is essential, especially for applications that require both quick responses and high processing capacity.
The Environmental Footprint of AI: Energy and Carbon
Beyond computational speed, the environmental impact of AI has become a pressing concern. The paper delves into two critical environmental metrics: energy consumption and carbon footprint. Energy consumption is the total electrical energy an AI system uses, typically measured in Watt-hours. This includes the energy for model training, inference, and data storage. As AI models grow in complexity, their energy demands have surged dramatically, with computational requirements for deep learning models increasing by 300,000-fold between 2012 and 2018.
The carbon footprint quantifies the greenhouse gas emissions associated with this energy consumption. It’s calculated by considering the Power Usage Effectiveness (PUE) of data centers (which accounts for infrastructure energy like cooling) and the carbon intensity of the electricity used, which varies based on regional energy sources (e.g., renewables vs. fossil fuels). Measuring these impacts is vital for understanding operational costs, aligning AI development with sustainability goals, and promoting transparency in environmental reporting. It also helps in making informed decisions about hardware choices, energy sourcing, and model optimization to reduce AI’s contribution to global carbon emissions.
Also Read:
- Adaptive Precision for Language Models: A New Frontier in Efficiency
- Optimizing AI Inference: A 3D Approach to Balancing Performance, Cost, and Speed
Experimental Insights: Precision, Platforms, and Performance
To make these measurements actionable, the researchers conducted systematic experiments across various neural network models, including ResNet for computer vision and OPT for language processing. They evaluated models with different numerical precisions (FP32, FP16, and INT8) and across mainstream AI software stacks like PyTorch, TensorRT, and ONNX Runtime, on heterogeneous hardware. The goal was to isolate the effects of different optimization strategies.
The findings revealed clear correlations: latency and throughput showed an inverse relationship, while energy consumption and carbon emissions directly correlated with latency. A significant discovery was the impact of INT8 quantization, especially when combined with NVIDIA’s TensorRT. For ResNet models, INT8 quantization delivered substantial gains across all metrics compared to FP16. However, this effect was even more pronounced for OPT language models, where INT8 quantization using the SmoothQuant method resulted in a transformative reduction in latency and energy consumption, often exceeding 95 percent.
This stark difference is attributed to the distinct computational bottlenecks of these architectures. Large language models are frequently limited by memory bandwidth, a constraint drastically alleviated by reducing model weight size through quantization. While vision models also benefit, their performance appears more constrained by computational limits in certain layers. The conclusion is clear: while runtime optimizations are beneficial, precision reduction is the most impactful technique for enhancing efficiency, and its effectiveness is highly dependent on the target model’s architectural properties.
This rigorous benchmarking framework, with accompanying public code and scripts, provides a robust foundation for reproducible and deployment-grounded evaluations. It helps clarify when lower precision or alternative runtimes can lead to sustainability benefits without unacceptable quality loss, and how these trade-offs shift across different hardware classes.


