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

Saved in:
Bibliographic Details
Main Author: Kothari, Khush Milan
Other Authors: Shen Zhiqi
Format: Final Year Project
Language:English
Published: Nanyang Technological University 2023
Subjects:
Online Access:https://hdl.handle.net/10356/166057
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-166057
record_format dspace
spelling sg-ntu-dr.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
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
Kothari, Khush Milan
Question answer system for numerical reasoning in finance
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.
author2 Shen Zhiqi
author_facet Shen Zhiqi
Kothari, Khush Milan
format Final Year Project
author Kothari, Khush Milan
author_sort Kothari, Khush Milan
title Question answer system for numerical reasoning in finance
title_short 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_sort question answer system for numerical reasoning in finance
publisher Nanyang Technological University
publishDate 2023
url https://hdl.handle.net/10356/166057
_version_ 1764208038014615552