Asset Classes

Free investment financial education

Language

Multilingual content from IBKR

Close Navigation
Learn more about IBKR accounts
The Knowledge Graph for Macroeconomic Analysis with Alternative Big Data

The Knowledge Graph for Macroeconomic Analysis with Alternative Big Data

Posted July 12, 2021 at 11:04 am
Quantpedia

There are many known relationships among macroeconomic variables in economics, while some of them are even presented as “laws”—for example, money supply and inflation or benchmark interest rates and inflation. However, the well-known economic models usually utilize only a small amount of variables. Nowadays, with the advances in machine learning and big data fields, these established models might be improved. A possible solution is presented in the research paper of Yang et al. (2020). The authors construct knowledge graphs where they connect widely recognized variables such as GDP, inflation, etc., with other more or less known variables based on the massive textual data from financial journals and research reports published by leading think tanks, consulting firms or asset management companies. With the help of advanced natural language processing, it is possible to basically “read “all the relevant published research and find the relationships among the macroeconomic variables. While this task could take years for human readers, the machine learning method can go through these texts in a much shorter time.

Moreover, the usage of the knowledge graphs is shown in a forecasting problem of either inflation or investment. As the paper shows, the knowledge graphs could be utilized for variable selection with the ability to find alternative and novel relationships. Lastly, the forecasts based on knowledge graphs are also compared to the more traditional “baseline “approach, and authors compare the methods on both short and long-term forecasting periods.

Authors: Yucheng Yang, Yue Pang, Guanhua Huang and Weinan E

Title: The Knowledge Graph for Macroeconomic Analysis with Alternative Big Data

Linkhttps://arxiv.org/abs/2010.05172

Abstract:

The current knowledge system of macroeconomics is built on interactions among a small number of variables, since traditional macroeconomic models can mostly handle a handful of inputs. Recent work using big data suggests that a much larger number of variables are active in driving the dynamics of the aggregate economy. In this paper, we introduce a knowledge graph (KG) that consists of not only linkages between traditional economic variables but also new alternative big data variables. We extract these new variables and the linkages by applying advanced natural language processing (NLP) tools on the massive textual data of academic literature and research reports. As one example of the potential applications, we use it as the prior knowledge to select variables for economic forecasting models in macroeconomics. Compared to statistical variable selection methods, KG-based methods achieve significantly higher forecasting accuracy, especially for long run forecasts.

As always we present several interesting figures:

The Knowledge Graphs for Macroeconomic Analysis with Alternative Big Data
The Knowledge Graphs for Macroeconomic Analysis with Alternative Big Data

Notable quotations from the academic research paper:

“The whole knowledge system of macroeconomics is built on our understanding of the interactions among these small number of variables. With the rise of big data and machine learning, we now have the opportunity to develop more sophisticated models with a much larger number of variables (McCracken and Ng, 2016; Coulombe et al., 2019). In order to do this effectively, a new knowledge system is needed to describe both the statistical and structural relationships of the traditional as well as the many new economic variables.

We design an algorithm to extract from massive textual data (1) traditional variables of interest (like GDP, inflation rate, housing price, etc.), (2) alternative data variables (like electricity usage, migration flow, etc.), as well as (3) the relationships (positive correlation, negative correlation, etc.) among these variables. After some post-processing including resolving coreferences, we build a knowledge graph by starting with traditional variable of interests as the centers, and expanding in a step-wise fashion to include the relevant alternative variables.

The knowledge graph we construct provides a new knowledge system for macroeconomics, and has many potential applications. One application we are particularly interested in is to formulate macroeconomics as a problem of reinforcement learning (RL) (Sutton and Barto, 2018; Silver et al., 2016). A RL framework consists of the following essential components: the state space and the environment, the action space, the system dynamics and the reward functions. In this regard, the knowledge graph of linkages among economic variables plays the role of the state space and the environment.

In this paper, we also apply the knowledge graph of economic variables
to a simple but more concrete task: variable selection in economic forecasting. Different from previous work using statistical tools to do variable selection, we use the knowledge graph as the prior knowledge to select variables for economic forecasting models. We will see that compared to statistical methods, the KG-based method achieves significantly higher forecasting accuracy, especially for long term forecasts.

For different forecasting periods (from one month to 12 months), the forecasting errors on the test sets for both the baseline model and KG-based model are presented in Figure 5. We report the mean absolute percentage error (MAPE) in the left panels, and the root mean squared error (RMSE) in the right panels, and the results are qualitatively the same. For inflation forecasting (upper panels), compared to the baseline model, the KG-based model achieves higher forecasting accuracy in general. In short term forecasting (within five months), the forecasting errors for both models are comparable to each other, and the baseline model even outperforms the KG-based model in some horizons. However, in long run forecasting, the performance of the baseline model gets worse, while the KG-based model achieves a stable and much higher accuracy than the baseline method. Similar arguments also hold for nominal investment forecasting. The general trend revealed by Figure 5 are consistent with our expectation that short term forecasting relies more on data, while long term forecasting relies more on capturing the underlying logic in the problem. The baseline model is more of a pure data-driven model, whereas the KG-based model tries to capture the underlying logic. The better long term performance of the KG-based model serves as a confirmation that the relationships described in the knowledge graph correctly represents the true logic of the economic system under investigation.”

Visit Quantpedia to learn more about this article:
https://quantpedia.com/the-knowledge-graphs-for-macroeconomic-analysis-with-alternative-big-data/

Disclosure: Interactive Brokers

Information posted on IBKR Campus that is provided by third-parties does NOT constitute a recommendation that you should contract for the services of that third party. Third-party participants who contribute to IBKR Campus are independent of Interactive Brokers and Interactive Brokers does not make any representations or warranties concerning the services offered, their past or future performance, or the accuracy of the information provided by the third party. Past performance is no guarantee of future results.

This material is from Quantpedia and is being posted with its permission. The views expressed in this material are solely those of the author and/or Quantpedia and Interactive Brokers is not endorsing or recommending any investment or trading discussed in the material. This material is not and should not be construed as an offer to buy or sell any security. It should not be construed as research or investment advice or a recommendation to buy, sell or hold any security or commodity. This material does not and is not intended to take into account the particular financial conditions, investment objectives or requirements of individual customers. Before acting on this material, you should consider whether it is suitable for your particular circumstances and, as necessary, seek professional advice.

IBKR Campus Newsletters

This website uses cookies to collect usage information in order to offer a better browsing experience. By browsing this site or by clicking on the "ACCEPT COOKIES" button you accept our Cookie Policy.