Can Large-Language Models Help us Better Understand and Teach the Development of Energy-Efficient Software?

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Hasler, Ryan, Läufer, Konstantin, Thiruvathukal, George K., Peng, Huiyun, Robinson, Kyle, Davis, Kirsten, Lu, Yung-Hsiang, Davis, James C.
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915019218747392
author Hasler, Ryan
Läufer, Konstantin
Thiruvathukal, George K.
Peng, Huiyun
Robinson, Kyle
Davis, Kirsten
Lu, Yung-Hsiang
Davis, James C.
author_facet Hasler, Ryan
Läufer, Konstantin
Thiruvathukal, George K.
Peng, Huiyun
Robinson, Kyle
Davis, Kirsten
Lu, Yung-Hsiang
Davis, James C.
contents 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 classroom use, this approach reduces energy expenditure by 30-90%. These initial experiences give rise to our vision of LLM-based meta-compilers as a tool for students to transform high-level algorithms into efficient, hardware-specific implementations. Complementing this tooling, we will incorporate systems thinking concepts into the learning module so that students can reason both locally and globally about the effects of energy optimizations.
format Preprint
id arxiv_https___arxiv_org_abs_2411_08912
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Can Large-Language Models Help us Better Understand and Teach the Development of Energy-Efficient Software?
Hasler, Ryan
Läufer, Konstantin
Thiruvathukal, George K.
Peng, Huiyun
Robinson, Kyle
Davis, Kirsten
Lu, Yung-Hsiang
Davis, James C.
Computers and Society
Software Engineering
D.2.3
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 classroom use, this approach reduces energy expenditure by 30-90%. These initial experiences give rise to our vision of LLM-based meta-compilers as a tool for students to transform high-level algorithms into efficient, hardware-specific implementations. Complementing this tooling, we will incorporate systems thinking concepts into the learning module so that students can reason both locally and globally about the effects of energy optimizations.
title Can Large-Language Models Help us Better Understand and Teach the Development of Energy-Efficient Software?
topic Computers and Society
Software Engineering
D.2.3
url https://arxiv.org/abs/2411.08912