Deep learning for dynamic programming with recursive utility

Discover the CEL algorithm, the first deep learning method that solves dynamic programming problems with recursive utility in high dimensions.

martes, 7 de julio de 2026 • 2 min read • Q2BSTUDIO Team

CEL algorithm solves recursive dynamic programming

Dynamic programming is an essential technique for solving optimization problems where decisions are made sequentially under uncertainty. However, when the utility function incorporates a recursive component —that is, current utility depends on expected future utility— conventional numerical methods become extremely complex. This complexity arises because the certainty equivalent, which transforms uncertain utility into a deterministic value, lacks a closed-form representation and its evaluation requires sophisticated approximations.

In recent years, deep learning has emerged as a promising alternative to address these challenges. A recent algorithm, called Certainty Equivalent Learning (CEL), uses neural networks to directly learn the certainty equivalent, the value function, and the optimal policy jointly. Unlike classical methods, CEL operates without the need for a grid in the state space, relies solely on simulations, and does not require computing Euler equations or first-order conditions. This makes it especially suitable for problems with high-dimensional state and control spaces, where traditional approaches collapse due to the curse of dimensionality.

The algorithm's applications range from optimal control of discounted linear quadratic Gaussian systems to robust control models with small uncertainty, DSGE models with Epstein-Zin preferences, and multivariate strategic asset allocation problems. Empirical results show that CEL achieves accuracy comparable to value function iteration (VFI) in low-dimensional problems, while in high dimensions it maintains out-of-sample Bellman errors and Euler residuals on the order of 1e-4 to 1e-3. This precision makes CEL a viable tool for real-world applications in economics, finance, and engineering.

For companies seeking to incorporate these advanced optimization capabilities into their business processes, having a technology partner that understands both the theory and practical implementation is essential. Q2BSTUDIO is a software development company that offers custom artificial intelligence solutions, capable of integrating algorithms like CEL into decision-making systems. Its team develops tailored applications that allow organizations to model uncertain environments and dynamically optimize policies, using AWS and Azure cloud infrastructure to ensure scalability and availability. Additionally, cybersecurity is a critical aspect of these systems; Q2BSTUDIO provides pentesting and data protection services to ensure that AI models operate in trusted environments. Business intelligence services based on Power BI complement the offering, facilitating result visualization and key indicator monitoring. Likewise, the development of AI agents enables the automation of learned policy execution, closing the loop between optimization and action.

Ultimately, the convergence of recursive dynamic programming and deep learning opens new frontiers for optimization under uncertainty. Companies like Q2BSTUDIO, with their expertise in artificial intelligence for businesses and custom software development, are in a privileged position to help their clients adopt these cutting-edge technologies. You can learn more about their AI solutions on their page dedicated to artificial intelligence for businesses. The combination of advanced algorithms, cloud infrastructure, and business intelligence services constitutes a complete ecosystem to tackle the challenges of dynamic optimization in real-world environments.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.