arXiv:2608.28791cs.AIAug 2026

Manuscript Offprint

arXiv:2608.28791

Efficient Geothermal Well-Control Optimization via Diffusion-Surrogate Reinforcement Learning

Ruimin Dai, Guodong Chen, Randy Harsuko, Kunpeng Liu, Nori Nakata

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

Ruimin Dai

School of Computing Clemson University Clemson, SC, USA ruimind@clemson.edu

Guodong Chen

Energy Geoscience Division Lawrence Berkeley National Laboratory University of California Berkeley Berkeley, CA, USA gchen6@lbl.gov

Randy Harsuko

Energy Geoscience Division Lawrence Berkeley National Laboratory University of California Berkeley Berkeley, CA, USA mharsuko@lbl.gov

Kunpeng Liu

School of Computing Clemson University Clemson, SC, USA kunpenl@clemson.edu

Nori Nakata*

Energy Geoscience Division Lawrence Berkeley National Laboratory Berkeley, CA, USA nnakata@lbl.gov

Abstract—Real-time decision-making for enhanced geothermal systems (EGS) is challenging because long-term production periods involve high-dimensional control spaces and a large number of time-consuming high-fidelity hydrothermal simulations. Reinforcement learning provides a natural framework for state-dependent sequential control, but direct policy training with numerical simulators is computationally expensive. To address this issue, we propose a diffusion-surrogate guided reinforcement learning framework for long-horizon EGS well-control optimization. The reservoir temperature and pressure fields are used as system states, while injection rates are selected as control actions. A learned surrogate environment is constructed using conditional diffusion models to predict the evolution of reservoir temperature and pressure fields and a separate reward model to estimate the corresponding economic return. The surrogate environment is then integrated with Proximal Policy Optimization (PPO) for efficient policy training. Experiments on a fractured EGS benchmark show that the diffusion surrogate can accurately reproduce reservoir-state evolution over multiple control stages. The resulting surrogate-assisted PPO policy achieves competitive well-control performance compared with direct simulator-based PPO and existing optimization methods, while substantially reducing the dependence on expensive high-fidelity simulations. These results demonstrate the potential of diffusion-based surrogate environments for efficient reinforcement learning in geothermal well-control optimization.

Index Terms—Enhanced Geothermal Systems; Well-control Optimization; Reinforcement Learning; Diffusion Models; Surrogate Modeling

I. INTRODUCTION

Enhanced Geothermal Systems (EGS) offer a practical approach to extracting geothermal energy from high-temperature rock formations where natural permeability is insufficient for conventional geothermal production [1]–[3]. As illustrated in Fig. 1, relatively cold fluid is injected into the geothermal reservoir through injection wells, circulates through fractures

and the surrounding rock matrix, and absorbs heat from the hot formation. The heated fluid is then recovered through production wells and transported to the surface for electricity generation or direct heat use. This circulation process enables continuous heat extraction from the subsurface reservoir. Because fractures serve as the dominant pathways for fluid transport, EGS performance is strongly controlled by the coupled behavior of subsurface flow and heat transfer [4]–[6]. Changes in well operation can redistribute reservoir pressure and redirect fluid circulation, which in turn alters the evolution of the temperature field. These effects directly influence how effectively the reservoir volume is swept, when cold-water breakthrough occurs at production wells, and how much thermal energy can be recovered over long-term operation.

Properly designed well operating strategies are therefore critical to the long-term economic performance of EGS projects. Well-control optimization seeks to determine suitable

Figure

Fig. 1: Schematic illustration of an enhanced geothermal system (EGS). Cold fluid is injected into the geothermal reservoir through an injection well, heated as it circulates through the subsurface formation, and recovered through a production well for surface energy utilization.

*Corresponding author.

control settings at different stages of geothermal production so that heat can be extracted efficiently while maintaining economic viability over the project lifetime [7]–[9]. Depending on the operating scheme, the decision variables may include injection rates, production rates, and bottomhole pressures. These decisions affect not only the immediate production response but also the subsequent evolution of reservoir pressure, temperature, and overall production potential.

For this reason, well-control optimization cannot be reduced to maximizing short-term injection rates, production rates, or thermal output at individual time steps [9]–[11]. Control decisions must be evaluated over the full development horizon, where increased heat production is weighed against costs associated with fluid injection, production, and other operational activities. Net present value (NPV) is commonly used to capture this trade-off in a single economic objective. From this perspective, EGS well-control optimization can be formulated as a sequential decision-making problem that searches for a time-dependent control policy capable of maximizing cumulative economic returns over the entire production period.

Reinforcement learning (RL) is well suited to long-horizon sequential decision problems in which current control actions affect future system states and returns [12]–[15]. Rather than optimizing a fixed sequence of predetermined control variables directly, RL learns a policy through interactions between an agent and its environment, with actions selected from the current state to maximize cumulative reward over the decision horizon. This formulation has been used in engineering control problems including oil and gas reservoir production optimization, where reservoir states are provided as observations, well-control variables define the action space, and net present value (NPV) is used as the reward [16], [17]. The same sequential structure arises in EGS well-control optimization. Injection decisions at each control stage modify the reservoir pressure and temperature fields, and these changes affect heat extraction and economic performance in later stages. RL can therefore condition well-control decisions on the evolving reservoir state and optimize them with respect to long-term economic return rather than the immediate response at a single control step.

Although optimization methods have been applied to well-control optimization, three key limitations remain for long-term EGS well-control optimization:

  1. High-dimensional well-control spaces increase optimization difficulty. Optimizing multiple wells over multiple control stages produces a large number of decision variables. Combined with the nonlinear relationship between well controls and reservoir response, this high-dimensional search space can require many evaluations to converge and may prevent the optimizer from identifying high-quality control schemes within a limited computational budget [18], [19].

  2. Hydrothermal simulations create a substantial computational bottleneck. Each candidate control scheme must typically be evaluated using a computationally expensive hydrothermal simulation [8], [20], [21]. Because optimization requires repeated evaluations of different control schemes, simulation cost can dominate the overall optimization process. The same issue becomes more pronounced in RL, where policy learning requires a large number of interactions with the simulation environment.

  3. Predefined control sequences do not explicitly account for evolving reservoir states. Most existing optimization methods determine the well-control sequence for the full production horizon in advance. These open-loop strategies do not establish an explicit mapping from the evolving reservoir state to subsequent control actions. Changes in reservoir temperature and pressure during production therefore cannot be directly incorporated into later well-control decisions, limiting adaptation to the reservoir conditions encountered during operation [22].

To address these limitations, we propose a diffusion-surrogate reinforcement learning framework for long-horizon EGS well-control optimization. We formulate well control as a sequential decision problem, where reservoir temperature and pressure fields represent the system state and injection rates are selected as control actions. To reduce the cost of repeated hydrothermal simulations, we construct a surrogate environment in which conditional diffusion models predict the next reservoir state from the current state and action, while a separate reward model estimates the corresponding NPV reward. The learned surrogate environment is then integrated with Proximal Policy Optimization (PPO) [23] for efficient policy training, while the high-fidelity COMSOL simulator is used for final policy evaluation. Our contributions are summarized as follows:

  • Problem. We formulate EGS well-control optimization as a state-dependent sequential decision problem. Rather than optimizing a fixed open-loop control sequence over the full production horizon, the formulation learns a policy that maps the evolving reservoir temperature and pressure fields to well-control actions.

  • Algorithm. We develop a diffusion-based surrogate environment for RL training. Conditional diffusion models approximate reservoir state transitions conditioned on the current state and injection action, and a separate reward surrogate estimates the resulting economic return. Integrating these models with PPO reduces the number of high-fidelity hydrothermal simulations required during policy learning.

  • Evaluation. We evaluate the proposed framework on a fractured EGS well-control problem, examining surrogate prediction accuracy, control performance, and computational cost. The results show that the learned policy achieves competitive performance while requiring substantially fewer high-fidelity simulation evaluations.

References (32)