Recommender System for E-Learning Based on Semantic Relatedness of Concepts

.


Introduction
Digital publishing resources include e-books, digital newspapers, digital magazines, digital encyclopedias, digital yearbooks and so on.The information in digital publication resource is normally OPEN ACCESS authoritative and useful.A digital encyclopedia is a kind of digital publishing resource holding a set of the important concepts from either all branches of knowledge or a particular branch of knowledge.Each concept is an entry in the encyclopedia.A domain-specific encyclopedia usually contains the main concepts in the domain.For example, the encyclopedia of the historical domain contains the major concepts related to history which include historical figures, historical events, and so on.These concepts are also mentioned in other more general texts as paragraphs or sections in e-books, digital magazines, digital newspapers, and so on.Generally, concept is an effective unit for cognition and learning.As a result, it is useful to reorganize the domain knowledge from the digital publishing resources by concepts.When users learn a concept, the related ones can be recommended to them for effectively learning.Recommender system has attracted increased interest nowadays because searching for relevant learning resources is a pivotal activity in TEL (Technology Enhanced Learning) [1,2].Many recommender systems rely on users' preferences or history data [3][4][5].It will not work for the circumstance such as cold start, scarcity of history data or preferences data.Semantic information is a possible method to overcome the problem under such circumstance Semantic relatedness is computed by encyclopedias and then used for recommendation in the reference [6].However, the computation depends totally on the labels and the explanation extracted from the encyclopedias.The content quality of the encyclopedia will largely impact the effect of recommendation.
Distributed words representations to be used in the paper were firstly proposed in [7].It represents words as continuous vectors and the similar words are close in the vector space.Neural network can be used to learn the word vector and language model [8].Learning semantic representation with a skip-gram model [9,10] was recently introduced by Mikolov et al.The model can learn the word vectors with simple neural network architecture so that it can be trained on a large amount of text in a short time.Word vectors can then be used to improve or simplify some applications [11,12].
A recommender system based on skip-gram model is presented in this paper without considering history data or preferences data of users when they learn the knowledge organized in concepts for a specific domain.Firstly, concepts of a domain are extracted from the domain-specific encyclopedia.Information in digital publishing resources are then reorganized and associated with these concepts.Secondly, skip-gram model is used to generate concept vectors by which the semantic relatedness is computed among the concepts.Therefore, users can learn the domain-specific knowledge organized by concepts and the related concepts can be recommended to them when they learn one of them.A few experiments have been conducted to validate the effectiveness of the method.
In the next section, we will describe the task in detail.We introduce the skip-gram model in the Section 3. In the Section 4, a new method is proposed to reorganize the information in the digital publishing resources and to implement the recommender system based on semantic relatedness.The Section 5 describes the results of the experiment.The conclusions are presented in the Section 6.

Problem Domain
Let 0 M  be the knowledge contained in a typical encyclopedia, where ( , ) ii xy is the set of labels and explanations in plain text of all concepts and A is other information such as figures and pictures.Let  be the concepts mentioned in the set () i Hy , where j x represents a concept.Each concept i o contains a label i x , which would be the name of the concept, and an explanation i y , which would be a short piece of text which describes the concept.As a result, all labels will form a set { , 1, , } i X x i n  .
The information of the concept i o can be extended by extracting information from the digital publishing resources and associating the information with the concept.The information for the concept i o after extending can be represented as ( ) { , , , , } , where , , , , x y S B T is the label, explanation, sentence groups related to the concept, books related to the concepts, and other triples describing the concept.It can be seen that ( ( , ) x is the vector of the concept ' The concepts in ' i O are more semantically related with i o and the information they contain will help users to learn or understand i o more effectively.

Word Distributed Representations by Skip-Gram Model
Skip-gram model is proven to be an efficient model to learn word distributed representations [9,10].It can learn vector representations of words from large amounts of unstructured text data.The similar words are close in the vector space.The architecture of the skip-gram model is as the Figure 1.
where 0 j  , and k is the size of the training window whose center is the word t w .Larger k can lead to a higher accuracy due to more training examples considered.However, it will need more training time consequently.
Hierarchical softmax [13] is a computationally efficient approximation of the full softmax.The output layer will be represented by a binary tree with V words as leaf nodes, V is the number of words in the vocabulary.Each word w can be reached by a path from the root to the leaf node.Let () Lw be the length of the path, ( , )  n w j be the jth node on this path, () ch n be an arbitrary fixed child of the inner node n , () sx be 1 if x is true and −1 otherwise.Then ( | ) I p w w is defined by the formula: where is the representation of the word w and ' n v is the representation of the inner node n .
A subsampling approach is used to counter the imbalance between the rare and frequent words.The probability to discard a word i w in the training set is computed by the formula: where t is a specified threshold and () i gw is the frequency of the word i w .The method can accelerate learning and significantly improve the accuracy of the learned vectors of the rare words, which can be seen in [10].
The skip-gram model is trained using stochastic gradient descent algorithm by back propagation rule.The more information about the skip-gram model is described in the reference [9,10].

Recommender System Based on Semantic Relatedness
The knowledge in digital publishing resources is organized usually in chapters or sections.If the knowledge in a domain can be reorganized with concepts and the concepts can be recommended by their semantic relatedness, it will be greatly helpful and easy for reading and learning.Therefore, we implement the recommender system by reorganizing the domain knowledge in the format of concepts and computing the semantic relatedness among them.The domain-specific encyclopedia is an important resource for the process.The encyclopedias are selected from the digital publishing resources and concepts ij  in the domain are extracted from them.The information of each concept i o extracted from the encyclopedia consists of a label i x and an explanation i y .It is easy to get the label set which contains the name of the concepts in the domain by traversing every concept.
Sentence group set i S can be extracted from the digital publishing resource for the concept i o by the method we proposed in [14].Then the books i B from which the sentence group from the text of digital publication resources.Some related methods or techniques might be found in the references [15,16].As a result, the information of the concept i o can be extended to ( ) { , , , , } The procedure to compute the semantic relatedness of the concepts is shown in the Figure 2. The label set { , 1, , is firstly added to the dictionary of the word segmentation.The goal of this step is to ensure the label of the concept can be analyzed by word segmentation correctly.Text data is then extracted from the domain-specific digital publishing resources, such as encyclopedia, e-books, digital newspapers and so on.The text data is segmented by the word segmentation to form a document  which will be used to train the model.A vocabulary is built by counting the occurrence of each i xX  in  which will be represented by ( , ( ) The vocabulary is used to build a binary Huffman tree by the value of () i x  . The concept with larger value of () i x  will have shorter unique binary codes in the binary tree.Then a skip-gram model is trained by the data  .When it is finished, each concept is represented by a vector with the dimension d .For each pair of concept vectors x and y , we can compute the semantic relatedness by the formula: ( , ) ( , ) ( , ) 0 ( , ) where ( , )  g x y is the cosine similarity of the two concept vectors x and y .The parameter   0,1  is used to control the minimal value of semantic relatedness between the two concepts.The main process of the recommender system is summarized as following steps.Most computation in each step is automatic in the system with the computation results checked by people.
Step 1: Select domain-specific encyclopedia and extract concepts Step 2: For each concept i o , associate sentence groups, books, and triples describing the concept form ( ) { , , , , } x y S B T  which is described above.
Step 3: to the dictionary of the word segmentation.
Step 4: Extract text data from domain-specific digital publishing resources and segment the text data to generate a document  .The document contains the concepts and their context.
Step 5: Build a vocabulary by counting the occurrence of each i xX  in  .
Step 6: Create binary tree by the vocabulary and train the skip-gram model by the document  .After training finishes, get vector for each concept from the model.Step 7: For each pair of concepts, compute the semantic relatedness by the Equation ( 4).We get a nn  matrix  in which ij  is set to the semantic relatedness of the concepts i o and j o .
Step 8: For each concept i o , generate '

Experiments
The goal of the experiment is to investigate whether the method proposed is effective to recommend the related concepts which are organized by the data of digital publishing resources.In our experiment, concepts are extracted from three books of encyclopedias in the domain of history by setting the proper regular expression.The titles of the books are Encyclopedia of China, Chinese history I, II, III [17].These books contain the important concepts of Chinese history.In these books, 2310 concepts are extracted and selected with their labels and explanations.About 20,000 e-books related with history knowledge are used to extract sentence groups and triples which are then associated with the concepts.When a sentence group is associated to a concept, the e-book from which the sentence group is extracted is also connected with the concept so that users can review the original books for the more information easily.To compute the semantic relatedness among the concepts, we select 27 history related books from the e-books and use the text after word segmenting for training.Some books of them are General History of China, History of Ancient China, Chinese History and Culture, et al.The vocabulary is generated by the concept labels and the text.The vocabulary is used to create binary tree in the output layer.In the experiment, the dimension of the concept vector is set to 50.The context window size is set to 20 and the subsampling threshold is set to 1.0 × 10 −3 .When training is finished, vectors of all concepts are generated.
We create a relatedness matrix for each pair of concepts by computing the semantic similarity among the concept vectors.The size of the matrix is 2310 rows and 2310 columns.The value of each item in the matrix is computed by the Equation (4).Since ( , )  ( , ) f x y f y x  , we need not compute both but one of them.The value of ( , ) f x x is set to zero.It means that the diagonal of the matrix will be After the relatedness matrix is generated, we can get the semantic relatedness between any pair of concepts by the concept's row and column index in the matrix.For example, we can get the row index of the concept "秦始皇" (Qinshihuang) in the matrix and get all values in this row.Qinshihuang is a famous historical personage who was the first king in Qin Dynasty.The values represent the semantic relatedness between Qinshihuang and the other concepts.The concepts are then sorted by the value of semantic relatedness with Qinshihuang in descending order.When we set the parameter m to 30, the top 30 concepts can be recommended to users when they learn the concept Qinshihuang.Table 1 lists some of the concepts recommended.The column Concept represents the concepts which are recommended and the column Relatedness shows the semantic relatedness.In the table, "焚书坑儒" (burn books and bury alive Confucian scholars) and "陈胜吴广起义" (the uprising of Chensheng and Wuguang) are historical events happened in"秦朝" (Qin Dynasty)."半两" is the coin name which was used in Qin and early Han Dynasty."相邦" is a government official title in Qin Dynasty."吕氏春秋" is an ancient Chinese chronicle which is collected and arranged by "吕不韦" and hangers-on."吕不韦", "李斯" and "赵高" are the Prime Minister of Qin Dynasty."黔首" is a term used in ancient China which represents the common people." 蒙恬" is a military officer in Qin Dynasty." 郡县制" is a system of local administration which took shape during the Spring and Autumn Period and the Qin Dynasty."秦简" is bamboo book of Qin Dynasty."云梦秦律" is the law of Qin Dynasty."秦二世胡亥" is the secondary king in Qin Dynasty."灵渠" is a canal created in Qin Dynasty."秦郡" is the administrative planning system of the Qin Dynasty."封禅" is a grand ceremony of worship of heaven on mountain top to pray and say thanks for peace and prosperity in ancient China.It can be seen from the table that the concepts recommended have closely semantic relationship with Qinshihuang.Therefore, the user can review the detail information of the related concepts to help him understand well the concept of Qinshihuang.The relatedness is represented by the value in the interval [0, 1], which will be useful for us to adjust the view according to the relatedness to determine the number of concepts displayed.It is helpful for users to learn or understand the concepts more effectively in e-learning environments.
Since the semantic relatedness in the recommender system is computed by the text of digital publishing resources which is normally written in different languages holding a relatively complete and authoritative collection of concepts and texts in a specific domain, the proposed method can be used in the different language environments and can cover almost all important concepts in a domain.This is not the case for WordNet-based method [18], ESA [19] or WikiRelate! [20].WordNet based method can only be used for English.ESA and WikiRelate! need Wikipedia for computation.However, there may be not enough entries of Wikipedia in some languages nowadays.The method proposed in the reference [6] is based on the explicit relation and implicit relation computed by encyclopedia of digital publishing resources.However, the computation depends totally on the labels and explanation extracted from the encyclopedias.The content quality of the encyclopedia will largely impact the effect of recommendation.The method proposed in this paper will consider not only encyclopedias but also other digital publishing resources.It can compute the relationship from various digital publishing resources in a more comprehensive perspective and reduce the impaction of the encyclopedias.Furthermore, this method need not consider history data or users' preferences data for recommendation in a specific domain.When a new user uses the e-learning system, the most popular concepts can be displayed for the user.When the user click and learn one of them, the related concepts computed by the method can then be organized for recommendation.After the system collects enough data, the recommendation can then be refined with the personalized data.As a result, it can work in the circumstances such as cold start, scarcity of history data or preferences data.The method proposed in the reference [6] is also to implement a semantic recommender system by the semantic relatedness of concepts.It will be used as baseline in this experiment.
Kendall concordance coefficient (Kendall tau) is widely used to measure the association between two measured quantities.Let In the Equation ( 6), c and d are number of concordant pairs and number of discordant pairs respectively.It is used in this section to compare the data produced by the algorithms and the data prepared by human participants.One hundred entities are selected randomly from the encyclopedias [17].Four people were invited to assign values of semantic relatedness from the concept Qinshihuang to the entity and they did the job separately.Four groups of data produced by them are represented as P1, P2, P3, P4 and the data produced by the method in the reference [6] is represented as X.The data generated by the algorithm proposed in this paper is represented as Y.The parameter  is set to 0.1.Kendall tau is then computed with data between any two groups.The result is listed in the Table 2.The field Avg. is the average value of five pairs.For example, the average Kendall tau is calculated by five pairs between X and P1, X and P2, X and P3, X and P4, X and Y on the first line.From the Table 2 it can be seen that Kendall tau of the groups P1, P2, P3, P4 is normally less than 0.5.This is mainly for two reasons.One is that the knowledge each person holds is different from another's knowledge; it is hard for people to assign the semantic relatedness consistently.The other is that there are many pairs with the same value in the data, especially: there are many zero values which are assigned by people for some relation.This means a person can hardly assign a differentiable value for each relation.However, we need the differentiable value for each pair of relations so that it can be measured and used for recommendation effectively.As a result, it is necessary and important to use the method to assign the differentiable semantic relatedness objectively and consistently for a recommender system.
The first line shows that the average Kendall tau between X and the other five groups of data is 0.32.The last line shows that the average Kendall tau between Y and the other five groups of data is 0.35.This means that the method proposed in this paper may work better than the one of the reference [6] in this circumstance.The main reason is that the method proposed in the reference [6] depends mainly on the explicit relation between the concept's labels and explanation extracted from the encyclopedias.The implicit relation is computed by the path in the explicit relation graph.The relation is largely determined by the information in the path.However, the relation can be learned in this method from the text where the concept can be considered in more dimensions by the context.It can describe the relation in more comprehensive view.

Conclusions
A lot of useful and authoritative information is contained in digital publishing resources.The information is normally organized in sections and paragraphs.To reorganize the resources and recommend the related concepts is very helpful for e-learning.A recommender system is presented for e-learning in this paper based on the semantic relatedness of concepts computed by the text of digital publishing resources.Semantic relatedness is computed based on skip-gram model for the concepts extracted from the domain-specific encyclopedia.The related concepts and associated information will be recommended to users for their reading or learning.The recommender system does not need users' history data or preferences data.It takes into account not only encyclopedias but also other digital publishing resources for semantic relatedness computing to reduce the impaction of the quality of encyclopedias.The proposed method can be used in the different language environments and can cover almost all important concepts in a domain.The experiment shows its potential usability for e-learning in a specific domain.The next steps include combining the relatedness with the distance of the concepts in the ontology built for the domain of Chinese history, and refining the recommendation with the personalized data collected by the system.
) i Ko reorganize the information from digital publishing resources in detail for the concept i o .Users can learn the knowledge about the concept i o through the information supplied by () i Ko .To improve the efficiency of learning, other concepts should be recommended when users learn a certain concept.Let ( , ) ij f x x be the semantic relatedness between the concepts i o and j o , where i x and j x are the vectors of the concepts i o and j o respectively.For the concept i o , we should find
i sS  is obtained are easily associated with the concept i o .It is used to navigate the users to the original books when they learn the concept.The triples i T which describe the properties and values of the concept i o are extracted  is created for the concepts by computing the semantic relatedness among the concept vectors.The size of the matrix is nn  .The value of ij  is set to ( , ) ij f x x where i x and j x are the vectors of the concepts i o and j o respectively.The element in the diagonal of the matrix is set to zero.When the matrix is created, we can obtain the semantically related concepts easily.For the concept i o , we get the ith row of the matrix  and put the n values in a list and resort the list by descending order.Get the concepts which are corresponding to the top m values in the list.These concepts form a set concepts in ' i O are more semantically related with i o and the information they contain will help users to learn or understand i o more effectively.

1 {
expression.Each concept i o is consisted of a label ix and an explanation i y .

Step 9 :(
When users learn a concept i o , provide the users with the information

Figure 2 .
Figure 2. The process to compute the semantic relatedness of the concepts.

1 1 2 2 (
, ),( , ), ,( , ) nn x y x y x y be a set of observations of the joint random variables X and Y respectively.Any pair of observations ( , ) ii xy and ( , ) jj xy are said to be concordant if ( pair is neither concordant nor discordant.The Kendall tau is defined as:

Table 1 .
Concepts recommended for the concept Qinshihuang.

Table 2 .
Kendall tau between six groups of data.