Multi-Task Learning with Multi-View Attention for Answer Selection and Knowledge Base Question Answering

12/06/2018 ∙ by Yang Deng, et al. ∙ Tencent Peking University 0

Answer selection and knowledge base question answering (KBQA) are two important tasks of question answering (QA) systems. Existing methods solve these two tasks separately, which requires large number of repetitive work and neglects the rich correlation information between tasks. In this paper, we tackle answer selection and KBQA tasks simultaneously via multi-task learning (MTL), motivated by the following motivations. First, both answer selection and KBQA can be regarded as a ranking problem, with one at text-level while the other at knowledge-level. Second, these two tasks can benefit each other: answer selection can incorporate the external knowledge from knowledge base (KB), while KBQA can be improved by learning contextual information from answer selection. To fulfill the goal of jointly learning these two tasks, we propose a novel multi-task learning scheme that utilizes multi-view attention learned from various perspectives to enable these tasks to interact with each other as well as learn more comprehensive sentence representations. The experiments conducted on several real-world datasets demonstrate the effectiveness of the proposed method, and the performance of answer selection and KBQA is improved. Also, the multi-view attention scheme is proved to be effective in assembling attentive information from different representational perspectives.

READ FULL TEXT VIEW PDF
POST COMMENT

Comments

There are no comments yet.

Authors

page 1

page 2

page 3

page 4

This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

Question answering (QA) is an important but challenging NLP application. Nowadays, there are many possible sources of data for the QA systems, such as web documents, QA communities, knowledge bases and so on. According to these data sources, question answering can be divided into several different tasks, including machine reading comprehension [Rajpurkar et al.2016], answer selection [Wang, Smith, and Mitamura2007], knowledge base question answering [Bordes et al.2015]

and more. Recent years have witnessed many successes in applying deep neural networks on these QA tasks 

[dos Santos et al.2016, Wenpeng et al.2016, Hao et al.2017].

Despite the advancement of these models, different QA tasks are still solved separately. Designing and training various models for specific tasks are time-consuming and expensive. Recently, as seen in many other NLP tasks, multi-task learning has been extensively studied to learn multiple related tasks simultaneously. The applications of MTL are extensive in NLP domain, such as text classification [Zheng, Chen, and Qiu2018], sequence labeling [Chen et al.2018]

and text summarization 

[Guo, Pasunuru, and Bansal2018], etc. However, applying MTL on QA has received little attention.

In this work, we explore multi-task learning approaches to tackle answer selection and knowledge base question answering at the same time, with the intuition that these tasks both can be regarded as a ranking problem, but one in text-level and the other in knowledge-level. Specifically, the task of answer selection aims to pick out the correct answers for the given question from a set of candidate answer sentences, while the task of KBQA focuses on extracting the corresponding facts from KB, such as Freebase [Bollacker et al.2008], to answer the given question. Besides, previous works prove that answer selection task can be benefited from external knowledge [Savenkov and Agichtein2017, Deng et al.2018, Ying et al.2018], while incorporating text information also enhances the performance of KBQA task [Yu et al.2017, Sorokin and Gurevych2018].

Answer Selection KBQA
word Q what was johnny appleseed ’s real name ? what is the name of a track created by katy perry ?
A john chapman , aka american folk hero johnny appleseed . katy perry music artist track witness
knowledge Q johnny_appleseed katy_perry
A john_chapman, johnny_appleseed katy_perry, music.artist.track, witness
Table 1: Examples of Answer Selection and KBQA Data

Most existing multi-task learning schemes divide the layers of a model into task-specific and shared layers [Abhishek and Hal2012, Guo, Pasunuru, and Bansal2018]. The shared layers are shared across all tasks, while the task-specific layers are separate for each task. However, these methods neglect the interrelation between the task-specific layers and the shared layers, and the interaction among different tasks. Thus, we present a novel multi-task learning scheme to learn multi-view attentions from different aspects, which enables different tasks to interact with each other. Concretely, we assemble the attentive information from the task-specific layers to learn more comprehensive sentence representations in the shared layers. In addition, the multi-view attention mechanism enhances the sentence representational learning by combining word-level and knowledge-level information. That is to say, the attentive information in both word-level and knowledge-level are shared and transferred among different tasks by using the multi-view attention scheme.

To demonstrate the effectiveness of the proposed method, we conduct experiments on both answer selection and KBQA datasets. Empirically, joint learning of answer selection and KBQA tasks significantly improves the performance of each task compared to learning them independently. The experimental results also indicate the effectiveness of the multi-view attention scheme and each view‘s attention contributes.

In summary, our main contributions are as follows:

  • We explore multi-task learning approaches for answer selection and knowledge base question answering. Answer selection task can be improved by KBQA task in knowledge-level, while KBQA task can be enhanced by answer selection task in word-level.

  • We propose a novel multi-task learning scheme that leverages multi-view attention mechanism to bridge different tasks, which integrates the important information of the task-specific layers into the shared layers as well as enables the model to interactively learn word-level and knowledge-level representations.

  • Experimental results show that multi-task learning of answer selection and KBQA outperforms state-of-the-art single-task learning methods. Besides, the multi-view attention based MTL scheme further enhance the performance.

2 Multi-Task Learning for Question Answering

In this section, we introduce the multi-task learning of answer selection and knowledge base question answering.

2.1 Problem Definition

The tasks of answer selection and KBQA can be typically regarded as a ranking problem. Given a question , the task is to rank a set of candidate answer sentences or facts . Specifically, a function that computes a relevancy score for each question-answer pair.

The multi-task learning of answer selection and KBQA starts with the entity linking results. As the example shown in Table  1, a word sequence and a knowledge sequence are prepared for each question and each candidate answer. For the question and answer in answer selection and the question in KBQA, we derive the knowledge of the sentence by entity linking [Savenkov and Agichtein2017]. For the answer fact in KBQA, we obtain the word sequence from the tokenized entity name and relation name [Yu et al.2017].

In the multi-task scenario, we aim to rank the candidate answers for each question from related tasks. We refer as the -th preprocessed task dataset with samples:

(1)

where denotes the label of -th QA pair in -th task.

2.2 Multi-Task Question Answering Network

The basic multi-task learning model is a deep neural network that adopts layer-specific sharing mechanism [Guo, Pasunuru, and Bansal2018] which shares some high-level information across different tasks and the remained layers are parallel and independent to learn task-specific low-level information.

Figure 1: Basic Multi-Task QA Network

Figure 1 illustrates the overall architecture of multi-task QA network (MTQA-net) for answer selection (AS) and knowledge base question answering (KBQA).

2.2.1 Task-specific Encoder Layer

The preprocessed sentences are first encoded into distributed vector representations. Different QA tasks are supposed to be diverse in data distributions and low-level representations. Therefore, each task is equipped with a task-specific siamese encoder for both questions and answers, and each task-specific encoder contains a word encoder and a knowledge encoder to learn the integral sentence representations, as shown in Figure 

2.

Figure 2: Task-specific Encoder Layer

Word Encoder. The input of the word encoder module is a sequence of word embeddings

. We employ Bi-LSTM (Bidirectional Long Short-Term Memory Networks) to capture the context information from both the head-to-tail and the tail-to-head context. The output at

-th word is represented by , in which is the output of the forward network and is that of the backward network. Given a pair of word sequences of the question and the answer , we generate the word-based sentence representation for both the question and the answer, where and are the length of sentences and the size of hidden units:

(2)

Knowledge Encoder. Different from word encoder, a sequence of knowledge embeddings is input into knowledge encoder. As the knowledge sequence is composed by a series of tokenized entity or relation name, the high-level knowledge-based representations are desired for the latter learning procedure. We deal with this problem by applying CNN on the knowledge sequences, in which filters of size

slide over the knowledge embedding matrix to capture the local n-gram features. Each move computes a hidden layer vector as

(3)
(4)

where and

are the convolution kernel and the bias vector to be learned.

Due to the uncertainty of the length of entities, a couple of filters of various sizes are employed to obtain different output vectors , where denotes the output vector obtained by the -th filter. We pass these output vectors through a fully-connected layer to get the knowledge-based sentence representation , where is the length of the sentence and is the total filter sizes of CNN. Given the question and the answer , the knowledge-based sentence representations are:

(5)
(6)

After obtaining the word-based and the knowledge-based sentence representations, and are still vectors in the order of words in the sentence, since the fully-connected layer concatenates the outputs from all the filters in the dimension of the feature instead of the sequence. Thus, the order of and is consistent with and . Then we concatenate them into the encoded sentence representations, and .

2.2.2 Shared Representation Learning Layer

After encoding sentence into vector representations with task-specific encoder, we share high-level information across different tasks via a shared representation learning layer. Compared with the input of task-specific encoder layer, the integral sentence representation contains richer semantic meaning and share more similar distributions with other tasks. Therefore, we integrate the encoded vectors from all the tasks and pass through a high-level shared Siamese Bi-LSTM to generate the final QA representations:

(7)

We apply average pooling over the Bi-LSTM output, , . Inspired by previous works [Severyn and Moschitti2015] and [Tay et al.2017], we incorporate some word and knowledge overlap features to form the final feature space for binary classification, including word overlap score, non-stop word overlap score, weighted word overlap score, non-stop weighted word overlap score, knowledge overlap score and weighted knowledge overlap score. Thus, the final feature space will be .

2.2.3 Task-specific Softmax Layer

For a question-answer pair, and , and its label in

-th task, the final feature representations is fed into the task-specific softmax layer for binary classification:

(8)

where

is the predicted probability,

and are the task-specific weight matrix and bias vector in the hidden layer.

2.3 Multi-Task Learning

The overall multi-task learning model is trained to minimize the cross-entropy loss function:

(9)

where is a parameter that determines the weight of -th task, and is the ground-truth label of question-answer pair . In practice, the same weight is assigned to all tasks.

3 Multi-Task Model with Multi-View Attention

In order to enhance the interaction between different QA tasks in latent representation space, we propose a multi-view attention mechanism to fetch the important information from task-specific layers as well as the shared layers.

Figure 3: Multi-View Attention

3.1 Multi-View Attention Scheme

As shown in the Figure 3, different with other attention sharing scheme, we not only draw attention from the task-specific layers, but also combine the information from the shared layers. In addition, we obtain the attentive information from both word and knowledge perspectives, since word-level and knowledge-level information may make a joint contribution to representational learning. Specifically, we compute five views of attention, including the views of word, knowledge, semantic, knowledge semantic and co-attention.

3.1.1 Word View & Knowledge View

We first adopt a two-way attention mechanism [dos Santos et al.2016] to interactively modeling a pair of QA sentences, by attending correspondingly important information in two sentences. We collect the attention weights from both the word and the knowledge embeddings:

(10)

where and are parameter matrices to be learned; and are the dimensions of word embeddings and knowledge embeddings.

Then we apply max-pooling over

and row-wise and column-wise to obtain the word view and the knowledge view attention weights for the question and the answer:

(11)
(12)

where and are the attention weights for the question and the answer from word view; and are the attention weights from knowledge view.

3.1.2 Semantic View & Knowledge Semantic View

As the context semantic information is of great importance in sentence representational learning, we exploit the overall context semantic information as the attention source over all the elements in the sentence. Thus, we apply max/mean pooling over the output of the task-specific encoder layer to obtain the overall semantic information of a sentence. We experimented on using either max or mean pooling to generate the semantic information. The result shows that the following pooling methods achieve the best performance:

(13)
(14)

Conceptually, the attention mechanism takes into consideration the semantic information, which is expected to capture the correlations between question words and answer words:

(15)
(16)
(17)
(18)

where , , , are attention parameters to be learned; and are the attention weights for the question and the answer from semantic view; and are the attention weights from knowledge semantic view.

3.1.3 Co-attention View

Similar to word view and knowledge view attention, we employ a two-way attention mechanism to generate the co-attention between final question and answer representations:

(19)
(20)
(21)

where is the attention parameter matrix to be learned; is the dimension of final QA representations; and are the co-attention weights for the question and the answer.

3.1.4 Multi-View Attentive Representation

We define the multi-view attention fusion from word, knowledge, semantic, knowledge semantic and co-attention views as:

(22)

where and are hyper-parameters that determines the weights of the five kinds of attentions. In order to observe the contribution of each view of attention, we assign the same weight to all views of attention in the experiment. Finally, the attentive QA representations will be:

(23)

3.2 Multi-View Attention Sharing

As the multi-view attention is applied over hidden states in the shared representation layer, the parameters to compute the attention weights are supposed to be shared across tasks as well. Meanwhile, different tasks are connected by the multi-view attention, since the multi-view attention scheme gathers the information from both task-specific layers and the shared layers.

4 Experiment

4.1 Datasets & Preprocessing

We use YahooQA [Tay et al.2017] and TREC QA [Wang, Smith, and Mitamura2007] for answer selection task, and SimpleQuestions [Bordes et al.2015] and WebQSP [Yih et al.2016] for knowledge base question answering task. The statistics of these datasets are described in Table 2.

Dataset #Question (train/dev/test) #QA Pair (train/dev/test)
Yahoo QA 50098/6289/6283 253K/31K/31K
TREC QA 1229/82/100 53417/1148/1517
SimpleQuestions 71038/10252/20464 571K/80K/164K
WebQSP 3067/-/1632 302K/-/160K
Table 2: Summary statistics of datasets.

YahooQA111https://github.com/vanzytay/YahooQA_Splits An open-domain community-based dataset collected from Yahoo Answers. Tay2017Learning Tay2017Learning filters out questions and answers whose length is out of 5-50, and generates 4 negative samples for each question. The same metrics as [Tay, Tuan, and Hui2018a, Deng et al.2018] are adopted for evaluation, including Precision@1 and MRR.

TREC QA A widely-adopted factoid question answering dataset. Following previous works [Tay, Tuan, and Hui2018a, Deng et al.2018]

, we experiment on the raw TREC QA dataset and use Mean Average Precision (MAP) and Mean Reciprocal Rank (MRR) as evaluation metrics.

SimpleQuestions A single-relation KBQA dataset. This dataset consists of questions annotated with a corresponding fact from Freebase that provides the answer. We report Accuracy as previous studies [Yih et al.2016, Yu et al.2017]. A question is considered answered correctly only when the predicted positive answers match one of the ground-truths.

WebQSP A multi-relation KBQA dataset. Yih et al. (2016) created this dataset by extracting the questions that are answerable using Freebase from WebQuestions [Berant et al.2014]. We adopt Accuracy as the evaluation metric as the SimpleQuestions dataset.

In our setting, we assume that the data are preprocessed by entity linking, which means entities in sentences have already been extracted and linked to certain entities in the KB.

Entity Linking We use FB5M222https://research.facebook.com/researchers/1543934539189348 as the knowledge base, which contains 4,904,397 entities, 7,523 relations, and 22,441,880 facts. For YahooQA and TREC QA333https://github.com/dengyang17/MTQA, we label all the sentences with the entity mentioned in themselves. We apply the TagMe444https://github.com/marcocor/tagme-python entity linker to extract entity mentions from sentences, and only keep the entity mentions with the confidence score above the 0.2 threshold. For each entity mention, we retrieve one certain entity from FB5M. For SimpleQuestions and WebQSP, we start with the entity linking results555https://github.com/Gorov/KBQA_RE_data as Yu et al. (2017).

4.2 Experiment Settings

The word embeddings for all the models are initialized by pre-trained GloVE embeddings666http://nlp.stanford.edu/data/glove.6B.zip of 300 dimensions. TransE [Bordes et al.2013] is adopted as the knowledge embedding method to generate the knowledge embeddings for all the models. OpenKE777https://github.com/thunlp/OpenKE is employed to implement TransE with the default settings.

For all the implemented models, we apply the same parameter settings. The LSTM hidden layer size and the final hidden layer size are both set to 200. The width of the convolution filters is set to be 2 and 3, and the number of convolutional feature maps is set to be 100. The learning rate and the dropout rate are set to 0.0005 and 0.5 respectively. We train our models in batches with size of 128. All other parameters are randomly initialized from [-0.1, 0.1]. The model parameters are regularized with a L2 regularization strength of 0.0001. The maximum length of sentence is set to be 40.

4.3 Multi-Task Learning Results

Model Yahoo QA TREC QA SimpleQuestions WebQSP
P@1 MRR MAP MRR Accuracy Accuracy
HD-LSTM [Tay et al.2017] 0.557 0.735 0.750 0.815 - -
CTRN [Tay, Tuan, and Hui2018a] 0.601 0.755 0.771 0.838 - -
HyperQA [Tay, Tuan, and Hui2018b] 0.683 0.801 0.770 0.825 - -
KAN(AP-LSTM) [Deng et al.2018] 0.744 0.840 0.797 0.850 - -
BiCNN [Yih et al.2015] - - - - 0.900 0.777
AMPCNN [Wenpeng et al.2016] - - - - 0.913 -
HR-BiLSTM [Yu et al.2017] - - - - 0.933 0.825
Multiple View Matching (Yu et al., 2018) - - - - 0.937 0.854
MTQA-net (STL) 0.737 0.818 0.763 0.832 0.913 0.808
MTQA-net (MTL) 0.752 0.839 0.779 0.841 0.922 0.820
MVA-MTQA-net (STL) 0.806 0.878 0.783 0.838 0.931 0.823
MVA-MTQA-net (MTL) 0.833 0.909 0.811 0.862 0.957 0.858
Table 3: Multi-Task Learning Results

Table 3 summarizes the experimental results of different methods on answer selection and knowledge base question answering. For answer selection task, four methods listed in Table 3 achieve the state-of-the-art results in Yahoo QA and TREC QA datasets. The first three methods [Tay et al.2017, Tay, Tuan, and Hui2018a, Tay, Tuan, and Hui2018b]

are traditional single-task learning methods, while DBLP:conf/coling/DengSYLDFL18 (2018) employs transfer learning method to pre-train the model with a large-scale dataset and leverages external knowledge from KB to improve the sentence representational learning. For KBQA task, we compare the proposed method to four single-task learning state-of-the-art methods. Note that we start with the same entity linking results as yu2017improved (2017).

In general, the proposed multi-view attention based MTL method, MVA-MTQA-net (MTL), outperforms the state-of-the-art results by a noticeable margin on all the datasets. For instance, on the YahooQA and SimpleQuestions dataset, the proposed method improves about 8% and 2% on the metrics over these baselines.

In both MVA-MTQA-net and its basic model (MTQA-net), multi-task learning (MTL) methods can significantly improve the performance of all four datasets compared with single-task learning (STL), which demonstrates the effectiveness of combining answer selection and knowledge base question answering to conduct multi-task learning.

4.4 Ablation Analysis of Multi-View Attention

Model Yahoo QA TREC QA SimpleQuestions WebQSP
P@1 MRR MAP MRR Accuracy Accuracy
STL MTQA-net 0.737 0.818 0.763 0.832 0.913 0.808
MTL MTQA-net 0.752 0.839 0.779 0.841 0.922 0.820
STL MVA-MTQA-net 0.806 0.878 0.783 0.838 0.931 0.823
w/o word view 0.792 0.863 0.769 0.834 0.926 0.809
w/o knowledge view 0.781 0.854 0.761 0.827 0.930 0.818
w/o semantic view 0793 0.862 0.773 0.837 0.921 0.813
w/o knowledge semantic view 0.788 0.859 0.762 0.822 0.928 0.814
w/o co-attention view 0.775 0.850 0.761 0.824 0.917 0.803
MTL MVA-MTQA-net 0.833 0.909 0.811 0.862 0.957 0.858
w/o word view 0.824 0.894 0.792 0.854 0.947 0.835
w/o knowledge view 0.826 0.893 0.796 0.861 0.944 0.844
w/o semantic view 0.822 0.886 0.789 0.856 0.945 0.836
w/o knowledge semantic view 0.822 0.890 0.793 0.856 0.944 0.840
w/o co-attention view 0.811 0.882 0.792 0.847 0.937 0.829
Table 4: Ablation Analysis of Multi-View Attention

In this section, we conduct ablation experiments to illustrate the effect of multi-view attention scheme in the proposed method. We exclude the five kinds of views from MVA-MTQA-Net one by one and report the results in Table 4, including single-task learning and multi-task learning results.

From the results, we can observe that all kinds of view contribute more or less performance boost to the model. Apparently, co-attention view attention makes the most contribution to the improvement, which brings about 2-3% increment on both STL and MTL of four tasks.

For STL, knowledge and knowledge semantic view attentions are more distinguishable than word view and semantic view in two answer selection tasks, Yahoo QA and TREC QA, which indicates that attending more informative knowledge in the sentence is important to measure the correlation between question and answer sentence. Similarly, slight difference exists between two word-level view and two knowledge-level view attentions in SimpleQuestions and WebQSP tasks. However, the word view and semantic attentions contribute more.

For MTL, we observe that each view of attention makes a similar contribution to the improvement in four tasks, which demonstrates that the multi-view attention scheme enables each task to interact with each other in multi-task learning.

Figure 4: Case Study of Multi-View Attention

4.5 Case Study of Multi-View Attention

Multi-view attention scheme provides an intuitive way to inspect the importance of each word in the question and the answer by visualizing the attention weight from each kind of view. Due to the limited space, we randomly choose one question-answer pair from TREC QA dataset and one from SimpleQuestions, and visualize the attention weights predicted by MVA-MTQA-net. To be more differentiated, each view of the attention weights is normalized to [0, 1].

Figure 4(a)(c) shows the predicted attention weights of an example from TREC QA. For the attention weights from the word view, we observe that words with rich information (e.g., “johnny appleseed” and “real name”) in both question and answer receive high weights. On the other hand, entity with valuable information, such as “johnny appleseed” and “john chapman”, are assigned with high weights in knowledge view. In two semantic views, not only similar words are attended, but also the related sentence elements, e.g., “aka american folk hero”. In co-attention view, there is a more synthetical attention distribution over all the words. In general, the distinction in word-level attentions is not as effective as that of knowledge-level. The results indicate that the incorporation of knowledge-level information aids in attending more valuable information in answer selection task.

Figure 4(b)(d) provides an example from SimpleQuestions. For the question, we observe a similar distribution with the attention weights of the question example in Figure 4(a), since the form of questions in KBQA task is in accord with that in answer selection task. However, for the answer, the word-level attentions compensate the insufficiency of the knowledge-level attentions, e.g., “guidebooks”, which is neglected in the knowledge-level attentions due to the incompleteness of the KG. This result demonstrates the effectiveness of combining word-level and knowledge-level information in KBQA task.

4.6 Related Work

Answer Selection

Neural networks based models has been proven effective in answer selection task, e.g., convolutional neural network (CNN) 

[Severyn and Moschitti2015] and recurrent models like the long short-term memory (LSTM) [Wang and Nyberg2015]. Instead of learning the representations of the question and the answer separately, most recent studies utilize attention mechanisms to learn the interaction information between questions and answers, which can better focus on relevant parts of the input [Tan et al.2016, dos Santos et al.2016, Lei et al.2018]. With the emergence of large-scale knowledge bases, several efforts have been made on incorporating external knowledge from KBs to improve answer selection models. Savenkov2017EviNets (2017) scores candidate answers by combining the supporting evidence from structured KBs and unstructured text documents. Shen2018Knowledge (2018) proposed a knowledge-aware attentive neural network to attend the knowledge information in QA sentences, based on the entities in sentences. DBLP:conf/coling/DengSYLDFL18 (2018) leverage external knowledge from KB as a bridge to transfer more valuable information between cross-domain answer selection tasks.

Knowledge Base Question Answering Most approaches of KBQA are based on semantic parsing, which transform natural language questions into structured query to extract the answer from the knowledge base [Yao and Durme2014, Yih et al.2015]

. Besides, most of state-of-the-art results are achieved by deep learning models. The core idea is to learn semantic representations of both the question and the knowledge. Based on the relevancy score between the representations of the question and the knowledge, the model ultimately re-rank a list of candidate facts from KB 

[Bordes et al.2015, Wenpeng et al.2016, Hao et al.2017]. Contrary to answer selection, some recent studies integrate word or context information to aid in knowledge base question answering [Yu et al.2017, Sorokin and Gurevych2018].

Multi-Task Learning Recent years have witnessed great successes of applying multi-task learning with neural networks on many NLP problems [Liu, Qiu, and Huang2017, Guo, Pasunuru, and Bansal2018]. Improved from the hard parameter sharing [Caruana1997], most of these models consist of some task-specific private layers separated from the shared layer [Abhishek and Hal2012]. In addition, the key innovation in most recent studies in multi-task learning is the technique used to connect the private and shared parts. DBLP:conf/aaai/ChenQLH18 (2018) employs a meta-network to capture the meta-knowledge from the shared representational learning and generate the parameters of the task-specific representational learning. DBLP:conf/ijcai/ZhengCQ18 (2018) exploits attention mechanisms to select the task-specific information from the shared representation layer. Different from this multi-task learning scheme, we propose a multi-view attention scheme to gather the valuable information from both task-specific and shared perspective, which enhance the interaction between different tasks.

5 Conclusion

In this paper, we study multi-task learning approaches to solve answer selection and knowledge base question answering simultaneously. We propose a novel multi-task learning scheme that utilizes multi-view attention learned from various perspectives to enable these tasks to interact with each other as well as learn more comprehensive sentence representations, including word view, knowledge view, semantic view, knowledge semantic view and co-attention view. The experiments conducted on several widely-used benchmark QA datasets demonstrate that joint learning of answer selection and knowledge base question answering significantly outperforms single-task learning methods. Also, the multi-view attention scheme is effective in assembling attentive information from different representational perspectives to improve overall representational learning.

6 Acknowledgments

This work was financially supported by the National Natural Science Foundation of China (No.61602013), the Natural Science Foundation of Guangdong (No.2018A030313017), the Shenzhen Fundamental Research Project (Grant No. JCYJ20170818091546869), and the project ”PCL Future Regional Network Facilities for Large-scale Experiments and Applications”. Min Yang was sponsored by CCF-Tencent Open Research Fund.

References

  • [Abhishek and Hal2012] Abhishek, K., and Hal, D. I. 2012. Learning task grouping and overlap in multi-task learning. In ICML.
  • [Berant et al.2014] Berant, J.; Chou, A.; Frostig, R.; and Liang, P. 2014. Semantic parsing on freebase from question-answer pairs. In EMNLP.
  • [Bollacker et al.2008] Bollacker, K.; Evans, C.; Paritosh, P.; Sturge, T.; and Taylor, J. 2008. Freebase: a collaboratively created graph database for structuring human knowledge. In SIGMOD, 1247–1250.
  • [Bordes et al.2013] Bordes, A.; Usunier, N.; Weston, J.; and Yakhnenko, O. 2013. Translating embeddings for modeling multi-relational data. In NIPS, 2787–2795.
  • [Bordes et al.2015] Bordes, A.; Usunier, N.; Chopra, S.; and Weston, J. 2015. Large-scale simple question answering with memory networks. Computer Science.
  • [Caruana1997] Caruana, R. 1997. Multitask learning. Machine Learning 28(1):41–75.
  • [Chen et al.2018] Chen, J.; Qiu, X.; Liu, P.; and Huang, X. 2018. Meta multi-task learning for sequence modeling. In AAAI.
  • [Deng et al.2018] Deng, Y.; Shen, Y.; Yang, M.; Li, Y.; Du, N.; Fan, W.; and Lei, K. 2018. Knowledge as A bridge: Improving cross-domain answer selection with external knowledge. In COLING, 3295–3305.
  • [dos Santos et al.2016] dos Santos, C. N.; Tan, M.; Xiang, B.; and Zhou, B. 2016. Attentive pooling networks. CoRR, abs/1602.03609.
  • [Guo, Pasunuru, and Bansal2018] Guo, H.; Pasunuru, R.; and Bansal, M. 2018. Soft layer-specific multi-task summarization with entailment and question generation. In ACL.
  • [Hao et al.2017] Hao, Y.; Zhang, Y.; Liu, K.; He, S.; Liu, Z.; Wu, H.; Zhao, J.; Hao, Y.; Zhang, Y.; and Liu, K. 2017. An end-to-end model for question answering over knowledge base with cross-attention combining global knowledge. In ACL.
  • [Lei et al.2018] Lei, S.; Xiaodong, Z.; Feng, Q.; Baobao, C.; and Zhifang, S. 2018. A multi-view fusion neural network for answer selection. In AAAI.
  • [Liu, Qiu, and Huang2017] Liu, P.; Qiu, X.; and Huang, X. 2017. Adversarial multi-task learning for text classification. In ACL, 1–10.
  • [Rajpurkar et al.2016] Rajpurkar, P.; Zhang, J.; Lopyrev, K.; and Liang, P. 2016. Squad: 100, 000+ questions for machine comprehension of text. In EMNLP, 2383–2392.
  • [Savenkov and Agichtein2017] Savenkov, D., and Agichtein, E. 2017. Evinets: Neural networks for combining evidence signals for factoid question answering. In ACL, 299–304.
  • [Severyn and Moschitti2015] Severyn, A., and Moschitti, A. 2015. Learning to rank short text pairs with convolutional deep neural networks. In SIGIR, 373–382.
  • [Sorokin and Gurevych2018] Sorokin, D., and Gurevych, I. 2018. Modeling semantics with gated graph neural networks for knowledge base question answering. In COLING, 3306–3317.
  • [Tan et al.2016] Tan, M.; Santos, C. D.; Xiang, B.; and Zhou, B. 2016. Improved representation learning for question answer matching. In ACL, 464–473.
  • [Tay et al.2017] Tay, Y.; Phan, M. C.; Tuan, L. A.; and Hui, S. C. 2017. Learning to rank question answer pairs with holographic dual lstm architecture. In SIGIR.
  • [Tay, Tuan, and Hui2018a] Tay, Y.; Tuan, L. A.; and Hui, S. C. 2018a. Cross temporal recurrent networks for ranking question answer pairs. In AAAI.
  • [Tay, Tuan, and Hui2018b] Tay, Y.; Tuan, L. A.; and Hui, S. C. 2018b. Hyperbolic representation learning for fast and efficient neural question answering. In WSDM.
  • [Wang and Nyberg2015] Wang, D., and Nyberg, E. 2015. A long short-term memory model for answer sentence selection in question answering. In ACL, 707–712.
  • [Wang, Smith, and Mitamura2007] Wang, M.; Smith, N. A.; and Mitamura, T. 2007. What is the jeopardy model? a quasi-synchronous grammar for qa. In EMNLP, 22–32.
  • [Wenpeng et al.2016] Wenpeng, Y.; Mo, Y.; Bing, X.; Bowen, Z.; and Hinrich, S. 2016. Simple question answering by attentive convolutional neural network. In COLING, 1746–1756.
  • [Yao and Durme2014] Yao, X., and Durme, B. V. 2014. Information extraction over structured data: Question answering with freebase. In ACL, 956–966.
  • [Yih et al.2015] Yih, W. T.; Chang, M. W.; He, X.; and Gao, J. 2015. Semantic parsing via staged query graph generation: Question answering with knowledge base. In ACL, 1321–1331.
  • [Yih et al.2016] Yih, W. T.; Richardson, M.; Meek, C.; Chang, M. W.; and Suh, J. 2016. The value of semantic parse labeling for knowledge base question answering. In ACL, 201–206.
  • [Ying et al.2018] Ying, S.; Yang, D.; Min, Y.; Yaliang, L.; Nan, D.; Wei, F.; and Kai, L. 2018. Knowledge-aware attentive neural networks for ranking question answer pairs. In SIGIR.
  • [Yu et al.2017] Yu, M.; Yin, W.; Hasan, K. S.; dos Santos, C.; Xiang, B.; and Zhou, B. 2017. Improved neural relation detection for knowledge base question answering. In ACL, 571–581.
  • [Zheng, Chen, and Qiu2018] Zheng, R.; Chen, J.; and Qiu, X. 2018. Same representation, different attentions: Shareable sentence representation learning from multiple tasks. In IJCAI, 4616–4622.