Robeco logo

Disclaimer

Please read this important information before proceeding further. It contains legal and regulatory notices relevant to the information contained on this website.

The information contained in the Website is NOT FOR RETAIL CLIENTS – The information contained in the Website is solely intended for professional investors, defined as investors which (1) qualify as professional clients within the meaning of the Markets in Financial Instruments Directive (MiFID), (2) have requested to be treated as professional clients within the meaning of the MiFID or (3) are authorised to receive such information under any other applicable laws. The value of the investments may fluctuate. Past performance is no guarantee of future results. Investors may not get back the amount originally invested. Neither Robeco Institutional Asset Management B.V. nor any of its affiliates guarantees the performance or the future returns of any investments. If the currency in which the past performance is displayed differs from the currency of the country in which you reside, then you should be aware that due to exchange rate fluctuations the performance shown may increase or decrease if converted into your local currency.

Robeco Institutional Asset Management UK Limited (“RIAM UK”) markets the Funds of Robeco Institutional Asset Management B.V. (“ROBECO”) to institutional clients and professional investors only. Private investors seeking information about the Robeco Funds should consult with an Independent Financial Adviser. ROBECO will not be liable for any damages or losses suffered by private investors accessing the website.

RIAM UK is an authorised distributor for ROBECO Funds in the UK and has marketing approval for the funds listed on the website, all of which are UCITS Funds. ROBECO is authorised by the AFM and subject to limited regulation by the Financial Conduct Authority.

Many of the protections provided by the United Kingdom regulatory framework may not apply to investments in ROBECO Funds, including access to the Financial Services Compensation Scheme and the Financial Ombudsman Service. No representation, warranty or undertaking is given as to the accuracy or completeness of the information on this website.

If you are not an institutional client or professional investor, you should therefore not proceed. By proceeding, please note that we will be treating you as a professional client for regulatory purposes and you agree to be bound by our terms and conditions.

If you do not accept these terms and conditions, as well as the terms of use of the website, please do not continue to use or access any pages on this website.

Decline

04-12-2023 · Insight

Using machine learning for emerging market equity returns

Machine learning algorithms and models have large potential for investing in emerging stock markets, says quant researcher Laurens Swinkels.

    Authors

  • Laurens Swinkels - Head of Quant Strategy

    Laurens Swinkels

    Head of Quant Strategy

  • Matthias Hanauer - Researcher

    Matthias Hanauer

    Researcher

Summary

  1. Linear and machine learning algorithms applied to emerging market stocks

  2. Five portfolios created based on the machine-predicted excess returns

  3. Machine models brought higher returns than traditional factor investing

Machine learning algorithms have surged in popularity among academics and practitioners as they seek to determine if they can enhance returns. Robeco’s quant team put this to the test by seeing what the application of such algorithms would mean for investing in emerging market equities1. The results were as useful as the machine learning models themselves.

We discovered that they excel at detecting financially material non-linear relationships between company characteristics – a feat that would be challenging for human researchers. We also found that using ensembling, or the ‘wisdom of the crowd’ for machine learning models, could increase expected returns net of trading costs by up to 2% per annum for equity investors.

The results came from analyzing more than 15,000 unique stocks from 32 countries between 1990 and 2021. We used 36 standard characteristics that can apply to both developed and emerging markets for the study, and opted not to introduce any new ones to highlight the added value that machine learning techniques can bring. This ensured that any additional performance gleaned wasn’t just the result of novel data but accrued to well-known factors such as low-risk, valuation, momentum and quality.

Different algorithms were then used to predict relative stock returns to their own country market index based on these factors. The least complex method assumes that each of the firm characteristics has a linear relationship to stocks’ outperformances.

Three machine learning methods were used to improve upon straightforward linear regression.

  • Elastic net. This method aims to reduce the number of characteristics (36 in our case) by eliminating those with the lowest or no forecasting ability. It also minimizes the potential noise that may be present in a sample that could impair out-of-sample predictive performance. This method does not detect data-driven non-linear relationships or interaction effects.

  • Tree-based methods. Random forests and gradient-boosted regression trees follow the idea of sequentially partitioning the underlying data into groups of firm characteristics – ‘growing’ a tree. New branches are created every time the data is separated. At each new branch, the characteristic that generates the biggest separation in the database is selected, with the tree growing as high as the researcher allows, ending in a leaf.

  • Neural networks. These are flexible models that connect multiple layers. They consist of an input layer of firm characteristics and at least one hidden layer of activation functions. An output layer aggregates the hidden layers’ outcomes into a return prediction. When a model uses more than one hidden layer – ours uses up to five – it is sometimes referred to as a deep learning model.


With 1990 to 2001 as our initialization period, we used data from the first half for training and the second half for validation. We trained the models on our entire set of emerging market stock returns and refrained from developing country-specific models, because some evidence suggests these may lead to overfitting, which reduces out-of-sample performance.

We can then rank each of the 36 variables in order of their importance by evaluating the negative impact on prediction performance when the variable is left out and the rest of the model remains unchanged. We found that the models make similar choices regarding the most influential characteristics, with price to its 52-week high, idiosyncratic volatility, and turnover being the three most important.

Momentum and short-term reversal are also among the top 15, as well as the price/earnings ratio and profitability. This is information that is worth having. Detecting interaction effects between each of the 36 variables would be incredibly time-consuming and difficult for a human researcher, whereas a machine learning model is able to find these relationships quickly and systematically.

Investment performance

So they work in theory, but how do these interaction effects actually impact investment performance? For investors, it may be more relevant to back-test the signals coming from these models, allowing us to compare the risk and return of portfolios.

To test this, we formed five portfolios based on the machine-predicted excess returns of each stock relative to its country index. We then calculated the return in the next month, using market capitalization-based portfolio weights within each portfolio. Starting in our out-of-sample period from January 2002, we repeated this each month until December 2021, when our sample ends. The results can be seen in the chart below.

using-machine-learning-for-emerging-market-equity-returns-fig1.jpg

Source: Robeco, Hanauer and Kalsbach (2023) using data from January 2002 to December 2021

On average, the returns of the long/short portfolio derived from the two linear models, namely regression and elastic net, were around 0.8% per month. This is substantial and shows that conventional quantitative models are able to generate excess returns in emerging stock markets, confirmed by earlier studies on factor investing in emerging markets.

The random forest and gradient-boosted random tree methods generated higher returns of around 1.0% per month, while the neural networks method and a combination of all machine learning models delivered 1.2%. In short, linear models are good, but machine learning models are better.

Get the latest insights

Subscribe to our newsletter for investment updates and expert analysis.

Don’t miss out

Going back to basics

This does lead to the question of whether this is just a fancy way to pick up the conventional quantitative factors that have been employed in the investment industry for decades. Indeed, as the red bars show, a substantial part of the raw excess returns can be explained by these well-known factors.

On the one hand, this confirms that traditional factor investing can still predict future returns. On the other hand, it also shows that machine learning models give us greater, economically important insight that can bring even higher returns. The linear models show there is about 0.2% per month of alpha left to capture, which increases to 0.5% per month for the tree-based models, and 0.7% per month for the neural network method and the machine learning ensemble.

Hence, using machine learning signals is more profitable than conventional factor investing alone. Even accounting for transaction costs and short-selling constraints, we see that this type of forecast can lead to significant net outperformance over the market, and can be recommended to investors.

Footnote

1See Hanauer and Kalsbach (2023), Machine learning and the cross-section of emerging market stock returns, Emerging Markets Review 55 (2023), 101022.

This article is an excerpt of a special topic in our five-year outlook.

Read all articles


Webinar: 5-Year Expected Returns 2024-2028

Our five-year outlook on market opportunities and risks.


Watch replay
Robeco

Robeco aims to enable its clients to achieve their financial and sustainability goals by providing superior investment returns and solutions.

Important information This disclaimer applies to any documents and the verbal or written comments of any person in presentations or webinars on this website and taken together is referred to herein as the “Information”. The services to which the Information relate are NOT FOR RETAIL CLIENTS - The information contained in the Website is solely intended for professional investors, defined as investors which (1) qualify as professional clients within the meaning of the Markets in Financial Instruments Directive (MiFID), (2) have requested to be treated as professional clients within the meaning of the MiFID or (3) are authorized to receive such information under any other applicable laws and must not be relied or acted upon by any other persons. This Information does not constitute an offer to sell, or a solicitation of an offer to buy, any financial product, and may not be relied upon in connection with the purchase or sale of any financial product. You are cautioned against using this Information as the basis for making a decision to purchase any financial product. To the extent that you rely on the Information in connection with any investment decision, you do so at your own risk. The Information does not purport to be complete on any topic addressed. The Information may contain data or analysis prepared by third parties and no representation or warranty about the accuracy of such data or analysis is provided.
In all cases where historical performance is presented, please note that past performance is not a reliable indicator of future results and should not be relied upon as the basis for making an investment decision. Investors may not get back the amount originally invested. Neither Robeco Institutional Asset Management B.V. nor any of its affiliates guarantees the performance or the future returns of any investments. If the currency in which the past performance is displayed differs from the currency of the country in which you reside, then you should be aware that due to exchange rate fluctuations the performance shown may increase or decrease if converted into your local currency. Robeco Institutional Asset Management B.V. (“Robeco”) expressly prohibits any redistribution of the Information without the prior written consent of Robeco. The Information is not intended for distribution to, or use by, any person or entity in any jurisdiction or country where such distribution or use is contrary to law, rule or regulation. Certain information contained in the Information includes calculations or figures that have been prepared internally and have not been audited or verified by a third party. Use of different methods for preparing, calculating or presenting information may lead to different results. Robeco Institutional Asset Management UK Limited (“RIAM UK”) is authorised and regulated by the Financial Conduct Authority. RIAM UK, 30 Fenchurch Street, Part Level 8, London EC3M 3BD (FCA Reference No:1007814). The company is registered in England and Wales under Ref No. 15362605.

In all cases where historical performance is presented, please note that past performance is not a reliable indicator of future results and should not be relied upon as the basis for making an investment decision. Investors may not get back the amount originally invested. Neither Robeco Institutional Asset Management B.V. nor any of its affiliates guarantees the performance or the future returns of any investments. If the currency in which the past performance is displayed differs from the currency of the country in which you reside, then you should be aware that due to exchange rate fluctuations the performance shown may increase or decrease if converted into your local currency. Robeco Institutional Asset Management B.V. (“Robeco”) expressly prohibits any redistribution of the Information without the prior written consent of Robeco. The Information is not intended for distribution to, or use by, any person or entity in any jurisdiction or country where such distribution or use is contrary to law, rule or regulation. Certain information contained in the Information includes calculations or figures that have been prepared internally and have not been audited or verified by a third party. Use of different methods for preparing, calculating or presenting information may lead to different results. Robeco Institutional Asset Management B.V. is authorised as a manager of UCITS and AIFs by the Netherlands Authority for the Financial Markets and subject to limited regulation in the UK by the Financial Conduct Authority. Details about the extent of our regulation by the Financial Conduct Authority are available from us on request.