Manuscript Offprint
arXiv:2610.35569ADACT: PDE-Constrained Thermal Hardware/Software Co-Design Adjoint-Driven Optimal Control via Finite Difference Discretization
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 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 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 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 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 , 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.
• Theoretical Framework: We formalize a continuous hardware/software co-design optimal control problem constrained by a two-dimensional non-homogeneous parabolic reaction-diffusion equation with localized indicator functions and dynamic cooling control inputs.
• Symmetric Crank–Nicolson Discretization: Using the Crank-Nicolson method, we detail the implicit space-time finite difference discretization for the forward state system.
• Adjoint Sensitivity Analysis: We derive the continuous Lagrangian functional, backward-in-time continuous adjoint PDE, terminal/boundary conditions, and analytical control gradient formulas for software core power densities and hardware cooling levels.
• Quantitative Verification: We verify our numerical implementation using the Method of Manufactured Solutions (MMS) to confirm 2.0 spatial and temporal convergence rates for forward state and adjoint solvers and validate discrete gradient accuracy using directional derivative Taylor tests.
• Thermal Control Numerical Experiments: We present multi-core workload simulation studies illustrating how our adjoint-driven L-BFGS
[16] optimization framework dynamically throttles software power and adjusts convective cooling to prevent physical hotspots while upholding processing throughput.
2 Theoretical Framework
We consider a bounded, rectangular spatial domain representing the two-dimensional surface of a silicon multi-core processor die. Over a finite temporal horizon , the continuous evolution of the chip's temperature field is governed by a nonhomogeneous parabolic reaction-diffusion equation
where denotes the thermal diffusivity of silicon, is the convective heat transfer coefficient governed by the hardware control variable , is the ambient environment temperature, represents the execution clock frequency and power density of core over number of cores, with indicator function
and are the control variables or decision parameters of our system. To isolate the heat dissipation through the perimeter to a highly conductive metal heat-sink casing held at equilibrium, we prescribe a nonhomogeneous Dirichlet boundary condition
For our initial condition, we consider a system initialized at uniform ambient temperature . To formalize the co-design objective, we define the tracking and regularization cost functional to be minimized over the control horizon
(4)
where is the maximum desired operational core power density, and are user-defined weighting (hyper)parameters that balance the trade-offs between software execution throughput, hardware cooling energy consumption, and thermal safety limits. The constituent integrals on the right-hand side of (4) correspond to a standard linear-quadratic tracking and state-control regularization formulation over a fixed time horizon [29]. Note that the primary objective of our optimal control problem is to keep the operational core power density as close as possible to the target maximum operational capacity . We ensure deviations from are penalized equally whether they are positive or negative via a quadratic loss function . We then sum this across all N cores and integrate over the entire control horizon from 0 to , which yields the total throughput performance error
To enforce a penalty on overly aggressive control effort, a L2/Tikhonov regularization term [9] is introduced, . Integrating this over the control horizon minimizes the energy spent on cooling modifications and smooths out the control actions, yielding
Note that temperature is a continuous spatial field across the physical domain . To prevent hardware degradation or thermal throttling, the system must penalize temperatures that deviate from a safe baseline operating temperature . Because temperature varies by location and time , the quadratic penalty must be integrated over both the space domain and the time domain , which yields the last term on the right-hand side,
We thus have the following PDE-constrained optimization problem:
s.t.
3 Forward State Solver: Crank-Nicolson
The forward parabolic heat equation is discretized using the second-order Crank-Nicolson scheme. With respect to our temporal component, the control horizon is discretized into uniform time intervals of size , defining discrete time levels for . With respect to our spatial component, we have the two-dimensional Laplacian operator . Crank-Nicolson applies a centered difference approach [23]. For uniform mesh with step size and node , the centered difference approximation of the second derivative takes the general form
with error term . With this centered difference approximation, we can construct approximations of the second spatial derivatives at arbitrary grid point with spacing and , i.e.,
Since , our approximation with standard 5-point central difference stencil is
The forward state step from to will form a linear system
where is the forcing term or source term. We derive each of , , and . Recall our PDE constraint , where denotes the thermal diffusivity of silicon, is the convective heat transfer coefficient governed by the hardware control variable , is the ambient environment temperature, represents the execution clock frequency and power density of core over number of cores, with indicator function subject to nonhomogeneous Dirichlet boundary condition for and uniform initial condition . To achieve second-order temporal accuracy and unconditional stability, we apply the Crank-Nicolson finite difference scheme across time interval , where . In Crank-Nicolson, the temporal derivative on the left-hand side is approximated using a central difference across , while all spatial operators, continuous states, and forcing terms on the right-hand side are evaluated at the temporal midpoint via an arithmetic midpoint average
where and . Substituting these midpoint approximations yields
(13)
We discretize the spatial domain using a uniform grid with mesh spacings and . Replacing the spatial Laplacian with our standard 5-point stencil, we have
(14)
Multiplying both sides of the equation by yields
(15)
and rearranging yields
(16)
where contains the nonhomogeneous Dirichlet boundary contributions folded out of the discrete Laplacian operator at time midpoint . We thus have a linear system of the form of (11), where the coefficient matrices and forcing vector are, respectively,
Cholesky decomposition is the fastest direct solver [15] but requires [24], i.e., must be symmetric positive definite (SPD) for all time steps and all admissible control values . We show that this is indeed the case for our system.
Lemma 1 (Symmetry and Positive Definiteness of ). Let , , and . For any admissible control value , the coefficient matrix defined in Equation (17) is symmetric positive definite (SPD) for all .
Proof. We first show . Since we have a uniform mesh with grid spacing , the discrete Laplacian matrix derived from our five-point stencil is symmetric, i.e., . Recall that in the resulting linear system yielded by Crank-Nicolson, is of the form
Let and . Consequently, we have
It is guaranteed that since for all . Moreover, since and , it immediately follows that
Hence, is symmetric. We last show that . Under Dirichlet boundary conditions, the discrete negative Laplacian is a symmetric positive definite (SPD) matrix. Let denote the eigenvalues of . The eigenvalues are strictly positive, i.e., for all . Given the form of in our linear system, the eigenvalues of are given by
Again, since for all , we can infer
for all . Hence, for all time steps and all admissible control values , and since , it follows that is SPD.
We thus can make use of Cholesky decomposition by virtue of this result. Because is guaranteed to be SPD across all time steps and optimization iterations, the linear system can be efficiently and stably solved using sparse Cholesky factorization ( ), avoiding the need for pivoting. Moreover, we later show that is also the coefficient matrix for the backward discrete adjoint linear system
This is highly advantageous from a computational efficiency standpoint, since the Cholesky factor U computed during the forward state pass can be stored and reused directly in the backward adjoint pass. However, it should be noted that Cholesky decomposition can be computationally intractable, particularly from a memory complexity standpoint, for large sparse systems [30] – in such scenarios, the conjugate gradient (CG) method [11] is an excellent choice.
4 Backward Adjoint Solver
Iterative gradient-based optimizers, such as L-BFGS or conjugate gradient, require evaluating the gradient vector
at every iteration. In a discretized space-time domain with time steps and processor cores, the full decision vector contains independent control variables. A typical simulation with and [12] would thus yield independent control parameters. Standard finite difference gradient approximations require perturbing each control variable individually, evaluating via standard forward finite difference perturbations of the form
for . This standard finite difference gradient approximation scales with an computational complexity per iteration. For high-resolution thermal management over extended operational horizons, this approach becomes computationally intractable even for modestly-sized . As mentioned before, to sidestep this cost, we employ the continuous adjoint state method [17]. By formulating a space-time Lagrangian functional and solving a single backward-in-time adjoint PDE for multiplier , the exact continuous gradient is evaluated at a fixed computational cost of exactly two PDE solves, one forward state solve and one backward adjoint solve, per iteration, completely independent of the control parameter dimension D. Moreover, by virtue of Lemma 3.1, the discrete backward adjoint system reuses the exact Cholesky factor U of , resulting in even greater computational efficiency.
In general form, a backward adjoint solver is constructed by defining a continuous Lagrangian functional that adjoins the objective cost functional to the governing PDE constraint using an adjoint multiplier field ,
where is the objective cost functional, is the forward state variable, is the adjoint multiplier field (or Lagrange multiplier), and represents the design variables or parameters. The Lagrangian for our particular thermal hardware/software co-design optimal control framework takes the form
(23)
We derive the adjoint PDE system as follows:
Theorem 2 (Adjoint PDE System for Thermal Optimal Control). Consider the continuous Lagrangian functional defined in Equation (4.3) with state subject to nonhomogeneous Dirichlet boundary condition on and initial condition on . The continuous adjoint multiplier field that eliminates all state variation dependencies satisfies the backward parabolic adjoint PDE system
Proof. Recall the tracking cost functional . Taking the first variation of the Lagrangian with respect to the state variable in the direction of an arbitrary variation yields
where the constraint variation integral is given by
We split into three separate integrals:
Next, we apply integration by parts to the temporal derivative term in Equation (4.8),
Because the initial temperature is fixed, the state variation at the initial time vanishes, so . Enforcing the terminal condition on eliminates the upper boundary evaluation as well, yielding . For the spatial Laplacian term, applying Green's second identity over gives
Since is fixed on the physical boundary , we have on . Enforcing homogeneous Dirichlet boundary conditions for the adjoint multiplier for ensures that the boundary integral vanishes identically, i.e.,
Substituting these integrated expressions back and collecting all terms proportional to yields
To guarantee that for any arbitrary state variation , the integrand multiplying must vanish identically everywhere in . Rearranging this vanishing condition yields
With the adjoint PDE system derived, we can derive closed forms of each of and , respectively, which will, in turn, act as inputs for our L-BFGS optimizer.
Theorem 3 (Analytical Control Gradients via Continuous Adjoint States). Let be the unique solution to the continuous backward adjoint PDE system shown in Equations (4.4)-(4.6). The exact functional gradients of the objective with respect to the core power controls (for ) and the convective cooling control over are given by
Proof. Recall the full continuous Lagrangian functional
where . Since is chosen such that the state variation holds identically, the first variation of with respect to an arbitrary control perturbation vector equals the total variation of ,
Taking the directional derivative of with respect to core power in the direction of a test perturbation gives
(36)
Interchanging the order of spatial and temporal integration and isolating core c:
Using the definition of the spatial indicator function for and 0 elsewhere, the spatial integral restricts to the core footprint :
Equating the term inside the bracket to the functional derivative yields Equation (33). Taking the directional derivative of with respect to cooling parameter in the direction of a test perturbation yields
Factoring out the temporal perturbation scalar gives
Equating the bracketed integrand to yields Equation (34).
We apply the same Crank-Nicolson discretization scheme for our backward adjoint solver. In doing so, we derive a linear system of the form of Equation (20). We have the backward adjoint PDE
Applying the backward finite difference approximation for yields
To maintain numerical operator symmetry with the forward Crank–Nicolson state solver, we discretize the backward adjoint PDE across the temporal subinterval of width . All continuous time-dependent coefficient functions and state driver fields are evaluated directly at the temporal midpoint via arithmetic averaging, while the backward time derivative is approximated via a central difference, i.e.,
Substituting the Crank–Nicolson midpoint spatial operator averages yields
(42)
Multiplying Equation (4.22) through by and replacing the spatial Laplacian with the 5-point discrete matrix operator :
where the adjoint driver vector is defined as
Grouping unknown adjoint vectors at time step n on the left-hand side and known adjoint vectors at time step on the right-hand side:
Note that we obtain
which are identical to and in the forward solver. Thus, we have the backward linear system
precisely in the form of Equation (20).
5 Adjoint-Driven Thermal Optimal Control Throttling Algorithm
We now have constructed the forward and backward solvers, their corresponding discretizations, and the analytical control gradients derived from the adjoint PDE system. As previously noted, L-BFGS is our optimization algorithm of choice for our optimal control method, ADACT (Adjoint-Driven Adaptive Co-Design Thermal Control). Recall (L-)BFGS is a quasi-Newton method that performs parameter updates of in the form of
where is a sequence of step sizes or learning rates, is the gradient vector, and is the inverse Hessian matrix. In the context of our thermal optimal control framework, given that the decision vector holds
parameters in the control space, explicitly constructing or inverting the full Hessian matrix is computationally prohibitive. BFGS [3], [7], [8], [21] was introduced to sidestep this computational bottleneck via construction of an implicit approximation of the inverse Hessian matrix using only first-order information via the secant condition, i.e.,
which follows from a second-order Taylor series expansion around the current iterate. L-BFGS [16] achieves even greater computational efficiency than standard BFGS by restricting parameter updates to using only a sliding window of m secant pairs – by executing two sequential vector dot-product loops over these stored curvature pairs ( ), L-BFGS computes the search direction in linear time operations without ever forming a dense matrix (which is effectively since ). Once the descent direction is established, the algorithm determines an optimal scalar step length via backtracking line search. To guarantee sufficient decrease in the objective functional and avoid unproductively small step sizes, is selected to satisfy the standard strong Wolfe conditions [18],
where are algorithmic line search constants (typically and ). Moreover, our PDE-constrained optimal control problem is subject to the constraints that for , and for – physical hardware actuators operate within strict hardware bounds, i.e., core clock power densities cannot fall below idle baseline or exceed maximum thermal limit , while cooling fan/pump efforts are physically bounded by . Given these performance constraints, after taking a step along search direction components and , the updated control trajectories are projected element-wise back onto the admissible closed convex set using point-wise clipping,
Thus, we present our thermal optimal control algorithm as follows:
Algorithm 1: Adjoint-Driven Adaptive Co-Design Thermal Control (ADACT)
1: Require: Mesh specifications , physical parameters , desired , hyperparameters , tolerances
2: Initialize: Control vectors , for
3: Assemble spatial Laplacian operator and core indicator vectors
4: For :
Set initial state
For up to : Foward State Solver
Assemble SPD matrix
Assemble matrix and forcing vector
Compute Cholesky factorization
Solve for state
Store and Cholesky factor
Compute
If or : break
Set terminal adjoint state
For down to : Backward Adjoint Solver
Retrieve stored Cholesky factor for matrix
Construct adjoint driver
Solve for adjoint state
For up to :
Compute search direction via L-BFGS two-loop recursion
Perform backtracking line search to find step length satisfying Wolfe conditions
5: Return ,
6 Quantitative Verification
To verify the numerical fidelity of our optimal control framework, we conduct rigorous quantitative verification prior to our numerical experiments. Verification is executed in two distinct stages: (1) confirming the second-order space-time convergence rates of both the forward state solver and backward adjoint solver using the Method of Manufactured Solutions (MMS) [22], and (2) validating the mathematical consistency of the discrete continuous adjoint gradients and using first-order directional derivative Taylor tests [13].
6.1 Method of Manufactured Solutions (MMS)
Analytical solutions to nonhomogeneous parabolic reaction-diffusion PDEs under space-time variant controls do not exist in general. Consequently, we construct exact synthetic solutions and to benchmark mesh convergence rates. We define a smooth manufactured spatial-temporal temperature field that satisfies homogeneous Dirichlet boundary conditions on ,
with and . Substituting into the continuous forward heat equation generates an analytic residual forcing function
By appending to the discrete forcing vector , the discrete error is evaluated across refined space-time grids . Discrete spatial -errors at final time are computed as
The empirical order of convergence (EOC) between successive mesh refinements and is calculated, using the norm, via
Table 1 presents the errors and computed empirical orders of convergence (EOCs) across four systematically refined spatial and temporal meshes:
Table 1: MMS Grid Convergence Study for the 2D Crank–Nicolson Forward Solver
| Mesh | Time Steps | Spatial Step | Time Step | -Error | EOC |
|---|---|---|---|---|---|
| — | |||||
Note that as , the error drops by a factor of with every mesh refinement, which coheres with the canonical second-order accuracy of Crank-Nicolson in both time and space.
6.1.1 Backward Adjoint Solver Verification via Taylor Tests
Likewise, for the backward adjoint PDE system, we prescribe a smooth manufactured multiplier field satisfying terminal condition and boundary conditions on , i.e.,
We evaluate the corresponding continuous adjoint residual source term
We want to show verification that the backward discrete adjoint solver recovers identical second-order convergence rates, since the backward adjoint solver was likewise discretized via Crank-Nicolson. While solver convergence verifies (forward) state trajectories, gradient verification ensures that the discrete linear adjoint system computes exact analytical derivatives of with respect to the control trajectory vector . We perform a first-order Taylor series expansion of the objective functional around an arbitrary initial control trajectory in the direction of a normalized random perturbation vector (). For scalar perturbation ,
We define the first-order Taylor test ratio function as
This ratio defined in Equation (61) is a standard tool in numerical optimization and scientific computing used to verify the correctness of an analytical gradient . The premise of the first-order Taylor test is that, if the continuous adjoint gradient is accurate, then taking the limit as perturbation yields
Table 2 presents the results of our first-order Taylor tests as by factors of from to :
Table 2: Directional Derivative Taylor Test Convergence Study
| Step Size () | Finite Difference Approximation | Taylor Ratio () | Error Magnitude () |
|---|---|---|---|
As , stabilizes around and across step sizes, which shows that our discretized backward adjoint solver and cost functional are aligned to machine precision.
7 Numerical Experiments & Pareto Optimality Analysis
Having validated the spatial-temporal order of accuracy and gradient exactness of our ADACT implementation, we now demonstrate ADACT's performance across multi-core thermal optimal control scenarios. The numerical experiments evaluate the ADACT's ability to maintain core operating temperatures below critical thermal throttling limits while maximizing execution throughput and minimizing active cooling energy. All simulations are conducted on a two-dimensional silicon die domain with mm and chip thickness m. The spatial domain is discretized on a mesh with a temporal step size s over a horizon s ( ). Thermal parameters reflect standard silicon properties: diffusivity m /s, baseline convective dissipation s , and ambient baseline temperature C. The quad-core footprint layout assigns Core 1 (Bottom-Left), Core 2 (Bottom-Right), Core 3 (Top-Left), and Core 4 (Top-Right).
7.1 Asymmetric Thermal Workload Tracking
To evaluate ADACT under severe thermal stress, we simulate an asymmetric workload where diagonal cores (Core 1 and Core 4) experience sudden high compute demand ( ) while remaining cores (Core 2 and Core 3) remain idle ( ). Bounds on control variables are set to W and cooling rate . Hyperparameters are set to .

Figure 1: ADACT Throttling under Asymmetric Thermal Workload
As illustrated in Figure 1, ADACT successfully sustains active cores at maximum requested throughput ( W) and idle cores at low power (15.0 W). Starting from ambient temperature , the peak die temperature heats up smoothly during the transient phase ( ) before leveling off asymptotically at 78.8°C. Because the steady-state thermal distribution stabilizes below the hardware throttling limit (85.0°C), ADACT maintains cooling energy at its lower bound ( ), avoiding excessive use of the convective cooling mechanism.
7.2 3D Multi-Objective Pareto Sensitivity Analysis
Because throughput maximization ( ), cooling energy minimization ( ), and thermal stress reduction ( ) represent competing goals, no single trajectory simultaneously minimizes all cost components. Thus, we seek the Pareto frontier, i.e., the configuration of values of , , and whereby no single (sub-)cost can be improved without worsening at least one other. To map the multi-criterion trade-off space, we execute a parallelized grid sweep evaluating 45 parameter triples ( , , ) across the unit simplex . Figure 2 presents the extracted non-dominated Pareto frontier in 3D objective space ( , , ), with point colorations indicating peak die temperature .
The three-dimensional Pareto frontier shown in Figure 2 reveals three distinct operational regimes that represent the ultimate trade-offs of this system:
• The "Active Cooling" Regime: This regime corresponds to the bottom-center of Figure 2. This represents the maximum cooling state. By expending the maximum allowable cooling energy ( ), the system successfully achieves top-tier performance (zero penalty) while keeping both the peak temperature at its lowest ( ) and thermal stress near zero, but comes at the cost of high electricity/power consumption for the convective cooling mechanism.
• The "Hot & Steady" Regime: This regime corresponds to the bottom-right of Figure 2, typified by the bright yellow point in the three-dimensional space. Here, cooling systems are essentially turned off ( ) to save energy, while maintaining maximum performance. Because there is no active cooling, the Peak Die Temperature skyrockets to its maximum ( ). Interestingly, even though the temperature is high, the thermal stress ( ) remains near zero. This happens because the microprocessor is running at a stable, uniform high temperature without rapid fluctuations or severe spatial temperature gradients, as shown in our asymmetric thermal workload tracking numerical experiment in which running ADACT on a microprocessor stabilizes temperature at a level magnitude below peak die temperature .
• The "Thermal Throttling" Regime: This regime corresponds to the subset of the Pareto optimal frontier towards the back-right wall of the
3D Multi-Objective Pareto Optimal Surface
Dominated Suboptimal Policies
3D Pareto Optimal Frontier

Figure 2: Pareto Frontier of , , for Cost Functional J
plot, where increases. Here, active cooling is minimal ( ), but the system is forced to intentionally throttle performance (i.e., a high performance penalty) to prevent the chip from overheating – while throttling successfully keeps the peak temperature low ( ), the constant cycling or uneven power distribution across the die causes severe Thermal Stress ( ) to spike to its absolute highest levels. This is the worst-case scenario for mechanical component fatigue.
The aforementioned operational regimes of ADACT thus paint a qualitative picture for computational practitioners that is more or less anticipated of the typical Pareto frontier for hardware thermal management: (1) optimizing for lower operational temperatures, lower thermal stress, and faster compute comes at the cost of higher usage of the convective cooling mechanism, (2) minimizing usage of the convective cooling mechanism and faster compute comes at the cost of higher operational temperatures, and (3) minimizing usage of the convective cooling mechanism and minimizing operational temperatures comes at the cost of slower compute.
8 Discussion
In this paper, we presented ADACT, an adjoint-driven optimal control algorithm for dynamic thermal management (DTM) in multi-core microprocessors modeled via 2D parabolic reaction-diffusion PDEs. By combining a second-order Crank–Nicolson temporal discretization with a backward adjoint solver, ADACT achieves machine-precision gradient evaluations as supported by our first-order Taylor test results. The reuse of SPD Cholesky factors across forward solves and backward adjoint passes is a computationally effective scheme that enables reliable convergence under (bound-constrained) L-BFGS optimization.
Numerical experiments utilizing a quad-core processor topology under severe asymmetric workloads demonstrated that ADACT meets compute demands while ensuring operational temperatures do not exceed the processor's throttling threshold. Moreover, our Pareto optimality analysis mapped the fundamental operational trade-off between active convective cooling effort and die thermal stress accumulation, demonstrating that peak die temperatures can be modulated predictably between C and C while sustaining 100% of requested power throughput, albeit on a relatively small architecture.
Promising future extensions of this work include extending the PDE solver architecture to three-dimensional multi-layer chip packages (incorporating silicon substrates, thermal interface materials, and integrated heat spreaders), empirically testing ADACT on much larger and more intricate architectures, and integrating ADACT into online model predictive control (MPC) loops with real-time hardware sensor feedback.
Acknowledgements
Thanks to Dr. Hannah Kravitz for her supervision of this research and for teaching the graduate numerical analysis sequence at Portland State University (PSU). Likewise, thanks to Dr. Dacian N. Daescu, also of PSU, for advising me regarding this research, given his expertise in PDE-constrained optimization and the use of the adjoint state method.
References
[1] W. Lloyd Bircher and Lizy K. John. “Analysis of dynamic power management on multi-core processors”. In: Proceedings of the 22nd Annual International Conference on Supercomputing. 2008.
[2] David Brooks and Margaret Martonosi. “Dynamic Thermal Management for High-Performance Microprocessors”. In: Proceedings of the 7th International Symposium on High Performance Computer Architecture. 2001.
[3] Charles George Broyden. “The convergence of a class of double-rank minimization algorithms”. In: Journal of the Institute of Mathematics and Its Applications 6.1 (1970), pp. 76–90.
[4] Ayşe Kıvılçim Coşkun, Tajana Šimunić Rosing, and Kenny C. Gross. “Utilizing Predictors for Efficient Thermal Management in Multiprocessor SoCs”. In: IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 28.10 (2009), pp. 1503–1516.
[5] John Crank and Phyllis Nicolson. “A Practical Method for Numerical Evaluation of Solutions of Partial Differential Equations of the Heat-Conduction Type”. In: Mathematical Proceedings of the Cambridge Philosophical Society 43.1 (1947), pp. 50–67.
[6] Dacian N. Daescu, Gregory R. Carmichael, and Adrian Sandu. “Adjoint Implementation of Rosenbrock Methods Applied to Variational Data Assimilation Problems”. In: Journal of Computational Physics 165.2 (2000), pp. 496–510.
[7] Roger Fletcher. “A new approach to variable metric algorithms”. In: The Computer Journal 13.3 (1970), pp. 317–322.
[8] Donald Goldfarb. “A family of variable-metric methods derived by variational means”. In: Mathematics of Computation 24.109 (1970), pp. 23–26.
[9] Gene H. Golub et al. “Tikhonov Regularization and Total Least Squares”. In: SIAM Journal on Matrix Analysis and Applications 21.1 (1999), pp. 185–194.
[10] V. Govindaraj et al. “Computational intelligence enabled hardware software co design for energy efficient Edge Artificial Intelligence”. In: Discover Computing 29 (2026).
[11] Magnus R. Hestenes and Eduard Stiefel. “Methods of Conjugate Gradients for Solving Linear Systems”. In: Journal of Research of the National Bureau of Standards 49.6 (1952).
[12] Rodrigo Huerta et al. “Analyzing Modern NVIDIA GPU Cores”. arXiv 2503.20481. 2025.
[13] Junoh Jung et al. “Diff-NekRS: A Scalable Differentiable Framework for Multi-Timestep Solver-in-the-Loop Training”. arXiv 2609.23208. 2026.
[14] Vladimir Krutikov, Elena Tovbis, and Lev Kazakovtsev. “A Method of Scaling Variables in Large-Dimensional Problems”. In: Mathematical Optimization Theory and Operations Research: 25th International Conference. 2026.
[15] Valentin LeFevre, Tetsuzo Usui, and Marc Casas. “Optimization of the Sparse Multi-Threaded Cholesky Factorization for A64FX”. arXiv 2202.09288. 2022.
[16] Dong C. Liu and Jorge Nocedal. “On the limited memory BFGS method for large scale optimization”. In: Mathematical Programming 45.3 (1989), pp. 503–528.
[17] Guri I. Marchuk. Adjoint Equations and Analysis of Complex Systems. Springer, 1995.
[18] Jorge Nocedal and Stephen J. Wright. Numerical Optimization. Springer Series in Operations Research, 2006.
[19] R.E. Plessix. “A Review of the Adjoint State Method for Computing the Gradient of a Functional with Geophysical Applications”. In: Geophysical Journal International 167.2 (2006), pp. 495–503.
[20] Mohsen Sadr, Tony Tohme, and Kamal Youcef-Toum. “Data-Driven Discovery of PDEs via the Adjoint Method”. In: Transactions on Machine Learning Research (2024).
[21] David F. Shanno. “Conditioning of quasi-Newton methods for function minimization”. In: Mathematics of Computation 24.111 (1970), pp. 647–656.
[22] L. Shunn and F. Ham. “Method of manufactured solutions applied to variable-density flow solvers”. In: Center for Turbulence Research Annual Research Briefs. Stanford University, 2007, pp. 155–168.
[23] G.D. Smith. Numerical Solution of Partial Differential Equations: Finite Difference Methods. Oxford Applied Mathematics and Computing Science Series, 1985.
[24] Justin Solomon. Numerical Algorithms. A.K. Peters/CRC Press, 2015.
[25] E. Strubell, A. Ganesh, and A. McCallum. “Energy and policy considerations for deep learning in NLP”. In: Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics. 2019.
[26] Elena Tovbis, Vladimir Krutikov, and Lev Kazakovtsev. “Algorithm for Scaling Variables in Minimization Methods”. In: Algorithms 19.2 (2026).
[27] Mohammad Saleh Vahdatpour and Yanqing Zhang. “Energy-Efficient Software–Hardware Co-Design for Machine Learning: From TinyML to Large Language Models”. arXiv 2603.23668. 2026.
[28] Cong Xiao, Ya Deng, and Guangdong Wang. “Deep-Learning-Based Adjoint State Method: Methodology and Preliminary Application to Inverse Modeling”. In: Water Resources Research 57.2 (2021).
[29] Jerzy Zabczyk. Mathematical Control Theory: An Introduction. Birkhäuser, 1992.
[30] Lu Zhang. “Applications of Conjugate Gradient in Bayesian Computation”. arXiv:2308.14828. 2023.