Magneton: Optimizing Energy Efficiency of ML Systems via Differential Energy Debugging

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Pan, Yi, Qian, Wenbo, Xie, Dedong, Hu, Ruiyan, Hu, Yigong, Kasikci, Baris
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915662531657728
author Pan, Yi
Qian, Wenbo
Xie, Dedong
Hu, Ruiyan
Hu, Yigong
Kasikci, Baris
author_facet Pan, Yi
Qian, Wenbo
Xie, Dedong
Hu, Ruiyan
Hu, Yigong
Kasikci, Baris
contents The training and deployment of machine learning (ML) models have become extremely energy-intensive. While existing optimization efforts focus primarily on hardware energy efficiency, a significant but overlooked source of inefficiency is software energy waste caused by poor software design. This often includes redundant or poorly designed operations that consume more energy without improving performance. These inefficiencies arise in widely used ML frameworks and applications, yet developers often lack the visibility and tools to detect and diagnose them. We propose differential energy debugging, a novel approach that leverages the observation that competing ML systems often implement similar functionality with vastly different energy consumption. Building on this insight, we design and implement Magneton, an energy profiler that compares energy consumption between similar ML systems at the operator level and automatically pinpoints code regions and configuration choices responsible for excessive energy use. Applied to 9 popular ML systems spanning LLM inference, general ML frameworks, and image generation, Magneton detects and diagnoses 16 known cases of software energy inefficiency and further discovers 8 previously unknown cases, 7 of which have been confirmed by developers.
format Preprint
id arxiv_https___arxiv_org_abs_2512_08365
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Magneton: Optimizing Energy Efficiency of ML Systems via Differential Energy Debugging
Pan, Yi
Qian, Wenbo
Xie, Dedong
Hu, Ruiyan
Hu, Yigong
Kasikci, Baris
Distributed, Parallel, and Cluster Computing
Machine Learning
The training and deployment of machine learning (ML) models have become extremely energy-intensive. While existing optimization efforts focus primarily on hardware energy efficiency, a significant but overlooked source of inefficiency is software energy waste caused by poor software design. This often includes redundant or poorly designed operations that consume more energy without improving performance. These inefficiencies arise in widely used ML frameworks and applications, yet developers often lack the visibility and tools to detect and diagnose them. We propose differential energy debugging, a novel approach that leverages the observation that competing ML systems often implement similar functionality with vastly different energy consumption. Building on this insight, we design and implement Magneton, an energy profiler that compares energy consumption between similar ML systems at the operator level and automatically pinpoints code regions and configuration choices responsible for excessive energy use. Applied to 9 popular ML systems spanning LLM inference, general ML frameworks, and image generation, Magneton detects and diagnoses 16 known cases of software energy inefficiency and further discovers 8 previously unknown cases, 7 of which have been confirmed by developers.
title Magneton: Optimizing Energy Efficiency of ML Systems via Differential Energy Debugging
topic Distributed, Parallel, and Cluster Computing
Machine Learning
url https://arxiv.org/abs/2512.08365