# A Stable-Matching-Based User Linking Method with User Preference Order

Authors: Xuzhong Wang; Yan Liu; Yu Nan
Journal: Mathematical Problems in Engineering
 (2017)

---

## Abstract

With the development of social networks, more and more users choose to use multiple accounts from different networks to meet their needs. Linking a particular user’s multiple accounts not only can improve user’s experience of the net-services such as recommender system, but also plays a significant role in network security. However, multiple accounts of the same user are often not directly linked to each other, and further, the privacy policy provided by the service provider makes it harder to find accounts for a particular user. In this paper, we propose a stable-matching-based method with user preference order for the problem of low accuracy of user linking in cross-media sparse data. Different from the traditional way which just calculates the similarity of accounts, we take full account of the mutual influence among multiple accounts by regarding different networks as bilateral (multilateral) market and user linking as a stable matching problem in such a market. Based on the combination of Game-Theoretic Machine Learning and Pairwise, a novel user linking method has been proposed. The experiment shows that our method has a 21.6% improvement in accuracy compared with the traditional linking method and a further increase of about 7.8% after adding the prior knowledge.


---

## Body

## 1. Introduction

Over the past decade, followed by the exponentially growing net-services, the number of anonymous users is also springing up. As of the third quarter of 2016, active users of Facebook reached 1.79 billion [1], which means more than half of 30 million Internet users use Facebook per month at least once. About 65% or about 1.18 billion users log at least once in daily. However, some traditional social network sites now are facing significant development. According to the Twitter 2016 Q3 results [2], average growth rate of monthly active users, only about 3%, reached 317 million, compared with the image-based social network Instagram, whose monthly active users have already exceeded 600 million [3]. This change shows that, with the development of times, user’s interest of the net-services has been divided. Therefore, net-services providers also aim at developing different social services for various user’s interests.Nowadays, each net-service often has its unique mode of information sharing to maintain its social relationships. These unique models attract different user groups; for example, a user selects Twitter to share some information publicly and chooses Facebook for own circles, and for sharing traveling scenery and foods, of course Instagram is the best choice. On these net-services platforms, users typically pass a uniquely identified nickname along with some other attribute tags, such as profile information, hobbies, friendships, and events. If these accounts can be effectively linked with a particular user, when we try to understand a user comprehensively, this not only can significantly improve his (or her) experience of a recommender system but also can provide a better anonymity protection policy [4]. In network security, when detecting malicious attackers with multiple accounts in different platforms, it is possible to integrate the information of cross-media together and makes a vast improvement of the detecting ability. Practice has proved user linking has important practical significance.However, due to the anonymity protection policy of net-services providers and users in different net-service platforms always choose to share different information, resulting in the fact that particular user’s multiple accounts often do not have adamant relevance. This large number of nondirectly linked account makes difficulties for comprehensively understanding the user. There are existing studies done by analyzing the user’s naming style convention [5, 6], profile [7, 8], writing style [9], behavior [10], social relations [11, 12], and so on and then by linking users multiple accounts by statistical and also machine learning methods. These methods are used to model the characteristics of a vast number of accounts and made some certain achievements in the experimental dataset. However, in reality, not enough account features could be gotten from sparse network data and the behavior behind these accounts is always changing. It is hard to use a stable mathematical model to describe it. Moreover, the real human behavior is neither random nor entirely rational [13]. Therefore, considering the mutual influence among multiple accounts from different net-services users, the user linking problem can be regarded as a cooperative game problem in the bilateral (multilateral) market—how to formulate a cooperation (linking) strategy in the markets (net-services) to enhance the interest (linking results) of the whole candidate accounts set.In recent years, researches on Game-Theoretic Machine Learning are progressing; some researchers have constructed a Game-Theoretic Machine Learning framework, through the Markov model to study and predict the user’s behavior [13–15]; some scientists use cooperative game approach to evaluate and select the features for machine learning [16]. These methods have proved the game theory plays an improving role on the traditional machine learning. Therefore, this paper proposes a stable-matching-based game theory method for user linking with user preference order and prior knowledge. The main contributions of this paper are as follows.Process a novel method based on stable matching game theory to carry on the analysis of user linking.Input the linked user accounts as prior knowledge to enhance the result of user linking.Through many experiments carried out in the LifeSpec [17] project dataset provided by Microsoft Research Asia, our method is about 21.6% higher in accuracy compared with the traditional user linking methods. Moreover, there was a further improvement of about 7.8% after inputting the prior knowledge.


## 2. Problem Formulation

In this section, the related concepts and formal descriptions of user linking are given. For the convenience of description, this paper focuses on two heterogeneous networks. Symbols used in this paper are shown in Table1.Table 1
Symbols used in this paper.
Symbols
Significance
u
User
a
User account
A
Account set
pair
Accounts pair
l
p
a
i
r
Identification of accounts pair
s
Source network
t
Target networkUser. A user can be represented as ui={ai1,ai2,ai3,…,ain}, where aik={f1,f2,…,fp} represents the user ui’s account on the network k and f represents feature of accounts. For convenience, we focus on two heterogeneous networks, so ui={ais,ait}, where ais represents the account from the source network s and ait represents the account from the target network t.Account Set. An account set represents extractable accounts from a particular network. So As={a1s,a2s,a3s,…,aps} represents source network account set and At={a1t,a2t,a3t,…,aqt} represents target network account set, where p,q are the number of users of both networks.Accounts Pair. Accounts pair pair=(ams,ant) represents a tuple consisting of any account ams of user um from the source network s and any account ant of user un from the target network t.Identification of Accounts Pair. lpair=(ams,ant)=0,um≠un;1,um=un, which means when the accounts pair consisted of accounts from the same user, the value of identification lpair=1; otherwise lpair=0.Problem Description. Given the source network s and target network t, extracting the candidate account sets As,At, and grouping any two accounts from these networks one by one to an accounts pair, then get n∗m pairs. Finally, use a linking algorithm to find all the pairs whose identification lpair=1, namely, linking accounts ais,ajt from two heterogeneous networks s,t.The challenges of this paper are as follows:(1)
Traditional user linking technology is often trying to maximize some objective function so that the whole candidate accounts set can get the best result. However, since the user’s different account behavior is often not rational and stable [13] and the sparse features of accounts could influence the linking result significantly, the traditional methods do not always have an ideal result on large-scale sparse data sets. Within the cooperative game theory, user linking is actually trying to find matched players in the bilateral market. In this paper, we combined the game theory and the user’s preference using stable matching theory [18] and Pairwise, finally linking users through the cooperation between accounts.(2)
The traditional method often linked the user’s account by calculating the “similarity” between different accounts using certain types characteristics. However, in the real world, multiple accounts of a user on various platforms tend to reflect different needs of the user, resulting in the fact that the “similarity” is minuscule that many accounts can not be linked. Taking into account the fact that the “user linking problem” and “linking similar user problem” are different, so we input some linked user as prior knowledge, thereby enhancing the result of user linking.The following section will detail how to solve these two problems.


## 3. Stable User Linking with User Preference Order

User linking essentially is a multiclassification problem, and different user accounts are categorized according to the user category. However, because the multiclassification problem is usually difficult to obtain an ideal solution, therefore, in this paper, we make use of the idea of Pairwise [19], combined accounts to pairs, and classified them according to whether linked. Then user linking problem will be converted into a binary classification problem and could calculate the probability of each account pair under a different category. Then, according to this probability, construct the user preference order set and finally convert the question into “how to select the best target account in one’s preference order set” and try to improve it by inputting the prior knowledge. Therefore, we present a three-phase approach to solve the user linking problem:(1)
Constructing user preference order set: calculating posterior probabilityP for each pair according to the SVM model trained by the training set and sorting P of each as to construct user preference order set.(2)
User linking based on stable matching: using stable matching algorithm based on the user preference order set betweenAs,At and finally getting all the stable links among accounts.(3)
User linking based on prior knowledge: inputting the prior knowledge to improve user linking in the stable matching algorithm and finally get the reinforced user linking algorithm.


### 3.1. Constructing User Preference Order Set

According to Pairwise, first user linking can be converted into a binary classification problem, and by calculating the classification probability the account preference order set could be constructed, which is defined as follows.User Preference Order Set. For an account as, the ordered sequence a1t>a2t>a3t>⋯>ant of the target account set At is called the preference order set of the account as. The ordered sequence reflects the order of which target account as is more likely to link.In recent years, many kinds of research have shown that the Support Vector Machine has a high ability in resolving the problem of binary classification [20, 21]. Since SVM is very sensitive to features, selecting the proper feature is vital. Traditional methods make many features by artificial information, such as naming habits, personal profiles, writing style, user behavior trajectory, and social relations. However, due to the incompleteness and heterogeneity of network data, the features of user data acquired not only can be very limited but also need to be completed. Therefore, by using account labels, we avoid the difficulty of filtering and completing of features.From the reality net-services, some of them provide labels to simply and clearly reflect the characteristics of user accounts. But others do not have. So, we can directly construct labels by account history text using topic model, such as LDA. The method of label extraction by the topic model has been matured in recent years and will not be repeated here.In this paper we took these accounts with their label tag as a bag-of-words model and then calculate the value of features betweenams’s feature vector Tms=tag1,tag2,…,tagp and ant’s feature vector Tnt=tag1′,tag2′,…,tagq′ as follows:(1)
Cosine similarity:cos=Tms·Tnt/Tms×Tnt.(2)
Number of common labels:n=#(Tms∩Tnt).According to the feature above, the training data can be trained by SVM and then accurately classify the test data. However, in large-scale data, there are many accounts because of the sparseness of labels and the different user’s accounts may have some similarity, resulting in the fact that many cases can not make an accurate classification. These noise accounts will have a great impact on the classifying effect when using the standard SVM. In fact, user linking is a nondeterministic classification problem: some samples can not belong to a category accurately, only through the probability to reflect its belonging to a certain category. To address this issue, according to the sigmoid-fitting method proposed by Platt [22], we calculate each pair’s posterior probability P under the conditions lpair=1:(1)Plpair=1∣f=11+eAf+B,where f is the Support Vector Machine with no threshold output fx=wtx+b and two parameters A,B can be set by maximum likelihood estimation of the training set. This posterior probability actually reflects the likelihood that one account will be linked to another target account. According to the posterior probability we construct user preference order set as follows.Based on Pairwise, the training set and the test set of pairs are constructed between account setsAs, At, and the feature vectors of any pairs are constructed by using the above two features, and then use Support Vector Machine to train a model on the training set. For a particular test set account as, calculate the posterior probability P of pair=(as,at), where at comes from target network t, under the conditions lpair=1. Finally, we get the user preference order set {a1t>a2t>a3t>⋯>ant} of as by sorting P of each pair.The following section describes how to link user accounts by user preference order set.


### 3.2. User Linking Based on Stable Matching

Through the convention in Section3.1, user linking actually turns into “how to select the best target account in one’s preference order set” so that the whole candidate account set can get the best performance. In this paper, we try to use stable matching theory to solve this problem. The stable matching theory [18] is proposed by Shapley using cooperative game theory to solve the linking problem in bilateral market entities. Because of this theory, Shapley won the 2012 Nobel Prize in Economics. This theory has been widely used in many practical scenarios, such as students selecting (students and schools matching [23]), housing allocation (matching between people and house [24]), and job searching (employee and employer matching [25]). The core of this theory lies in the realization of the stable state, which means there does NOT exist ANY pair of entities in the bilateral market at the end of linking, which have a more preferred target than the currently linking target. In fact, if the source network s and target network t are regarded as a bilateral market, user accounts ams,ant can be seen as entities from the bilateral market. Then the problem of “how to select the best target account in one’s preference order set” is converted to “how to find a cooperation (linking) strategy in the markets (networks) to make the interest (linking results) to the maximum.” Therefore, based on the idea of stable matching, we linked accounts based on the preference order set.Broken Account Pair. If an account ams is linking to am′t, ant is linking to an′s. Assume there is a pair=(as,ant) on which the account ams has ant>am′t in its preference order set and the account ant has ams>an′s in its preference order set; then the pair=(as,ant) is called a broken account pair because actually it breaks the current linked pairs.Stable Matching. If there does NOT exist ANY broken account pair at the end of linking, then we said the entire linking is a stable matching.Using [18] proposed GS delay algorithm can achieve a stable matching in the bilateral market. However, the standard GS algorithm requires that the number of entities in the bilateral market must be N, and the size of preference order set of each entity must also be the size N. That is to say, “the number of bilateral market entities is same” and “each preference order set is completed.” However, these two restrictions are difficult to meet, and because of the lack of attributes, some of the feature vectors can not be calculated and can not get the completed order set, so we make two adaptations.(1)
Fake account: an account which does NOT actually exist is called fake accountaf. In a linking process, a balanced number between two account sets of fake accounts will be added to the littler set, and when linking is completed all the pairs which contain fake account will be excluded.(2)
Uncompleted user preference order set: a user preference order set which does NOT include ALL the accounts in the target network is called an uncompleted user preference order set. In a linking process, ifat is not in as’s user preference order set we directly denied this link.According to this, we propose a stable-matching-based user linking method with user preference order (Stable User Linking with Preference order, SULP) as shown in Algorithm1.Algorithm 1:Stable User Linking with Preference order, SULP.
Input: account set As,At
Output: result set T
(1) Initializes the result setT=∅
(2) Calculate the posterior probabilityP of any pair=as,at
(3) Sort to get the preference order set for each account
(4)if  As⋅length≠At⋅length  then
(5)  AddAs⋅length-At⋅length fake accounts to the small parties, and set the preference order set keeps empty
(6)end if
(7)while  Exists any account as∈As is not linked &&as’s preference order set ≠∅  do
(8)  Find the most preferred target accountat from as’s preference order set and remove it
(9)if  at is not linked &&as is in the preference order of at  then
(10)   Setas,at linked, T=T∪as,at
(11)else if  at is linked  then
(12)   Get the linking objectam of at
(13)if  as is in the preference order set of at&&as>am  then
(14)    Cancel the linking state ofam, T=T-am,at
(15)    Setas,at linked, T=T∪{(as,at)}
(16)end if
(17)end if
(18)end while
(19) Remove all the accounts linked withaf
(20)return  TThrough Algorithm1, this paper combines the user preference order and stable matching of cooperative game theory to achieve the purpose of user linking. The next section will be on how to strengthen the result of this method.


### 3.3. User Linking Based on Prior Knowledge

Consistent with the traditional linking method, the method we proposed is still based on the similarity of account features. However, in fact, as the network platform tends to specify functionally, users on different platforms usually choose to explicitly express their interest by their multiple accounts, and these various interests among the accounts are likely to have little similarity. Therefore, user linking not only is “how to link accounts by similarity,” but also includes “how to identify and link the accounts which are dissimilar but belong to the same user.” The latter one is extremely challenging, and the researches show that there has been no effective solution. In this paper, we try to input some users’ linked accounts as prior knowledge, to strengthen the user linking method proposed in Section3.2.Considering that the preference order set of the entity in the bilateral market is a set based on the feature similarity, the above method can not adequately reflect the correlation information among different accounts. To add some correlative information by prior knowledge, we defined prior candidate account set as follows.Prior Candidate Account Set. For an account as, given its linked account at, then at is called a prior candidate account of as. In the matching process, as is assumed to match account at′, if at′ is NOT a prior candidate account of as; then regardless of the preference order set, let at link to as. If at′ IS a prior candidate account of as, then follow the order of preference set.Based on the definition above, we further propose a reinforced algorithm (EXtended Stable User Linking with Preference order, EXSULP) based on prior knowledge. Only the improved part is shown in Algorithm2.Algorithm 2:EXtended Stable User Linking with Preference order, EXSULP.
(1) the same as SULP Algorithm1 line 1–8
(2)if  at is not linked &&as is in the preference order of at  then
(3) Setas,at linked, T=T∪as,at
(4)else if  at is linked  then
(5)   Get the linking objectam of at
(6)if  as is a prior candidate account of at  then
(7)if  am is not a prior candidate account of at∥as<am  then
(8)    Cancel the linking state ofam, T=T-am,at
(9)    Setas,at linked, T=T∪as,at
(10)    Clear all the accounts behindas’s preference order list
(11)end if
(12)end if
(13)end if
(14) Remove all the accounts linked withaf
(15)return  TAccording to the algorithm, we input the already linked account as the prior knowledge, further strengthening the possible correlation between the accounts. Finally, all the eligiblepairs=(ams,ant) are taken as the final result of user linking between the network s and network t.


## 3.1. Constructing User Preference Order Set

According to Pairwise, first user linking can be converted into a binary classification problem, and by calculating the classification probability the account preference order set could be constructed, which is defined as follows.User Preference Order Set. For an account as, the ordered sequence a1t>a2t>a3t>⋯>ant of the target account set At is called the preference order set of the account as. The ordered sequence reflects the order of which target account as is more likely to link.In recent years, many kinds of research have shown that the Support Vector Machine has a high ability in resolving the problem of binary classification [20, 21]. Since SVM is very sensitive to features, selecting the proper feature is vital. Traditional methods make many features by artificial information, such as naming habits, personal profiles, writing style, user behavior trajectory, and social relations. However, due to the incompleteness and heterogeneity of network data, the features of user data acquired not only can be very limited but also need to be completed. Therefore, by using account labels, we avoid the difficulty of filtering and completing of features.From the reality net-services, some of them provide labels to simply and clearly reflect the characteristics of user accounts. But others do not have. So, we can directly construct labels by account history text using topic model, such as LDA. The method of label extraction by the topic model has been matured in recent years and will not be repeated here.In this paper we took these accounts with their label tag as a bag-of-words model and then calculate the value of features betweenams’s feature vector Tms=tag1,tag2,…,tagp and ant’s feature vector Tnt=tag1′,tag2′,…,tagq′ as follows:(1)
Cosine similarity:cos=Tms·Tnt/Tms×Tnt.(2)
Number of common labels:n=#(Tms∩Tnt).According to the feature above, the training data can be trained by SVM and then accurately classify the test data. However, in large-scale data, there are many accounts because of the sparseness of labels and the different user’s accounts may have some similarity, resulting in the fact that many cases can not make an accurate classification. These noise accounts will have a great impact on the classifying effect when using the standard SVM. In fact, user linking is a nondeterministic classification problem: some samples can not belong to a category accurately, only through the probability to reflect its belonging to a certain category. To address this issue, according to the sigmoid-fitting method proposed by Platt [22], we calculate each pair’s posterior probability P under the conditions lpair=1:(1)Plpair=1∣f=11+eAf+B,where f is the Support Vector Machine with no threshold output fx=wtx+b and two parameters A,B can be set by maximum likelihood estimation of the training set. This posterior probability actually reflects the likelihood that one account will be linked to another target account. According to the posterior probability we construct user preference order set as follows.Based on Pairwise, the training set and the test set of pairs are constructed between account setsAs, At, and the feature vectors of any pairs are constructed by using the above two features, and then use Support Vector Machine to train a model on the training set. For a particular test set account as, calculate the posterior probability P of pair=(as,at), where at comes from target network t, under the conditions lpair=1. Finally, we get the user preference order set {a1t>a2t>a3t>⋯>ant} of as by sorting P of each pair.The following section describes how to link user accounts by user preference order set.


## 3.2. User Linking Based on Stable Matching

Through the convention in Section3.1, user linking actually turns into “how to select the best target account in one’s preference order set” so that the whole candidate account set can get the best performance. In this paper, we try to use stable matching theory to solve this problem. The stable matching theory [18] is proposed by Shapley using cooperative game theory to solve the linking problem in bilateral market entities. Because of this theory, Shapley won the 2012 Nobel Prize in Economics. This theory has been widely used in many practical scenarios, such as students selecting (students and schools matching [23]), housing allocation (matching between people and house [24]), and job searching (employee and employer matching [25]). The core of this theory lies in the realization of the stable state, which means there does NOT exist ANY pair of entities in the bilateral market at the end of linking, which have a more preferred target than the currently linking target. In fact, if the source network s and target network t are regarded as a bilateral market, user accounts ams,ant can be seen as entities from the bilateral market. Then the problem of “how to select the best target account in one’s preference order set” is converted to “how to find a cooperation (linking) strategy in the markets (networks) to make the interest (linking results) to the maximum.” Therefore, based on the idea of stable matching, we linked accounts based on the preference order set.Broken Account Pair. If an account ams is linking to am′t, ant is linking to an′s. Assume there is a pair=(as,ant) on which the account ams has ant>am′t in its preference order set and the account ant has ams>an′s in its preference order set; then the pair=(as,ant) is called a broken account pair because actually it breaks the current linked pairs.Stable Matching. If there does NOT exist ANY broken account pair at the end of linking, then we said the entire linking is a stable matching.Using [18] proposed GS delay algorithm can achieve a stable matching in the bilateral market. However, the standard GS algorithm requires that the number of entities in the bilateral market must be N, and the size of preference order set of each entity must also be the size N. That is to say, “the number of bilateral market entities is same” and “each preference order set is completed.” However, these two restrictions are difficult to meet, and because of the lack of attributes, some of the feature vectors can not be calculated and can not get the completed order set, so we make two adaptations.(1)
Fake account: an account which does NOT actually exist is called fake accountaf. In a linking process, a balanced number between two account sets of fake accounts will be added to the littler set, and when linking is completed all the pairs which contain fake account will be excluded.(2)
Uncompleted user preference order set: a user preference order set which does NOT include ALL the accounts in the target network is called an uncompleted user preference order set. In a linking process, ifat is not in as’s user preference order set we directly denied this link.According to this, we propose a stable-matching-based user linking method with user preference order (Stable User Linking with Preference order, SULP) as shown in Algorithm1.Algorithm 1:Stable User Linking with Preference order, SULP.
Input: account set As,At
Output: result set T
(1) Initializes the result setT=∅
(2) Calculate the posterior probabilityP of any pair=as,at
(3) Sort to get the preference order set for each account
(4)if  As⋅length≠At⋅length  then
(5)  AddAs⋅length-At⋅length fake accounts to the small parties, and set the preference order set keeps empty
(6)end if
(7)while  Exists any account as∈As is not linked &&as’s preference order set ≠∅  do
(8)  Find the most preferred target accountat from as’s preference order set and remove it
(9)if  at is not linked &&as is in the preference order of at  then
(10)   Setas,at linked, T=T∪as,at
(11)else if  at is linked  then
(12)   Get the linking objectam of at
(13)if  as is in the preference order set of at&&as>am  then
(14)    Cancel the linking state ofam, T=T-am,at
(15)    Setas,at linked, T=T∪{(as,at)}
(16)end if
(17)end if
(18)end while
(19) Remove all the accounts linked withaf
(20)return  TThrough Algorithm1, this paper combines the user preference order and stable matching of cooperative game theory to achieve the purpose of user linking. The next section will be on how to strengthen the result of this method.


## 3.3. User Linking Based on Prior Knowledge

Consistent with the traditional linking method, the method we proposed is still based on the similarity of account features. However, in fact, as the network platform tends to specify functionally, users on different platforms usually choose to explicitly express their interest by their multiple accounts, and these various interests among the accounts are likely to have little similarity. Therefore, user linking not only is “how to link accounts by similarity,” but also includes “how to identify and link the accounts which are dissimilar but belong to the same user.” The latter one is extremely challenging, and the researches show that there has been no effective solution. In this paper, we try to input some users’ linked accounts as prior knowledge, to strengthen the user linking method proposed in Section3.2.Considering that the preference order set of the entity in the bilateral market is a set based on the feature similarity, the above method can not adequately reflect the correlation information among different accounts. To add some correlative information by prior knowledge, we defined prior candidate account set as follows.Prior Candidate Account Set. For an account as, given its linked account at, then at is called a prior candidate account of as. In the matching process, as is assumed to match account at′, if at′ is NOT a prior candidate account of as; then regardless of the preference order set, let at link to as. If at′ IS a prior candidate account of as, then follow the order of preference set.Based on the definition above, we further propose a reinforced algorithm (EXtended Stable User Linking with Preference order, EXSULP) based on prior knowledge. Only the improved part is shown in Algorithm2.Algorithm 2:EXtended Stable User Linking with Preference order, EXSULP.
(1) the same as SULP Algorithm1 line 1–8
(2)if  at is not linked &&as is in the preference order of at  then
(3) Setas,at linked, T=T∪as,at
(4)else if  at is linked  then
(5)   Get the linking objectam of at
(6)if  as is a prior candidate account of at  then
(7)if  am is not a prior candidate account of at∥as<am  then
(8)    Cancel the linking state ofam, T=T-am,at
(9)    Setas,at linked, T=T∪as,at
(10)    Clear all the accounts behindas’s preference order list
(11)end if
(12)end if
(13)end if
(14) Remove all the accounts linked withaf
(15)return  TAccording to the algorithm, we input the already linked account as the prior knowledge, further strengthening the possible correlation between the accounts. Finally, all the eligiblepairs=(ams,ant) are taken as the final result of user linking between the network s and network t.


## 4. Experiments

In this section, based on the dataset provided by Microsoft Research Asia LifeSpec [17], we used the standard SVM, SVM based on the cooperative game theory, and reinforced SVM based on prior knowledge, respectively, to analyze user linking. Experiment code has been made public on GitHub: https://github.com/Observerspy/UserStableMatching.


### 4.1. Dataset Description

LifeSpec is a computational framework developed by the Microsoft Research Asia for discovering and hierarchically categorizing urban lifestyles. The LifeSpec dataset is composed of tens of millions of user’s data about sign-in, movie comments, book comments, music comments, and behavior. In this paper, we attempt to link users from the books set as the source networks and to movies set as the target network t.As in Table2, we selected a total of 62,558 different users.(1)
Books Dataset: contains 34,942 different accounts on 523,064 books with 2,118,400 comments; each data contains title, author, publisher, date of issue, number of pages, price, packaging, labels, user ratings, and other information.(2)
Movies Dataset: contains 41,823 different accounts on 82,868 movies with 8,397,846 comments; each data contains name, director, screenwriter, starring, category, country, duration, release date, labels, user ratings, and other information.Table 2
My second table.
Dataset
Number of accounts
Number of comments
Number of works
Books
34942
2118400
523064
Movies
41823
8397846
82868The total number of pairs in this dataset is 1,461,379,266. Because, in such a large-scale dataset, the proportion of positive instances and negative instances is often more than 1 : 10000, we controlled the proportion to about 1 : 1 by random undersampling.


### 4.2. Performance of User Linking Methods

We took labels from the books and movies as the accounts features and the frequency of each label as the feature value. Because the dimension of inputting feature vector is small, we use ten times 10-fold cross-validation Gaussian kernel SVM with setting the cost value to 1 and remaining the default parameters. Support Vector Machines and posterior probability calculations are provided by LibSVM [26] tools. The compared methods are summarized as follows.(1)
SVM_Label: baseline method, using SVM to do a link∖nonlink classification only in label feature space.(2)
SULP: the stable-matching-based user linking method with user preference order which is proposed in Section3.2.(3)
EXSULP: the extended user linking method which is proposed in Section3.3.As the user linking problem only concerned with the correct links (positive instances), therefore, we select the precisionp, recall r, and F1 value F1 as the evaluation metrics, and the average result of 10 times 10-fold cross-validation is shown in Table 3.Table 3
Performance of different methods.
Methods
p
r
F
1
EXSULP
86.8%
84.2%
85.5%
SULP
80.5%
77.6%
79.0%
SVM_Label
66.2%
40.9%
50.6%It can be seen from the results that the two methods proposed in this paper have surpassed the baseline method on the metrics of precisionp, recall r, and F1, where the SULP has an improvement of about 21.6% in accuracy and a further increase of about 7.8% after adding the prior knowledge. Compared with other researches which used a large number of user’s personal information, texts, behaviors, and so on, we achieved the ideal precision when only using the labels as a feature. Moreover, different from other stable matching methods [27], we canceled the two restriction conditions of the following: “the number of bilateral market entities must be same” and “the preference order set is completed.” Therefore, in the complex sparse real dataset, the method proposed in this paper can be considered to have better practical significance.


### 4.3. Analysis of Prior Knowledge

From the experiment above, we can know that the prior knowledge can improve the performance of user linking. It is clear that the proportion of prior knowledge to the whole data will influence the final linking results. Therefore, we analyze EXSULP algorithm by taking a part of incorrect classification results (total 2158) obtained from SULP algorithm as a prior knowledge and changing the proportion of the prior knowledge to analyze the effect of prior knowledge.Expansion Rate
(2)
Expansion  rate
=
#
EXSULP right classification
-
#
SULP right classification
a priori knowledge’s proportion of total incorrect instances
,representing the extended ability of the EXSULP algorithm for linking results.The result is shown in Figure1.Figure 1
Effect of CGSVMEX on the proportion of prior knowledge.
(a)
Effect on thep, r, F1 values
(b)
Effect on the expansion rateFrom the results, it can be seen with the increasing proportion thatp, r, and F1 values increase steadily. It can be considered the proportion of prior knowledge is in proportion to the result of the algorithm, enhancing the precision of up to about 7.8%. The expansion rate reflects the fact that the results of this algorithm gradually stabilize as the scale of prior knowledge increases. The above experiment sufficiently proved the prior knowledge can enhance the correlation among accounts, illustrating the effectiveness of our method.


### 4.4. Case Study

We choose four linked results to display and analyze in Table4. The coexisting top 10 labels are given (translated to English, the works name is in italic), among which 1–3 are the correct links and 4 is a wrong link.Table 4
Four linked instances.
ID
Coexisting labels
1
Japan, Love, Animation, Magic, Youth,Suzumiya Haruhi, Higashino Keigo, Makoto Shinkai, Da Vinci Code, Harry Potter
2
American, Japan, Love, Classic, China,Perfume, Pride and Prejudice, Shunji Iwai, Mayday, Fairy Tale
3
Japan, Childhood, British, Magic,Dragon Ball, Saint Seiya, Slam Dunk, Doraemon, Harry Potter, Garfield
4
American, Love, British, Humanity, Hong Kong, Science Fiction, China, Youth, Growth, JapanAs can be seen from Table4, because of the semantics of the label, when the coexisting labels are specific enough, then the accounts can be correctly linked. In fact, it further illustrates that the problem of user linking can be solved according to each user’s specific and unique interest labels. However, as shown in item 4, when these labels represent more abstract and general terms, these accounts can not make the right link. When the label of the linked account which is inputted as the prior knowledge contains such abstract and general terms, it can effectively reduce the misclassification caused by the classifier based on calculating features.


## 4.1. Dataset Description

LifeSpec is a computational framework developed by the Microsoft Research Asia for discovering and hierarchically categorizing urban lifestyles. The LifeSpec dataset is composed of tens of millions of user’s data about sign-in, movie comments, book comments, music comments, and behavior. In this paper, we attempt to link users from the books set as the source networks and to movies set as the target network t.As in Table2, we selected a total of 62,558 different users.(1)
Books Dataset: contains 34,942 different accounts on 523,064 books with 2,118,400 comments; each data contains title, author, publisher, date of issue, number of pages, price, packaging, labels, user ratings, and other information.(2)
Movies Dataset: contains 41,823 different accounts on 82,868 movies with 8,397,846 comments; each data contains name, director, screenwriter, starring, category, country, duration, release date, labels, user ratings, and other information.Table 2
My second table.
Dataset
Number of accounts
Number of comments
Number of works
Books
34942
2118400
523064
Movies
41823
8397846
82868The total number of pairs in this dataset is 1,461,379,266. Because, in such a large-scale dataset, the proportion of positive instances and negative instances is often more than 1 : 10000, we controlled the proportion to about 1 : 1 by random undersampling.


## 4.2. Performance of User Linking Methods

We took labels from the books and movies as the accounts features and the frequency of each label as the feature value. Because the dimension of inputting feature vector is small, we use ten times 10-fold cross-validation Gaussian kernel SVM with setting the cost value to 1 and remaining the default parameters. Support Vector Machines and posterior probability calculations are provided by LibSVM [26] tools. The compared methods are summarized as follows.(1)
SVM_Label: baseline method, using SVM to do a link∖nonlink classification only in label feature space.(2)
SULP: the stable-matching-based user linking method with user preference order which is proposed in Section3.2.(3)
EXSULP: the extended user linking method which is proposed in Section3.3.As the user linking problem only concerned with the correct links (positive instances), therefore, we select the precisionp, recall r, and F1 value F1 as the evaluation metrics, and the average result of 10 times 10-fold cross-validation is shown in Table 3.Table 3
Performance of different methods.
Methods
p
r
F
1
EXSULP
86.8%
84.2%
85.5%
SULP
80.5%
77.6%
79.0%
SVM_Label
66.2%
40.9%
50.6%It can be seen from the results that the two methods proposed in this paper have surpassed the baseline method on the metrics of precisionp, recall r, and F1, where the SULP has an improvement of about 21.6% in accuracy and a further increase of about 7.8% after adding the prior knowledge. Compared with other researches which used a large number of user’s personal information, texts, behaviors, and so on, we achieved the ideal precision when only using the labels as a feature. Moreover, different from other stable matching methods [27], we canceled the two restriction conditions of the following: “the number of bilateral market entities must be same” and “the preference order set is completed.” Therefore, in the complex sparse real dataset, the method proposed in this paper can be considered to have better practical significance.


## 4.3. Analysis of Prior Knowledge

From the experiment above, we can know that the prior knowledge can improve the performance of user linking. It is clear that the proportion of prior knowledge to the whole data will influence the final linking results. Therefore, we analyze EXSULP algorithm by taking a part of incorrect classification results (total 2158) obtained from SULP algorithm as a prior knowledge and changing the proportion of the prior knowledge to analyze the effect of prior knowledge.Expansion Rate
(2)
Expansion  rate
=
#
EXSULP right classification
-
#
SULP right classification
a priori knowledge’s proportion of total incorrect instances
,representing the extended ability of the EXSULP algorithm for linking results.The result is shown in Figure1.Figure 1
Effect of CGSVMEX on the proportion of prior knowledge.
(a)
Effect on thep, r, F1 values
(b)
Effect on the expansion rateFrom the results, it can be seen with the increasing proportion thatp, r, and F1 values increase steadily. It can be considered the proportion of prior knowledge is in proportion to the result of the algorithm, enhancing the precision of up to about 7.8%. The expansion rate reflects the fact that the results of this algorithm gradually stabilize as the scale of prior knowledge increases. The above experiment sufficiently proved the prior knowledge can enhance the correlation among accounts, illustrating the effectiveness of our method.


## 4.4. Case Study

We choose four linked results to display and analyze in Table4. The coexisting top 10 labels are given (translated to English, the works name is in italic), among which 1–3 are the correct links and 4 is a wrong link.Table 4
Four linked instances.
ID
Coexisting labels
1
Japan, Love, Animation, Magic, Youth,Suzumiya Haruhi, Higashino Keigo, Makoto Shinkai, Da Vinci Code, Harry Potter
2
American, Japan, Love, Classic, China,Perfume, Pride and Prejudice, Shunji Iwai, Mayday, Fairy Tale
3
Japan, Childhood, British, Magic,Dragon Ball, Saint Seiya, Slam Dunk, Doraemon, Harry Potter, Garfield
4
American, Love, British, Humanity, Hong Kong, Science Fiction, China, Youth, Growth, JapanAs can be seen from Table4, because of the semantics of the label, when the coexisting labels are specific enough, then the accounts can be correctly linked. In fact, it further illustrates that the problem of user linking can be solved according to each user’s specific and unique interest labels. However, as shown in item 4, when these labels represent more abstract and general terms, these accounts can not make the right link. When the label of the linked account which is inputted as the prior knowledge contains such abstract and general terms, it can effectively reduce the misclassification caused by the classifier based on calculating features.


## 5. Conclusion

In this paper, we have studied the user linking problem and propose a stable-matching-based method with user preference order. Different from the restrictions of the traditional stable matching algorithm, we made some relaxation and enhance the result of user linking by inputting prior knowledge. Experiments show that, in the real dataset, our method has achieved an ideal effect when only using the characteristics of the website label, which adequately demonstrates the effectiveness of this approach. In the future research, we will further study how to extract accurate and efficient characteristics in the sparse data and how to enhance the correlation between different accounts.



---

*Source: 3247627-2017-03-28.xml*