Question answer system for numerical reasoning in finance

Natural Language Processing (NLP) has seen rapid progress in the past few years resulting in different applications of it like machine translation, sentiment analysis, text summarization, question answering systems and so on. At the same time there has been a technological revolution in the finance...

Full description

Bibliographic Details
Main Author: Kothari, Khush Milan
Other Authors: Shen Zhiqi
Format: Final Year Project (FYP)
Language:English
Published: Nanyang Technological University 2023
Subjects:
Online Access:https://hdl.handle.net/10356/166057
_version_ 1811680337517871104
author Kothari, Khush Milan
author2 Shen Zhiqi
author_facet Shen Zhiqi
Kothari, Khush Milan
author_sort Kothari, Khush Milan
collection NTU
description Natural Language Processing (NLP) has seen rapid progress in the past few years resulting in different applications of it like machine translation, sentiment analysis, text summarization, question answering systems and so on. At the same time there has been a technological revolution in the finance industry resulting in widespread use of different branches of AI, especially NLP. One of the applications used are the Question Answer Systems. These systems perform analysis on the passage or context provided based on the question asked and return the best possible answer to the user. They have been able to match human-like accuracy on reading comprehensions of multiple datasets. However, there are limits to this system which get exposed when numerical analysis and inference is needed like in financial documents. In this paper, we first introduce and explain the idea of a Question Answer System. We then study and perform thorough analysis of existing models for this purpose. These include FinQA, Numnet, NAQAnet, TATQA and a few other models trained primarily on the Discrete Reasoning Over Paragraphs (DROP) dataset. We then reimplement these methodologies to understand the use of different hyperparameters. Finally, we choose to use an existing transformer called T5ForConditionalGeneration that is pre trained and will be finetuned for our purpose by training it on numerical analysis datasets like DROP. Finally, I conclude off by comparing my model with other models and performing experiments and offering insights for future development.
first_indexed 2024-10-01T03:23:27Z
format Final Year Project (FYP)
id ntu-10356/166057
institution Nanyang Technological University
language English
last_indexed 2024-10-01T03:23:27Z
publishDate 2023
publisher Nanyang Technological University
record_format dspace
spelling ntu-10356/1660572023-04-21T15:38:00Z Question answer system for numerical reasoning in finance Kothari, Khush Milan Shen Zhiqi School of Computer Science and Engineering ZQShen@ntu.edu.sg Engineering::Computer science and engineering Natural Language Processing (NLP) has seen rapid progress in the past few years resulting in different applications of it like machine translation, sentiment analysis, text summarization, question answering systems and so on. At the same time there has been a technological revolution in the finance industry resulting in widespread use of different branches of AI, especially NLP. One of the applications used are the Question Answer Systems. These systems perform analysis on the passage or context provided based on the question asked and return the best possible answer to the user. They have been able to match human-like accuracy on reading comprehensions of multiple datasets. However, there are limits to this system which get exposed when numerical analysis and inference is needed like in financial documents. In this paper, we first introduce and explain the idea of a Question Answer System. We then study and perform thorough analysis of existing models for this purpose. These include FinQA, Numnet, NAQAnet, TATQA and a few other models trained primarily on the Discrete Reasoning Over Paragraphs (DROP) dataset. We then reimplement these methodologies to understand the use of different hyperparameters. Finally, we choose to use an existing transformer called T5ForConditionalGeneration that is pre trained and will be finetuned for our purpose by training it on numerical analysis datasets like DROP. Finally, I conclude off by comparing my model with other models and performing experiments and offering insights for future development. Bachelor of Engineering (Computer Science) 2023-04-20T06:59:42Z 2023-04-20T06:59:42Z 2023 Final Year Project (FYP) Kothari, K. M. (2023). Question answer system for numerical reasoning in finance. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/166057 https://hdl.handle.net/10356/166057 en SCSE22-0602 application/pdf Nanyang Technological University
spellingShingle Engineering::Computer science and engineering
Kothari, Khush Milan
Question answer system for numerical reasoning in finance
title Question answer system for numerical reasoning in finance
title_full Question answer system for numerical reasoning in finance
title_fullStr Question answer system for numerical reasoning in finance
title_full_unstemmed Question answer system for numerical reasoning in finance
title_short Question answer system for numerical reasoning in finance
title_sort question answer system for numerical reasoning in finance
topic Engineering::Computer science and engineering
url https://hdl.handle.net/10356/166057
work_keys_str_mv AT kotharikhushmilan questionanswersystemfornumericalreasoninginfinance