AI guide
# Sustainable AI — Reading Guide
## 【One-Line Pitch】
A practical handbook for ML engineers and researchers who want to measure, understand, and reduce the environmental footprint of deep learning—covering everything from model complexity metrics to carbon-aware training practices.
## 【Book Arc】
- **Opening (~0%–9%)**: Introduces the concept of "AI-waste"—redundant computations in DL pipelines that don't meaningfully improve performance—and frames the book's core argument: sustainability in AI requires measuring energy and carbon, not just algorithmic efficiency.
- **Early (~9%–25%)**: Builds the "Pyramid of Resource Consumption" framework, distinguishing model complexity, computation time, energy consumption, and carbon footprint as distinct but related levels. Discusses the rebound effect, where efficiency gains can paradoxically increase total energy use.
- **Early (~25%–34%)**: Dives into concrete metrics for model complexity—parameters, MACs (multiply-accumulate operations), and FLOPs—with practical code examples using PyTorch tools like THOP. Explains efficient matrix multiplication algorithms and why power-of-two dimensions are common in neural network design.
- **Middle (~34%–47%)**: Covers computation time measurement: runtime vs. latency, GPU hours as a practical resource metric, and how to measure these with Python's time module. Transitions into energy consumption, breaking down dynamic vs. static power and the role of GPUs, CPUs, and DRAM.
- **Middle (~47%–53%)**: Presents the energy consumption formula including PUE (Power Usage Effectiveness) overhead, explaining how to estimate total energy use for AI workloads and why data center infrastructure costs matter.
## 【Key Takeaways】
- **AI-waste is the core problem** (Opening): Redundant computations in dataset curation, model selection, training, and deployment don't improve downstream performance—identifying and eliminating them is the first step toward sustainable AI.
- **Algorithmic efficiency alone is insufficient** (Early): Traditional metrics like parameter count and FLOPs don't capture environmental impact; energy consumption and carbon footprint must be measured explicitly to assess true sustainability.
- **The rebound effect can undermine efficiency gains** (Early): A 50% reduction in training energy can lead to more frequent and larger deployments, potentially increasing aggregate consumption—sustainability requires system-level thinking, not just per-model optimization.
- **The Resource Pyramid provides a measurement framework** (Early): Model complexity → computation time → energy consumption → carbon footprint form a hierarchy where each level builds on the previous, and "you can't improve what you don't measure."
- **FLOPs and MACs are complementary complexity metrics** (Early): MACs count multiply-accumulate operations (common in embedded systems), while FLOPs estimate total floating-point operations—both are useful but neither captures energy directly.
- **GPU hours have become the practical resource currency** (Middle): Reporting training cost as GPU hours (one GPU for one hour) provides an intuitive, comparable measure of computational resource utilization across experiments.
- **Energy measurement requires accounting for overhead** (Middle): Total energy = PUE × (dynamic power + static power) × time, where PUE captures cooling, networking, and infrastructure costs—data centers averaged PUE of 1.55 in 2022.
## 【Reading Tips】
- **Skim the code examples in Chapter 1** if you're already familiar with PyTorch—the THOP and time-module snippets are illustrative but not the core conceptual content.
- **Deep-read the Resource Pyramid section** (~16%–19%): This framework organizes the entire book and clarifies how the different measurement levels relate to each other.
- **Pay attention to the rebound effect discussion** (~16%): This is a counterintuitive insight that distinguishes this book from typical efficiency guides—it's essential for understanding the book's philosophy.
- **The FLOP/MAC distinction can be confusing** (~28%–34%): Take time to understand the difference between counting operations (FLOP) and measuring performance (FLOP/s)—the book is careful about this distinction.
- **The energy formula in the middle section** (~47%) is the book's practical centerpiece: understanding PUE and the dynamic/static power split will help you apply these concepts to your own workloads.
## 【Coverage Limits】
The excerpts cover the book's opening chapters (roughly the first half), focusing on measurement frameworks and metrics. Later chapters on dataset efficiency, model selection, and carbon footprint optimization are referenced but not covered in this guide.
##
Passage locations
Excerpt 1
se of the author and do not represent the publisher’s views. While the publisher and the author have used good faith efforts to ensure that the information a...
View in text
Excerpt 2
and ICT sector as a whole have massive electricity demands. In several data center friendly countries (Denmark 7 , Ireland 8 ), it is estimated more than 15%...
View in text
Excerpt 3
. By definition both FLOP and MAC are related to each other. Remember that a MAC is composed of a multiply and accumulate (or add) operation. This implies th...
View in text
Excerpt 4
hould also be accounted for but are much harder to estimate. Estimating Energy Consumption The total energy consumption of AI models consists of measuring th...
View in text