Pensions

AI, longevity and pensions

How machine learning helps model longevity and risk in pension systems, how it connects with the projected unit credit method and NIF D-3, and the limits imposed by actuarial prudence.

Act. Frank Ruiz de la Peña Olea 8 min read August 1, 2026 Article 8 of 14

Few variables weigh as heavily on a pension system as longevity. Living longer than expected is excellent news for the individual and a financial challenge for the collective: every additional year of life expectancy makes a defined benefit plan's obligations more expensive. Modeling well how long pensioners will live, and how much uncertainty surrounds that projection, is one of the core tasks of the pension actuary, and that is precisely where artificial intelligence and machine learning are starting to add value.

The problem of modeling longevity

Traditionally, longevity risk is addressed with mortality tables and dynamic models that project how mortality changes over time. The Lee-Carter model and its extensions are classic references for capturing the trend of mortality improvement by age and calendar year.

These models work, but they have limits: they tend to rely on few variables, assume relatively rigid structures and may poorly capture complex interactions or regime changes. This is where modern techniques come in.

How machine learning helps

Machine learning offers tools that complement, rather than replace, the classical actuarial toolkit. Some applications:

The connection with projected unit credit and NIF D-3

None of this is an abstract exercise: it feeds directly into the valuation of obligations. Under the projected unit credit method, which is prescribed by NIF D-3 in Mexico and by IAS 19 internationally, each participant's future benefits are projected and discounted to present value, attributing a credit to each period of service.

The mortality assumption, and in particular its future improvement component, is a key input to that projection. A table that underestimates longevity artificially reduces the Defined Benefit Obligation; one that overestimates it inflates it. To the extent that machine learning makes it possible to select and support the demographic assumption more soundly, it contributes to a more faithful valuation of the DBO and of the service cost. AI does not change the method; it improves the quality of one of the method's inputs.

The limits: where prudence rules

That said, NIF D-3 and actuarial practice require assumptions that are a best estimate, supportable and mutually consistent. This places significant constraints on the use of sophisticated models:

A mature use: power with judgment

The balanced reading is that AI and machine learning are powerful allies for informing longevity assumptions, not for replacing actuarial judgment or the regulatory framework. Their natural place is in exploration, cross validation, pattern detection and improving projections when data are sufficient, always with an interpretable model and a final assumption the actuary can support.

Professional bodies are keeping pace with this evolution. The Society of Actuaries, the Casualty Actuarial Society and the Institute and Faculty of Actuaries publish research on mortality models, data science and their prudent application to longevity risk. It is worth following that literature to adopt new tools without losing the rigor that pension valuation has always demanded.

PensionsActuarial scienceArtificial Intelligence
‹ Previous
Large language models (LLMs) in actuarial work
Next ›
Telematics and usage-based insurance (UBI): pricing that learns to drive with you
FR

Act. Frank Ruiz de la Peña Olea

Actuary accredited by the CNSF. Specialist in insurance, pensions, investments and reinsurance. View full profile

‹ Back to the blog

Explore the intersection of actuarial science × AI

Dig deeper into the statistical foundations, machine learning and neural networks applied to risk in the Actuar.IA section.

Go to Actuar.IA