Link-centric analysis of variation by demographics in mobile phone communication patterns
Authors:
Mikaela Irene D. Fudolig aff001; Kunal Bhattacharya aff002; Daniel Monsivais aff003; Hang-Hyun Jo aff001; Kimmo Kaski aff003
Authors place of work:
Asia Pacific Center for Theoretical Physics, Pohang, Republic of Korea
aff001; Department of Industrial Engineering and Management, Aalto University School of Science, Espoo, Finland
aff002; Department of Computer Science, Aalto University School of Science, Espoo, Finland
aff003; Department of Physics, Pohang University of Science and Technology, Pohang, Republic of Korea
aff004; The Alan Turing Institute, London, England, United Kingdom
aff005
Published in the journal:
PLoS ONE 15(1)
Category:
Research Article
doi:
https://doi.org/10.1371/journal.pone.0227037
Summary
We present a link-centric approach to study variation in the mobile phone communication patterns of individuals. Unlike most previous research on call detail records that focused on the variation of phone usage across individual users, we examine how the calling and texting patterns obtained from call detail records vary among pairs of users and how these patterns are affected by the nature of relationships between users. To demonstrate this link-centric perspective, we extract factors that contribute to the variation in the mobile phone communication patterns and predict demographics-related quantities for pairs of users. The time of day and the channel of communication (calls or texts) are found to explain most of the variance among pairs that frequently call each other. Furthermore, we find that this variation can be used to predict the relationship between the pairs of users, as inferred from their age and gender, as well as the age of the younger user in a pair. From the classifier performance across different age and gender groups as well as the inherent class overlap suggested by the estimate of the bounds of the Bayes error, we gain insights into the similarity and differences of communication patterns across different relationships.
Keywords:
analýza hlavních komponent – Communications – Social communication – Behavior – Age groups – machine learning – Cell phones – Forecasting – Principal component analysis
Introduction
The availability of population-level communication data has made it possible to study human interaction patterns on very large scales [1–4]. In particular, the utilization of mobile phone usage data along with anonymized demographic information of users has proven to be extremely effective in understanding the age and gender dependence [5–12], as well as the innate behavioral traits [13–15]. Additionally, the general network-based research approach has been furthered by the inclusion of machine learning to exploit the differences in social interaction found in different age and gender types and to predict demographic information of individuals. For example, de Montjoye et al. [16] predicted personality traits of users based on their call detail records using an SVM classifier. Similar frameworks using standard machine learning methods have been used to predict gender and age [17–20]. Different other techniques including factor graph models [21], homophily-based methods [22, 23] and neural networks [24, 25] have also been adopted. These studies have mainly relied on the egocentric perspective, working on the implicit assumption that an individual’s traits determine his or her calling and texting patterns. Thus, when using an egocentric approach in predicting individual user information, all calls and texts made by the target individual are aggregated over all its neighbors, so the links in the target individual’s egocentric network are not differentiated from each other.
While the communication patterns have been shown to vary with age and gender at the individual level as discussed above, the communication patterns between two individuals have also been found to vary with the relationship between them [26, 27]. However, while an egocentric perspective works well in studying variation at the individual level, it cannot, by design, provide much insight into variation among pairs. We hope to expand knowledge in this area by focusing on the links rather than the nodes in the mobile phone communication network, analyzing each link independently from others instead of aggregating them over the egocentric network. This link-centric perspective has not been explored much in relation to mobile phone data [28, 29], especially in prediction tasks. In particular, only Herrera et al. [24] have used isolated link information as well as the demographic information of one user in the link to predict the age and gender of the other user; thus, predictions are made without the need for full information on the ego’s calling and texting activities, which is required in egocentric approaches. While Herrera et al.’s aim was to predict individual user information, we are interested in the connection between the relationship between users and the patterns of communication between them. To understand this, we first have to look at how to represent communication patterns and how to characterize the relationship between users. For the former, we can represent the raw call detail records as a set of relevant features, which is a rather standard approach. The latter, however, is more challenging and requires more thought.
Relationships, unlike age and gender, cannot be categorically confirmed from call detail records, and determining the relationship between any pair of users from the mobile phone data relies on inference. In particular, unless otherwise specified, we mean such inference from the relationship and not the true relationship whenever we refer to “relationship” in this paper from this point onwards. David-Barrett et al. [30] used age and gender differences to infer the relationships between the pairs of users, such as mother-daughter, father-son, spouses, etc. On the other hand, Fudolig et al. [31] extended this approach to add call frequency ranking information to infer different relationships even among pairs with similar demographics. As we shall see later, although we only perform prediction tasks for information with ground truth (age and gender), we also analyze our results in the context of these inferred relationships based on the age, gender, and ranking information.
Indeed, taking a link-centric approach gives rise to a large number of research questions that involve relationships between the pairs of users, and the paradigm can also be extended to go beyond such dyads, tackling questions related to the relationships among members in groups [9]. To demonstrate its use, however, we narrow down our interest to mutual top-rank pairs, where each individual in the pair is the most frequently called alter of each other. As calling frequency has been shown to be related to social closeness [32], these pairs are likely to correspond to very close relationships such as romantic, platonic, or familial ones. Thus, in mutual top-rank pairs, each user in a pair is a very, if not the most, important alter in the other user’s social network, and our previous research [31] has shown significant differences in the behavior between mutual top-rank pairs and those which are not.
Our aim is to study the variation in mobile communication patterns among mutual top-rank pairs and how this variation relates to the relationships between users as inferred from their age and gender. We begin by exploring the aspects of the calling and texting patterns that contribute the most to the variance in the data. Then, to investigate the feasibility of using a link-centric approach to predict user information, we perform two prediction tasks by using standard machine learning techniques on call detail records: one inferring the relationship between users, and the other inferring the age of the younger user in a pair. For the former case, we specifically look at identifying opposite-gender peers among mutual top-rank pairs, a relationship which we find interesting because they form the majority of mutual top-rank pairs and are also most plausibly characterized as romantic pairs, as discussed in our previous study [31]. Although we have shown there how mutual top-rank opposite-gender peers differ from other types of peer relationships, we have yet to see whether these opposite-gender peers are actually distinguishable from non-peer relationships (e.g., parent-child relationships) among mutual top-rank pairs. From the performance of the classifiers, both in aggregate as well as for different types of age and gender combinations, we obtain deeper insights into how communication patterns vary across relationships.
Methodology
The dataset
We use anonymized call detail records (CDRs) from January to July 2007 from a single service provider in a European country. The call detail records include the time and duration of all the calls and text messages (also referred to as “SMS”; marked with zero duration) made to and from company service subscribers. However, although the calls made from non-subscribers to subscribers are recorded, their durations are not. Further, the age, gender and billing post code are included only for company service subscribers.
For every subscriber, we rank its alters, both subscribers and non-subscribers, based on the total number of calls between each pair. We also require that each ego-alter link must have at least one call for five out of the seven months in the data, ensuring regularity in order to filter out transactional calls. We then select only those pairs who are mutually top-ranked, i.e., each user in the pair is the rank-1 alter of the other by call frequency. This results in a total of 256,117 mutual top-rank pairs with available user age and gender information.
We group pairs based on the age difference between the users. We use census data to create three categories that likely correspond to different types of relationships: (a) less than 20 years, (b) 20–39 years, and (c) at least 40 years. Pairs with an age difference of less than 20 years are considered as “peers”, while the remaining two categories are similar to the age differences in “parent-child” and “grandparent-child” relationships as inferred from the census data [33]. Further, among peers, we differentiate between same-gender and opposite-gender pairs. Although the true relationship between the users cannot be obtained from the user metadata in the call detail records, the fact that these users are mutually top-rank suggests that they are in close relationships that are likely familial, platonic, or romantic in nature.
It is entirely possible that the relationships as given by the age and gender difference also change with the age of the users: for example, spouses raising young kids may have different mobile communication patterns compared to older spouses [29, 30]. We thus categorize the pairs by the age bracket of the younger user: <18, 18–28, 29–45, 46–55, 56–79 and ≥80. Some of these categorizations were also used in Fudolig et al. [31] and were chosen to correspond to the possible life stage of a particular user as inferred from census data [33]. The age range 18–28 corresponds to “young adulthood” (Y), where the users are probably unmarried; 29–45 is considered “middle adulthood” (M), where users are likely to be starting families; 46–55 is considered “late adulthood” (L), where users’ children have started to become teenagers and adults; while 56–79 is considered “old adulthood” (O). Although rarer than the other categories, some users are also below 18 and above 79, which we consider “teenage years” and “very old adulthood”.
Note that although we have employed the above categorizations to infer different types of relationships, we only perform prediction tasks for response variables that are explicitly available in the user metadata (i.e., age and gender). We however will later explore how the performance of our models differ for the different groups we have presented above.
Generating the features
Since our goal is to examine the variation in calling and texting patterns among pairs, we limit ourselves to information that can be obtained from the call detail records of two users in a pair. These includes the calls and texts that the users make to each other, as well as the local network structure in the mobile phone communication network.
We extract features from the dataset as summarized in Table 1. Most features were segmented into Mondays to Thursdays (weekdays) and Fridays to Sundays (weekends), as well as daytime (7am–4pm), evening (5pm–10pm), and late-night (11pm–6am) segments. These segmentations were based on the periods of high and low activity in the aggregate calling behavior of the population [34]. However, some features were calculated over the whole 7-month period, such as the inter-event time distribution as well as the number of common contacts. For the number of common contacts, we include two measurements, one for the total number of common contacts and the other for the number of common contacts among the top 5 ranked alters, which are considered the closest alters of the user [35, 36]. In total, 175 features were obtained for each pair. Log transformations were used for features with long-tailed distributions. All features were then standardized to mean 0 and standard deviation 1.
Data analysis
We use principal components analysis (PCA) to examine the variation of the calling and texting patterns across the pairs of users. The loadings are then used to interpret these components qualitatively.
To demonstrate whether such variation in the data can give us demographics-related quantities for one or both users in a pair, we perform two binary classification tasks: one to identify which among the mutual top-rank pairs are opposite-gender peers (age difference of less than 20 years), and another to find the age group of the younger user in each pair (<35 and ≥ 35). A test set of ntest = 20000 was obtained from the full dataset of mutual top-rank pairs, while the training sets of varying sizes were drawn from the remaining portion. This ensures that the test set does not intersect with any in the training set. Then balanced training sets are made by taking an equal number of samples corresponding to each value of the response variable. Thus, the training sets used depend on the classification task considered, although the rest of the procedure is identical for identifying the opposite-gender peers and predicting the age group of the younger user in a pair.
Feature selection is performed by logistic regression (LR) and Linear SVM (LSVM) with L1 penalty, with coefficients less than 10−5 omitted, similar to the methodology employed in Ref. [19]. Each prediction model is fitted via 5-fold cross-validation optimized for accuracy on three different sets of features: the original set, the one from feature selection by LR, and the one from feature selection by LSVM. The following prediction models were used: logistic regression (LR), linear SVM (LSVM), SVM with RBF kernel (SVM), random forest (RF), and k-nearest neighbors (KNN). The tuned hyper-parameters were the regularization parameters for LR, LSVM, and SVM; the number of trees for RF; and the number of nearest neighbors for KNN. Each model is fitted using five seeds, and the final prediction is taken to be the mode of the predicted values of the response variable for all the seeds. The performance of each combination of feature selection method and prediction model is then reported. The Python library scikit-learn (version 0.20.0) was used to implement all the models.
As we are using a limited set of machine learning models, one can ask if the classifier performance is due to the behavior of the classifier in relation to the data or to the overlap in the class distributions themselves. If there is significant overlap in the class distributions in the feature space, we do not expect any classifier to separate the two classes well. To address this question, we compare the performance of our classifier with the Bayes error, Ebayes, the minimum possible error rate due to the overlap of class distributions [37]. The maximum possible accuracy is thus given by 1 − Ebayes. A higher Bayes error, which corresponds to a lower accuracy, indicates more overlap in the class distributions in the feature space. Thus, if a particular classifier has an error close to the Bayes error, we can deduce that the results of the classifier are closely related to the inherent overlap in the class distributions.
The Bayes error can be computed exactly when the a priori class probability P(ci) of each class i and class likelihoods p(x|ci) are known, where x is a vector in the feature space. The Bayes classifier assigns the vector x to the class with the highest posterior probability p(ci|x), and the error associated with this classifier is the Bayes error, where the integral is over the region Ci where class i has the highest posterior [37].
Although the Bayes error is hard to determine exactly since the required probabilities are generally unknown, its upper and lower bounds can be estimated. To estimate the lower and upper bounds of the Bayes error, and therefore the upper and lower bounds of the accuracy of the Bayes classifier, we use the estimate obtained from the error rate of the 1-nearest neighbor (1-NN) classifier with a sufficiently large training set, ENN [37, 38]:
Note that although Eq 2 uses a the 1-NN classifier to estimate the bounds of the Bayes error, the Bayes error itself is independent of the classifier used for a particular classification problem.
Results
Variation in the communication patterns across different pairs
PCA was performed on a randomly selected subset (n = 20000) of the mutual top-rank pairs dataset. The first principal component (PC) explains 28% of the variance, while the second and third PCs explain 10% and 7% of the variance, respectively. The fourth and succeeding PCs all explain a portion of the variance 5% and below. The scree plot (Fig 1) shows an elbow at around ncomp = 5, with 54% of the variance explained.
The results of the PCA can be interpreted within the framework of factor analysis. The factor analysis assumes that the observed features are generated by some latent factors, which are in turn interpreted by looking at the corresponding factor loadings. Features with absolute factor loadings above some cutoff are considered to represent one factor. The PCA estimates these loadings with the eigenvectors scaled by the variance explained, and these loadings can then be rotated for ease of interpretation; details are given in Ref. [39].
With this perspective, we perform rotation on the loadings of the top ncomp = 5 PCs and use the cutoff of 0.4 for the absolute loadings; oblimin and varimax rotations give similar results. We find that different times of the day correspond to different factors, while a mix of weekday or weekend-related features are found in each factor. Call- and text-related quantities are also in separate factors. These indicate that most of the variation in the data can be accounted for mainly by the time at which the calls or texts are made and the type of communication channel used (call or text) (Table 2). The number of common neighbors as well as the reciprocity between users are not found to contribute significantly to the top 5 factors.
Identifying opposite-gender peers
We now look at the performance of the different classifiers used in predicting whether users in a pair are opposite-gender peers or not. Of all the classifiers, SVM is found to perform the best, yielding an accuracy of 67% for ntrain = 20000, with LSVM, LR, and RF giving only slightly lower accuracy at 66%. KNN is found to be the worst prediction model used, giving accuracies around 60% (Fig 2). Performing feature selection does not significantly affect the accuracy, and often resulted in slightly worse performance than using the full set of features. The accuracy is higher than those obtained from a random classifier and a majority classifier (classify all as opposite-gender peers) which would give 50% and 61% test accuracy, respectively. Using the SVM on the full set of features also gives a precision of 0.74, a true positive rate of 0.70 and true negative rate of 0.61.
Beyond ntrain = 10000, the accuracies begin to plateau, and the gains in accuracy by increasing the training set size (from ntrain = 20000 to 30000) are outweighed by the amount of computational resources required for these traditional machine learning models. Further, we also estimate the upper bound of the maximum possible accuracy using Eq 2 to be 68%. This indicates that there is considerable irreducible error due to class distribution overlap, and that our best classifier already has near-optimal performance given the hand-engineered features provided. It may be possible to employ end-to-end deep learning to make use of the raw calling and texting patterns directly to improve performance, which we consider as a promising direction for future study.
Table 3 gives the performance of the SVM (with ntrain = 20000) for each type of relationship defined by the age and gender difference, focusing on those types that comprise at least 1% of the test set (this covers 97.7% of the test set). It is found that the classifier correctly identifies a large majority of opposite-gender peers in the 18–28 (Y) (86% accuracy) and 29–45 (M) (75% accuracy) age groups, but fails even below the random baseline for those in the 46–55 (L) and 56–79 (O) age groups. Conversely, it correctly identifies many same-gender peers in the older age groups (L and O), but misclassifies many in the younger age groups (Y and M) as opposite-gender peers. We also note that while the prediction accuracy decreases for opposite-gender peers as one goes from younger to older age groups, it increases for the same-gender peers. Similar behavior is obtained for all the other classifiers, indicating that this result is reflective of the distribution of the samples in the feature space and not of the type of classifier used.
Thus we see that a classifier trained to differentiate between opposite-gender peers and other relationships varies in performance depending on the age range. Note that since the accuracy computed from the Bayes error estimate is close to the accuracy of the best performing classifier that we found, it is highly likely that this age dependence is not an artifact of the model used but is rather related to the overlap in the distributions of opposite-gender peers and other types of pairs in the feature space. The bulk of the opposite-gender peers in the training data belong to the age groups Y and M, so a good classifier is expected to classify these age groups reasonably well. Specifically, for the SVM, one can imagine the separating hyper-surface in the feature space to separate opposite-gender peers in the age groups Y and M from those in other relationships. If the opposite-gender peers in the age groups L and O have similar behavior to those in the age groups Y and M, we expect them to lie on the same side of the hyper-surface even if they are less represented in the training set than those in the age groups Y and M. However, as this is not observed, it suggests that, in general, the opposite-gender peers in age groups L and O may have different calling and texting patterns from their younger counterparts. On the other hand, more same-gender peers in the Y and M groups are misclassified than their L and O counterparts despite the Y and M groups having more representation in the train set.
We can further expound on our observations discussed above by looking at the obtained posterior probabilities. These give us an idea on how confident the classifier is about its predictions. Although the SVM itself does not produce the probabilities that a particular sample belongs to a class, these can be approximated by additionally training a sigmoid function that maps the SVM decision function to probabilities [40].
Fig 3a shows, for peer groups, the relative frequencies of the probabilities that users in a particular pair are opposite-gender peers. The peaks of the relative frequencies for the Y and M opposite-gender peers indicate that the model is confident that these are indeed opposite-gender peers, while most opposite-gender peers in the O age group are assigned by the classifier to the other class confidently but incorrectly. On the other hand, there is more uncertainty among opposite-gender peers in the L group as can be seen from the flatter curve near p = 0.5. These observations about the posterior probabilities reinforce the age dependence we found in the performance of the SVM among opposite-gender peers.
For same-gender peers, the SVM assigns the L and O groups confidently and correctly, but makes errors in the Y and M groups. Notably, we see an almost bimodal distribution for the M same-gender peers, with the two peaks almost at equal height and far enough from p = 0.5. Majority of the Y same-gender peers, on the other hand, are confidently and incorrectly classified as opposite-gender peers. Thus, among same-gender peers, we also find that the classifier performance depends on age.
To see if the classifier would perform better among peers if the age dependence were removed, we performed the training and testing only on a particular peer age group. For example, we used a balanced training set consisting solely of peers in the O age group and evaluated the classifier’s performance by looking also at a test set of peers in the O age group. We then compared it to the accuracy obtained using the classifier trained on the full set (i.e., not restricted to pairs of the same age group) for every age group as given in Table 3. We find that training on an age-restricted set gives a higher accuracy for the L and O peers but a lower accuracy for the Y and M peers (Table 4). By breaking down each age group into opposite-gender and same-gender peers and obtaining the accuracy per subgroup (which corresponds to the true positive rate and true negative rate, respectively), we find that this is because using the age-restricted balanced training sets also distributes the error across the two different classes more evenly. Note though that identifying the gender of users using the age as an input may not have much practical sense: if the age of a user is given, it is highly likely that the gender is also available. However, the above analysis reveals the extent to which the models could be influenced by the age groups Y and M that dominate the full training set.
As for the pairs inferred to have parent-child relationships, the classifier distinguishes them from opposite-gender peers reasonably well. Nevertheless, we also see that the classifier performance is better for pairs where the younger user is in older age groups. From the posterior probabilities in Fig 3b, we see that for parent-child pairs where the child is in the Y age group, the curve is flatter, with a smaller peak at p > 0.5. We have attempted to resolve this bimodality by separating the pairs into smaller subgroups, taking the gender of the users into account (i.e. mother-daughter, mother-son, father-daughter, father-son pairs). However, the behaviors for all subgroups were found to exhibit bimodality as well, indicating that the gender difference of the parent-child pairs is not enough to explain this discrepancy.
Identifying the age of younger user in a pair
In attempting to classify the opposite-gender peers versus others among mutual top-rank pairs, we have found that the classifier’s performance depends on the age of the users. We hypothesized that this may translate to an age dependence in the communication patterns as well. To investigate this further, we look at how well we can predict the age of the younger user based on the calling and texting patterns of a pair. Note that although we are predicting demographic information of an individual, the approach is still link-centric. Previous egocentric approaches use aggregate calling and texting patterns per individual as predictors, while we use the communication patterns between two users.
Regression is performed on the dataset to see if the exact age of the younger user can be predicted from the 175 features extracted from the calling and texting patterns. The ridge, lasso, and random forest regression are all performed with the regularization coefficients tuned via 5-fold cross-validation. Of these models, a maximum R2 value of 0.30 was obtained even with a train size of ntrain = 20000; no significant improvement over a train size of ntrain = 5000 was observed. This indicates that the models using the hand-engineered features from the call detail records between pairs are not enough to predict the exact numerical age.
We then try to predict the age group of the users based on whether they are “young” or “old”, setting our cutoff to be 35 years of age. The cutoff value was chosen so that most points near the decision boundary will be confined to only one age group and so as not to give a dataset highly skewed towards either the “young” or “old” groups. This yields a dataset of mutual top-rank pairs where 52% of pairs have younger users less than 35 years old.
All the classifiers are found to perform better than the baseline of 50% for a random classifier and 52% for a majority classifier (Fig 4). Even the KNN, which has the worst performance among all the models selected, performs much higher than the baseline. The LSVM turns out to be the best classifier with the accuracy of 73% at ntrain = 20000, with SVM, LR, and RF giving very close results. The feature selection has a minimal effect on the performance. The performance of LSVM, SVM, LR and RF also plateau early on; beyond ntrain = 10000, only a slight increase in the accuracy is obtained with larger training set sizes. The LSVM gives a precision of 0.75, a true positive rate of 0.71 and a true negative rate of 0.74. Overall, these results indicate that a linear classifier would work well for such a prediction task. The estimated upper bound for the maximum possible accuracy by Eq 2 is 76%, indicating that the best classifier is performing close to optimal.
Although our Bayes error estimate indicates that there is significant overlap between the two classes, the model has good accuracy for most types of relationships (Table 3). As expected, since the cutoff is in the age group M, all relationships in this category suffer from poorer performance compared to others but it is still well above the baseline. This indicates that much of the overlap in class distributions is near the age cutoff, since our results indicate that the pairs much younger and much older than 35 years of age are far enough in the feature space to be separated by a hyperplane. To further understand the performance in the age group M, we separate each category in this age group into two subgroups, those with the younger user less than 35 years old and at least 35 years old. For peers, we find that the accuracy is between 60–70%, above the baseline but still below those in the other age groups. On the other hand, we observe an accuracy below the baseline (41%) for parent-child pairs where the younger user is below 35; for those where the younger user is at least 35 years old, the accuracy is 82%. These can also be observed in the relative frequencies plot for the posterior probabilities shown in Fig 5.
These results support our earlier observation that peer groups are more separable by their age rather than their gender difference, indicating that there is more variation in communication patterns in the feature space among different age groups than among opposite-gender and same-gender peers. However, for parent-child pairs, the classifier performs well only for those where the child is in the older age groups (i.e. O, L, and M≥35) and poorly in the younger age groups. Since the classifier performance is markedly different for peers and parent-child pairs, these imply that what may distinguish older from younger peers is different from what characterizes older and younger parent-child pairs.
Discussion
To our knowledge, this study is the first of its kind to look at prediction tasks in large-scale mobile phone data with a specific focus on relationships between service users as inferred from their age and gender. Most research involving the prediction of demographic information from mobile phone data employ an egocentric perspective, with the implicit assumption that an ego’s characteristics determine his or her communication patterns. Here, we have explored this issue from a link-centric perspective, looking at how communication patterns change across various pairs of users. Although Herrera et al. [24] have previously explored isolated link calling and texting patterns to predict the user’s age and gender, the dependence of the classifier on the relationships between the pair of users was not studied. Further, their approach had a strong egocentric component, as it aimed to identify the age of a particular target user; notably, one method that was explored involved using the age and gender of the the target user as an input in the model. In contrast, we focus more on the relationship between the users and leverage the observation that communication patterns vary with relationship. This approach gives us a more complete picture of the variation in mobile phone communication patterns, complementing the studies done from an egocentric point of view.
We have found that the variation in the calling and texting patterns among mutual top-rank pairs can be mostly explained by the type of communication channel (calls or texts) used, as well as their timings, while the day of the week, reciprocity between individuals and local network information are found to be less relevant. In order to explore whether this variation can be used to separate some pairs from others, we performed two classification tasks: one to identify opposite-gender peers, and the other to predict the age of the younger user of the pair.
Predicting opposite-gender peers yielded a reasonable accuracy of 67%. This is close to the estimated upper bound of the Bayes classifier accuracy, indicating near-optimal performance, as well as a significant overlap of opposite-gender peers and other types of pairs in the feature space. Further, we note that although SVM with an RBF kernel yields the best performance, linear classifiers such as linear SVM and logistic regression offer less computational cost at only slightly lower accuracy.
By performing a post-hoc analysis across different types of relationships, we found that the classifier performance depends on the age of the users. Opposite-gender peers are correctly identified among younger peers but heavily and confidently misclassified among older peers, with the prediction accuracy decreasing as one goes from younger to older age groups. Conversely, the same-gender peers are mostly properly identified among older peers, but not among younger peers, with the prediction accuracy increasing as one goes from younger to older age groups. On the other hand, the parent-child pairs are classified mostly accurately, but the performance is poorer among younger age groups. Specifically, the pairs where the child is in the Y age range seem to be composed of two subgroups, with one behaving more like opposite-gender peers than the other. We attempted to resolve this apparent bimodality by decomposing the pairs further by their gender difference (e.g., mother-daughter, father-daughter, etc.) but found no difference in the classifier performance among these groups. These results are consistent with the overlap suggested by our estimates for the bounds of the Bayes error.
This age dependence of the classification accuracy is consistent with earlier studies that revealed age- and gender-dependent factors influencing human sociality observed in mobile phone data [12, 41–43]. As mentioned earlier, the vast majority (around 84%) of opposite-gender peers in the training set are in the younger age groups Y and M. Thus, since we intentionally do not use age and gender as an input to the model, the model is expected to associate the label “opposite-gender peers” with the calling and texting behavior found in opposite-gender peers in the age groups Y and M. These age groups also correspond to the age range where spouses or partners, which are the most likely categorization of these top-ranked opposite-gender peers, are reproductively active. In this period, they have the calling and texting behavior characterized by an overall stronger mutual focus [41, 44] reflected by high frequency and regularity of communication [31]. However, for older spouses or partners, a dilution in the communication intensity between them is expected as their social focus shifts to their children [41]. This shift from spouse to children is reflected in the lower accuracy among younger parent-child pairs, as the parent in these pairs are most likely in the L and O groups. The finding that the opposite-gender peers in the L and O groups are also highly misclassified, indicating a different behavior from their younger counterparts, is also consistent with this shift in social focus. On the other hand, we expect that the same-gender peers are not constrained by reproduction costs and family maintenance and will rather be influenced by a broad mixture of strategies that govern the dynamics in the egocentric networks of individuals [42].
The age dependence of the users’ communication patterns can also be seen from the success of predicting information about the age of the younger user in a pair. Although standard regression techniques performed poorly in predicting the specific age, similar to what was observed in egocentric prediction studies [19], we obtained good results in predicting whether the younger user is below or at least 35 years of age. We find that although our estimate of the bounds of the Bayes error still indicates significant overlap in the feature space, this overlap is mostly limited to points near the age cutoff (age group M), as the accuracy for this age group is lower than in others.
The Linear SVM, the best-performing classifier, has an accuracy of 73% even with a training set size of n = 10000. This is close to the upper bound estimate of the Bayes classifier accuracy, indicating near-optimal performance. This classifier yields very good accuracy for Y, L, and O peers at 77% accuracy and above, indicating good separability in the feature space. Thus, the communication patterns as described by the 175 features used are sufficiently different for these age groups to separate them into those with the younger user below or at least 35 years old. M peers, on the other hand, have lower but almost equal performance for those below 35 and at least 35 years of age, which is expected, since those near the boundary (for example, younger user of age 34 vs. younger user of age 36) may have similar behavior but will belong to different categories.
Although the same classifier performs extremely well for older parent-child pairs (younger user above 35 years of age), it has poorer performance for younger parent-child pairs, especially for those where the child is in the M group but below 35 years of age. As this behavior is different from those found among peers, this suggests that the age dependence among peer communication patterns as given in the feature space is not the same as that among the parent-child pairs.
The poor accuracy among the parent-child pairs where the child is in the M group but less than 35 years of age may be due to the variations inherent in this group. The age group of the younger user (29-34 year old) likely corresponds to the very early stages of forming a family, where the younger user may have young infants or toddlers, or no children at all. It is possible that the calling patterns between the younger users and their parents may change significantly after the younger users have children of their own. Aside from this, there may also be differences between parent-child pairs that co-reside and those that do not. Further investigation into the location data as well as egocentric communication patterns in this group may shed light on this issue [29, 30].
One should also note that all our results are based on the representation of communication patterns in the feature space given by the 175 hand-engineered features. It is possible that extracting other features from the call detail records will yield different results. This does not negate our findings, but offers other perspectives on the aspects of communication patterns that we may not have considered in our feature space.
Conclusion
In summary, we have shown by a link-centric analysis that mobile phone communication patterns between users do vary with the users’ age and gender difference. The age and gender difference can in turn be used to infer a plausible relationship between the users. Further, we have seen that this variation allows us to separate some pairs from others, and consequently, allowing us to see which types of pairs are more similar and which are more different from each other in the feature space.
It should be noted, however, that although we predict user information, this user information is obtained for each pair; e.g., we could predict the age of the younger user, but we could not determine which of the two users in a pair is younger. Thus, although a link-centric approach works well when focusing on relationships, an egocentric approach is more straightforward if user information is needed at the individual level. Recent egocentric studies on user demographic prediction show good results, with reported accuracies as high as around 75-85% for gender prediction and 60-65% for age group prediction depending on the dataset used [19, 20, 25].
However, since what we predicted in this study are link-based quantities (relationships in terms of age and gender difference), we cannot directly compare our results with those of egocentric approaches which predict individual information (individual age and gender). In practice, one could use individual information to predict the age and gender of individuals, and then use these to obtain the age and gender difference and infer the relationship between two users. However, as this approach aggregates the communication patterns of an individual over all its neighbors, comparing the communication patterns across different relationships, as we have done, will not be possible. Thus, the link-centric approach is not meant to replace egocentric approaches but to complement them in exploring the pairwise nature of communication patterns.
Aside from having an advantage in studying communication patterns across different relationships, link-centric analyses can be used to predict individual information in cases where egocentric analyses cannot. One drawback of egocentric approaches is that complete information on the ego’s call and text logs is needed to make a prediction. In contrast, we find that our link-centric approaches may require only knowledge of the records between the ego and only one of its alters, as network metrics (which require full information on the ego’s behaviors) do not appear to affect the variation in pairs as much as the other parameters do. Similar to Herrera et al.’s method [24], one could use a link-centric approach to predict information about the pair and then use information about the alter to infer information about the ego. This can be applied to, for example, non-subscribers, whose calls and texts are unknown except for those made with company subscribers. A link-centric analysis, perhaps a modified form of the one we did in this paper, can be performed to make inferences about the non-subscribers. Further, our analysis can also be expanded to examine relationships among groups of individuals as well.
Although calling and texting are increasingly getting replaced by app-based communication in smartphones and communication via social media, the problem of prediction of user demographics from device usage data can still be considered relevant. Aside from its academic value in studying human behavior, demographic information is also useful not just in the fields of advertising and marketing but also in social development and public health. Jahani et al., for example, discussed how call detail records can be used to identify women among prepaid users (with no registered demographic information) and send text messages regarding reproductive and child care, or how call detail records can serve as a cheaper proxy to census data for estimating the socioeconomic conditions of certain groups [19]. These are also true for app-based communication, where growing concerns over privacy which could restrict the access to user information. In this regard, the approaches such as ours which being link-centric, basing prediction on limited amounts of data and using features that are mostly time-stamps of events and their counts rather than their explicit content [45], could be effective approaches for modeling and prediction of user attributes and behavior.
Zdroje
1. Blondel VD, Decuyper A, Krings G. A survey of results on mobile phone datasets analysis. EPJ Data Science. 2015;4(1):10. doi: 10.1140/epjds/s13688-015-0046-0
2. Coviello L, Sohn Y, Kramer ADI, Marlow C, Franceschetti M, Christakis NA, et al. Detecting Emotional Contagion in Massive Social Networks. PLoS ONE. 2014;9(3):e90315. doi: 10.1371/journal.pone.0090315 24621792
3. Golder SA, Macy MW. Diurnal and Seasonal Mood Vary with Work, Sleep, and Daylength Across Diverse Cultures. Science. 2011;333(6051):1878–1881. doi: 10.1126/science.1202775 21960633
4. Bhattacharya K, Kaski K. Social physics: uncovering human behaviour from communication. Advances in Physics: X. 2019;4(1):1527723.
5. Migheli M. The sibling effect on the consumption of phone services. International Journal of Consumer Studies. 2016;40(3):319–326. doi: 10.1111/ijcs.12258
6. Smoreda Z, Licoppe C. Gender-Specific Use of the Domestic Telephone. Social Psychology Quarterly. 2000;63(3):238–252. doi: 10.2307/2695871
7. Friebel G, Seabright P. Do women have longer conversations? Telephone evidence of gendered communication strategies. Journal of Economic Psychology. 2011;32(3):348–356. doi: 10.1016/j.joep.2010.12.008
8. Aledavood T, López E, Roberts SGB, Reed-Tsochas F, Moro E, Dunbar RIM, et al. Daily Rhythms in Mobile Telephone Communication. PLOS ONE. 2015;10(9):e0138098. doi: 10.1371/journal.pone.0138098 26390215
9. Kovanen L, Kaski K, Kertész J, Saramäki J. Temporal motifs reveal homophily, gender-specific patterns, and group talk in call sequences. Proceedings of the National Academy of Sciences. 2013;110(45):18070–18075. doi: 10.1073/pnas.1307941110
10. Zainudeen A, Iqbal T, Samarajiva R. Who’s got the phone? Gender and the use of the telephone at the bottom of the pyramid. New Media & Society. 2010;12(4):549–566. doi: 10.1177/1461444809346721
11. Mehrotra A, Nguyen A, Blumenstock J, Mohan V. Differences in Phone Use Between Men and Women: Quantitative Evidence from Rwanda. In: Proceedings of the Fifth International Conference on Information and Communication Technologies and Development. ICTD’12. New York, NY, USA: ACM; 2012. p. 297–306. Available from: http://doi.acm.org/10.1145/2160673.2160710.
12. Kunal Bhattacharya, Asim Ghosh, Daniel Monsivais, Dunbar Robin IM, Kimmo Kaski. Sex differences in social focus across the life cycle in humans. Royal Society Open Science. 2016;3(4):160097. doi: 10.1098/rsos.160097
13. Butt S, Phillips JG. Personality and self reported mobile phone use. Computers in Human Behavior. 2008;24(2):346–360. doi: 10.1016/j.chb.2007.01.019
14. Demirhan E, Randler C, Horzum MB. Is problematic mobile phone use explained by chronotype and personality? Chronobiology International. 2016;33(7):821–831. doi: 10.3109/07420528.2016.1171232 27128819
15. Lee S, Tam CL, Chie QT. Mobile Phone Usage Preferences: The Contributing Factors of Personality, Social Anxiety and Loneliness. Social Indicators Research. 2014;118(3):1205–1228. doi: 10.1007/s11205-013-0460-2
16. de Montjoye YA, Quoidbach J, Robic F, Pentland AS. Predicting Personality Using Novel Mobile Phone-Based Metrics. In: Greenberg AM, Kennedy WG, Bos ND, editors. Social Computing, Behavioral-Cultural Modeling and Prediction. Lecture Notes in Computer Science. Springer Berlin Heidelberg; 2013. p. 48–55.
17. Frias-Martinez V, Frias-Martinez E, Oliver N. A Gender-Centric Analysis of Calling Behavior in a Developing Economy Using Call Detail Records. In: AAAI Spring Symposium Series; 2010. p. 6.
18. Sarraute C, Blanc P, Burroni J. A study of age and gender seen through mobile phone usage patterns in Mexico. In: 2014 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM 2014). China: IEEE; 2014. p. 836–843. Available from: http://ieeexplore.ieee.org/document/6921683/.
19. Jahani E, Sundsøy P, Bjelland J, Bengtsson L, Pentland AS, Montjoye YAd. Improving official statistics in emerging markets using machine learning and mobile phone data. EPJ Data Science. 2017;6(1):3. doi: 10.1140/epjds/s13688-017-0106-8
20. Al-Zuabi IM, Jafar A, Aljoumaa K. Predicting customer’s gender and age depending on mobile phone data. Journal of Big Data. 2019;6(1):18. doi: 10.1186/s40537-019-0180-9
21. Dong Y, Yang Y, Tang J, Yang Y, Chawla NV. Inferring User Demographics and Social Strategies in Mobile Social Networks. In: Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. KDD’14. New York, NY, USA: ACM; 2014. p. 15–24. Available from: http://doi.acm.org/10.1145/2623330.2623703.
22. Sarraute C, Brea J, Burroni J, Blanc P. Inference of demographic attributes based on mobile phone usage patterns and social network topology. Social Network Analysis and Mining. 2015;5(1):39. doi: 10.1007/s13278-015-0277-x
23. Yi Wang, Hui Zang, Faloutsos M. Inferring cellular user demographic information using homophily on call graphs. In: 2013 IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS). Turin: IEEE; 2013. p. 211–216. Available from: http://ieeexplore.ieee.org/document/6562897/.
24. Herrera-Yagüe C, Zufiria PJ. Prediction of Telephone User Attributes Based on Network Neighborhood Information. In: Perner P, editor. Machine Learning and Data Mining in Pattern Recognition. Lecture Notes in Computer Science. Springer Berlin Heidelberg; 2012. p. 645–659.
25. Felbo B, Sundsøy P, Pentland AS, Lehmann S, de Montjoye YA. Modeling the Temporal Nature of Human Behavior for Demographics Prediction. In: Altun Y, Das K, Mielikäinen T, Malerba D, Stefanowski J, Read J, et al., editors. Machine Learning and Knowledge Discovery in Databases. Lecture Notes in Computer Science. Springer International Publishing; 2017. p. 140–152.
26. Kim H, Kim GJ, Park HW, Rice RE. Configurations of Relationships in Different Media: FtF, Email, Instant Messenger, Mobile Phone, and SMS. Journal of Computer-Mediated Communication. 2007;12(4):1183–1207. doi: 10.1111/j.1083-6101.2007.00369.x
27. Wajcman J, Bittman M, Brown JE. Families without Borders: Mobile Phones, Connectedness and Work-Home Divisions. Sociology. 2008;42(4):635–652.
28. Bhattacharya K, Ghosh A, Monsivais D, Dunbar R, Kaski K. Absence makes the heart grow fonder: social compensation when failure to interact risks weakening a relationship. EPJ Data Science. 2017;6(1):1.
29. Ghosh A, Monsivais D, Bhattacharya K, Dunbar RIM, Kaski K. Quantifying gender preferences in human social interactions using a large cellphone dataset. EPJ Data Science. 2019;8(1):9. doi: 10.1140/epjds/s13688-019-0185-9
30. David-Barrett T, Kertesz J, Rotkirch A, Ghosh A, Bhattacharya K, Monsivais D, et al. Communication with Family and Friends across the Life Course. PLOS ONE. 2016;11(11):e0165687. doi: 10.1371/journal.pone.0165687 27893748
31. Fudolig MID, Monsivais D, Bhattacharya K, Jo HH, Kaski K. Different patterns of social closeness observed in mobile phone communication. Journal of Computational Social Science. 2019. doi: 10.1007/s42001-019-00054-8
32. Phithakkitnukoon S, Dantu R. Mobile Social Closeness and Communication Patterns. In: 2010 7th IEEE Consumer Communications and Networking Conference. Las Vegas, NV, USA: IEEE; 2010. p. 1–5. Available from: http://ieeexplore.ieee.org/document/5421787/.
33. Eurostat. Eurostat Data on Population (Demography, Migration and Projections);. Available from: https://ec.europa.eu/eurostat/web/population-demography-migration-projections/data.
34. Monsivais D, Ghosh A, Bhattacharya K, Dunbar RIM, Kaski K. Tracking urban human activity from mobile phone calling patterns. PLOS Computational Biology. 2017;13(11):e1005824. doi: 10.1371/journal.pcbi.1005824 29161270
35. Zhou WX, Sornette D, Hill RA, Dunbar RIM. Discrete hierarchical organization of social group sizes. Proceedings of the Royal Society B: Biological Sciences. 2005;272(1561):439–444. doi: 10.1098/rspb.2004.2970 15734699
36. Roberts SGB, Dunbar RIM, Pollet TV, Kuppens T. Exploring variation in active network size: Constraints and ego characteristics. Social Networks. 2009;31(2):138–146. doi: 10.1016/j.socnet.2008.12.002
37. Tumer K, Ghosh J. Estimating the Bayes error rate through classifier combining. In: Proceedings of 13th International Conference on Pattern Recognition. vol. 2; 1996. p. 695–699 vol.2.
38. Cover TM, Hart PE. Nearest neighbor pattern classification. IEEE Trans Inf Theory. 1967;13(1):21–27. doi: 10.1109/TIT.1967.1053964
39. Jolliffe IT. Principal Component Analysis. 2nd ed. Springer Series in Statistics. New York: Springer-Verlag; 2002. Available from: https://www.springer.com/gp/book/9780387954424.
40. Platt JC. Probabilistic Outputs for Support Vector Machines and Comparisons to Regularized Likelihood Methods. In: Advances in Large Margin Classifiers. MIT Press; 1999. p. 61–74.
41. Palchykov V, Kaski K, Kertész J, Barabási AL, Dunbar RIM. Sex differences in intimate relationships. Scientific Reports. 2012;2:370. doi: 10.1038/srep00370 22518274
42. Miritello G, Lara R, Cebrian M, Moro E. Limited communication capacity unveils strategies for human interaction. Scientific Reports. 2013;3(1):1950. doi: 10.1038/srep01950 23739519
43. Jo HH, Saramäki J, Dunbar RIM, Kaski K. Spatial patterns of close relationships across the lifespan. Scientific Reports. 2014;4(1):6988. doi: 10.1038/srep06988 25384677
44. Burton-Chellew MN, Dunbar RIM. Romance and reproduction are socially costly. Evolutionary Behavioral Sciences. 2015;9(4):229–241. doi: 10.1037/ebs0000046
45. Nguyen D, Doğruöz AS, Rosé CP, de Jong F. Computational Sociolinguistics: A Survey. Computational Linguistics. 2016;42(3):537–593. doi: 10.1162/COLI_a_00258
Článok vyšiel v časopise
PLOS One
2020 Číslo 1
- Metamizol jako analgetikum první volby: kdy, pro koho, jak a proč?
- Nejasný stín na plicích – kazuistika
- Masturbační chování žen v ČR − dotazníková studie
- Úspěšná resuscitativní thorakotomie v přednemocniční neodkladné péči
- Fixní kombinace paracetamol/kodein nabízí synergické analgetické účinky
Najčítanejšie v tomto čísle
- Psychometric validation of Czech version of the Sport Motivation Scale
- Comparison of Monocyte Distribution Width (MDW) and Procalcitonin for early recognition of sepsis
- Effects of supplemental creatine and guanidinoacetic acid on spatial memory and the brain of weaned Yucatan miniature pigs
- Accelerated sparsity based reconstruction of compressively sensed multichannel EEG signals