Quantitative investing

Gradient descent

glossary-gradient-descent.jpg

Where

θ0: current position
θ1: next position
α: small step (or step size)
∇J(θ): fastest direction increase

Gradient descent (GD) is the cornerstone of many optimization algorithms. It is used to find a local minimum of a differentiable function, taking steps proportional to the negative of the gradient of the function at the current point. GD is an iterative algorithm that improves its output step after step and can therefore be used to update the parameters of a model.

To use an analogy, imagine a hiker (the algorithm) lost atop a hill (the function) in foggy weather, trying to get down as quickly as possible. To avoid wasting time, the hiker needs to walk downwards in the direction where the slope is the steepest. The hiker has an instrument (the gradient) to assess steepness, but, this tool is not very handy and requires stopping each time to make the measurement. The hiker thus tries to limit using this tool.

At the start of the decent, the slope is very steep and hiker can walk long stretches (steps) without stopping for measurement. But as the destination gets closer, measurements become more frequent, to avoid missing the bottom. Using this method, the hiker eventually reaches the bottom (local minimum), assuming he or she avoids getting stuck in a local obstacle, like a mountain lake, for example.

GD is one of the most common techniques used in machine learning (ML). Some even argue ML is nothing more than GD on a function with thousands of parameters. ML is about using empirical data to refine a model – for example, an asset pricing model – to minimize discrepancies between model results and reality (the function), and then making predictions with the refined model.

Quantitative investment strategies increasingly involve analyzing large, complex and disparate datasets, that are difficult – or even impossible – to specify with traditional financial models, which rely on closed form solutions. In this context, ML methods, using tools such as GD, can turn out to be more useful than standard, widely used statistical techniques.

One example is the use of ML to analyze financial text data, such as regulatory filings, earnings releases or news articles. While the capacity of traditional techniques to extract relevant signals from text remains limited,1 interesting results regarding stock-price forecasting applying ML on financial news have been reported and represent a promising area for future research.

As technology advances, so do the opportunities for quantitative investors. By incorporating more data and leveraging advanced modelling techniques, we can develop deeper insights and enhance decision-making.

Footnote

1 These are mainly techniques based on bag-of-words, noun phrase and/or named entity feature extraction combined with manual feature selection. With these techniques, however, much of the structure of the text is lost.

Let's keep the conversation going

Keep track of fast-moving events in sustainable and quantitative investing, trends and credits with our newsletters.

Stay updated
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.