using machine learning researchers at texas a&m university have developed an algorithm that automates the process of determining key features of earths subterranean environment including bountiful reservoirs of groundwater oil and natural gas specifically the researchers algorithm is designed on the principle of reinforcement or reward learning here the computer algorithm converges on the correct description of the underground environment based on rewards it accrues for making correct predictions of the pressure and flow expected from boreholes subsurface systems that are typically a mile below our feet are completely opaque at that depth we cannot see anything and have to use instruments to measure quantities like pressure and rates of flow said dr siddharth misra associate professor in the harold vance department of petroleum engineering and the department of geology and geophysics although my current study is a first step my goal is to have a completely automated way of using that information to accurately characterize the properties of the subsurface the algorithm is described in the december issue of the journal applied energy simulating the geology of the underground environment can greatly facilitate forecasting of oil and gas reserves predicting groundwater systems and anticipating seismic hazards depending on the intended application boreholes serve as exit sites for oil gas and water or entry sites for excess atmospheric carbon dioxide that need to be trapped underground along the length of the boreholes drilling operators can ascertain the pressures and flow rates of liquids or gas by placing sensors conventionally these sensor measurements are plugged into elaborate mathematical formulations or reservoir models that predict the properties of the subsurface such as the porosity and permeability of rocks for their study misra and his team chose a type of machine-learning algorithm based on the concept of reinforcement learning simply put the software learns to make a series of decisions based on feedback from its computational environment imagine a bird in a cage the bird will interact with the boundaries of the cage where it can sit or swing or where there is food and water it keeps getting feedback from its environment which helps it decide which places in the cage it would rather be at a given time said misra algorithms based on reinforcement learning are based on a similar idea they too interact with an environment but it's a computational environment to reach a decision or a solution to a given problem so these algorithms are rewarded for favorable predictions and are penalized for unfavorable ones over time reinforcement-based algorithms arrive at the correct solution by maximizing their accrued reward another technical advantage of reinforcement-based algorithms is that they do not make any presuppositions about the pattern of data for example misra's algorithm does not assume that the pressure measured at a certain time and a certain depth is related to what the pressure was at the same depth in the past this property makes his algorithm less biased thereby reducing the chances of error at predicting the subterranean environment when initiated misra's algorithm begins by randomly guessing a value for porosity and permeability of the rocks constituting the subsurface based on these values the algorithm calculates a flow rate and pressure that it expects from a borehole if these values do not match the actual values obtained from field measurements also known as historical data the algorithm gets penalized consequently it is forced to correct its next guess for the porosity and permeability however if its guesses were somewhat correct the algorithm is rewarded and makes further guesses along that direction the researchers found that within 10 iterations of reinforcement learning the algorithm was able to correctly and very quickly predict the properties of simple subsurface scenarios misra noted that although the subsurface simulated in their study was simplistic their work is still a proof of concept that reinforcement algorithms can be used successfully in automated reservoir-property predictions also referred as automated history matching a subsurface system can have 10 or 20 boreholes spread over a 2-5-mile radius if we understand the subsurface clearly we can plan and predict a lot of things in advance; for example we would be able to anticipate subsurface environments if we go a bit deeper or the flow rate of gas at that depth said misra in this study we have turned history matching into a sequential decision-making problem which has the potential to reduce engineers efforts mitigate human bias and remove the need of large sets of labeled training data he said future work will focus on simulating more complex reservoirs and improving the computational efficiency of the algorithm this research is funded by the united states department of energy