Enabling Spatially Fine-Grained DVFS in Neural Processing Units for Energy-Efficient LLM Serving
summary
The gist
As neural processing units (NPUs) evolve rapidly to accommodate the ever-increasing compute demand of large language models (LLMs), their power consumption is becoming a limiting factor.
In short
The study addresses energy inefficiency in Neural Processing Units (NPUs) for Large Language Models (LLMs) by proposing eNPU. It introduces component-level Dynamic Voltage and Frequency Scaling (DVFS), allowing fine-grained control over individual parts of the NPU. This hardware-software co-design, driven by a compiler, achieves significant energy savings—up to 35%—while strictly maintaining service level objectives (SLOs).
Key concepts
- Component-level DVFS
- This technique allows different parts of the NPU core to adjust their voltage and frequency independently. Instead of scaling the whole chip, eNPU enables this for individual components, optimizing each part for its specific workload while keeping overall performance stable.
- eNPU Architecture
- eNPU is a hardware-software system designed to support component-level DVFS. It involves refactoring the NPU core pipeline to partition components into separate voltage/frequency domains and extending the Instruction Set Architecture (ISA) with new commands for precise, sub-microsecond control.
- Compiler-Driven Optimization
- The system uses an ML compiler to manage DVFS decisions at a granular level. It employs a two-level greedy search algorithm that simultaneously optimizes instruction scheduling and component V/f settings based on strict SLO constraints, ensuring energy efficiency is achieved without violating service guarantees.
Terminology used across episodes
This episode discusses
- Enabling Spatially Fine-Grained DVFS in Neural Processing Units for Energy-Efficient LLM Serving · Paper Radio
- DualScale: Energy-Efficient Disaggregated LLM Serving via Phase-Aware Placement and DVFS
- DeepSeek-V3 Technical Report
- Capacity-Aware Inference: Mitigating the Straggler Effect in Mixture of Experts
- Analysis of Edge Mismatch and Output Power Degradation in Cascoded Class-D Power Amplifiers Using Dual-Range Voltage Level Shifters
- EcoServe: Designing Carbon-Aware AI Inference Systems
- The Llama 3 Herd of Models · Paper Radio
- POLCA: Power Oversubscription in LLM Cloud Providers
- AI Greenferencing: Routing AI Inferencing to Green Modular Data Centers with Heron
- Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism
- Gated Delta Networks: Improving Mamba2 with Delta Rule
- VoltanaLLM: Energy-Efficient and SLO-Aware Disaggregated LLM Serving via Adaptive Frequency Control and State-Space Routing
The paper
Enabling Spatially Fine-Grained DVFS in Neural Processing Units for Energy-Efficient LLM Serving · Read on arXiv
University of Illinois Urbana-Champaign
As neural processing units (NPUs) evolve rapidly to accommodate the ever-increasing compute demand of large language models (LLMs), their power consumption is becoming a limiting factor. Our study shows that using dynamic voltage and frequency scaling (DVFS) to exploit the service-level objective (SLO) slacks is a promising way to improve NPU energy efficiency for LLM services. And as tensor operators in LLMs exhibit diverse bottlenecks across NPU components, it is desirable to configure the frequency separately for each component to maximize their energy efficiency. In this paper, we develop eNPU that enables hardware and software support for spatially fine-grained, component-level DVFS on NPUs. eNPU refactors the NPU core pipeline to partition components into separate V/ f domains. It introduces lightweight cross-domain communication mechanisms to mitigate synchronization overheads across components, and extends the NPU ISA for sub- μ s DVFS control. eNPU uses a compiler-driven two-level greedy search to co-optimize instruction scheduling and per-component V/ f selection under SLO constraints. We implement eNPU's pipeline design on an open-source NPU core to verify its functionality and evaluate the energy savings with a production-level NPU simulator with various LLMs using production traces. eNPU reduces energy consumption of LLM services by 25.8%--35.2% with 3.45% area overhead on a TPUv4 chip, while preserving strict SLO guarantees.
Transcript
Introduction to the show: ident: Computer Science. The day in computer science: software, systems and theory on arXiv.
Tom: We're looking at the paper: "Enabling Spatially Fine-Grained DVFS in Neural Processing Units for Energy-Efficient LLM Serving".
Title and authors: Tom: So, we’re looking at this paper now, "Enabling Spatially Fine-Grained DVFS in Neural Processing Units for Energy-Efficient LLM Serving". It sounds like they are tackling how to make these massive chips use less power without messing up the service level objectives.
Jane: That's the core idea, Tom. Basically, they’re showing that we can use dynamic voltage and frequency scaling, or DVFS, to save energy by exploiting some slack in those objectives for large language model services. But they are pointing out a big problem with how current NPUs work right now.
Lu: Right now, the NPU core pipeline is really tightly coupled by design. All the components are coordinated through one central frontend, which makes component-level scaling really hard because instruction latencies become dependent on the frequency you pick.
Meng: That sounds like a nightmare for anyone trying to ship something at scale. If you can't change the voltage and frequency for just one part of the chip independently, you’re stuck with a single power profile for everything.
Lalam: The paper addresses that by proposing something called eNPU, which gives hardware and software support for component-level DVFS on NPUs. They refactor the NPU core pipeline to partition components into separate voltage and frequency domains so they can be scaled independently.
Tom: So, what does this partitioning actually look like in practice? How much overhead are we talking about when you split everything up like that?
Jane: Well, they introduce a new command to the instruction set architecture called vf.set. This lets software set the voltage and frequency state of different components at sub-microsecond scale, which is super fast for tensor operators running on microsecond scales.
Lu: That's a big piece of hardware support because it’s not just software talking about it; it’s built into the chip's instructions. They also added a lightweight shadow vector register file in the vector unit domain to help with local forwarding and stop those pipeline stalls when dependent vector instructions run one after another.
Meng: I like that part about stopping those pipeline stalls; that sounds like real production concern when you’re running long inference requests where things have to keep moving. What about how they handle the complexity of choosing the right settings?
Tom: That's where they bring in the compiler. They use a machine learning compiler to manage DVFS at a very granular level, specifically at the tensor operator granularity. It uses this two-level greedy search to co-optimize instruction scheduling and frequency selection all under those service level objective constraints.
Jane: Co-optimizing is key there; it means the compiler has to figure out how fast things should run and what voltage to use for each component simultaneously, which is a lot of juggling. They break that problem down into an operator-level search to find good DVFS plans, and then a request-level search to pick the best one among those.
Lalam: The results they show are quite compelling. They report energy consumption reductions of twenty-five point eight percent to thirty-five point two percent for LLM services on a TPU v4 chip with only a three point four five percent area overhead.
Meng: Twenty-five to thirty five percent is significant, but that's measured against what? A baseline where they weren't doing DVFS at all, right?
Tom: Exactly. They show that for prefill and decode operations, eNPU saves sixteen point nine percent or eighteen point six percent energy when there is zero slack in the service level objective. And if you have ten percent slack in that objective, it increases to savings of twenty-two point nine percent or eighteen point six percent.
Jane: That's interesting because it shows that even with some wiggle room in the performance targets, you get substantial savings. But they also point out a performance degradation threshold where beyond twenty percent slack, you start seeing bigger energy savings, up to thirty percent or thirty one point five percent for prefill and decode when combining DVFS and power gating.
Lu: The paper notes that these benefits generalize across different things like the temporal granularity of the DVFS, how many voltage and frequency domains you use, sequence lengths, and even load imbalances in mixture of experts models.
Tom: So it’s not just a one-off trick for one specific model; it seems to have broad applicability across different types of LLM workloads. What about the limitations they admit?
Jane: They mention that they are using a production-level NPU simulator validated against real TPU chips, but they also point out that the compilation time for a request can be up to forty minutes with around two thousand three hundred four pre-compiled buckets per model.
Meng: Forty minutes to compile a request sounds long for something meant to be fast during actual serving. I worry about the deployment pipeline complexity there.
Lu: That compilation time is related to the compiler having to do that heavy search, but they are also acknowledging that this approach is complementary to other power management techniques like ReGate, so it's not a total replacement for everything.
Lalam: The main thing they stress is that eNPU achieves these energy savings while preserving strict service level objectives. So you get the efficiency boost without violating the performance guarantees you need for LLM services.
Tom: So to wrap up this paper, the main contributions are really three things: first, finding abundant slack in real LLM service traces means we have lots of opportunity for fine-grained DVFS; second, proposing eNPU as this hardware-software co-design for component-level scaling; and third, developing that compiler-driven policy to manage the scheduling and frequency settings.
Jane: It’s a holistic solution because it handles all those different aspects at once, from the hardware refactoring to the software scheduling strategy. It really shows how important it is to look at every single component individually when you want maximum energy efficiency on an NPU for LLM serving.
Lu: For the future, they suggest that as we move to chips with more powerful vector units for more demanding AI operators, a separate vector unit domain could bring even more energy savings. It suggests a direction where further partitioning is possible as the hardware evolves.
Meng: From my side, I'm thinking about deployment costs. If this requires such complex compilation steps, we need to make sure that the deployment system handles that complexity smoothly so it doesn't just add another bottleneck on top of the energy savings.
Lalam: The paper does show that combining DVFS with power gating can get you up to thirty percent or thirty one point five percent energy savings for prefill and decode operations, which is a lot when you think about the total compute time.
Tom: So if you're running an LLM service, this paper on Enabling Spatially Fine-Grained DVFS in Neural Processing Units for Energy-Efficient LLM Serving gives you a concrete path to significant energy savings while keeping your service level objectives met. That’s the big picture here.
The paper's summary: Tom: So, we've seen that they're talking about making these massive chips use less power by scaling voltage and frequency down at a much finer level than before.
Jane: Right, so the paper proposes this eNPU architecture, which lets you divide the NPU into separate parts that can be scaled independently. It’s not just one big clock speed anymore; it’s component-level control.
Lu: The core idea is to partition those components into separate voltage and frequency domains. They extend the instruction set architecture with this vf set command, which lets software change the state of different parts at a sub-microsecond scale. That’s hardware enabling that level of fine control.
Meng: From my side, I'm curious about the actual impact on deployment costs here. If it requires such complex scheduling, what kind of pipeline complexity are we looking at when we try to ship this to production?
Tom: Well, they use a compiler-driven system that does this co-optimization between instruction scheduling and component voltage or frequency selection. It’s a two level greedy search algorithm, which basically means the compiler has to figure out how fast things should run *and* what voltage to use for each part all at once, while respecting the service level objectives.
Jane: That's a lot of juggling for the compiler to do. They break that big problem down into searching at the operator level first, finding near-optimal DVFS plans, and then searching at the request level to pick among those plans. It sounds like they’re trying to be smart about how they allocate power across every single operation.
Lu: The experimental validation shows a pretty solid result. They report energy savings of twenty five point eight percent to thirty five point two percent for LLM services on a TPU v four chip, with only a three point four five percent area overhead on the chip itself.
Meng: That percentage is huge compared to what we're seeing in our current setups. What about the actual performance trade-offs they mention? It sounds like there are some limits to how much you can push these savings before things start breaking or slowing down.
Tom: They show that for prefill and decode operations, if there is zero slack in your service level objective, you save sixteen point nine percent or eighteen point six percent energy. But if you have a ten point slack in that objective, the savings jump to twenty two point nine percent energy.
Jane: And they show that once you hit a performance degradation threshold of twenty percent slack, combining DVFS with power gating can actually get you up to thirty point zero percent or thirty one point five percent energy savings for prefill and decode operations. That’s a significant boost when you think about the total compute time.
Lu: The researchers are also saying this approach isn't just for one specific model or one type of workload. They argue that these benefits generalize to different temporal DVFS granularities, different numbers of voltage and frequency domains you use, and even load imbalances in mixture of experts models.
Tom: It’s a holistic solution they’re proposing for exploiting component-level DVFS on NPUs specifically for LLM serving while maintaining strict service level objectives. They've shown that by combining DVFS with power gating, you can get up to thirty point one five percent energy savings for prefill and decode.
Jane: The big implication here is that we can get a lot more energy efficiency out of these AI chips without violating the performance guarantees we need for real-time LLM services. It’s about making sure every part of the chip is working at its absolute best power setting, not just one average setting for everything.
Meng: So, it sounds like this is a way to get those serious energy gains while keeping the service level objectives tight. That’s what I need to see if we think about deploying this kind of thing in a real environment.
Tom: Exactly. The paper proves that eNPU can deliver twenty five point eight percent to thirty five point two percent energy savings with strict service level guarantees, and it does so by using this clever compiler-driven DVFS policy. Now, let's see how this translates to the next generation of chips in the next segment.
The paper's improvements: Tom: So, we're looking at what they suggest as improvements to this eNPU design for fine grained voltage and frequency scaling. It’s not just about splitting the chip; there are ways to make that control even more precise.
Jane: Right, so beyond the hardware partitioning, they talk about how you can adapt this system for different things like model architecture or sequence length. It’s showing that this DVFS strategy isn't a one size fits all; it’s flexible enough to handle different LLM behaviors.
Lu: They suggest that the benefits generalize across various factors, including temporal DVFS granularity, the number of voltage and frequency domains you use, and even imbalances in mixture of experts models. That means this approach is robust enough to work across a whole range of AI workloads.
Meng: If it’s that flexible, how does that translate into something practical for us at the startup level? Does tuning these parameters take an impossibly long time to figure out what works best for a specific model we’re shipping?
Tom: The system is designed so the compiler handles most of that complexity. They are using this two level greedy search to co-optimize instruction scheduling and per component voltage frequency selection under those service level objectives. It’s meant to be automated optimization.
Jane: And they also discuss how combining DVFS with power gating can further boost energy savings by up to thirty point zero percent or thirty one point five percent for prefill and decode operations. That’s an extra layer of optimization on top of the scaling they just described.
Lu: The authors are exploring this path because as future NPUs get more powerful vector units for heavier AI operators, having a separate vector unit domain could bring even more energy savings. It points toward a future where you can partition even deeper into the chip architecture for maximum efficiency.
Tom: So, the main improvement they highlight is the holistic solution itself—the combination of hardware partitioning with compiler-driven scheduling and power gating. They’re not just proposing one fix; they’re suggesting a whole framework for component level DVFS on NPUs.
Jane: It really changes how we think about optimizing these chips, showing that you don't just scale everything up or down at once. You can tailor the voltage and frequency to what each specific part of the computation actually needs at that exact moment.
Meng: I still have my reservations about the compilation time they mentioned before, but seeing this level of optimization being pushed so deep into the system is definitely interesting for future architecture planning.
Lu: The implication is that as we move toward more complex and resource intensive LLM operators, this component level DVFS strategy becomes a necessary tool for maintaining efficiency under real-world load.
Conclusion: Tom: So to wrap up, we're talking about the paper "Enabling Spatially Fine-Grained DVFS in Neural Processing Units for Energy-Efficient LLM Serving." It boils down to using component level scaling on NPUs to get serious energy savings for serving large language models.
Jane: Exactly, so the big picture is that we can achieve twenty five point eight percent to thirty five point two percent energy savings with strict service level objectives by making sure every part of the chip is operating at its most efficient voltage and frequency.
Lu: The implication is that this approach provides a holistic solution for exploiting component level DVFS on NPUs specifically for LLM serving, which opens up new possibilities as hardware gets more complex.
Meng: If we take what they’ve shown, it means we have a concrete path to making these large language model services much more energy efficient without sacrificing the performance guarantees that production requires.
Lalam: I'm sure of it; the research shows that eNPU achieves those energy savings while preserving strict service level objectives, and I’m confident in that finding.
Tom: That compiler driven DVFS algorithm they developed to handle the scheduling and frequency settings is what makes this work so well, navigating a huge search space efficiently.
Jane: It’s like they built a smart traffic controller for the chip that knows exactly how much power each component needs for every single operation running.
Lu: The research also suggests that as future NPUs get more powerful vector units for heavier AI operators, having a separate vector unit domain could bring even more energy savings down the road.
Meng: I’m still thinking about the compilation time they mentioned before, but seeing this level of optimization being pushed so deep into the system is definitely interesting for future architecture planning.
Lalam: The paper also shows that combining DVFS with power gating can get you up to thirty point zero percent or thirty one point five percent energy savings for prefill and decode operations when you look at the whole picture.
Tom: So, in short, this paper gives us a concrete way to achieve those huge energy reductions while keeping the service level objectives met.
Jane: It’s a really important piece of work because it shows how critical it is to look at every single component individually when you want maximum energy efficiency on an NPU for LLM serving.
Lu: I think this research provides a solid foundation for future work in exploiting fine grained control across different hardware architectures, not just NPUs.
Meng: We’ll keep watching how the industry adopts this kind of compiler driven optimization strategy when we start designing our next generation of inference engines.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2607.26500-Multi-Decoder OneRec: Controllable Generative Retrieval for Multi-Objective Industrial Recommendation
- 2607.27976-Load balancing in parallel infinite-server queues with action delay via phase representation
- 2607.28574-Finite Pinwheel Covering
- 2608.07026-PyFlow: An Inter-procedural Static Analysis Framework for Python
- 2608.09305-Dilatations of categories, via their lean formalization
- 2608.16406-SATisfying the High School Identities but not Wilkie's Identity
- 2609.02062-SPAR: Enhancing Industrial-Scale Generative POI Recommendation via Real-World Spatial Perception
- 2609.03661-Point&Spawn: Mid-Air Reference-Free Object Instantiation Using Gaze and Hand Gestures in Extended Reality