Skip to main content
QUICK REVIEW

[Paper Review] Offline Reinforcement-Learning-Based Power Control for Application-Agnostic Energy Efficiency

Akhilesh Raj, Swann Perarnau|arXiv (Cornell University)|Jan 16, 2026
Parallel Computing and Optimization TechniquesComputer Science0 citations
TL;DR

The paper presents an offline reinforcement learning approach to regulate CPU power using RAPL actuators, achieving substantial energy savings with limited performance loss across diverse benchmarks.

ABSTRACT

Energy efficiency has become an integral aspect of modern computing infrastructure design, impacting the performance, cost, scalability, and durability of production systems. The incorporation of power actuation and sensing capabilities in CPU designs is indicative of this, enabling the deployment of system software that can actively monitor and adjust energy consumption and performance at runtime. While reinforcement learning (RL) would seem ideal for the design of such energy efficiency control systems, online training presents challenges ranging from the lack of proper models for setting up an adequate simulated environment, to perturbation (noise) and reliability issues, if training is deployed on a live system. In this paper we discuss the use of offline reinforcement learning as an alternative approach for the design of an autonomous CPU power controller, with the goal of improving the energy efficiency of parallel applications at runtime without unduly impacting their performance. Offline RL sidesteps the issues incurred by online RL training by leveraging a dataset of state transitions collected from arbitrary policies prior to training. Our methodology applies offline RL to a gray-box approach to energy efficiency, combining online application-agnostic performance data (e.g., heartbeats) and hardware performance counters to ensure that the scientific objectives are met with limited performance degradation. Evaluating our method on a variety of compute-bound and memory-bound benchmarks and controlling power on a live system through Intel's Running Average Power Limit, we demonstrate that such an offline-trained agent can substantially reduce energy consumption at a tolerable performance degradation cost.

Motivation & Objective

  • Motivate energy efficiency as a sustainability goal in HPC systems and enable runtime power control without application- or hardware-specific tuning.
  • Propose an offline RL framework that learns power-control policies from pre-collected data without live-system training.
  • Develop an application- and hardware-agnostic controller that uses lightweight online signals to preserve performance while reducing energy use.
  • Utilize heartbeats and hardware counters to capture application behavior and guide power capping via RAPL.
  • Validate the approach on a range of benchmarks showing energy savings with tolerable performance degradation.

Proposed method

  • Formulate the problem as minimizing energy-delay product squared (ED^2P) to balance energy and performance.
  • Train an offline Conservative Q-Learning (CQL) agent on a dataset of state-action-reward transitions collected with arbitrary policies.
  • Represent states as s(t)=[progress(t), power(t), IPC(t), STL(t), CMR(t)] and actions as a discretized PCAP value controlled by RAPL.
  • Define the reward as reward(t+1)=progress^3(t+1)/(power(t+1)+1e-3) to favor high progress at lower power.
  • Use PAPI to gather hardware counters and a heartbeat-based progress measure to inform the state and rewards.
  • Evaluate the trained agent online, selecting actions via greedy Q-values to set PCAP through RAPL at 1 Hz sampling.

Experimental results

Research questions

  • RQ1Can offline RL learn effective power-control policies for HPC nodes using pre-collected data without live-system exploration?
  • RQ2Does the offline RL controller reduce energy consumption with acceptable performance degradation across diverse kernels and hardware settings?
  • RQ3How does the proposed method compare to existing power-management approaches and to manufacturer governors in terms of energy savings and performance impact?
  • RQ4Is the approach robust to application phases and varying arithmetic intensities in both compute- and memory-bound workloads?

Key findings

  • The offline RL controller reduces average energy consumption by about 20%.
  • Average performance degradation is 7.4%, with a worst-case degradation of 14%.
  • The method outperforms state-of-the-art power-management systems and the on-demand frequency governor in energy reduction while preserving performance.
  • The policy is learned from pre-collected data and uses a single Q-network with CQL to mitigate distributional shift.
  • Heartbeats and hardware counters enable application-agnostic yet responsive performance tracking during runtime.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.