Connecting the Dots with Artificial Intelligence and Knowledge Graphs
Mehrzah Mahdavi, Executive Director, FDPI
Imagine if your social media posts or articles were generated automatically by AI as if they were authored by you…well, that day is here!
The next generation of NLP called “Generative Pre-trained Transformer, third generation”, or GPT-3, was recently released for beta tests by OpenAI. GPT-3, trained with massive amounts of data, can write stories, generate code, compose business reports, and much more. Each one of these developments can be disruptive in multiple fields.
To perform such tasks, GPT-3 uses an enormous training data set, the largest ever – a filtered version of the contents of the web, plus Wikipedia and then some, containing about half a trillion words -- according to a June 2020 Forbes article. The GPT-3 model uses 175 billion parameters, which is more than 100 times that of its predecessor, GPT-2, and 10 times that of Microsoft’s Turing NLG. This vast pre trained AI system enables GPT-3 to identify the patterns from millions of text snippets and synthesize them on demand in response to any questions.
Example applications of GPT-3 in the financial services sector include sentiment analysis (and their inference with market signals), financial advice generation, quant strategies generation, and trading. Another new and growing field is called Knowledge Graph technology, which can be used in search engines, social networks, and e-commerce platforms to store and retrieve information with precision and speed.
Knowledge Graphs contain “context” alongside raw data and, when used with AI systems, provide better transparency and interpretability of their results. Knowledge Graphs represent entities (nodes) and relations in multiple dimensions, and therefore reveal dependencies that would otherwise go unnoticed. An example diagram below shows a Knowledge Graph for the question related to Star Trek and Star Wars.
Another example of a Knowledge Graph, created using artificial intelligence, was produced by The Allen Institute for AI and Semantic Scholar (pictured below). The data set is a current body of 130,000 abstracts, plus full-text papers related to past and present coronaviruses. This graph was constructed to visualize the network of diseases and chemicals associated with ‘‘chloroquine’’.
Combining these two powerful technologies, AI (e.g. GPT-3) and Knowledge Graphs, will likely provide new capabilities in many disciplines as well as improve the accuracy and trustworthiness of AI systems.
Use cases in financial services
Active investing is all about identifying economic and financial relationships and uncovering hidden risks and opportunities. A combination of GPT-3 AI systems and Knowledge Graphs provide capabilities to uncover new opportunities from hidden information. Hedge funds and asset management firms are increasingly using alternative datasets released with different frequencies (daily, monthly, quarterly), formats (structured and unstructured), and even different languages. GPT-3 and Knowledge Graphs are the right combination to generate insights from such heterogeneous and dynamic data sources.
Examples of current financial products leveraging AI based Knowledge Graphs for thematic investing, according to Yewno Inc, include: STOXX AI Global AI Index, Nasdaq AI & Big Data Index, AMUNDI STOXX Global Artificial Intelligence ETF (GOAI), DWS’s Artificial Intelligence & Big Data ETF (XAIX:GR), and several more.
An additional application of the above technologies is portfolio risk exposure. Knowledge Graphs can identify risk factors impacting a portfolio that may otherwise go undetected when using just keywords.
Key challenges and takeaways
Adoption of AI and Knowledge Graphs in the financial industry is a natural next step. However, we need to separate the hype from reality.
As shown in the Gartner hype cycle for AI, below, both Knowledge Graph and GPT-3 technologies should be considered in the “innovation trigger” cycle with a five- to ten-year time horizon for widespread production.
As growth accelerates, we would caution against hype and premature expectations, some of which are discussed below:
GPT-3 is as good as its training data set, since it uses correlations to arrive at a synthesized outcome; it does not understand the language it generates. As a result, when asked questions outside of its training ecosystem (albeit a very extensive one), its response could be unreliable.
This point is further discussed in a Forbes article, July 19, 2020: “A related shortcoming stems from the fact that GPT-3 generates its output word-by-word, based on the immediately surrounding text. The consequence is that it can struggle to maintain a coherent narrative or deliver a meaningful message over more than a few paragraphs. Unlike humans, who have a persistent mental model—a point of view that endures from moment to moment, from day to day—GPT-3 is amnesiac, often wandering off confusingly after a few sentences. Put simply, the model lacks an overarching, long-term sense of meaning and purpose. This will limit its ability to generate useful language output in many contexts.”And a final thought articulated by Ganesh Mani of FDP Institute’s advisory board: “Updating the knowledge graph is a tricky but important problem, especially in high-velocity domains: COVID-19 has brought the issue in sharp focus, but we have also seen that with negative interest rates and, more recently, with negative oil prices, however fleeting. A nuanced approach and human-machine joint effort is needed to reliably update the knowledge, without which systems may exhibit significant brittleness.”
Dr. Mahdavi, Ph.D., Executive Director FDP Institute
Dr. Mahdavi is a technology entrepreneur with focus on breakthrough digital transformation for the Fintech and the energy sectors. He is a recognized expert and frequent keynote speaker on application of AI, IoT, and Cloud computing in financial sector and industries. Dr. Mahdavi managed major global businesses in the energy sector. He is currently the executive director of the Financial Data Professionals Institute (FDPI), a non-profit organization founded with CAIA. Mehrzad holds a PhD in Nuclear Science and Technology from the University of Michigan a Bachelor of Science in Electrical and Electronics Engineering from the University of Illinois at Urbana-Champaign.