Macro Research

A Machine Learning Approach to Measuring Inflation Regimes

TOPIC

The recent surge in inflationary pressures has become a leading concern of central banks, investment managers, and households alike.

Author

Role

date

A Machine Learning Approach to Measuring Inflation Regimes
A Machine Learning Approach to Measuring Inflation Regimes

Macro Research

SUMMARY

We endeavored to develop a robust, data-driven approach for identifying and classifying inflation regimes to guide future determinations of when to position portfolios appropriately to hedge against the damaging effects of inflation.

A Machine Learning Approach To Measuring Inflation Regimes

Inflation examined

The recent surge in inflationary pressures has become a leading concern of central banks, investment managers, and households alike. The U.S. economy experienced nearly three decades of sustained low inflation prior to 2020. The Covid-19 pandemic resulted in significant growth in the Federal Reserve’s balance sheet, massive fiscal deficit spending, and a breakdown in global supply chains. These events have led to a rapid and sustained increase in inflationary pressures which in turn have widespread effects on the real economy and financial markets.  

Figure 1: U.S. Year-Over-Year Consumer Price Inflation (Percent Change)


Exploring solutions

A recent study by the Man Group (Neville, Draaisma, Funnell, Harvey, Van Hemert. “The Best Strategies for Inflationary Times.” (August 2021) provided a 95-year review of inflation’s impact on asset prices. The study sought to identify asset classes and factor exposures that performed well during historical periods of high inflation.

One key finding by the Man Group study that resonates in today’s market environment is the beneficial role commodities have played historically as an inflation hedge. The current inflationary regime has exhibited commodity price increases consistent with past periods, providing inflation protection to portfolios.

We endeavored to develop a robust, data-driven approach for identifying and classifying inflation regimes to guide future determinations of when to position portfolios appropriately to hedge against the damaging effects of inflation.

Figure 2: IMF Global Price Index (All Commodities)


Stategy measurement

Our approach to measuring inflation regimes differs from others in that we focused on a purely data-driven approach. Financial and macroeconomic conditions often change behavior over extended periods of time creating regimes. Having a set of tools to model changes in behavior can help both improve asset allocation and risk management.

There are multiple approaches one could take to identify regimes. Expert judgment and historical knowledge, studying business-cycles, and time-series analysis can all help to determine states of the economy or market regimes. These approaches all require a priori assumptions.

"One accurate measurement is worth a thousand expert opinions." - Grace Hopper | computer science pioneer

Measuring Regimes

In contrast, we implemented a machine learning approach that lets the historical data itself determine where regimes occur. We utilized a set of unsupervised learning methods which can discover hidden patterns in the data without asserting any initial assumptions such as the current state of financial markets or inflation’s relationship to other macroeconomic forces.

Specifically, we used a combination of K-means Clustering, Gaussian Mixed Methods, and Dynamic Time Warping. These models are especially robust at identifying clusters within a data series that share similar behavior, thus allowing us to identify regimes. The initial analysis was performed on the headline consumer price index reported by the Bureau of Labor Statistics.

Data-Driven Discoveries

The machine learning algorithm we implemented iterates to determine an optimal number of regimes it will use for classification. Four unique inflation regimes were identified in U.S. headline CPI. We classified those regimes as: low, medium, high, and extreme. Our research identified that the high and extreme regimes were periods where utilizing a commodity index as a portfolio hedge was most useful. All identified high/extreme regimes are listed below along with the cumulative return from holding an equal-weighted commodity basket over the identified periods.

Figure 3: Machine Learning Model Identified Inflation Regimes

Research Application

What does all of this mean from an investment perspective? Sustained periods of high inflation are rare over the past 60 years, but when they have occurred, traditional 60-40 portfolios have underperformed as have many other equity and bond strategies. Commodities have tended to outperform during these periods and the recent Man Group study illustrated the effectiveness of adding a broad basket of commodities, including energy, metals, and agriculture to an existing portfolio as an inflation hedge. More importantly, knowing when to reallocate a portfolio or add a hedge is critical for risk management.  

To examine the potential impact of commodities in a portfolio, we simulated a 60% equity/40% bond portfolio against a 60%/30%/10% portfolio where 10% is allocated to a diversified commodity index. The simulation ran from April 2020 through May 2022 which corresponds to the most recently identified inflationary regime by the machine learning algorithm. The inclusion of commodities improved the portfolio returns and Sharpe ratio, while decreasing volatility and drawdowns.

Figure 4: Current Inflation Regime Portfolio Construction

Thinking Forward

Stategy Capital’s approach to classifying inflation regimes is a move away from traditional modeling approaches and towards more data-driven, machine learning methods. We understand that periods of sustained high inflation in the U.S. have been rare and therefore we do not have many historical periods to study, but we understand the critical need for tactical portfolio allocation and risk management during these uncertain periods.

We believe in continual learning and, as always, strive to apply responsible data science and subject-matter expertise to tough problems.

The information contained herein is only as current as of the date indicated, and may be superseded by subsequent market events or for other reasons. The views and opinions expressed herein are those of the author and do not necessarily reflect the views of Stategy Capital LP, its affiliates or its employees. This information is not intended to, and does not relate specifically to any investment strategy or product that Stategy Capital LP offers. It is being provided merely to provide a framework to assist in the implementation of an investor’s own analysis and an investor’s own view on the topic discussed herein. Past performance is not a guarantee of future results.

This material has been provided to you solely for information purposes and does not constitute an offer or solicitation of an offer or any advice or recommendation to purchase any securities or other financial instruments and may not be construed as such. The factual information set forth herein has been obtained or derived from sources believed by the author and Stategy Capital LP to be reliable but it is not necessarily all-inclusive and is not guaranteed as to its accuracy and is not to be regarded as a representation or warranty, express or implied, as to the information’s accuracy or completeness, nor should the attached information serve as the basis of any investment decision. The information set forth herein has been provided to you as secondary information and should not be the primary source for any investment or allocation decision.

Past performance is not a guarantee of future performance.

This document is not research and should not be treated as research. This document does not represent valuation judgments with respect to any financial instrument, issuer, security or sector that may be described or referenced herein and does not represent a formal or official view of Stategy Capital LP.

The views expressed reflect the current views as of the date hereof and neither the author nor Stategy Capital LP undertakes to advise you of any changes in the views expressed herein. It should not be assumed that the author or Stategy Capital LP will make investment recommendations in the future that are consistent with the views expressed herein, or use any or all of the techniques or methods of analysis described herein in managing client accounts. The information contained herein is only as current as of the date indicated, and may be superseded by subsequent market events or for other reasons. Charts and graphs provided herein are for illustrative purposes only.

The information in this document may contain projections or other forward-looking statements regarding future events, targets, forecasts or expectations regarding the strategies described herein, and is only current as of the date indicated. There is no assurance that such events or targets will be achieved, and may be significantly different from that shown here. The information in this document, including statements concerning financial market trends, is based on current market conditions, which will fluctuate and may be superseded by subsequent market events or for other reasons.