A Novel Approach to Improve Question Answering System

Authors

DOI:

https://doi.org/10.21015/vtcs.v12i1.1796

Abstract

Question Answering (QA) systems are automated solutions that provide accurate responses to queries presented in natural language. This research proposes an optimized model aimed at enhancing the performance of QA systems by integrating logical reasoning with traditional statistical methods. The study focuses on improving the interaction and accuracy of these systems. Evaluation of the proposed model shows notable improvements in response accuracy and reliability. The fine-tuned QA model demonstrated its capability to generate precise answers, such as correctly identifying alternative names for the Amazon rainforest based on the provided context. These findings underscore the potential of the proposed approach to advance the effectiveness of QA systems significantly.

References

S. A. Hasan, S. R. Joty, and Y. Chali, “Improving graph-based random walks for complex question answering using syntactic, shallow semantic and extended string subsequence kernels,” *Inf. Process. Manage.*, 2011. [Online]. Available: https://doi.org/10.1016/j.ipm.2010.10.002.

S. K. Dwivedi and V. Singh, “Research and reviews in question answering system,” *Procedia Technol.*, vol. 10, pp. 417–424, 2013, doi: 10.1016/j.protcy.2013.12.378.

A. Ansari, M. Maknojia, and A. Shaikh, “Intelligent question answering system based on artificial neural network,” in *2016 IEEE International Conference on Engineering and Technology (ICETECH)*, pp. 758–763, IEEE, 2016, doi: 10.1109/icetech.2016.7569350.

S. P. Lende and M. Raghuwanshi, “Question answering system on education acts using NLP techniques,” in *World Conference on Futuristic Trends in Research and Innovation for Social Welfare (Startup Conclave)*, pp. 1–6, IEEE, 2016, doi: 10.1109/startup.2016.7583963.

Y.-G. Cao, J. J. Cimino, J. Ely, and H. Yu, “Automatically extracting information needs from complex clinical questions,” *J. Biomed. Inf.*, vol. 43, no. 6, pp. 962–971, 2010, doi: 10.1016/j.jbi.2010.07.007.

S. Pudaruth, K. Boodhoo, and L. Goolbudun, “An intelligent question answering system for ICT,” in *International Conference on Electrical, Electronics, and Optimization Techniques (ICEEOT)*, pp. 2895–2899, IEEE, 2016, doi: 10.1109/iceeot.2016.7755228.

S. J. Athenikos, H. Han, and A. D. Brooks, “A framework of a logic-based question answering system for the medical domain (LOQAS-Med),” in *Proceedings of the 2009 ACM symposium on Applied Computing*, pp. 847–851, ACM, 2009, doi: 10.1145/1529282.1529462.

K. Komiya, Y. Abe, H. Morita, and Y. Kotani, “Question answering system using QA site corpus query expansion and answer candidate evaluation,” *SpringerPlus*, vol. 2, no. 1, p. 396, 2013, doi: 10.1186/2193-1801-2-396.

E. M. Voorhees and D. M. Tice, “Building a question answering test collection,” in *Proceedings of the 23rd annual international ACM SIGIR conference on Research and development in information retrieval*, pp. 200–207, ACM, 2000, doi: 10.1145/345508.345577.

W. Wang, J. Auer, R. Parasuraman, I. Zubarev, D. Brandyberry, and M. Harper, “A question answering system developed as a project in a natural language processing course,” in *Proceedings of the 2000 ANLP/NAACL Workshop on Reading comprehension tests as evaluation for computer-based language understanding systems*, vol. 6, pp. 28–35, Association for Computational Linguistics, 2000, doi: 10.3115/1117595.1117600.

A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin, “Attention is all you need,” in *Advances in Neural Information Processing Systems*, vol. 30, 2017.

J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of deep bidirectional transformers for language understanding,” *arXiv preprint arXiv:1810.04805*, 2018.

P. Rajpurkar, R. Jia, and P. Liang, “Know what you don’t know: Unanswerable questions for SQuAD,” in *Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing*, pp. 742–751, Association for Computational Linguistics, 2018.

T. Brown, B. Mann, N. Ryder, M. Subbiah, J. D. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, et al., “Language models are few-shot learners,” in *Advances in Neural Information Processing Systems*, vol. 33, pp. 1877–1901, 2020.

C. Raffel, N. Shazeer, A. Roberts, K. Lee, S. Narang, M. Matena, Y. Zhou, W. Li, and P. J. Liu, “Exploring the limits of transfer learning with a unified text-to-text transformer,” *Journal of Machine Learning Research*, vol. 21, no. 140, pp. 1–67, 2020.

V. Sanh, L. Debut, J. Chaumond, and T. Wolf, “DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter,” *arXiv preprint arXiv:1910.01108*, 2019.

K. Clark, M.-T. Luong, Q. V. Le, and C. D. Manning, “ELECTRA: Pre-training text encoders as discriminators rather than generators,” *arXiv preprint arXiv:2003.10555*, 2020.

Z. Zhang, Y. Wu, J. Zhou, S. Duan, H. Zhao, and R. Wang, “SG-Net: Syntax-guided machine reading comprehension,” 2019.

Z. Xu and Y. Zhang, “BERT for question answering on SQuAD 2.0,” 2018.

P. Rajpurkar, J. Zhang, K. Lopyrev, and P. Liang, “SQuAD: 100,000+ questions for machine comprehension of text,” in *Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing*, pp. 2383–2392, Association for Computational Linguistics, 2016.

T. Kočiský, J. Schwarz, P. Blunsom, C. Dyer, K. M. Hermann, G. Melis, and E. Grefenstette, “The NarrativeQA reading comprehension challenge,” *Trans. Assoc. Comput. Linguist.*, vol. 6, pp. 317–328, 2018.

Z. Yang, P. Qi, S. Zhang, Y. Bengio, W. W. Cohen, R. Salakhutdinov, and C. D. Manning, “HotpotQA: A dataset for diverse, explainable multi-hop question answering,” *arXiv preprint arXiv:1809.09600*, 2018.

Z. Zhang, J. Yang, and H. Zhao, “Retrospective reader for machine reading comprehension,” 2020.

A. Abdi, N. Idris, and Z. Ahmad, “QAPD: An ontology-based question answering system in the physics domain,” *Soft. Comput.*, pp. 1–18, 2016, doi: 10.1007/s00500-016-2328-2.

S. K. Hamed and M. J. Ab Aziz, “A question answering system on Holy Quran translation based on question expansion technique and neural network classification,” *J. Computer Sci.*, vol. 12, no. 3, pp. 169–177, 2016, doi: 10.3844/jcssp.2016.169.177.

D. Moldovan, M. Paşca, S. Harabagiu, and M. Surdeanu, “Performance issues and error analysis in an open-domain question answering system,” *ACM Trans. Inf. Syst.*, vol. 21, no. 2, pp. 133–154, 2003, doi: 10.1145/763693.763694.

J. Prager et al., “Open-domain question-answering,” *Foundations and Trends in Information Retrieval*, vol. 1, no. 2, pp. 91–231, 2007.

V. Bhoir and M. Potey, “Question answering system: A heuristic approach,” in *2014 Fifth International Conference on the Applications of Digital Information and Web Technologies (ICADIWT)*, pp. 165–170, IEEE, 2014, doi: 10.1109/icadiwt.2014.6814704.

OpenAI Team, “Introduction,” [Online]. Available: https://beta.openai.com/docs/introduction/introduction, 2021. [Accessed: January 15, 2024].

Wikipedia, “OpenAI,” [Online]. Available: https://en.wikipedia.org/wiki/OpenAI, 2021. [Accessed: January 15, 2024].

OpenAI Team, “Preparing your dataset for fine-tuning,” [Online]. Available: https://beta.openai.com/docs/guides/fine-tuning/preparing-your-dataset, 2021. [Accessed: January 15, 2024].

OpenAI Team, “Prompts and completions,” [Online]. Available: https://beta.openai.com/docs/introduction/prompts-and-completions, 2021. [Accessed: January 15, 2024].

OpenAI Team, “Tokens,” [Online]. Available: https://beta.openai.com/docs/introduction/tokens, 2021. [Accessed: January 15, 2024].

OpenAI Team, “GPT-3,” [Online]. Available: https://beta.openai.com/docs/models/gpt-3, 2021. [Accessed: January 15, 2024].

OpenAI Team, “Models,” [Online]. Available: https://beta.openai.com/docs/introduction/models, 2021. [Accessed: January 15, 2024].

OpenAI Team, “Create a fine-tuned model,” [Online]. Available: https://beta.openai.com/docs/guides/fine-tuning/create-a-fine-tuned-model, 2021. [Accessed: January 15, 2024].

OpenAI Team, “Use a fine-tuned model,” [Online]. Available: https://beta.openai.com/docs/guides/fine-tuning/use-a-fine-tuned-model, 2021. [Accessed: January 15, 2024].

OpenAI Team, “Validation,” [Online]. Available: https://beta.openai.com/docs/guides/fine-tuning/validation, 2021. [Accessed: January 15, 2024].

OpenAI Team, “Authentication,” [Online]. Available: https://beta.openai.com/docs/api-reference/authentication, 2021. [Accessed: January 15, 2024].

OpenAI Team, “Making requests,” [Online]. Available: https://beta.openai.com/docs/api-reference/making-requests, 2021. [Accessed: January 15, 2024].

OpenAI Team, “Python bindings,” [Online]. Available: https://beta.openai.com/docs/libraries/python-bindings, 2021. [Accessed: January 15, 2024].

P. Rajpurkar, R. Jia, and P. Liang, “Know what you don’t know: Unanswerable questions for SQuAD,” *arXiv preprint arXiv:1806.03822*, 2018.

Downloads

Published

2024-06-27

How to Cite

Ahmed, S., Imran, M., Qamar, R., Hussain, A., Akbari, R. H., & Rehman, A. (2024). A Novel Approach to Improve Question Answering System. VAWKUM Transactions on Computer Sciences, 12(1), 149–162. https://doi.org/10.21015/vtcs.v12i1.1796