We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Computer Science & Information Technology/Improving Carbon Emissions of Federated Large Language Model Inference through Classification of Task-Specificity
PeriodicalsComputer Science & Information Technology

Improving Carbon Emissions of Federated Large Language Model Inference through Classification of Task-Specificity

Checking your access to this record.

Abstract & Overview

The resource consumption of software and communication infrastructure is an increasing concern, particularly with the emergence of Large Language Models (LLMs). While energy consumption and carbon emission of LLMs during training have been a focus in research, the impact of LLM inference which scales with the number of requests, remains underexplored. In this paper we show that energy efficiency and carbon emission of LLM inference vary depending on the model and on the task category, e.g. math, programming, general knowledge, with which the model is prompted and that smaller specialized models can achieve comparable accuracy while using less resources. We analyze the differences across 8 open-source LLMs when processing prompts of different task categories. Our findings lead to a novel approach: Classifying prompts by using embeddings to route them to the most energy-efficient and least carbon-intensive LLM in a federation of LLMs while keeping accuracy high. We validate the effectiveness of our method through empirical measurements.

Cite this record

Geerd-Dietger Hoffmann, Verena Majuntke (2024). Improving Carbon Emissions of Federated Large Language Model Inference through Classification of Task-Specificity. ACM SIGEnergy Energy Informatics Review, 4(5), 44–50. https://doi.org/10.1145/3727200.3727208

Copy in another style

Hoffmann, G., & Majuntke, V. (2024). Improving Carbon Emissions of Federated Large Language Model Inference through Classification of Task-Specificity. ACM SIGEnergy Energy Informatics Review, 4(5), 44–50. https://doi.org/10.1145/3727200.3727208
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.