Fuzzy-embedded long short-term memory (FE-LSTM) with application in stock trading

Deep learning has been increasing in popularity in recent years due to its high accuracy and effectiveness in many applications. However, a major drawback of deep learning systems is the lack of interpretability as it functions like a black box where the prediction results are often unexplainable ev...

Full description

Saved in:
Bibliographic Details
Main Author: Lim, Tammy Lee Xin
Other Authors: Quek Hiok Chai
Format: Final Year Project
Language:English
Published: Nanyang Technological University 2022
Subjects:
Online Access:https://hdl.handle.net/10356/156487
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-156487
record_format dspace
spelling sg-ntu-dr.10356-1564872022-04-17T12:53:46Z Fuzzy-embedded long short-term memory (FE-LSTM) with application in stock trading Lim, Tammy Lee Xin Quek Hiok Chai School of Computer Science and Engineering ASHCQUEK@ntu.edu.sg Engineering::Computer science and engineering Deep learning has been increasing in popularity in recent years due to its high accuracy and effectiveness in many applications. However, a major drawback of deep learning systems is the lack of interpretability as it functions like a black box where the prediction results are often unexplainable even to experts. On the other hand, traditional modelling techniques such as the fuzzy inference system have interpretable results but suffer from low accuracy due to its limited learning capabilities. This paper proposes the Fuzzy Embedded Long Short-Term Memory (FE-LSTM) architecture which integrates a fuzzy inference system with a deep neural network to leverage on the strengths of both systems. The proposed hybrid architecture aims to achieve high prediction accuracies with interpretable results. This is done by first applying a discrete incremental clustering (DIC) algorithm to fuzzify the data inputs and then simultaneously feeding the fuzzified inputs into the parallel long short-term memory network and the fuzzy inference system. Here, the LSTM network uses back-propagation to learn from the data while the fuzzy inference system uses a pseudo-outer product rule generation to interpret the LSTM network which consists of human explainable IF-THEN rules. Finally, the output is defuzzified to obtain a crisp value. The implemented FE-LSTM is benchmarked against common neural networks and fuzzy inference systems through several time-series benchmark experiments and the prediction of stock prices. The prediction results obtained are highly encouraging with the FE-LSTM outperforming other systems in terms of accuracy. Next, the FE-LSTM is used as a predictor in a technical trading system that uses a look forward MACD indicator to maximize trading profits. This trading system shows promising results when benchmarked against both the buy-hold strategy and the vanilla MACD strategy. Bachelor of Engineering (Computer Science) 2022-04-17T12:53:46Z 2022-04-17T12:53:46Z 2022 Final Year Project (FYP) Lim, T. L. X. (2022). Fuzzy-embedded long short-term memory (FE-LSTM) with application in stock trading. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/156487 https://hdl.handle.net/10356/156487 en application/pdf Nanyang Technological University
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic Engineering::Computer science and engineering
spellingShingle Engineering::Computer science and engineering
Lim, Tammy Lee Xin
Fuzzy-embedded long short-term memory (FE-LSTM) with application in stock trading
description Deep learning has been increasing in popularity in recent years due to its high accuracy and effectiveness in many applications. However, a major drawback of deep learning systems is the lack of interpretability as it functions like a black box where the prediction results are often unexplainable even to experts. On the other hand, traditional modelling techniques such as the fuzzy inference system have interpretable results but suffer from low accuracy due to its limited learning capabilities. This paper proposes the Fuzzy Embedded Long Short-Term Memory (FE-LSTM) architecture which integrates a fuzzy inference system with a deep neural network to leverage on the strengths of both systems. The proposed hybrid architecture aims to achieve high prediction accuracies with interpretable results. This is done by first applying a discrete incremental clustering (DIC) algorithm to fuzzify the data inputs and then simultaneously feeding the fuzzified inputs into the parallel long short-term memory network and the fuzzy inference system. Here, the LSTM network uses back-propagation to learn from the data while the fuzzy inference system uses a pseudo-outer product rule generation to interpret the LSTM network which consists of human explainable IF-THEN rules. Finally, the output is defuzzified to obtain a crisp value. The implemented FE-LSTM is benchmarked against common neural networks and fuzzy inference systems through several time-series benchmark experiments and the prediction of stock prices. The prediction results obtained are highly encouraging with the FE-LSTM outperforming other systems in terms of accuracy. Next, the FE-LSTM is used as a predictor in a technical trading system that uses a look forward MACD indicator to maximize trading profits. This trading system shows promising results when benchmarked against both the buy-hold strategy and the vanilla MACD strategy.
author2 Quek Hiok Chai
author_facet Quek Hiok Chai
Lim, Tammy Lee Xin
format Final Year Project
author Lim, Tammy Lee Xin
author_sort Lim, Tammy Lee Xin
title Fuzzy-embedded long short-term memory (FE-LSTM) with application in stock trading
title_short Fuzzy-embedded long short-term memory (FE-LSTM) with application in stock trading
title_full Fuzzy-embedded long short-term memory (FE-LSTM) with application in stock trading
title_fullStr Fuzzy-embedded long short-term memory (FE-LSTM) with application in stock trading
title_full_unstemmed Fuzzy-embedded long short-term memory (FE-LSTM) with application in stock trading
title_sort fuzzy-embedded long short-term memory (fe-lstm) with application in stock trading
publisher Nanyang Technological University
publishDate 2022
url https://hdl.handle.net/10356/156487
_version_ 1731235767000236032