Next Article in Journal
Study of the Effects of Daylighting and Artificial Lighting at 59° Latitude on Mental States, Behaviour and Perception
Next Article in Special Issue
An Alternative Rural Housing Management Tool Empowered by a Bayesian Neural Classifier
Previous Article in Journal
Distribution and Source Apportionment of Heavy Metals in Soil around Dexing Copper Mine in Jiangxi Province, China
Previous Article in Special Issue
Fault Prediction Recommender Model for IoT Enabled Sensors Based Workplace
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Intelligent Question-Answering Model over Educational Knowledge Graph for Sustainable Urban Living

1
College of Information Science and Engineering, Guilin University of Technology, Guilin 541006, China
2
Guangxi Key Laboratory of Embedded Technology and Intelligent System, Guilin 541006, China
3
School of Software Engineering, University of Science and Technology of China, Hefei 230026, China
*
Author to whom correspondence should be addressed.
Sustainability 2023, 15(2), 1139; https://doi.org/10.3390/su15021139
Submission received: 30 November 2022 / Revised: 25 December 2022 / Accepted: 4 January 2023 / Published: 7 January 2023
(This article belongs to the Special Issue Artificial Intelligence Applications for Sustainable Urban Living)

Abstract

:
With the development of education informatization and the accumulation of massive educational resources and teaching data in urban environments, educational knowledge graphs that provide good conditions for developing data-driven intelligent education have been proposed. Based on such educational knowledge graphs, the question-answering method can provide students with immediate coaching and significantly increase their learning interest and productivity. However, there is little research on knowledge graph question-answering focused on the educational field. Students tend to consult complex questions that require reasoning; however, the existing QA system cannot satisfy their complex information needs. To help improve sustainable learning efficiency, we propose a novel intelligent question-answering model applied in smart cities, which can reason over the educational knowledge graph to locate the answers to given questions. Our approach uses a highly expressive bilinear graph neural network technology to perform forward reasoning, utilizing the contextual information between graph nodes to improve reasoning ability. On this basis, we propose two-teacher knowledge distillation. We construct two distinct teacher networks by combining forward and backward reasoning, then incorporate the intermediate supervision signals from the two networks to guide the reasoning process, thereby mitigating the phenomenon of spurious path reasoning. Extensive experiments on the MOOC Q&A dataset prove the effectiveness of our approach.

1. Introduction

In recent years, the rapid development of information technology has led data to grow exponentially, and the types of data have become more diverse. Obtaining accurate and valuable information is particularly urgent in a large-scale data environment. It has always been a wish of people to be able to quickly and accurately obtain helpful information. The emergence of intelligent question-answering makes up for this shortcoming and provides convenience for sustainable urban living, as user intentions can be understood and analyzed the through the user’s natural language questions to provide the most direct answer. Question-answering over knowledge graphs (KGQA) is one of the essential branches of intelligent question-answering systems. It aims to seek answers to given questions from the knowledge graph.
The knowledge graph (KG) uses resource description framework (RDF) triples to store a substantial amount of entities and the deep semantic relationships that connect them. According to the rules of RDF, each piece of knowledge in a knowledge graph is expressed in the form of (h, r, t) triples, where h, r, and t represent the head entity, relation, and tail entity, respectively. This method offers a useful method of organizing enormous amounts of information, and as a result is gaining increasing attention. As education develops, a wide variety of teaching materials and educational resources are created [1]. Educational knowledge graphs can compile dispersed and disorganized educational data into structured knowledge that is simple to retrieve, modify, and preserve, lowering users’ usage costs and promoting quick cognitive improvement [2] in urban environments. For instance, Yu et al. from Tsinghua University [3] proposed MOOCCube, a massive open online course (MOOC) knowledge graph that includes entities such as concepts, courses, teacher and student behaviors, and information about their interactions to support the teaching and research requirements of numerous scenarios. Xu and Guo [4] proposed a knowledge graph of knowledge points applicable to K-12 education, in which the nodes mainly contain knowledge points, schools, teachers, etc. The results of their experiments demonstrated that employing this knowledge graph can significantly increase the accuracy of recommendations for educational resources.
The development of educational knowledge graphs serves as the foundation for intelligent question-answering. However, there are few studies on educational knowledge graph question-answering, which makes it impossible to meet the demands of developing educational platforms [5]. For instance, the WebQuestionsSP [6] dataset based on Freebase [7] comprises 513 relations, while the MOOC Q&A based on MOOCCube [3] only contains ten relation types. On the other hand, students prefer to consult complex questions that require multi-hop reasoning in the knowledge graph, and the existing QA system cannot satisfy their complex information needs. For example, the question from the MOOC Q&A [3] dataset shown in Figure 1 (“What concepts are covered in the Operating Systems course taught by Prof. Haiying Yu?”) relies on (Prof. Haiying Yu, teacher_course, <Operating Systems>) and (<Operating Systems>, course_concept, Logical Address). Therefore, this paper aims to propose an intelligent question-answering model that can answer complex multi-hop problems in educational contexts.
However, there are limitations to the existing KGQA techniques. Because Graph Convolutional Networks (GCN) [8] have a remarkable ability to capture graph structure information, several studies [9,10] have used improved GCN to generate entity representations to predict answers. However, the traditional Graph Neural Network (GNN) models only utilize the feature information obtained by simple Linear Aggregation (LA) of neighboring nodes, which ignores the possible interactions between graph nodes. To find the correct answers to various complex questions that require multi-hop reasoning on large knowledge graphs, it is necessary that the KGQA model can both effectively utilize the context information between each node and its neighbors and effectively utilize the context information between neighbors. Additionally, when using deep learning models for training, models only have access to weakly supervised signals (i.e., questions and answers), as labeling the entire reasoning path is an expensive process. Because the intermediate reasoning paths are absent, the resulting models may be susceptible to spurious path reasoning. Figure 1 shows an example of this; while the final answer is correct, it may have been obtained based on spurious path reasoning (indicated by the blue lines). Existing research [11] has combined bidirectional reasoning to create teacher networks that offer supervision signals (i.e., intermediate entity distributions) to lead the reasoning process to address this problem. Essentially, this is the application of knowledge distillation [12]. By distilling the supervision signals generated by the teacher network and then transmitting them to the student network, the student network can achieve good performance. However, more than one teacher may be required to provide comprehensive supervision signals. In reality, a student does not learn everything from one teacher. Instead, they may receive advice on understanding a concept from many professors during class, after class, or even online.
In light of the above challenges and in an effort to improve sustainable learning efficiency, we propose BGNN-TT, an intelligent question-answering model utilizing a bilinear graph neural network and two-teacher knowledge distillation. The main contributions of our paper are as follows:
  • We combine the highly expressive Bilinear Graph Neural Network [13] technology to perform multi-hop reasoning. More precisely, we introduce Linear Aggregation (LA) and Bilinear Aggregation (BA) in the reasoning process, which can reflect the contextual information between graph nodes and obtain comprehensive representation, leading to an overall improvement in reasoning ability.
  • Inspired by multi-view learning [14], we propose a two-teacher knowledge distillation approach to mitigate spurious path reasoning in educational knowledge graph question-answering. Based on bilinear neural network technology, we build two different teacher networks then incorporate the intermediate supervision signals (i.e., intermediate entity distributions) from the two teacher networks to direct the reasoning process, which can overcome the limitation of a single teacher and provide stronger supervision signals.
  • We apply our approach to the real MOOC Q&A [3] dataset and the large educational knowledge graph MOOCCube [3]. The results indicate that our proposed method outperforms other baseline models, verifying the efficacy of the method.

2. Related Works

2.1. Question-Answering over Knowledge Graph

Question-Answering over Knowledge Graph (KGQA) is a crucial technology that promotes urban sustainability. It is capable of understanding the user’s purpose and returning the right response. Due to KGQA’s rapid expansion, it is widely used in education, medical care, tourism, finance, and other fields of sustainable urban life. Until now, there have been two mainstream branches of KGQA: semantic parsing-based methods and retrieval-based methods. Traditional semantic parsing methods [15,16,17] use logical forms for querying. Recent studies [18,19,20,21] have used query graphs to reflect the question’s semantic structure to improve performance. These SP-based algorithms achieve competitive performance at the expense of manually created features, patterns, language engineering, and data annotations, making it difficult for them to be extended to new domains.
Instead of constructing a structured representation, retrieval-based methods [22,23] retrieve the answer directly from KG according to the information conveyed in the question. Recently, multi-hop based KGQA has drawn the attention of researchers. A typical model in reasoning methods based on embedding representation knowledge graphs is the TransE model proposed by Bordes et al. [24], which predicts missing entities or relationships by performing translation operations on vectors in low-dimensional spaces. Because of TransE’s strong generalization ability, it is widely used in KGQA. Hang et al. [25] proposed the KEQA model, using used TransE [24] to encode questions and entities to predict answers. Although the accuracy is increased in this way, the model cannot respond to questions involving multi-hopping. Saxena et al. [26] proposed EmbedKGQA, which builds the KGQA model using ComplEx [27] for multi-hop questions.
As deep learning technology advances, neural networks are attracting much attention, and have been used to create better distributed representations of questions and entities. Miller et al. [28] proposed a Key-Value Memory Network. Because GCN [8] has a powerful ability to describe graph structure information, it is the basis for complex graph neural networks used for multi-hop reasoning methods. Sun et al. [9] proposed a GraftNet approach based on improved GCN. Based on the topic entity, it creates a subgraph targeted to the question, adds additional text to create a heterogeneous graph, iteratively updates the nodes of the heterogeneous graph using the enhanced GCN, and then reasons the answer to the question. However, GraftNet’s method of extracting sub-graphs is heuristic-based, which introduces many irrelevant entities. Sun et al. [10] proposed the PullNet method, which improves on GraftNet’s graph construction method. Meanwhile, a variety of graph neural networks have been developed, such as the Gated Graph Sequence Neural Networks [29], Graph Attention Network [30], and Bilinear Graph Neural Network [13]. To encode multiple graphs, Schlichtkrull et al. [31] proposed a Relation Graph Convolution Network (RGCN) and used it in the knowledge graph link prediction task. Cai et al. [32] proposed a Deep Cognitive Reasoning Network (DCRN) consisting of two phases, namely, the unconscious and conscious phases. He et al. [11] created a complex methodology based on the teacher–student framework. Shi et al. [33] suggested a multi-hop QA approach that supports both label and text relations within a single transparent framework.

2.2. Educational Knowledge Graphs and QA Systems

Various online education platforms have emerged in sustainable urban living in recent years. For example, to assist students in overcoming academic challenges, the authors of [34] created a series of interactive robot-assisted teaching activities for classroom settings. Based on the attention mechanism and Long Short-Term Memory (LSTM) networks, the authors of [35] suggested a deep course recommendation model with multimodal feature extraction. Furthermore, with a variety of teaching materials and educational resources having been created in urban living, useful educational KGs have been launched to better organize this information. For example, Yu et al. from Tsinghua University [3] have proposed MOOCCube, a massive open online course (MOOC) knowledge graph that includes entities such as concepts, courses, teacher and student behaviors, and information about their interactions to support the teaching and research requirements of numerous scenarios. Xu and Guo [4] proposed a knowledge graph of knowledge points applicable to K-12 education in which the nodes mainly contain knowledge points, schools, teachers, etc. The results of their experiments demonstrated that employing this knowledge graph can significantly increase the accuracy of recommendations for educational resources. Lin et al. [36] used interactive data generated by university faculty in their research and teaching activities to build a university faculty knowledge graph containing faculty, research directions, research outcomes, and social adjuncts, which in turn provided qualitative and quantitative data support for faculty evaluation. Based on public KGs, a number of KGQA methods have been developed. Lin et al. [37] proposed a question-answering method over educational knowledge graph based on question-aware GCN. Yang et al. [38] designed an intelligent question-answering system based on a high school course knowledge graph. Based on the BiLSTM-CRF, Zhao et al. [39] created a question-answering system for ideological and political education. Even though these QA techniques were created for the educational domain, they fall short of offering the best results for the various questions that users ask.

3. Task Definition

In this section, we discuss the logic behind the answers to questions in natural language that are derived from the knowledge graph subgraphs that correspond to the queries.
Knowledge Graph (KG). A knowledge graph is denoted as K = ( E , R , T ) , where E and R denote an entity set and relation set, respectively; moreover, T = { ( h , r , t ) h E , r R , t E } denotes the triple set and G is a subgraph related to question q, where G K .
Question-Answering over Knowledge Graph (KGQA). Given a natural language question q and subgraph G associated with a question, the task of KGQA is to determine the answer entities denoted by the set A , where A is a subset of the set of entities E .

4. Methodology

This study’s research problems can be summarized as follows: (1) how to build an intelligent question-answering model over educational knowledge graph for sustainable urban living; (2) how to improve its multi-hop reasoning ability over the educational knowledge graph; and (3) how to mitigate the phenomenon of spurious path reasoning. To address the above problems, we propose an intelligent question-answering model using a bilinear graph neural network and two-teacher knowledge distillation (BGNN-TT). It is based on the following two hypotheses: (1) bilinear aggregation operation of the bilinear graph neural network can reflect the context information of the graph nodes, thereby improving the reasoning ability of the model; (2) integrating the supervision signals of different teachers can facilitate supervisory reasoning and alleviate spurious path reasoning.
This section outlines the suggested model (BGNN-TT). As shown in Figure 2, the BGNN-TT consists of four main parts: the Question Embedding Module, the Bilinear Graph Neural Network Reasoning Module, the Answer Prediction Module, and the Two-teacher Knowledge Distillation Module. The question-embedding module uses a class of BiLSTM of Recurrent Neural Network to encode natural language questions and obtain the question representation. Then, the question representation and the knowledge graph are fed into the bilinear graph neural network. For each node, the bilinear graph neural network is used to obtain the context information between these nodes and update entity representation and distribution. At the same time, the two-teacher knowledge distillation module is used to incorporate the intermediate supervision signals (i.e., intermediate entity distributions) provided by several teacher networks to direct intermediate reasoning. Finally, we the sigmoid function [40] is applied to the last layer’s entity representation to predict answers.

4.1. Question Embedding Module

First, we utilize GloVe [41] and BiLSTM to embed the question and obtain the hidden state vector q j for each word, where q j R d and j = 1 , 2 , , k . The last hidden state is considered to be the question representation, i.e., q = q k . To further enhance the semantic information of the question, we apply the attention mechanism to the question vector q to obtain a new question representation q :
α i = softmax W α q q i + b α
v = i = 1 k α j · q j
q = W q [ q v ] + b q
where W α R d × d , W q R d × 2 d , b α R d , and b q R d are parameters to be learned, ⊙ denotes the multiplication of the elements in the matrix, and “||” indicates the concatenation operation. The newly introduced question representation includes both interactive information between the words and contextual information specific to a single question.

4.2. Bilinear Graph Neural Network Reasoning Module

GCN [8] is the foundation for complicated graph neural networks used in multi-hop reasoning techniques, and has a remarkable capacity to describe a graph’s structure. A GCN generally follows a message-passing mechanism to update node representations, and the representation of layer l is usually obtained by graph convolution operations based on the representation of layer ( l 1 ):
h v l = ϕ h v l 1 , v N r ( v ) h v l 1
where N r ( v ) denotes the neighboring node sets of node v and ϕ is a neural network layer.
However, the traditional Graph Neural Network (GNN) models only utilize the feature information obtained by simple Linear Aggregation (LA) of neighboring nodes, which ignores the possible interactions between them. In our approach, we adopt the Bilinear Graph Neural Network approach [13] to perform forward reasoning, which can utilize context information between a pair of neighboring nodes. It introduces bilinear aggregation as well as allows bidirectional feature propagation between each entity node and one of its neighboring nodes on a knowledge graph. By using both Linear Aggregation and Bilinear Aggregation, it is possible to improve multi-hop reasoning ability based on comprehensive entity representation.
According to their different calculation methods, Bilinear Aggregation can be divided into two categories: bilinear aggregation over all nodes (BA-A), and bilinear aggregation of the target node and neighboring nodes (BA-T), as shown in Figure 3. BA-A is a way to determine the structure information using the dot-product of the target node, each of its neighboring nodes, and two of their neighboring nodes. The equation is defined as follows:
( B A A ) l ( v ) = F F N ( 1 2 v v ( h v ( l 1 ) h v ( l 1 ) ) + v ( h v ( l 1 ) h v ( l 1 ) ) ) , ( v , v N ( v ) , v v )
where N ( v ) denotes the neighbours of v, v denotes the neighboring nodes that enter the node v, and v denotes the neighboring nodes that exit it.
BA-T only performs element-by-element multiplication of the target node and each of its neighboring nodes to find the structure information, as shown in Equation (6):
( B A T ) l ( v ) = F F N v h v ( l 1 ) h v ( l 1 )
In our approach, we use BA-T to exploit the structure information between the target node and neighboring nodes. We will compare the reasoning ability of the model using BA-A and the model using BA-T in Section 5.4. As shown in Equation (7), the node representation h v l can be updated by combining LA and BA operations:
h v l = ( 1 β ) L A l ( v ) + β B A l ( v )
The value of β determines the applicable ratio of Linear Aggregation (LA) and Bilinear Aggregation (BA). LA can be calculated by
L A l ( v ) = F F N h v ( l 1 ) q h N ( l 1 )
where h N ( l 1 ) denotes the the information generated by neighboring nodes. During the reasoning process, the feature information entering the target node is considered as the information corresponding to the reasoning path; conversely, the feature information leaving the target node is considered as information unrelated to the path. Consequently, while calculating the information of adjacent nodes generated by linear aggregation, information about neighboring nodes entering the target node should be added, while information about neighboring nodes leaving the target node should be subtracted:
h N ( l 1 ) = F F N r v N r ( v ) h v ( l 1 ) F F N r v N r ( v ) h v ( l 1 )
where N r denotes the set of neighboring nodes entering the target node and N r denotes the set of neighboring nodes leaving the target node.
Experimentally, performing Bilinear Aggregation only on the target node and each of its neighboring nodes shows better performance compared to performing Bilinear Aggregation on all neighboring nodes. Consequently, in our method, BA-T is used to calculate BA:
B A l ( v ) = F F N h v ( l 1 ) q F F N v h v ( l 1 ) h v ( l 1 )
where h v ( l 1 ) is calculated by matching the question representation q and its relation r:
h v ( l 1 ) = r v N r ( v ) σ W R r q p v l
where W R R d × d are the parameters to be learned, σ denotes the sigmoid function, FFN ( · ) is a feed-forward layer, N r ( v ) denotes the neighboring node set of node v, and p v l is the assigned probability of neighboring node v at step l, which is calculated by Equation (12).
The formula below can be used to compute the probability distribution over the intermediate entities obtained in step l:
p v l = σ W T h v l + b

4.3. Answer Prediction Module

After propagating through L layers, each node’s information is transmitted through L nodes. This allows the node to reason L steps and receive the related path information in L steps. As a result, we obtain the entity representation of the last layer, h v L , which contains the relation path information from the topic entity to the target entity. We use this entity representation to update the entity distribution:
p v L = σ W T h v L + b
The entity with the greatest score is ultimately chosen as the answer.

4.4. Two-Teacher Knowledge Distillation Module

The phenomenon of spurious path reasoning exists in the existing intelligent question-answering model, as shown in Figure 1. Therefore, we propose two-teacher knowledge distillation to improve further the intelligent question-answering model’s accuracy and sustainable learning efficiency. This component can alleviate the phenomenon of spurious path reasoning to a certain extent, and can provide a guarantee for data-driven smart education in sustainable urban living.
Knowledge distillation is a common method of model compression [12]. It distills the “knowledge” learned in a complex high-performance teacher network and transmits it to a lightweight student network. More precisely, the teacher model’s predictions are treated as “soft labels” and used to train the student models. Although knowledge distillation was first suggested for model compression, recent research [11] has discovered that using soft labels as the training objective might improve student network performance. However, using only a single teacher network may not provide comprehensive knowledge, and the supervision signals (i.e., intermediate entity distributions) may be limited. Inspired by multi-view learning [14], we propose a two-teacher knowledge distillation approach that incorporates the supervision signals of two different teacher networks to guide the reasoning process. As a result, different teacher networks can compensate for the limitations of a single teacher network, allowing the model to learn more effectively. Figure 4 depicts its structure. In this section, we first describe how the teacher network was built before reviewing the two-teacher distillation process.
We combine the Bilinear Graph Neural Network technology proposed in the previous section and build two teacher networks. Teacher Network 1 uses parallel reasoning, with forward reasoning and backward reasoning being isolated. We take correspondence restrictions into account in the intermediary entity distributions between them. Figure 5a depicts the architecture of Teacher Network 1.
The loss of Teacher Network 1 includes the forward reasoning loss, backward reasoning loss, and consistency loss:
L t 1 = D K L p f 1 L , p f 1 + λ b D K L p b 1 L , p b 1 + λ c l = 1 L 1 D J S p f 1 l , p b 1 L l
where p f 1 L p b 1 L denotes the final entity distribution for the forward (backward) reasoning process, p f 1 p b 1 denotes the ground truth entity distribution, D K L ( · , · ) is the Kullback–Leibler divergence [42], D J S ( · , · ) is the Jensen–Shannon divergence [43], and λ b ( 0 , 1 ) , λ c ( 0 , 1 ) are adjustable parameters. The last item of Equation (14) is the consistency loss, which can be calculated by summing up the losses of each intermediate step; p f 1 l denotes the entity distribution in step l, which corresponds to the distribution p b 1 L l in step ( L l ) .
Teacher Network 2 utilizes hybrid reasoning. Unlike Teacher Network 1, Teacher Network 2 inputs the entity distribution and entity representation obtained in the last step of forward reasoning as initial values for backward reasoning. Figure 5b depicts the architecture of Teacher Network 2.
Similar to Teacher Network 1, the loss of Teacher Network 2 can be calculated as follows:
L t 2 = D K L p f 2 L , p f 2 + λ b D K L p b 2 L , p b 2 + λ c l = 1 L 1 D J S p f 2 l , p b 2 L l
After training the two teacher networks to converge, we can obtain the distribution of intermediate entities in the bidirectional reasoning process of the two teacher networks. Similar to He et al. [11], we take the average of the two distributions as the supervision signals:
p t 1 l = 1 2 p f 1 l + p b 1 L l , l = 1 , , L 1
p t 2 l = 1 2 p f 2 l + p b 2 L l , l = 1 , , L 1
where p t 1 l and p t 2 l are the intermediate supervision signals generated by Teacher Networks 1 and 2, respectively, and p f 1 l p b 1 L 1 and p f 2 l p b 2 L 1 denote the entity distributions for forward (backword) processes. Because BGNN-TT is forward-reasoning, the loss of BGNN-TT contains two parts, namely, the loss of forward reasoning and the loss of intermediate supervision signals in the two-teacher network.
The loss of forward reasoning can be calculated as
L 1 = D K L p s L , p f
The loss of intermediate supervision signals in the two-teacher network can be calculated as
L 2 = l = 1 L 1 D K L p s l , p t l
where p s l and p t l denote the entity distribution for forward reasoning and the teacher network in step l, respectively. The supervision signal p t l can be obtained by combining the supervision signals of the two teacher networks:
p t l = α p t 1 l + ( 1 α ) p t 2 l
where α ( 0 , 1 ) is a parameter which controls the impact of the different teacher networks on the model.
Combining the above two losses, the total loss of the BGNN-TT model is defined as
L s = L 1 + λ L 2
where λ ( 0 , 1 ) is a parameter to be learned.
The full process is shown below in Algorithm 1.
Algorithm 1: Pseudo-code for two-teacher knowledge distillation process.
Input: Training Dataset MOOC Q&A, parameters λ c , λ b , β , α , λ
Output: BGNN-TT model
Sustainability 15 01139 i001

5. Experiment

This section primarily describes the experimental setup, including the datasets, parameter settings, comparison model, and evaluation metrics. Subsequently, we present the experimental findings and ablation study.

5.1. Data Set and Parameter Settings

We use the real MOOC Q&A [3] dataset to evaluate our approach. The answers to the questions are taken from MOOCCube [3], a sizable online educational knowledge graph created by Tsinghua University. Table 1 provides an example of the content of the dataset. The knowledge graph has a total of 52,195 triples, which are made up of ten types of relations such as concept_domain, course_video, and prerequisite_dependency, as well as seven types of entities, including 4723 users, 700 concepts, and 706 real online courses. Table 2 provides detailed information about MOOCCube. There are two different kinds of questions, one-hop questions and multi-hop questions, in the MOOC Q&A dataset. One-hop questions only include one head entity and one relation in the knowledge graph, whereas multi-hop questions might involve several entities and call for reasoning over several knowledge graph facts. The dataset contains 13,637 multi-hop questions and 5504 one-hop questions. When conducting the experiments, the training set, validation set, and test set were divided according to the ratios of 80%, 10%, and 10%, respectively. Table 3 displays the precise parameter settings for the BGNN-TT.

5.2. Methods of Comparison and Evaluation Metrics

To validate the model, in this section we compare it with the mainstream benchmark models, including GraftNet [9], EmbedKGQA [26], and NSM [11].
GraftNet [9] is a model proposed by EMNLP 2018 for the KGQA task. It constructs a subgraph specific to the question based on the topic entity, introduces additional text to form a heterogeneous graph, iteratively updates the nodes of the heterogeneous graph using the improved GCN, and reasons the answer to the question.
NSM [11] is a model proposed by WSDM2021 for the KGQA task. It involves a sophisticated system which uses one single teacher to direct the reasoning process.
EmbedKGQA [26] is a model proposed by ACL2020 for the KGQA task. It conducts multi-hop reasoning through matching question embedding with pre-trained entity embedding obtained from ComplEx. We employ ComplEx [27], RotatE [44], DistMult [45], and ConvE [46] as score functions for answer prediction in our experiment.
We choose Hts@1, Hits@3, Hits@5, and mean reciprocal rank (MRR) as evaluation metrics. MRR represents the average inverse ranking of the entities in the prediction list, and Hits@K refers to the ratio of the actual answers when selecting the K highest scores in the predicted answers. These metrics are computed using the following formulas:
Hits @ K = 1 M q I p , E T
MRR = 1 M q 1 E T i E τ 1 r i
where M denotes the number of questions, E T denotes the actual answer set of question q, p is the set of entities with the top K highest predicted score, the function I indicates whether the element is in the set, with range { 0 , 1 } , and r i denotes the ranking of entity i in the list of predicted answers.

5.3. Main Results

Table 4 displays a comparison of our model’s performance with major methods on the MOOC Q&A dataset. Overall, it is clear that our method obtains excellent performance on both one-hop and multi-hop questions. Every statistic exceeds the comparison model except for multi-hop MRR, which is marginally behind (0.012) NSM. The most significant improvement is seen compared to RotatE, with the eight metrics improving by 0.124, 0.109, 0.104, 0.088, 0.228, 0.183, and 0.198, respectively. Similarly, in one-hop questions the Hits@1 and MRR improved by 0.004 and 0.019, respectively, compared to the optimal EmbedKGQA using ComplEx. Compared to the optimal NSM in multi-hop questions, Hits@1, Hits@3, and Hits@5 achieved improvements of 0.05, 0.052, and 0.043, respectively. After analysis, we found that the NSM model only uses the supervision signals from one teacher to guide the model, which is not comprehensive. However, by incorporating various teachers’ knowledge (i.e., supervision signals), our models can gain more comprehensive knowledge and achieve better performance. Compared to GraftNet, for multi-hop questions the Hits@1, Hits@3, Hits@5, and MRR were improved by 0.052, 0.067, 0.053, and 0.014, respectively. After analysis, we found that the GraftNet model only utilizes Linear Aggregation to capture the graph structure information, which cannot reflect the context information between graph nodes, meaning that the effect is not good. However, by introducing Bilinear Aggregation, our model allows bidirectional feature propagation between each entity node and one of its neighboring nodes on a knowledge graph, which can obtain comprehensive entity representation and improve the reasoning ability.

5.4. Ablation Study

We conducted relative ablation research to verify the viability of the two-teacher knowledge distillation approach proposed in this paper. Table 5 displays the experimental outcomes.
It is clear that our model obtains better performance when directed by Teacher Network 1, indicating that Teacher Network 1’s supervision signal is stronger than that of Teacher Network 2. When incorporating the two teacher network supervision signals to direct the model, the best performance is obtained, demonstrating that two teachers can overcome the limitation of one teacher and provide stronger supervision signals. Similarly, compared to the model without teacher guidance, the eight metrics improved by 0.044, 0.039, 0.0.035, 0.038, 0.037, 0.031, and 0.018, respectively.
To analyze the effect of LA, BA-A, and BA-T on experimental performance, we compared the performance when using only Linear Aggregation (LA), only Bilinear Aggregation (BA-A or BA-T), and both. Table 6 shows that BGNN-TT with both BA-T and LA performs best across the board and utilizing only LA performs better than using only BA. When using both BA-T and LA, the eight metrics perform around 0.039, 0.039, 0.034, 0.035, 0.034, 0.045, 0.043, and 0.02 better, respectively, than when using only LA. Following this investigation, we discovered that adding bilinear aggregation permits bidirectional feature propagation between each entity node and one of its nearby nodes on a knowledge graph. Thus, it is possible to enhance multi-hop reasoning ability based on comprehensive entity representation by employing both Linear Aggregation and Bilinear Aggregation.

5.5. Impact of Different α and β Values

To examine the impact of various teacher network weights on the experimental performance, i.e., the values of the parameters in Equation (14), we tuned α among {0.05, 0.1, 0.3, 0.5, 0.7, 1.0}. As shown in Figure 6a,b, α = 0.5 is optimal for Hits@1, α > 0.5 results in a decline in Hits@1, and an increase in α somewhat enhance model performance when α < 0.5 . This phenomenon is seen with MRR as well. Therefore, α = 0.5 is a good choice for our approach.
The ablation results shown in Table 6 show that the BGNN-TT model works best when both LA and BA-T are used. To investigate the effect of different weights of LA and BA-T, i.e., the values of the parameters in Equation (7), we tuned β among {0.1, 0.3, 0.5, 0.7, 0.9}. As shown in Figure 6c,d, β = 0.3 is good for both one-hop and multi-hop questions; the Hits@1 and MRR of both types of questions dramatically decline when β > 0.3 . Overall, β = 0.3 is a good choice for our approach.

5.6. Case Study

In this section, we present a case study illustrating how the two teacher networks contribute to the reasoning process.
Considering the question “What concepts are covered in the Computer Networks course taught by Prof. Hong Wang?”, the correct reasoning path is “Prof. Hong Wang” (teacher) → teacher_course → “Computer Networks” (course) → course_concept → TCP (concept). Figure 7 contrasts how the model performs with and without guidance from Teacher Network 1, Teacher Network 2, and both networks together.
As can be seen in Figure 7a, the initial model chooses the incorrect path, which leads to an irrelevant entity (Linked List). After improvement by Teacher Network 1 or 2, it assigns a probability of 0.51(0.87) to the entity “Computer Networks”, and the model is able to find the correct answer entity “TCP” with a probability of 0.61(0.87) (Figure 7b,c). In comparison, the two teacher networks together (Figure 7d) combine to enhance the intermediate entity distributions. As can be seen, when incorporating supervision signals from two teacher networks, the model assigns a very high probability of 0.98 to the entity “Computer Networks” in the first step. Therefore, it accurately locates the answer entity “TCP” with a high probability of 0.98 (Figure 7d).
This example demonstrates that incorporating the supervision signals from multiple teachers does in fact offer extremely helpful supervision signals in intermediate steps to improve the reasoning process.

6. Conclusions and Future Work

Recently, the exponential proliferation of online information has made it difficult for users to obtain information quickly and precisely. The emergence of intelligent question-answering makes up for this shortcoming and provides convenience for sustainable urban living. Intelligent question-answering systems based on educational knowledge graphs can offer students a satisfying interactive experience and precise and knowledgeable tutoring services, improving sustainable learning efficiency.
In this paper, based on the intelligent question-answering scene in the education field in sustainable urban living, we propose a novel intelligent question-answering model over educational knowledge graph. Our approach uses a highly expressive bilinear graph neural network (BGNN) to capture graph structure information and perform forward reasoning. This approach can achieve more comprehensive entity representation and improve multi-hop reasoning ability using linear and bilinear aggregation in combination. In addition, to mitigate the spurious path reasoning phenomenon, we propose two-teacher knowledge distillation. We build two different teacher networks by combining forward and backward reasoning, then incorporate the supervision signals generated by both to guide our model. As a result, the teachers can compensate for a single teacher’s limitations, which helps the model to acquire more comprehensive knowledge. Extensive experiments on the MOOC Q&A dataset demonstrate the effectiveness of our approach.
With respect to limitations and future work, although our model achieves good performance, it has flaws that need to be improved and perfected. It cannot handle questions requiring temporal and numerical comparisons. For instance, when asked “What is the newest literature on simulated annealing algorithm?”, the model can locate literature related to the simulated annealing algorithm in the KG; however, it cannot determine the most recent literature. Therefore, future work should consider further improving the method for complex questions requiring temporal comparison capability by introducing a time-aware mechanism. In addition, the professionalism and size of the knowledge graph itself significantly impact the effectiveness of the graph neural network’s reasoning. The more comprehensive the entity relationship contained in the knowledge graph, the better the Q&A effect based on the graph neural network. In addition to paying attention to the construction of relevant knowledge graphs, future intelligent education question-answering should try to apply emerging methods in deep learning, such as multi-task learning strategies and comparative learning. We believe that with the improvement of knowledge graph question-answering technology, the quality of question-answering texts in urban living can be effectively controlled, providing students with an intelligent instant tutoring service and promoting sustainability in urban living.

Author Contributions

Conceptualization, Y.F. and J.D.; methodology, Y.F.; software, J.D.; validation, Y.F., J.D. and H.W.; formal analysis, Y.F.; investigation, J.D.; resources, H.W. and F.Z.; data curation, H.W. and F.Z.; writing—original draft preparation, Y.F.; writing—review and editing, J.D.; visualization, Y.F. and F.Z.; supervision, H.W. and F.Z.; project administration, H.W. and F.Z.; funding acquisition, J.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number 81660031.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to thank for Y.Z. for critically reviewing the manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Liu, Q.; Chen, E.H.; Zhu, T.Y.; Huang, Z.Y.; Wu, R.Z.; Su, Y.; Hu, G.P. Research on educational data mining for online intelligent learning. Pattern Recognit. Artif. Intell. 2018, 31, 77–90. [Google Scholar]
  2. Zheng, Q.H.; Dong, B.; Qian, B.; Tian, F.; Wei, B.; Zhang, W.; Liu, J. The state of the art and future tendency of smart education. J. Comput. Res. Dev. 2019, 56, 213–228. [Google Scholar]
  3. Yu, J.F.; Luo, G.; Xiao, T.; Zhong, Q.Y.; Wang, Y.Q.; Feng, W.Z.; Luo, J.Y.; Wang, C.Y.; Hou, L.; Li, J.Z.; et al. MOOCCube: A large-scale data repository for NLP applications in MOOCs. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Stroudsburg, PA, USA, 5–10 July 2020; pp. 3135–3142. [Google Scholar]
  4. Xu, Y.J.; Guo, J. Recommendation of personalized learning resources on K12 learning platform. Comput. Syst. Appl. 2020, 29, 217–221. [Google Scholar]
  5. Agarwal, A.; Sachdeva, N.; Yadav, R.K.; Udandarao, V.; Mittal, V.; Gupta, A.; Mathur, A. EDUQA: Educational domain question answering system using conceptual network mapping. In Proceedings of the 2019 IEEE International Conference on Acoustics, Speech and Signal Processing, Brighton, UK, 12–17 May 2019; pp. 8137–8141. [Google Scholar]
  6. Yih, W.T.; Richardson, M.; Meek, C.; Chang, M.W.; Suh, J. The value of semantic parse labeling for knowledge graph question answering. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, Berlin, Germany, 7–12 August 2016; pp. 201–206. [Google Scholar]
  7. Bollacker, K.; Evans, C.; Paritosh, P.; Sturge, T.; Taylor, J. Freebase: A collaboratively created graph database for structuring human knowledge. In Proceedings of the 2008 ACM SIGMOD International Conference on Management of Data, Vancouver, BC, USA, 10–12 June 2008; pp. 1247–1250. [Google Scholar]
  8. Kipf, T.N.; Welling, M. Semi-supervision classification with graph convolutional networks. arXiv 2016, arXiv:1609.02907. [Google Scholar]
  9. Sun, H.; Dhingra, B.; Zaheer, M.; Mazaitis, K.; Salakhutdinov, R.; Cohen, W.W. Open domain question answering using early fusion of knowledge bases and text. arXiv 2018, arXiv:1809.00782. [Google Scholar]
  10. Sun, H.; Bedrax-Weiss, T.; Cohen, W.W. Pullnet: Open domain question answering with iterative retrieval on knowledge bases and text. arXiv 2019, arXiv:1904.09537. [Google Scholar]
  11. He, G.; Lan, Y.; Jiang, J.; Zhao, W.X.; Wen, J.R. Improving multi-hop knowledge base question answering by learning intermediate supervision signals. In Proceedings of the 14th ACM International Conference on Web Search and Data Mining, Jerusalem, Israel, 8–12 March 2021; pp. 553–561. [Google Scholar]
  12. Hinton, G.; Vinyals, O.; Dean, J. Distilling the knowledge in a neural network. arXiv 2015, arXiv:1503.02531. [Google Scholar]
  13. Zhu, H.; Feng, F.; He, X.; Wang, X.; Li, Y.; Zheng, K.; Zhang, Y. Bilinear graph neural network with neighbor interactions. arXiv 2020, arXiv:2002.03575. [Google Scholar]
  14. Xu, C.; Tao, D.; Xu, C. Multi-view intact space learning. IEEE Trans. Pattern Anal. Mach. Intell. 2015, 37, 2531–2544. [Google Scholar] [CrossRef] [Green Version]
  15. Berant, J.; Chou, A.; Frostig, R.; Liang, P. Semantic parsing on freebase from question-answer pairs. In Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, Seattle, WA, USA, 18–21 October 2013; pp. 1533–1544. [Google Scholar]
  16. Cai, Q.; Yates, A. Large-scale semantic parsing via schema matching and lexicon extension. In Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics, Sofia, Bulgaria, 4–9 August 2013; Volume 1: Long Papers, pp. 423–433. [Google Scholar]
  17. Yih, W.; He, X.; Meek, C. Semantic parsing for single-relation question answering. In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics, Baltimore, MD, USA, 22–27 June 2014; Volume 2: Short Papers, pp. 643–648. [Google Scholar]
  18. Hu, S.; Zou, L.; Zhang, X. A state-transition framework to answer complex questions over knowledge base. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, 31 October–4 November 2018; pp. 2098–2108. [Google Scholar]
  19. Luo, K.; Lin, F.; Luo, X.; Zhu, K. Knowledge base question answering via encoding of complex query graphs. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, 31 October–4 November 2018; pp. 2185–2194. [Google Scholar]
  20. Bao, J.; Duan, N.; Yan, Z.; Zhou, M.; Zhao, T. Constraintbased question answering with knowledge graph. In Proceedings of the 26th International Conference on Computational Linguistics, Osaka, Japan, 11–16 December 2016; pp. 2503–2514. [Google Scholar]
  21. Yih, W.-t.; Chang, M.-W.; He, X.; Gao, J. Semantic Parsing via Staged Query Graph Generation: Question Answering with Knowledge Base. In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing, Beijing, China, 26–31 July 2015; Volume 1: Long Papers, pp. 1321–1331. [Google Scholar]
  22. Bordes, A.; Chopra, S.; Weston, J. Question Answering with Subgraph Embeddings. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar, 26–28 October 2014; pp. 615–620. [Google Scholar]
  23. Bordes, A.; Weston, J.; Usunier, N. Open question answering with weakly supervision embedding models. In Proceedings of the Joint European Conference on Machine Learning and Knowledge Discovery in Databases, Nancy, France, 15–19 September 2014; pp. 165–180. [Google Scholar]
  24. Bordes, A.; Usunier, N.; Garcia-Duran, A.; Weston, J.; Yakhnenko, O. Translating embeddings for modeling multi-relational data. Adv. Neural Inf. Process. Syst. 2013, 26. [Google Scholar]
  25. Huang, X.; Zhang, J.; Li, D.; Li, P. Knowledge graph embedding based question answering. In Proceedings of the Twelfth ACM International Conference on Web Search and Data Mining, Melbourne, Australia, 11–15 February 2019; pp. 105–113. [Google Scholar]
  26. Saxena, A.; Tripathi, A.; Talukdar, P. Improving multi-hop question answering over knowledge graphs using knowledge base embeddings. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Online, 5–10 July 2020; pp. 4498–4507. [Google Scholar]
  27. Trouillon, T.; Welbl, J.; Riedel, S.; Gaussier, E.; Bouchard, G. Complex embeddings for simple link prediction. In Proceedings of the International Conference on Machine Learning, New York City, NY, USA, 19–24 June 2016; pp. 2071–2080. [Google Scholar]
  28. Miller, A.; Fisch, A.; Dodge, J.; Karimi, A.H.; Bordes, A.; Weston, J. Key-value memory networks for directly reading documents. arXiv 2016, arXiv:1606.03126. [Google Scholar]
  29. Li, Y.; Tarlow, D.; Brockschmidt, M.; Zemel, R. Gated graph sequence neural networks. arXiv 2015, arXiv:1511.05493. [Google Scholar]
  30. Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Lio, P.; Bengio, Y. Graph attention networks. arXiv 2017, arXiv:1710.10903. [Google Scholar]
  31. Schlichtkrull, M.; Kipf, T.N.; Bloem, P.; Berg, R.v.d.; Titov, I.; Welling, M. Modeling relational data with graph convolutional networks. In Proceedings of the European Semantic Web Conference, Monterey, CA, USA, 8–12 October 2018; pp. 593–607. [Google Scholar]
  32. Cai, J.; Zhang, Z.; Wu, F.; Wang, J. Deep Cognitive Reasoning Network for Multi-hop Question Answering over Knowledge Graphs. In Proceedings of the The Joint Conference of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (ACL-IJCNLP 2021), Bangkok, Thailand, 1–6 August 2021; pp. 219–229. [Google Scholar]
  33. Shi, J.; Cao, S.; Hou, L.; Li, J.; Zhang, H. TransferNet: An effective and transparent framework for multi-hop question answering over relation graph. arXiv 2021, arXiv:2104.07302. [Google Scholar]
  34. Hsieh, Y.Z.; Lin, S.S.; Luo, Y.C.; Jeng, Y.L.; Tan, S.W.; Chen, C.R.; Chiang, P.Y. ARCS-assisted teaching robots based on anticipatory computing and emotional big data for improving sustainable learning efficiency and motivation. Sustainability 2020, 12, 5605. [Google Scholar] [CrossRef]
  35. Ren, X.; Yang, W.; Jiang, X.; Jin, G.; Yu, Y. A Deep Learning Framework for Multimodal Course Recommendation Based on LSTM+ Attention. Sustainability 2022, 14, 2907. [Google Scholar] [CrossRef]
  36. Lin, Q.K.; Zhu, Y.; Lu, H.; Shi, K.; Niu, Z. Improving university faculty evaluations via multi-view knowledge graph. Future Gen. Comput. Syst. 2021, 117, 181–192. [Google Scholar] [CrossRef]
  37. Lin, Q.; Zhang, L.; Liu, J.; Zhao, T. Question-aware Graph Convolutional Network for Educational Knowledge Base Question Answering. J. Front. Comput. Sci. Technol. 2021, 15, 1880–1887. [Google Scholar]
  38. Yang, Z.; Wang, Y.; Gan, J.; Li, H.; Lei, N. Design and research of intelligent question-answering (Q&A) system based on high school course knowledge graph. Mobile Netw. Appl. 2021, 26, 1884–1890. [Google Scholar]
  39. Zhao, W.; Liu, J. Application of Knowledge Map Based on BiLSTM-CRF Algorithm Model in Ideological and Political Education Question Answering System. Mobile Inf. Syst. 2022, 2022, 4139323. [Google Scholar] [CrossRef]
  40. Han, J.; Moraga, C. The influence of the sigmoid function parameters on the speed of backpropagation learning. In Proceedings of the International Workshop on Artificial Neural Networks, Perth, Australia, 27 November–1 December 1995; pp. 195–201. [Google Scholar]
  41. Pennington, J.; Socher, R.; Manning, C.D. Glove: Global vectors for word representation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar, 26–28 October 2014; pp. 1532–1543. [Google Scholar]
  42. Kullback, S.; Leibler, R.A. On information and sufficiency. Ann. Math. Stat. 1951, 22, 79–86. [Google Scholar] [CrossRef]
  43. Fuglede, B.; Topsøe, F. Jensen-Shannon divergence and Hilbert space embedding. In Proceedings of the International Symposium on Information Theory, Chicago, IL, USA, 27 June–2 July 2004. [Google Scholar]
  44. Sun, Z.Q.; Deng, Z.H.; Nie, J.Y.; Tang, J. RotatE: Knowledge graph embedding by relational rotation in complex space. In Proceedings of the 7th International Conference on Learning Representations, New Orleans, LA, USA, 6–9 May 2019. [Google Scholar]
  45. Yang, B.; Yih, W.; He, X.D.; Gao, J.F.; Deng, L. Embedding entities and relations for learning and inference in knowledge bases. In Proceedings of the 3rd International Conference on Learning Representations, San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
  46. Dettmers, T.; Minervini, P.; Stenetorp, P.; Riedel, S. Convolutional 2d knowledge graph embeddings. In Proceedings of the AAAI Conference on Artificial Intelligence, New Orleans, LA, USA, 2–7 February 2018. [Google Scholar]
Figure 1. An example of multi-hop question answering from the MOOC Q&A dataset and MOOCCube knowledge graph. For the sake of simplicity, we only display the part of the subgraph that is relevant to the question.
Figure 1. An example of multi-hop question answering from the MOOC Q&A dataset and MOOCCube knowledge graph. For the sake of simplicity, we only display the part of the subgraph that is relevant to the question.
Sustainability 15 01139 g001
Figure 2. An overview of the proposed approach. Blue, light blue, and deep blue denote the topic entity, intermediate entities, and answer entity, respectively; longer rectangles denote a higher probability of being the correct answer.
Figure 2. An overview of the proposed approach. Blue, light blue, and deep blue denote the topic entity, intermediate entities, and answer entity, respectively; longer rectangles denote a higher probability of being the correct answer.
Sustainability 15 01139 g002
Figure 3. The different structure of BA-A and BA-T bilinear aggregation: ⊙ represents the dot-product operation of two nodes; ⊕ indicates aggregation of the information of neighboring nodes to update the information of the target node v.
Figure 3. The different structure of BA-A and BA-T bilinear aggregation: ⊙ represents the dot-product operation of two nodes; ⊕ indicates aggregation of the information of neighboring nodes to update the information of the target node v.
Sustainability 15 01139 g003
Figure 4. Framework of two-teacher knowledge distillation.
Figure 4. Framework of two-teacher knowledge distillation.
Sustainability 15 01139 g004
Figure 5. The architecture of the different teacher networks. For forward reasoning and backward reasoning we employ the subscripts f and b, respectively. The dotted arrows indicate that the distribution of intermediate entities in the forward and backward reasoning processes should be consistent.
Figure 5. The architecture of the different teacher networks. For forward reasoning and backward reasoning we employ the subscripts f and b, respectively. The dotted arrows indicate that the distribution of intermediate entities in the forward and backward reasoning processes should be consistent.
Sustainability 15 01139 g005
Figure 6. Impact of α and β on Hits@1 and MRR.
Figure 6. Impact of α and β on Hits@1 and MRR.
Sustainability 15 01139 g006aSustainability 15 01139 g006b
Figure 7. Case study from the MOOC Q&A dataset. Blue, light blue, and deep blue denote the topic entity, intermediate entities, and answer entity, respectively; the actual reasoning paths for various approaches are indicated by red arrows. For the sake of simplicity, we display only those entities with probabilities greater than or equal to 0.01. Bold numbers represent the highest probability of the entity at step 2.
Figure 7. Case study from the MOOC Q&A dataset. Blue, light blue, and deep blue denote the topic entity, intermediate entities, and answer entity, respectively; the actual reasoning paths for various approaches are indicated by red arrows. For the sake of simplicity, we display only those entities with probabilities greater than or equal to 0.01. Bold numbers represent the highest probability of the entity at step 2.
Sustainability 15 01139 g007
Table 1. Examples of one-hop and multi-hop questions in the MOOC Q&A dataset.
Table 1. Examples of one-hop and multi-hop questions in the MOOC Q&A dataset.
One-hopContent
QuestionWhat are the papers related to instant messaging?
Topic Entityinstant messaging
Answer EntitySession Initiation Protocol Extension for Instant Messaging
Teenage Communication in the Instant Messaging Era
A model for Presence and Instant Messaging
Multi-hopContent
QuestionWhich video from the 5G and AI course illustrates the digital communication system?
Topic Entity5G and AI
Answer Entity5G and AI, Chapter 3, Section 4
Table 2. Statistics of entities and relations in the MOOCCube knowledge graph.
Table 2. Statistics of entities and relations in the MOOCCube knowledge graph.
CategoryTypesQuantity
Entityconcept700
course706
paper5940
school194
teacher1933
user4723
video1405
Relationconcept_field44
concept_paper5927
course_concept10,346
course_video1591
school_course703
school_teacher2046
teacher_course2349
user_course24,933
video_cncept4040
prerequisite_dependency216
Table 3. Parameter settings of BGNN-TT.
Table 3. Parameter settings of BGNN-TT.
ParametersDescriptionValues
GloVeThe embedding dimension of GloVe.300
BiLSTMThe embedding dimension of BiLSTM.50
Drop outThe drop out rate of our method.0.2
Learning rateThe learning rate of our method.0.0005
α The parameter in Equation (20)0.5
β The parameter in Equation (7)0.3
λ The parameter in Equation (21)0.3
λ b The parameter in Equation (14)0.1
λ c The parameter in Equation (14)0.01
Table 4. Performance comparison of different approaches on the MOOC Q&A dataset.
Table 4. Performance comparison of different approaches on the MOOC Q&A dataset.
ModelsScore FunctionOne-HopMulti-Hop
Hits@1Hits@3Hits@5MRRHits@1Hits@3Hits@5MRR
EmbedKGQA [26]ComplEx0.9470.9570.9680.6930.7930.8120.8260.531
RotatE0.8320.8540.8690.6240.6230.6390.6890.413
DistMult0.9130.9280.9370.6470.7640.7790.7930.469
ConvE0.9290.9370.9410.6510.7730.7820.7960.481
GraftNet [9]-0.9110.9260.9380.6630.7990.8020.8190.597
NSM [11]-0.9380.9490.9580.6880.8010.8170.8290.623
BGNN-TT-0.9560.9630.9730.7120.8510.8690.8720.611
Table 5. Experimental comparison results under different teacher guidance approaches.
Table 5. Experimental comparison results under different teacher guidance approaches.
ModelsOne-HopMulti-Hop
Hits@1Hits@3Hits@5MRRHits@1Hits@3Hits@5MRR
BGNN-TT (two-teacher)0.9560.9630.9730.7120.8510.8690.8720.611
BGNN-TT (only teacher 1)0.9490.9570.9630.7010.8420.8570.8760.614
BGNN-TT (only teacher 2)0.9380.9490.9580.6910.8260.8390.8470.609
BGNN-TT (without teacher)0.9120.9240.9380.6740.8140.8250.8410.593
Table 6. Experimental comparison results using only BA, only LA, and both.
Table 6. Experimental comparison results using only BA, only LA, and both.
ModelsOne-HopMulti-Hop
Hits@1Hits@3Hits@5MRRHits@1Hits@3Hits@5MRR
BGNN-TT (both BA-T and LA)0.9560.9630.9730.7120.8510.8690.8720.611
BGNN-TT (both BA-A and LA)0.9390.9470.9570.7030.8370.8410.8590.607
BGNN-TT (only LA)0.9170.9240.9390.6770.8170.8240.8290.591
BGNN-TT (only BA-T)0.6090.9240.9380.6740.5740.5970.6010.447
BGNN-TT (only BA-A)0.3140.3290.4810.0170.2410.2540.2690.008
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Fang, Y.; Deng, J.; Zhang, F.; Wang, H. An Intelligent Question-Answering Model over Educational Knowledge Graph for Sustainable Urban Living. Sustainability 2023, 15, 1139. https://doi.org/10.3390/su15021139

AMA Style

Fang Y, Deng J, Zhang F, Wang H. An Intelligent Question-Answering Model over Educational Knowledge Graph for Sustainable Urban Living. Sustainability. 2023; 15(2):1139. https://doi.org/10.3390/su15021139

Chicago/Turabian Style

Fang, Yutong, Jianzhi Deng, Fengming Zhang, and Hongyan Wang. 2023. "An Intelligent Question-Answering Model over Educational Knowledge Graph for Sustainable Urban Living" Sustainability 15, no. 2: 1139. https://doi.org/10.3390/su15021139

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop