arXiv:2610.35569math.OCOct 2026

Manuscript Offprint

arXiv:2610.35569

ADACT: PDE-Constrained Thermal Hardware/Software Co-Design Adjoint-Driven Optimal Control via Finite Difference Discretization

Don Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

By virtue of the sheer compute demands of large-scale artificial intelligence (AI) and high-performance computing (HPC), modern multicore microprocessors suffer from severe power density limits and thermal throttling, entailing an urgent need for principled methods for predictive, physics-informed dynamical thermal management (DTM). Here, we introduce a hardware/software co-design physics-informed PDE-constrained DTM throttling optimal control algorithm, ADACT (Adjoint-Driven Adaptive Co-Design Thermal Control), that minimizes thermal risk and cooling energy overhead while maximizing core execution throughput. The underlying physical temperature field is governed by a two-dimensional nonhomogeneous parabolic reaction-diffusion equation with spatially localized, time-varying power source terms and variable convective cooling subject to nonhomogeneous Dirichlet boundary conditions. We employ a discretization of the continuous state PDE via a Crank-Nicolson finite difference scheme with a 5-point discrete Laplacian operator on a uniform spatial mesh, which preserves unconditional numerical stability and O(Δx2+Δy2+Δt2)O(\Delta x^{2} + \Delta y^{2} + \Delta t^{2}) second-order temporal and spatial accuracy. To efficiently compute exact gradients, we construct and implement a continuous backward-in-time adjoint state method with L-BFGS as our optimization algorithm of choice. The accuracy and second-order convergence rates of both forward state and backward adjoint solvers are quantitatively verified via the Method of Manufactured Solutions (MMS), and gradient accuracy is validated using directional derivative Taylor tests. Numerical experiments demonstrate that ADACT dynamically throttles software power workloads and modulates hardware cooling efforts to strictly uphold physical thermal thresholds while maintaining operational throughput.

Keywords PDE-constrained optimization, Adjoint state method, Hardware/software co-design, Thermal management, Crank-Nicolson method

AMS Subject Classifications: Primary 49M41; Secondary 49K20, 65M06, 35K57, 93C20, 68M07

1 Introduction

In the era of modern high-performance computing (HPC) and large-scale artificial intelligence (AI) workloads, surmounting memory and energy efficiency bottlenecks is a pressing challenge [10], [27], [25]. Microprocessor design has increasingly encountered physical hardware constraints bounded by thermal dissipation and power density limits [2]. Dynamic power consumption in multi-core integrated circuit dies scales rapidly with clock frequency and active core utilization [1]. In practice, operating temperatures exceeding a critical thermal threshold TmaxT_{max} accelerate physical hardware degradation, degrade structural reliability, or trigger emergency dynamic thermal management (DTM) hardware throttling. Consequently, balancing operational computational throughput with adherence to hard thermal safety constraints represents a fundamental hardware/software co-design challenge in contemporary computer architecture.

Traditional industrial thermal management techniques rely predominantly on reactive heuristics, localized rule-based control, or offline lookup tables generated during pre-production stress testing [4]. While computationally lightweight to implement in real-time firmware, these localized heuristics operate reactively rather than predictively. Traditional thermal throttling algorithms fail to account for continuous physical spatial diffusion, temporal thermal lag, or nonhomogeneous heat interactions among adjacent processor cores. Conversely, modeling dynamic chip temperature as a spatio-temporal continuous field governed by partial differential equations (PDEs) enables predictive, physics-informed optimal control strategies. By constraining a performance cost functional J directly by the underlying heat equation, software execution clock rates and dynamic cooling actuators can be optimized simultaneously to maintain thermal compliance while maximizing execution capacity, hence motivating our thermal hardware/software co-design optimal control paradigm.

However, PDE-constrained optimization problems present significant numerical and computational challenges, particularly when discretizing multi-dimensional transient domains over extended time horizons. Standard black-box numerical optimization algorithms or direct finite difference gradient approximations scale poorly with control variable dimension, whereby evaluating numerical gradients via forward finite difference perturbations requires O(Ncontrols)O(N_{\text{controls}}) full forward PDE evaluations per optimization step [26], [14], rendering high-resolution thermal control via such methods computationally intractable. We sidestep this via the adjoint state method [19], which does so by deriving a continuous backward-in-time adjoint PDE (system) – by executing a single forward state solve followed by a single backward adjoint solve, exact analytical gradient vectors ∇J\nabla J with respect to all spatial and temporal control variables are evaluated at a computational cost independent of the control space dimension. This renders the adjoint state method particularly useful as a numerical technique for inverse problems and large-scale PDE-constrained optimization across science and engineering [20], [6], [28].

Here, we formulate, discretize, and verify a continuous space-time adjoint framework for hardware/software co-design thermal optimal control on a two-dimensional multi-core processor die. The underlying thermal field is governed by a non-homogeneous parabolic reaction-diffusion equation featuring spatially localized power sources, dynamic convective cooling parameters, and nonhomogeneous Dirichlet boundary conditions. To ensure numerical stability and second-order temporal and spatial accuracy O(Δx2+Δy2+Δt2)O(\Delta x^{2} + \Delta y^{2} + \Delta t^{2}), the governing forward state equation and backward adjoint PDE are discretized via an implicit Crank–Nicolson finite difference scheme [5] using a 5-point discrete Laplacian stencil. Due to the operator symmetry of the discrete spatial Laplacian under Dirichlet boundary conditions, the discrete backward adjoint linear system reuses the exact coefficient matrices of the forward solver, maximizing computational implementation efficiency.

References (26)