Insight

Machine learning in finance: Why and how?

With the rise in popularity of machine learning (ML), it’s no surprise that investment practitioners are attracted to this potential industry game changer.

That’s why this new research report by Robeco is an important contribution to the conversation. It provides detailed analysis of the huge upside of this technological advancement, but also expresses a much-needed note of caution for the finance and investment industry.

Authors

    Head of Next Gen Research
    Head of Quant Investing & Research, Deputy CIO

So, why ML in investing?

The answer is simple: the promise of higher risk-adjusted returns. In general, industry practitioners have found that ML-derived alpha models outperform more traditional, linear models in predicting cross-sectional equity returns.

In this report, the authors explore the interaction between ML and other known quantitative techniques. They examine non-linear effects which are a key factor behind the superior performance of ML. The interaction effect between accounting red flags and equity returns is an interesting illustration of this.

Another notable feature of ML algorithms is their so called ‘knowledge discovery’ abilities. Given that they’re designed to look for relationships, an ML algorithm can decipher the link between inputs and outputs without specifying a hypothesis.

Investor beware…

It’s worth mentioning that financial markets differ from other areas of modern life where ML has made tremendous strides. Financial markets’ inherent complexity throws up notable challenges. For instance, the Robeco research highlights the low signal-to-noise ratio of financial data. This means for a given security, any one metric is generally not a huge determinant of how that security will perform.

Another challenge relates to amount of data, a significant driver of an ML algorithm’s power. While it may feel like there is a vast amount of data in finance, it’s actually relatively small compared with other areas where ML has thrived.

Finally, financial markets are adaptive. This means they ‘learn’ over time, enabling investors to change their approach as required. However, because ML tends to perform well with static systems, this throws up potential difficulties.

Overcoming challenges in application

Due to the short sample data history, overfitting and spurious correlations can occur. While common techniques to overcome this may not work as well in finance, human intuition and economic domain knowledge can help significantly. In the full Robeco paper, you’ll see the authors’ illustration of this using the SHapley Additive exPlanation (SHAP) value.

Robeco suggests that ML investors build a robust data and code infrastructure to tackle potential replicability challenges. This would include a robust system for code version control and documentation of all tested iterations and hypotheses.

Quant investors will be familiar with lookahead bias and the more general problem of data leakage. This phenomenon occurs when data used in the training set contains information that can be used to infer the prediction, information that would otherwise not be available to the ML model in live production. The report outlines various techniques to counteract this potential pitfall.

Machine learning models can be difficult to understand and explain, especially via performance attribution. The full Robeco report offers the fundamental approach to recent explainable machine learning work, including helpful diagrams.

Sample ML applications in finance

The Robeco report analyses practical applications of ML to financial investing. It takes a comprehensive dive into each area of study:

  1. Predicting cross-sectional stock returns
    The ML algorithms used here compare the relative, rather than absolute, returns of securities to predict whether a security’s price will rise or fall. The report delves into five consistent results that practitioner and academic studies have found, starting with the outperformance of ML algorithm prediction versus the traditional linear approach.

  2. Predicting stock crashes
    This application differs slightly in focusing on the worst-performing stocks only, offering potential benefits for conservative strategies which can then exclude securities most likely to crash. The performance of this ML algorithm is shown to be greater than that of traditional approaches, with notable implications for stock selection when looking on a sectoral basis.

  3. Predicting fundamental variables
    Company fundamentals have a major influence on stock price and performance. Fundamentals, being more stable, may be easier to predict than stock returns. ML models give more accurate earnings forecasts. One key conclusion is that ensemble models, traditional or machine learned, were more accurate than individual models alone.

  4. Natural Language Processing (NLP) in multiple languages
    In general, a global portfolio may invest in 20-30 different countries, while a typical investor may understand only two or three languages, if that. NLP can be used to overcome this barrier. Taking Chinese as an example, NLP can be used to detect investment terms in both standard Chinese and slang. This can aid understanding of foreign language investment blogs for instance.

Where do we go from here?

With the recent hype around GPT, it’s certainly an opportune moment for investors to look more widely at the use of machine learning in finance. Given that financial markets have unique characteristics, the authors outline why the use of ML is not necessarily a one-way bet for investors. The applications discussed here represent only a subset of ML’s potential, and the future looks set to bring more interest and innovation for this powerful set of tools.

Important information

THIS WEBSITE IS SOLELY INTENDED FOR PROFESSIONAL INVESTORS, WHICH HAS THE MEANING ASCRIBED TO IT IN THE SECURITIES AND FUTURES ORDINANCE (CAP. 571 OF THE LAWS OF HONG KONG) AND ITS SUBSIDIARY LEGISLATION. Investment involves risks. Past performance is not indicative of future performance. The information contained in this website is provided for reference only and does not constitute investment advice or an offer or solicitation to buy or sell in any securities or to adopt any investment strategy. Investors should not base their investment decisions solely on the information provided on this website and are advised to seek independent advice (including advice on tax implications) before making any investment decisions. Investors should ensure they fully understand the risks associated with the investment products and should also consider their own investment objectives and risk tolerance level. The investment decision is yours. You should not invest unless the intermediary who sells you the investment products has advised you that it is suitable for you and has explained how it is consistent with your investment objectives. Please refer to the relevant offering documents or other legal documents for further details including the risk factors. This website is published by Robeco Hong Kong Limited which is regulated by the Hong Kong Securities and Futures Commission (“SFC”) (CE No. APU851). This website has not been reviewed by the SFC. No assurance can be given that the investment objective of any investment products will be achieved. No representation or promise as to the performance of any investment products or the return on an investment is made. The value of investments may fluctuate. Past performance, projections, or forecasts included in this website should not be regarded as guarantees or indications of future performance, and no express or implied warranty is provided. The contents of this website are based on sources believed to be reliable, but due to the nature of information delivery technology and the necessity of using multiple data sources, including third party content, their accuracy is not guaranteed. The opinions expressed are as of the date shown above and may change as market conditions evolve, and are subject to change without notice. These opinions may differ from those of other Robeco investment professionals. Robeco accepts no liability for any direct, indirect, or consequential loss arising from the use of this material or any comments, opinions, or estimates contained herein. Robeco has no duty to update this website or any website content. Materials on this website may not be reproduced, distributed, or published without prior written permission from Robeco. Unless otherwise specified, Source: Robeco.

Warning – Fraudulent use of Robeco on websites and social media Read more