Sustainable LLM Inference for Edge AI: Evaluating Quantized LLMs for Energy Efficiency, Output Accuracy, and Inference Latency

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Husom, Erik Johannes, Goknil, Arda, Astekin, Merve, Shar, Lwin Khin, Kåsen, Andre, Sen, Sagar, Mithassel, Benedikt Andreas, Soylu, Ahmet
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913776385654784
author Husom, Erik Johannes
Goknil, Arda
Astekin, Merve
Shar, Lwin Khin
Kåsen, Andre
Sen, Sagar
Mithassel, Benedikt Andreas
Soylu, Ahmet
author_facet Husom, Erik Johannes
Goknil, Arda
Astekin, Merve
Shar, Lwin Khin
Kåsen, Andre
Sen, Sagar
Mithassel, Benedikt Andreas
Soylu, Ahmet
contents Deploying Large Language Models (LLMs) on edge devices presents significant challenges due to computational constraints, memory limitations, inference speed, and energy consumption. Model quantization has emerged as a key technique to enable efficient LLM inference by reducing model size and computational overhead. In this study, we conduct a comprehensive analysis of 28 quantized LLMs from the Ollama library, which applies by default Post-Training Quantization (PTQ) and weight-only quantization techniques, deployed on an edge device (Raspberry Pi 4 with 4GB RAM). We evaluate energy efficiency, inference performance, and output accuracy across multiple quantization levels and task types. Models are benchmarked on five standardized datasets (CommonsenseQA, BIG-Bench Hard, TruthfulQA, GSM8K, and HumanEval), and we employ a high-resolution, hardware-based energy measurement tool to capture real-world power consumption. Our findings reveal the trade-offs between energy efficiency, inference speed, and accuracy in different quantization settings, highlighting configurations that optimize LLM deployment for resource-constrained environments. By integrating hardware-level energy profiling with LLM benchmarking, this study provides actionable insights for sustainable AI, bridging a critical gap in existing research on energy-aware LLM deployment.
format Preprint
id arxiv_https___arxiv_org_abs_2504_03360
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Sustainable LLM Inference for Edge AI: Evaluating Quantized LLMs for Energy Efficiency, Output Accuracy, and Inference Latency
Husom, Erik Johannes
Goknil, Arda
Astekin, Merve
Shar, Lwin Khin
Kåsen, Andre
Sen, Sagar
Mithassel, Benedikt Andreas
Soylu, Ahmet
Computers and Society
Artificial Intelligence
Computation and Language
Machine Learning
Deploying Large Language Models (LLMs) on edge devices presents significant challenges due to computational constraints, memory limitations, inference speed, and energy consumption. Model quantization has emerged as a key technique to enable efficient LLM inference by reducing model size and computational overhead. In this study, we conduct a comprehensive analysis of 28 quantized LLMs from the Ollama library, which applies by default Post-Training Quantization (PTQ) and weight-only quantization techniques, deployed on an edge device (Raspberry Pi 4 with 4GB RAM). We evaluate energy efficiency, inference performance, and output accuracy across multiple quantization levels and task types. Models are benchmarked on five standardized datasets (CommonsenseQA, BIG-Bench Hard, TruthfulQA, GSM8K, and HumanEval), and we employ a high-resolution, hardware-based energy measurement tool to capture real-world power consumption. Our findings reveal the trade-offs between energy efficiency, inference speed, and accuracy in different quantization settings, highlighting configurations that optimize LLM deployment for resource-constrained environments. By integrating hardware-level energy profiling with LLM benchmarking, this study provides actionable insights for sustainable AI, bridging a critical gap in existing research on energy-aware LLM deployment.
title Sustainable LLM Inference for Edge AI: Evaluating Quantized LLMs for Energy Efficiency, Output Accuracy, and Inference Latency
topic Computers and Society
Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2504.03360