- Research Article
11
- 10.1016/j.dss.2023.114038
Building a deep learning-based QA system from a CQA dataset
- Jun 15, 2023
- Decision Support Systems
- Sol Jin + 4 more +4
Building a deep learning-based QA system from a CQA dataset
Question answering (QA), one of the important applications of Natural Language Processing (NLP) aims to take the user questions and returned to the user with the answers. An open domain QA system deals with a set of questions that can be of any domain. The other type of QA is close-domain where it deals with the questions under a specific domain e.g., agriculture, medicine, education, tourism, etc. Our cooking question answering system is an example of a closed domain QA system. Here, users can ask the cooking related questions and the system returns the actual answer to the user. In the present article, we have proposed different modules of a cooking QA system. In addition to dataset preparation, the development of a cooking ontology, the classification of questions as well as the extraction of candidate answers are also treated as other important aspects which are discussed in this paper in details. In the cooking QA system, automatic evaluation metrics are like precision, recall, f-score, and c@1 have been used for the evaluation of precise answers. Also, human evaluation is used on the basis of a rating scale. Moreover, the recommendation of recipes has also been attempted and the evaluation metrics show satisfactory performances of the systems.
Building a deep learning-based QA system from a CQA dataset
Building a deep learning-based QA system from a CQA dataset
Student Suite+, A Closed Domain Question Answering System for Educational Domain
Natural Language Processing (NLP) is a branch of Artificial Intelligence (AI). It is a study of how machines understand the language of humans. It aims to build systems that can understand text and perform tasks like language translation and classifying a topic. NLP has many applications. NLP tools help to process unstructured data. Question Answering (QA) system or information retrieval system falls under the category of NLP. The QA system mainly involves two methods, question analysis and answer extraction. Intelligent QA systems have always outperformed the non-intelligent QA systems. It is a neural network that is incorporated with the QA system to make it intelligent. Neural networks(NN) are a series of algorithms that are used to mimic the operations of a human brain to understand the relationships between data. NN can learn by themselves and produce the output that is not limited to the input provided to them.
Read moreArchitecture and evaluation of BRUJA, a multilingual question answering system
Given a user question, the goal of a Question Answering (QA) system is to retrieve answers rather than full documents or even best-matching passages, as most Information Retrieval systems currently do. In this paper, we present BRUJA, a QA system for the management of multilingual collections. BRUJ rkstions (English, Spanish and French). The BRUJA architecture is not formed with three monolingual QA systems but instead uses English as Interlingua to make usual QA tasks such as question classifications and answer extractions. In addition, BRUJA uses Cross Language Information Retrieval (CLIR) techniques to retrieve relevant documents from a multilingual collection. On the one hand, we have more documents to find answers from but on the other hand, we are introducing noise into the system because of translations to the Interlingua (English) and the CLIR module. The question is whether the difficulty of managing three languages is worth it or whether a monolingual QA system delivers better results. We report on in-depth experimentation and demonstrate that our multilingual QA system gets better results than its monolingual counterpart whenever it uses good translation resources and, especially, CLIR techniques that are state-of-the-art.
Read moreWikiQA — A question answering system on Wikipedia using freebase, DBpedia and Infobox
Question Answering (QA) system is the task where arbitrary question IS posed in the form of natural language statements and a brief and concise text returned as an answer. Contrary to search engines where a long list of relevant documents returned as a result of a query, QA system aims at providing the direct answer or passage containing the answer. We propose a general purpose question answering system which can answer wh-interrogated questions. This system is using Wikipedia data as its knowledge source. We have implemented major components of a QA system which include challenging tasks of Named Entity Tagging, Question Classification, Information Retrieval and Answer Extraction. Implementation of state-of-the-art Entity Tagging mechanism has helped identify entities where systems like OpenEphyra or DBpedia spotlight have failed. The information retrieval task includes development of a framework to extract tabular information known as Infobox from Wikipedia pages which has ensured availability of latest updated information. Answer Extraction module has implemented an attributes mapping mechanism which is helpful to extract answer from data. The system is comparable in results with other available general purpose QA systems.
Read moreAttention-Based Transformer-BiGRU for Question Classification
A question answering (QA) system is a research direction in the field of artificial intelligence and natural language processing (NLP) that has attracted much attention and has broad development prospects. As one of the main components in the QA system, the accuracy of question classification plays a key role in the entire QA task. Therefore, not only the traditional machine learning methods but also today’s deep learning methods are widely used and deeply studied in question classification tasks. This paper mainly introduces our work on two aspects of Chinese question classification. The first is to use an answer-driven method to build a richer Chinese question classification dataset for the small-scale problems of the existing experimental dataset, which has a certain reference value for the expansion of the dataset, especially for the construction of those low-resource language datasets. The second is to propose a deep learning model of problem classification with a Transformer + Bi-GRU + Attention structure. Transformer has strong learning and coding ability, but it adopts the scheme of fixed coding length, which divides the long text into multiple segments, and each segment is coded separately; there is no interaction that occurs between segments. Here, we achieve the information interaction between segments through Bi-GRU so as to improve the coding effect of long sentences. Our purpose of adding the Attention mechanism is to highlight the key semantics in questions that contain answers. The experimental results show that the model proposed in this paper has significantly improved the accuracy of question classification.
Read moreCore techniques of question answering systems over knowledge bases: a survey
The Semantic Web contains an enormous amount of information in the form of knowledge bases (KB). To make this information available, many question answering (QA) systems over KBs were created in the last years. Building a QA system over KBs is difficult because there are many different challenges to be solved. In order to address these challenges, QA systems generally combine techniques from natural language processing, information retrieval, machine learning and Semantic Web. The aim of this survey is to give an overview of the techniques used in current QA systems over KBs. We present the techniques used by the QA systems which were evaluated on a popular series of benchmarks: Question Answering over Linked Data. Techniques that solve the same task are first grouped together and then described. The advantages and disadvantages are discussed for each technique. This allows a direct comparison of similar techniques. Additionally, we point to techniques that are used over WebQuestions and SimpleQuestions, which are two other popular benchmarks for QA systems.
Read moreMethods to Evaluate and Improve the Quality of Text Summarization
Automatic text summarization is a beneficial tool to improve reading efficiency and information accessibility for users. It quickly condenses a large amount of information into key points, helping users to grasp essential information more easily. In addition, it supports various applications such as search engines, recommendation systems, and question-answering systems. However, the quality of automatically generated summaries is sometimes not satisfied. They can be hard to read, omit important contents of the original documents, or even more seriously contain hallucinations. Such issues make the generated summaries less useful and can even mislead the users. Therefore, evaluating the quality of summarization is highly essential. Summarization evaluation is still challenging as there are no ideal evaluation methods. The automatic method is fast, inexpensive, and can handle large volumes of data without human intervention. However, some studies demonstrate that existing automatic evaluation metrics are not well-aligned with human evaluation. Besides, the effectiveness of automatic evaluation metrics has not been thoroughly investigated. Additionally, summarization evaluation is subjective and varies based on users' expectations. As a result, the quality of summarization varies on the target users, indicating that evaluation methods should be customizable and adaptable to meet individual needs. However, conventional automatic evaluation metrics cannot be tailored to individual preferences. While human evaluation can be customized, it is time-consuming and costly. In this thesis, I comprehensively reevaluate existing automatic methods for assessing text summarization, with a focus on abstractive summarization. I also develop new methods to effectively assess the quality of model-generated summaries using LLMs. The proposed evaluation methods are customizable to different quality attributes that users are interested in. Additionally, the developed methods are designed to work in the case when no reference summaries are available. Furthermore, I introduce a new framework to iteratively improve the quality of LLM-based summarization by leveraging the evaluation results. The proposed methods are evaluated on multiple datasets with various domains. Also, I conduct additional analysis to verify the strengths and limitations of the proposed methods.
Read moreAn Ontology-Driven Question Answering System For Computer Network Module
The field of "question and answering" has become a popular area of research in recent years.The main reason for this is that the search through the ”question answering" system is found to be more efficient than the normal search. The Question Answering (QA) Systems can be two types in general such as open-domain QA systems and closed-domain QA systems. Search engines are generally open-domain QA systems that are used to search and retrieve the data we need. However, instead of search engines giving accurate and precise answers to the user queries, they often returned the list of links. Then, the user clicks on each link one by one to get the answer. This method of searching can sometimes not give the precise answers to the user queries, or the user may have to spend more time searching for the answer, and hence the users may experience discomfort. This situation can be avoided by using the semantic concept. The normal web data are machine-readable and can be understood by humans, whereas the semantic web information is machine-readable and understandable. Ontology is the main component of the semantic web and it can be described as the structure of knowledge-representation of a particular domain or subject. It clearly describes concepts, roles, instances, and the relationships between them. The Question Answering (QA) system is one of the popular applications of ontology. Here, the QA system is used to extract the precise answer to the user queries from the data repository. The system can be developed using different techniques like NLP with IR, reasoning with the NLP, web-based QA System, ontology-based QA System, and more. This particular question answering system is developed using the ontology model. This ontology-driven question answering (QA) system provides the facility to the users to find accurate and concise answers for their queries in the Computer Network module of ICT Subject.The same questions that are asked in the ontology-based question answering system can be asked in the web-based system. The reason is that both of these methods are used in this system. This will make it easier for users to understand the difference between the two systems.The performance results of both these systems further strengthen the statement
Read moreBERT+vnKG: Using Deep Learning and Knowledge Graph to Improve Vietnamese Question Answering System
A question answering (QA) system based on natural language processing and deep learning is a prominent area and is being researched widely. The Long Short-Term Memory (LSTM) model that is a variety of Recurrent Neural Network (RNN) used to be popular in machine translation, and question answering system. However, that model still has certainly limited capabilities, so a new model named Bidirectional Encoder Representation from Transformer (BERT) emerged to solve these restrictions. BERT has more advanced features than LSTM and shows state-of-the-art results in many tasks, especially in multilingual question answering system over the past few years. Nevertheless, we tried applying multilingual BERT model for a Vietnamese QA system and found that BERT model still has certainly limitation in term of time and precision to return a Vietnamese answer. The purpose of this study is to propose a method that solved above restriction of multilingual BERT and applied for question answering system about tourism in Vietnam. Our method combined BERT and knowledge graph to enhance accurately and find quickly for an answer. We experimented our crafted QA data about Vietnam tourism on three models such as LSTM, BERT fine-tuned multilingual for QA (BERT for QA), and BERT+vnKG. As a result, our model outperformed two previous models in terms of accuracy and time. This research can also be applied to other fields such as finance, e-commerce, and so on.
Read moreDLRCNeg: Deep Learning based Reading Comprehension by handling Negation
Question Answer (QA) System for Reading Comprehension (RC) is a computerized approach to retrieve relevant response to the query posted by the users. The underlined concept in developing such a system is to build a human computer interaction. The interactions will be in natural language and we tend to use negation words as a part of our expressions. During the pre-processing stage in Natural Language Processing (NLP) task these negation words gets removed and hence the semantics gets changed. This remains to be an unsolved problem in QA system. In order to maintain the semantics we have proposed a novel approach Hybrid NLP based Bi-directional Long Short Term Memory (Bi-LSTM) with attention mechanism. It deals with the negation words and maintains the semantics of the sentence. We also focus on answering any factoid query (i.e. ’what’, ’when’, ’where’, ’who’) that is raised by the user. For this purpose, the use of attention mechanism with softmax activation function has obtained superior results that matches the question type and process the context information effectively. The experimental results are performed over the SQuAD dataset for reading comprehension and the Stanford Negation dataset is used to perform the negation in the RC sentence. The accuracy of the system over negation is obtained as 93.9% and over the QA system is 87%.
Read moreQuestion answering system for chemistry—A semantic agent extension
This paper introduces an extension of a previously developed question answering (QA) system for chemistry, operating on a knowledge graph (KG) called Marie. This extension enables the automatic invocation of semantic agents to answer questions when static data is absent from the KG. The agents are semantically described using the agent ontology, OntoAgent, to enable automated agent discovery and invocation.The natural language processing (NLP) models of the QA system need to be trained in order to interpret questions to be answered by new agents. For this purpose, we extend OntoAgent so that it becomes possible to automatically create training material for the NLP models.We evaluate the extended QA system with two example chemistry-related agents and an evaluation question set. The evaluation result shows that the extension allows the QA system to discover the suitable agent and to invoke the agent by automatically constructing requests from the semantic agent description, thereby increasing the range of questions the QA system can answer.
Read moreA Question Answering System of Ethnic Minorities Based on Knowledge Graph
In recent years, Question Answering System has become a main focus of human machine interaction. Using the question answering system for information retrieval is convenient and efficient. Traditional question answering systems mostly use template matching. The question and answer data sets usually rely on manual design. The question and answer system implemented by this method has a quick query response and can answer relatively complex questions. But manually defining templates and rules is time-consuming and laborious. Therefore, this paper introduces the knowledge graph in the process of constructing the question answering system. The proposed method combines knowledge graph with question answering systems to realize an intelligent question answering system in the field of ethnic minorities, so as to spread ethnic minority knowledge and promote ethnic minority culture. The construction of a question answering system is mainly divided into two modules: question analysis and answer generation. The question analysis module includes named entity recognition, similarity calculation and question classification. The answer generation module includes entity mapping and graph retrieval. The experimental results show that our approach by combined with natural language processing technology and domain knowledge graph can well accurately feedback the answers to user queries. And the answer accuracy of the question answering system can reach about 81%.
Read moreCase based Indonesian closed domain question answering system with real world questions
Number of people having expertise in a certain domain is less than people who need information in that domain. In this situation, an automatic question answering (QA) system is necessary. Observing available manual QA sites on internet, the real world question that people usually ask have different expected answer type (EAT) compared to a common automatic QA. Addressing a case study of a religion domain which makes it a closed domain QA, we proposed the EAT into 6 types: LAW, DEFINITION, COMPARISON, METHOD, TIME and PERSON. Different with common QA approach, we built the QA system using case based approach which consists of two main components: Question Analyzer and Case Retriever. Related with the case based reasoning (CBR) framework, these two main components act as the Retrieve and Reuse process while the Revise and Retain process is handle by Case Retainer component. The QA system was built using available Indonesian Natural Language Processing (NLP) tools and FreeCBR as the CBR library. The experiments were done to calculate the accuracy and testing the system with unknown case. By using 77 cases collected from internet with assumption that all answers are available, the experiments achieved 97% accuracy. And by using 10 test cases for the unknown case, the similarity score calculated by the system showed that the test questions have no answer in the available case base.
Read moreFactoid question answering with web, mobile and speech interfaces
In this paper we describe the web and mobile-phone interfaces to our multi-language factoid question answering (QA) system together with a prototype speech interface to our English-language QA system. Using a statistical, data-driven approach to factoid question answering has allowed us to develop QA systems in five languages in a matter of months. In the web-based system, which is accessible at http://asked.jp, we have combined the QA system output with standard search-engine-like results by integrating it with an open-source web search engine. The prototype speech interface is based around a VoiceXML application running on the Voxeo developer platform. Recognition of the user's question is performed on a separate speech recognition server dedicated to recognizing questions. An adapted version of the Sphinx-4 recognizer is used for this purpose. Once the question has been recognized correctly it is passed to the QA system and the resulting answers read back to the user by speech synthesis. Our approach is modular and makes extensive use of open-source software. Consequently, each component can be easily and independently improved and easily extended to other languages.
Read moreIndonesian Question Answering System for Factoid Questions using Face Beauty Products Knowledge Graph
Question answering (QA) system is developed to find the right answers from natural language questions. QA systems can be used for building chatbots or even search engines. In this study, we’ve built an Indonesian QA system that uses Anindya Knowledge Graph as its data source. The idea behind this QA system is translating questions into SPARQL queries. The proposed solution consists of four modules, namely question classification, information extraction, token mapping, and query construction. The question classification and the information extraction modules were experimented using SVM, LSTM, and fine-tuning IndoBERT. The text representations were also tested to find the best result among tf-idf, FastText, and IndoBERT. In our experiment, we found that the fine-tuning IndoBERT model had obtained the best performance on both question classification and information extraction modules.
Read more