Automatic question generation with natural language processing

In Natural Language Processing (NLP), Automatic Question Generation (AQG) is an important task that involves generating human-comprehensible questions from an input text. There are many useful applications in AQG, notably in educational settings, to create quizzes or reading comprehension papers. Ma...

Full description

Saved in:
Bibliographic Details
Main Author: Tran, Thuy Dung
Other Authors: Andy Khong W H
Format: Final Year Project
Language:English
Published: Nanyang Technological University 2022
Subjects:
Online Access:https://hdl.handle.net/10356/157297
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-157297
record_format dspace
spelling sg-ntu-dr.10356-1572972023-07-07T19:05:21Z Automatic question generation with natural language processing Tran, Thuy Dung Andy Khong W H School of Electrical and Electronic Engineering AndyKhong@ntu.edu.sg Engineering::Electrical and electronic engineering::Computer hardware, software and systems Engineering::Computer science and engineering::Software::Software engineering Engineering::Computer science and engineering::Computing methodologies::Artificial intelligence In Natural Language Processing (NLP), Automatic Question Generation (AQG) is an important task that involves generating human-comprehensible questions from an input text. There are many useful applications in AQG, notably in educational settings, to create quizzes or reading comprehension papers. Many techniques have been studied for AQG, from rule-based algorithms to complex deep learning networks. As machine learning advances, transformer-based neural networks are more robust than rule-based logic in generating questions without prior knowledge of the grammar rules. However, current state-of-the-art models still perform worse in paragraph-level texts than sentence-level inputs. This FYP studies the pros and cons of different AQG methods in long paragraphs to design a multitasking model for AQG. By utilising transfer learning, this project’s best model is a robust AQG + summarisation T5 transformer, outperforming existing more complex Seq2seq and RNN models, achieving scores on BLEU-4 of 16.37, METEOR of 20.4, and ROUGE_L of 41.50. This project’s model does not require answer input, i.e., less information is given, but the performance is on par with many answer-aware models. The effectiveness of different AQG methods is analysed. Then, the T5-based AQG transfer learning model pipeline is designed, and different training parameters (batch size, epochs, learning rate) are tuned to optimise performance. The model’s predictions are also evaluated against human-generated questions and compared with existing models. Finally, a full-stack React Web Application using the model is implemented to demonstrate its application as a Quiz Generator. Bachelor of Engineering (Electrical and Electronic Engineering) 2022-05-13T08:25:46Z 2022-05-13T08:25:46Z 2022 Final Year Project (FYP) Tran, T. D. (2022). Automatic question generation with natural language processing. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/157297 https://hdl.handle.net/10356/157297 en B3020-211 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::Electrical and electronic engineering::Computer hardware, software and systems
Engineering::Computer science and engineering::Software::Software engineering
Engineering::Computer science and engineering::Computing methodologies::Artificial intelligence
spellingShingle Engineering::Electrical and electronic engineering::Computer hardware, software and systems
Engineering::Computer science and engineering::Software::Software engineering
Engineering::Computer science and engineering::Computing methodologies::Artificial intelligence
Tran, Thuy Dung
Automatic question generation with natural language processing
description In Natural Language Processing (NLP), Automatic Question Generation (AQG) is an important task that involves generating human-comprehensible questions from an input text. There are many useful applications in AQG, notably in educational settings, to create quizzes or reading comprehension papers. Many techniques have been studied for AQG, from rule-based algorithms to complex deep learning networks. As machine learning advances, transformer-based neural networks are more robust than rule-based logic in generating questions without prior knowledge of the grammar rules. However, current state-of-the-art models still perform worse in paragraph-level texts than sentence-level inputs. This FYP studies the pros and cons of different AQG methods in long paragraphs to design a multitasking model for AQG. By utilising transfer learning, this project’s best model is a robust AQG + summarisation T5 transformer, outperforming existing more complex Seq2seq and RNN models, achieving scores on BLEU-4 of 16.37, METEOR of 20.4, and ROUGE_L of 41.50. This project’s model does not require answer input, i.e., less information is given, but the performance is on par with many answer-aware models. The effectiveness of different AQG methods is analysed. Then, the T5-based AQG transfer learning model pipeline is designed, and different training parameters (batch size, epochs, learning rate) are tuned to optimise performance. The model’s predictions are also evaluated against human-generated questions and compared with existing models. Finally, a full-stack React Web Application using the model is implemented to demonstrate its application as a Quiz Generator.
author2 Andy Khong W H
author_facet Andy Khong W H
Tran, Thuy Dung
format Final Year Project
author Tran, Thuy Dung
author_sort Tran, Thuy Dung
title Automatic question generation with natural language processing
title_short Automatic question generation with natural language processing
title_full Automatic question generation with natural language processing
title_fullStr Automatic question generation with natural language processing
title_full_unstemmed Automatic question generation with natural language processing
title_sort automatic question generation with natural language processing
publisher Nanyang Technological University
publishDate 2022
url https://hdl.handle.net/10356/157297
_version_ 1772827844704993280