Can Large-Language Models Help us Better Understand and Teach the Development of Energy-Efficient Software?
Ryan Hasler (1), Konstantin L\"aufer (1), George K. Thiruvathukal (1),, Huiyun Peng (2), Kyle Robinson (2), Kirsten Davis (2), Yung-Hsiang Lu (2),, James C. Davis (2) ((1) Loyola University Chicago, (2) Purdue University)

TL;DR
This paper explores using large language models to generate energy-efficient code variations and develop educational modules for teaching energy-efficient software engineering in undergraduate curricula.
Contribution
It introduces a novel approach leveraging LLMs to create energy-efficient code and proposes a new educational framework for teaching energy-aware software development.
Findings
LLMs can generate energy-efficient code variations for different architectures.
Energy expenditure reduced by 30-90% in toy examples.
Preliminary results support LLMs as tools for teaching energy-efficient programming.
Abstract
Computing systems are consuming an increasing and unsustainable fraction of society's energy footprint, notably in data centers. Meanwhile, energy-efficient software engineering techniques are often absent from undergraduate curricula. We propose to develop a learning module for energy-efficient software, suitable for incorporation into an undergraduate software engineering class. There is one major problem with such an endeavor: undergraduate curricula have limited space for mastering energy-related systems programming aspects. To address this problem, we propose to leverage the domain expertise afforded by large language models (LLMs). In our preliminary studies, we observe that LLMs can generate energy-efficient variations of basic linear algebra codes tailored to both ARM64 and AMD64 architectures, as well as unit tests and energy measurement harnesses. On toy examples suitable for…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGreen IT and Sustainability
