How Green are Neural Language Models? Analyzing Energy Consumption in Text Summarization Fine-tuning
Tohida Rehman, Debarshi Kumar Sanyal, Samiran Chattopadhyay
TL;DR
The paper investigates the environmental footprint of fine-tuning three language-model architectures (T5-base, BART-base, LLaMA-3-8B) for generating research highlights from abstracts, balancing performance against energy use. It uses the MixSub dataset and a suite of lexical and semantic metrics (ROUGE, METEOR, MoverScore, BERTScore, SciBERTScore) to evaluate outputs, while applying a Green AI-based carbon-footprint estimation to quantify energy costs per epoch. Results show smaller models (T5-base, BART-base) outperform the large LLaMA-3-8B on lexical metrics but LLaMA-3-8B matches semantic similarity; energy costs scale dramatically with model size, with LLaMA-3-8B incurring ~43.98 gCO2e/epoch versus ~3.5 gCO2e and ~2.4 gCO2e for the smaller models. The study advocates energy-efficient NLP practices and highlights the importance of considering environmental impact in model selection and fine-tuning strategies for summarization tasks.
Abstract
Artificial intelligence systems significantly impact the environment, particularly in natural language processing (NLP) tasks. These tasks often require extensive computational resources to train deep neural networks, including large-scale language models containing billions of parameters. This study analyzes the trade-offs between energy consumption and performance across three neural language models: two pre-trained models (T5-base and BART-base), and one large language model (LLaMA-3-8B). These models were fine-tuned for the text summarization task, focusing on generating research paper highlights that encapsulate the core themes of each paper. The carbon footprint associated with fine-tuning each model was measured, offering a comprehensive assessment of their environmental impact. It is observed that LLaMA-3-8B produces the largest carbon footprint among the three models. A wide range of evaluation metrics, including ROUGE, METEOR, MoverScore, BERTScore, and SciBERTScore, were employed to assess the performance of the models on the given task. This research underscores the importance of incorporating environmental considerations into the design and implementation of neural language models and calls for the advancement of energy-efficient AI methodologies.
