Paper Reading AI Learner

Comparing energy consumption and accuracy in text classification inference

2025-08-19 18:00:08
Johannes Zschache, Tilman Hartwig

Abstract

The increasing deployment of large language models (LLMs) in natural language processing (NLP) tasks raises concerns about energy efficiency and sustainability. While prior research has largely focused on energy consumption during model training, the inference phase has received comparatively less attention. This study systematically evaluates the trade-offs between model accuracy and energy consumption in text classification inference across various model architectures and hardware configurations. Our empirical analysis shows that the best-performing model in terms of accuracy can also be energy-efficient, while larger LLMs tend to consume significantly more energy with lower classification accuracy. We observe substantial variability in inference energy consumption ($<$mWh to $>$kWh), influenced by model type, model size, and hardware specifications. Additionally, we find a strong correlation between inference energy consumption and model runtime, indicating that execution time can serve as a practical proxy for energy usage in settings where direct measurement is not feasible. These findings have implications for sustainable AI development, providing actionable insights for researchers, industry practitioners, and policymakers seeking to balance performance and resource efficiency in NLP applications.

Abstract (translated)

在自然语言处理(NLP)任务中部署大规模语言模型(LLMs)引发了关于能源效率和可持续性的担忧。尽管先前的研究主要集中在模型训练过程中的能耗问题,但在推理阶段的关注相对较少。本研究系统地评估了不同模型架构和硬件配置下文本分类推理过程中模型准确性和能量消耗之间的权衡关系。我们的实证分析表明,在准确性方面表现最佳的模型也可以是能源效率高的,而更大的LLMs通常会消耗更多能量且分类精度更低。 我们观察到推理阶段的能量消耗存在显著差异(从不到毫瓦时到超过千瓦时),这受到模型类型、模型大小以及硬件规格的影响。此外,我们发现推理能耗与模型运行时间之间有很强的相关性,表明在无法直接测量的情况下,执行时间可以作为能源使用的一个实用替代指标。 这些研究结果对可持续AI的发展具有重要影响,为寻求平衡性能和资源效率的研究人员、行业从业者及政策制定者提供了可操作的见解。

URL

https://arxiv.org/abs/2508.14170

PDF

https://arxiv.org/pdf/2508.14170.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot