Predicting complex user behavior from CDR based social networks
Casey Doyle, Zala Herga, Stephen Dipple, Boleslaw K. Szymanski, Gyorgy, Korniss, Dunja Mladenic

TL;DR
This paper demonstrates how to construct social networks from noisy CDR data and use them to predict user defaults on payments by analyzing various network-derived features.
Contribution
It introduces a methodology for building complex behavior prediction models using large, diverse feature sets from social networks derived from CDR data, with systematic feature selection.
Findings
Features based on close ties outperform geographical features.
Number of calls cutoff significantly affects network properties.
Large feature sets improve prediction accuracy.
Abstract
Call Detail Record (CDR) datasets provide enough information about personal interactions to support building and analyzing detailed empirical social networks. We take one such dataset and describe the various ways of using it to create a true social network in spite of the highly noisy data source. We use the resulting network to predict each individual's likelihood to default on payments for the network services, a complex behavior that involves a combination of social, economic, and legal considerations. We use a large number of features extracted from the network to build a model for predicting which users will default. By analyzing the relative contributions of features, we choose their best performing subsets ranging in size from small to medium. Features based on the number of close ties maintained by a user performed better than those derived from user's geographical location.…
| 2.01 | 2.37 | 1.47 | 1.47 | |
| 0.127 | 0.0959 | 0.332 | 0.333 | |
| log-normal | 0.9967 | 0.9991 | 0.9926 | 0.9924 |
| stretched exp | 0.9978 | 0.9994 | 0.9984 | 0.9980 |
| Fitting parameter | CDR graph | Random graph | ||
|---|---|---|---|---|
| Positive | Negative | Positive | Negative | |
| 1.52 | 1.49 | 1.96 | 1.07 | |
| 0.168 | 0.198 | 0.080 | 0.111 | |
| 0.994 | 0.991 | 0.687 | 0.961 | |
| Model | Recall | Fall-out | Precision |
|---|---|---|---|
| random | 0.060 | 0.0501 | 0.003 |
| glm-7 | 0.224 | 0.0495 | 0.012 |
| lasso-logistic | 0.484 | 0.0490 | 0.023 |
| pca-aggr | 0.676 | 0.0484 | 0.036 |
| lasso-svm | 0.749 | 0.0482 | 0.040 |
| pca-30 | 0.810 | 0.0480 | 0.043 |
| pca-500 | 0.889 | 0.0478 | 0.047 |
| oversampled-2 | 0.897 | 0.0478 | 0.047 |
| pval-05 | 0.900 | 0.0477 | 0.048 |
| pval-05 | pca-500 | oversampled-2 | ||
|---|---|---|---|---|
| pval-05 | overlap | 100 | 98.8 | 97.3 |
| AOS | 100 | 96.5 | 94.3 | |
| pca-500 | overlap | 100 | 97.9 | |
| AOS | 100 | 95.5 | ||
| oversampled-2 | overlap | 100 | ||
| AOS | 100 |
| Model | Recall | Precision | ||
|---|---|---|---|---|
| Full feature set | 0.9 | 0.048 | - | - |
| - consumption features | 0.88 | 0.047 | 0.02 | 0.001 |
| - correspondent features | 0.58 | 0.031 | 0.32 | 0.017 |
| - reciprocated features | 0.88 | 0.046 | 0.02 | 0.002 |
| - mobility features | 0.88 | 0.046 | 0.02 | 0.002 |
| - network features | 0.88 | 0.05 | 0.02 | -0.002 |
| - cell tower PD features | 0.89 | 0.050 | 0.01 | -0.002 |
| Only correspondent features | 0.86 | 0.049 | - | - |
| Feature | Mean relative contribution |
|---|---|
| unique message correspondents (12/24) | 0.043 |
| unique message correspondents (incoming, 12/24) | 0.041 |
| unique message correspondents (outgoing, 12/24) | 0.024 |
| unique correspondents (outgoing, 12/24) | 0.023 |
| sum | 0.131 |
| Feature | |
|---|---|
| unique message correspondents (12/24) | 0.048 |
| unique message correspondents (incoming, 12/24) | 0.045 |
| unique message correspondents (outgoing, 12/24) | 0.029 |
| unique correspondents (outgoing, 12/24) | 0.026 |
| sum | 0.148 |
| Fitting Parameter | Binary Weighted | Hyper-weighted | ||
|---|---|---|---|---|
| Positive | Negative | Positive | Negative | |
| A | 0.218 | 0.136 | 0.957 | 0.707 |
| B | 1.84 | 1.83 | 1.08 | 1,33 |
| C | 0.124 | 0.142 | 0.157 | 0.179 |
| .798 | 0.785 | 0.957 | .976 | |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Predicting complex user behavior from CDR based social networks
Casey Doyle
Zala Herga
Stephen Dipple
Boleslaw K. Szymanski
Gyorgy Korniss
Dunja Mladenić
Network Science and Technology Center, Rensselaer Polytechnic Institute, 110 8th Street,Troy, NY 12180, USA
Department of Physics, Applied Physics, and Astronomy, Rensselaer Polytechnic Institute, 110 8th Street,Troy, NY 12180, USA
Artificial Intelligence Laboratory, Jožef Stefan Institute, Jamova 39, Ljubljana, Slovenia
Jožef Stefan International Postgraduate School, Jamova 39, Ljubljana, Slovenia
Department of Computer Science, Rensselaer Polytechnic Institute, 110 8th Street,Troy, NY 12180, USA
Faculty of Computer Science and Management, Wrocław University of Science and Technology, Wrocław, Poland
Abstract
Call Detail Record (CDR) datasets provide enough information about personal interactions of cell phone service customers to enable building detailed social networks. We take one such dataset and create a realistic social network to predict which customer will default on payments for the phone services, a complex behavior combining social, economic, and legal considerations. After extracting a large feature set from this network, we find that each feature poorly correlates with the default status. Hence, we develop a sophisticated model to enable reliable predictions. Our main contribution is a methodology for building complex behavior models from very large sets of diverse features and using different methods to choose those features that perform best for the final model. This approach enables us to identify the most efficient features for our problem which, unexpectedly, are based on the number of unique users with whom the given user communicates around the Christmas and New Year’s Eve holidays. In general, features based on the number of close ties maintained by a user perform better than others. Our resulting models significantly outperform the methods currently published in the literature. The paper contributes also a systematic analysis of properties of the network derived from CDR.
keywords:
social networks; complex behavior prediction; probability of default; feature selection; Call Detail Record dataset
††journal: Information Sciences
1 Introduction
Call Detail Record (CDR) datasets, created from cell phone logs of large groups of people, have become common in studying human behavior thanks to the large amount of detailed data they provide [7]. These datasets typically include both basic information about the users (age, gender, location) and records of calls and text messages including the time, location, and direction of each communication.
Here, we analyze such a dataset and focus on the properties of the underlying social network that can be obtained from the data. First, we discuss various methods for building the network, aiming to mitigate the noise inherent within the cell phone records and address other issues identified in prior work such as the definitions of links, communities, reciprocity, and data types suitable for the study. These considerations are particularly relevant to our application due to the large amounts of noise and potential biases inherent to various network representation schemes [16, 19, 22, 18, 33]. In this paper, we combine techniques based on geographic and usage features along with higher level social network measures such as centrality and community structure to predict the probability of customers defaulting on their accounts.
The specific CDR dataset used here includes the detailed call history of clients of a cell phone company over a three month period. The dataset contains also information about the users’ basic demographic data (age, home district, gender, and default status at the end of the three month period) as well as usage information (frequency and duration of calls, messages, and movement records based on frequently used cell towers). We perform traditional network analysis on the data to create new complex features. We analyze weighted links based on the number of communications sent between individuals to reveal the paths between individuals, reciprocity imbalances among users, and community structure in the network.
The default status (an indicator of whether the client stopped paying the phone bill over the course of data collection) is the predicted variable for this study. It is typically accessible as a part of the user’s phone records, yet it still measures a complex user behavior combining many different behavioral factors.
To encompass the wide variety of possible correlations between individual attributes, behavioral indicators as well as network metrics and the probability of default, we create an extremely broad feature set, aggregating thousands of features of varying complexity from all the facets of information contained in the CDR dataset. Then, we perform feature contribution analysis and choose the features with the strongest predictive power to balance model performance and its complexity. As discussed in the next section, this general methodology for building complex behavior models is a novel approach and our contribution to the state of the art.
2 Related work on modeling complex human behavior
2.1 Mobile phone data
Call detail records (CDR) is a standard dataset collected by telecommunication operators. For each user, it contains information about telecommunication events in which this user was involved. In recent years, it has become a popular source of information for users’ behavioral analytics.
The closest to our goals is the work on modeling credit defaults [27] by building a model of the user’s financial risk which yields a score that can be interpreted as the probability of default. This model outperforms the Credit Bureau scores by using thousands of weak predictors derived from CDR and demographic data. This work uses only users and uses only basic level network features such as degree.
2.2 Credit risk management
Our paper focuses on credit risk, which refers to the clients who may stop paying back their loans, e.g., mortgage loan, credit card spending or, in our case, cell phone bill. Such events are called defaults. Banks and companies traditionally tackle this problem by calculating credit scores or probability of default for each of the potential clients. For individual customers data sets used to predict a customer’s probability of default include demographic data, loan and credit information [4], social media [10, 38] or mobile phone data [6].
Traditionally, the logistic model was often used to predict defaults and today is still useful for benchmarking thanks to its simplicity, interpretability and dependability [34, 4, 14]. However, more sophisticated and innovative approaches are also used, like neural networks [34, 38, 15], smart ubiquitous data mining [4], theory of three-way decisions [20], and theory of survival [14]. In our paper, we introduce a novel approach that starts with creating a large number of features (over 6,000 here) and then reducing them to a few well performing subsets.
3 Network creation and analysis
In this section, we define the node-level location and communication activity features that indicate how embedded the node is in the network which is likely to determine the social cost of leaving the network. Such social network analysis is common in working with CDR datasets [7], but the highly detailed information contained in the CDR comes with a large amount of noise. Quantifying what level of communication between individuals indicates a connection is challenging. This issue is made worse considering the potential bias introduced by specific patterns of communication, as generational and cultural divides are prominent in phone usage [19]. Therefore use of case-specific methods is common. Some attempts at a more general solution to this problem include reciprocity or activity requirements for links, but these solutions suffer from losing many fine details of the system [16]. More complete results can be obtained by using statistical methods to detect and remove links that are more likely to be random, but the methods come with increased computation cost [18].
In this study for detailed analysis, we use directed graphs in order to preserve the imbalances that tend to arise even among reciprocal relationships [13]. We also use communication frequency between individuals to define edges. We primarily use a weighted network for network analysis and feature generation as it better represents relationship strength and network location properties, but the unweighted network is very useful for understanding many of other interesting properties of the network unrelated to predicting user defaults. For more information on the construction, behavior, and dynamics of unweighted graphs of this network see Supplementary Material Sec. 1.
3.1 Weighted network based on event frequency
Let denote the number of communications sent from user to user is . We choose here the most dense representation of the network in which as long as , a directed link is formed from node to node with weight (some interesting properties of this type of network is discussed in [37, 33, 22]). Figure 1 shows various probability distributions associated with . These distributions possess a curvature somewhere between an exponential distribution and a power law distribution. It is then appropriate to fit them using a log-normal distribution and a stretched exponential which have the following form.
[TABLE]
[TABLE]
Table 1 shows the fitting parameters and R-squared values for Figure 1. Both fits yield high R-squared values.
We use centrality measures, reciprocity measures, and community detection to define features indicative of how embedded a user is in the network. For all distance-based applications, we use a link’s weight to define a normalized distance from the source node to the target node , defined as where is the average weight of all connections in the network. To provide a baseline for comparison, we rewire the network by swapping the edge destinations to create a pseudo-random weighted graphs that maintain the in and out-degree structure of the original network.
We first look at the measure of harmonic closeness centrality (closeness centrality adapted to non-connected graphs) [26, 23]. We define this centrality as , where is the total number of nodes and is the distance of the shortest path between nodes and . For the original network, these centrality scores are generally fairly high and evenly distributed, with an average harmonic centrality of and a standard deviation of . Both values are higher than those for the randomly rewired graph which yields and . Interestingly, the diameter and average shortest path length of the giant component in the original network and are also slightly higher than the corresponding values and for the randomly rewired network.
These differences reveal the basic shape of the original network, which is characterized by significant populations of both highly connected and highly isolated nodes. This property is shown clearly via the diameters of the two networks. The original network is significantly wider than its randomly rewired counterpart. Despite the existence of close communities and hubs within the original network, there are multiple extremely remote nodes in it with no close ties.
We also use this weighted network to measure reciprocity [33], which is used to measure how one sided interactions are. Our first measure is how many pairwise communications are matched with communications in the opposite direction. A surprisingly low number of communications, , have communications in both directions indicating that over a third of interactions are unreciprocated.
Next, we construct a reciprocity metric that measures the average contribution of a nodes’ links so that it is independent of the degree of the node. Unlike [33], we apply it to directional links as opposed to [33]. The corresponding definition is , where is the total (both in and out) degree of node , is the number of communications from node to node , and is the set of neighbors that have a link connected to node . According to this definition, links over which a node is sending more than receiving contribute positively to the node’s metric, while links with the reverse pattern contribute negatively. The absolute value of the contribution itself increases monotonically with the difference in the level of communication [33]. Finally, every link’s contributions are normalized, thus bound within the range [-1,1].
We show in Fig 2(a) that the distribution of reciprocity is fairly smooth with large spikes at the extreme values. These spikes arise because there are nodes with either no incoming communications () or no outgoing communications (). Since all data comes from a single cell phone provider, it is likely that many of these nodes simply have contacts that use different carriers not included in the set. Removing these outliers, we fit the remaining distribution using a stretched exponential as described in Equation 2. Table 2 shows the fitting parameters for Fig 2. As can be seen, there is an asymmetry in the width of the positive and negative side of the distribution. This can be caused by an increased amount of communication for nodes with reciprocity equal to . While each link’s contribution is symmetric, the overall contributions are averaged and thus the symmetry can be broken. If an unreciprocated link is the only link for a node, its reciprocity will be regardless of what is. This means if there are overall more communications from nodes with than nodes with , this difference would show itself in the overall distribution.
For the randomized network, Fig 2(b), the concavity of the distribution narrows compared to Fig 2(a) from the presence of more frequent values close to zero. Hence, the original network is more diverse than its randomized counterpart is.
For other possible representations of reciprocity within the network, see Supplementary Material Sec. 2, where we discuss two additional variants. These alternative metrics are not independent from the metric presented in this section.
3.2 Community detection and geographical districts
The CDR based network allows us to analyze the social communities present in the system. We use the GANXiS(SLPA) algorithm for its ability to detect even disjointed and overlapping communities and fully encapsulate the social structure of the network [36, 35]. Using this algorithm, we identify a set of over social communities, many more than the geographic communities derived from the districts reported. Despite the size differences (the largest district contains users while the largest social community has just with an average of only users), the groups are substantial enough to test the overlap of the lists for greater insight into how the social ties form. Intuitively, it seems reasonable to expect that the social communities are highly influenced by the geographic district of their members. Instead we see in Fig. 3 that on average only of each community comes from the same district, and in fact even the top five districts only account for of each community’s makeup. The diversity of the geographic locations within social groups is especially surprising given the generally small size of the social groups compared to the geographic districts. The communities are also included in our feature set for predicting user default’s as it is possible that individuals of a certain groups are more likely to default.
4 Feature generation
We combine the above described network features with the various raw usage and location features that are inherent to the dataset to create our full feature set. For ease of analysis, we divide them into six groups:
**High Level Network features - **explained in detail above. This subset consists of features. 2. 2.
**Consumption features - **includes information about the total number of communication events, the total and average duration of phone calls, and average time between consecutive communications. This subset consists of features. 3. 3.
**Correspondent features - **based on the distinct number of individuals that each user communicates with over various time periods. This subset consists of features. 4. 4.
**Reciprocated event features - **number of events where the observed user returns a call/message within a specified time period of receiving a communication. This subset consists of features. 5. 5.
**Mobility features - **includes the movement patterns of individuals based on the cell tower used for each communication with relation to commonly used towers. This subset consists of features. 6. 6.
**Location features - **includes the two most used cell phone towers for each user. This subset consists of features.
In some cases large or very inclusive features can be broken up by analyzing time windows (hours, days, day of the week, weeks, months, business hours, non-business hours, weekend, weekday), direction (ingoingoutgoing event), and communication type (callmessage), leading to a large overall set of more than 6000 features. Most of these features are standard, so we do not present them in detail here, but relegate the full descriptions of each feature set to Supplementary Material Sec. 3.
5 Predicting default status
5.1 Correlation analysis
We utilize point biserial correlation to define the basic correlation between each feature and user default status due to its suitability for handling both categorical and continuous variables as are present in our feature set. This process indicates that individual features tend to have very little correlation to default status (shown in Fig. 4), with a maximum absolute correlation of only and average correlation of . This poor individual correlation shows that no single feature reproduces the default status of the individuals reliably, proving the value of building an accurate predictive model through more complex analysis.
5.2 Modeling
5.2.1 Logistic regression
To create the predictive models, we start by defining the notation for logistic regression. Let denote the intercept and stand for a vector of regression coefficients of length . Both are determined by maximum likelihood estimation method which uses a training set with known outcomes in the vector for nodes in the training set. Matrix of size with rows corresponding to nodes and columns corresponding to features contains values of features for all nodes in training set. For any node in test set and its corresponding vector of feature values of size , the probability of “success” (in our case the default status of this node being 1) is defined as
[TABLE]
where denotes the value of the dependent variable for node .
5.2.2 Principal Component Analysis
To build a more complex model that utilizes the other features, we first normalize the features to mean values of [math] and variance . Once normalized, to deal with the extremely large number of features we perform Principal Component Analysis [24](PCA) to decompose the feature space and yield a set of “principal components”. The results are linearly uncorrelated and ranked in such a way that the first principal component explains the highest possible amount of variability in the data, while each following component explains the highest amount of variance under the condition that it is orthogonal to all preceding components. Once these components are obtained, we select subsets of the components that account for large amounts of variability in the data and use them as explanatory variables for a linear model. We do this for both large and small subsets of the components, as pruning the data in this way represents a careful balance between model simplicity and accuracy. In our dataset, this balance manifests in the rapidly diminishing returns seen from larger component inclusion. The first component explains of variability in the data while the second explains only . In fact, the first thirty components together explain only of the variability, while the first five hundred sum up to just . For this reason, we generate two distinct logistic models: a simple one based on the first PCA components (pca-30) and a more complex one, based on the first PCA components (pca-500). We use notation for the number of selected principal components. We then map our features into the new space to fit these groupings, such that
[TABLE]
where is the matrix of principal components and is the new feature matrix. Finally, we also fit a model (pval-05) using only those variables from pca-500 that have a to include the greater detail of the larger model with a lower complexity for calculation.
5.2.3 Other models
We further examine the data by utilizing other techniques, and build models for each as a comparison to the above described PCA models. For instance, one large issue with our dataset is that positive samples (defaulted users) account for only of the whole dataset, making it extremely unbalanced. Learning from this kind of unbalanced dataset is a well-known challenge in the data mining community that we attempt to account for by performing oversampling (multiplying positive samples to make them a larger portion of the dataset) [8]. In this case, we use multiplication factors ranging from , but in the model benchmarks presented here, we show only the model with a multiplication factor of (oversampled-2) since it performed the best. Oversampling was applied to the reduced dataset ().
Further, as an alternative to the PCA reduction presented in the prior section, we also build a separate model by selecting features via Lasso regression [31]. This method adds a penalty term to the log likelihood function in the prediction that shrinks the coefficients of less important variables to zero. We fine tune this reduction via a free parameter , varying it through a range of values to obtain the best lasso fits. The efficacy of this method is demonstrated in two separate models: one based on logistic regression (lasso-logistic) and another using a Support Vector Machine [32] (lasso-svm).
Finally, the last model we use for comparison utilizes a simple method for feature space reduction that aggregates some of the more specific features into general descriptions of behavior. For instance, features that were based on a particular day or week of the three month period are grouped and combined, creating instead features for weekdays versus weekend averages or business hours versus off-hours. This aggregation not only simplifies the model, but also makes it generalizable to other datasets with different levels of detail. This method shrinks the overall feature set considerably, leaving only features. As before, these features are then normalized before being further reduced via PCA.
6 Results and discussion
6.1 Experimental setting
After each of the above models is fit to a training set comprising of the whole dataset, they are tested on the remaining of the data and evaluated via their recall, fall-out, and precision. Defaulting users are labeled as positive examples and default predictions are defined as those users within the percentile of default probabilities. This threshold is chosen to be relatively low to fit the nature of our study where false positives (non-defaulted users that were predicted as defaulters) are less damaging than false negatives (unidentified defaulters) to companies.
The recall (the true positive rate) is the rate of identified defaulting customers. The fall-out (the false positive rate) is the probability of labeling a good client as a defaulting one. The precision is the fraction of correct default predictions out of all default predictions. These metrics are calculated as
[TABLE]
where TP is the number of true positives, FN is the number of false negatives, FP is the number of false positive, and TN is the number of true negatives.
6.2 Evaluation
The performance of the models tested can be compared using a receiver operating characteristic curve (ROC), which we show in Figure 5. Here, we focus this comparison on the recall and fall-out of the model, where recall (which identifies defaulting customers) is of interest to phone companies, while fallout has greater relevancy in other applications of the models. The exact values of these performance metrics can be seen in Table 3, which also shows the precision of each model for reference.
The initial results are in line with what would be expected intuitively: the worst performance comes from the random model, followed by glm-7 (the logistic model based on only features). As the models become more complicated, their performance tends to increase. For instance, a significant reduction in false positives can be seen in the lasso-logistic model (which uses 309 variables) over the glm-7, then a further reduction in the lasso-svm model that uses variables. Additionally in both Lasso models, the variable with the highest coefficient is the user’s most commonly utilized cell tower, indicating the presence of geographic regions which are high risk areas for user defaults. Other high performance models include the various PCA models, led by pca-500, pval-05 and oversampled-2 with pval-05 outperforming all other models.
From these results, it is clear that for the most part larger feature sets allow for more accurate models (as would be expected), but this is not a strict rule. The best performing model is the one that begins with a large sample of features, but is then stripped of those that aren’t considered significant. In other words, there are likely some ’false flags’ in the feature list that tend to confuse the model rather than contribute. Feature removal only works to a point, however, as the more aggressive methods in the pca-aggr model lose these benefits and in fact make it one of the worst performing models tested. Thus, there is likely some very meaningful information even within the extremely specific features that would be intuitively too limited to contribute much. Finally, it should be noted that while the highest performing oversampling model, oversampled-2 yields improvements comparable to filtering insignificant features, applying both techniques worsens the results as the model apparently over-fits.
6.3 Stability
For a more in depth look into the differences in prediction among the top three models (oversampled-2, pca-500, pval-05), we look at the overlap size (the intersection of correctly labeled defaulting customers) and average overlap score (the similarity of two rankings at increasing depth giving higher weights to higher ranked observations; AOS). All analysis is restricted to only those customers with a calculated probability of default (PD) in the quantile. As can be seen in Table 4, both the overlap and AOS are extremely high for all model comparisons, indicating that all three models are stable and predict roughly the same nodes for default. Further, the pval-05 and pca-500 models can be seen to be more similar to each other than the oversampled-2 model due to pval-05 being essentially pca-500 with some of the problematic features removed.
6.4 Contribution of feature sets
Finally, we identify the original features that contribute the most to our models to gain a better understanding of what aspects of the mobile phone data are most important for predicting default status. However, as we mentioned before in Sec. 5.1, each feature is generally fairly poorly correlated with defaults. Thus it is no surprise that there is no one outstanding feature that stands out as the strongest contributor. To remedy this, we perform a general analysis using the feature set groupings described in Sec. 4 to identify which class of features contributes the most. By building a host of modified models, each consisting of all of the feature sets except one, we can compare the performance of the models with the reduced data against the model with all data included. This method allows us to gain a better understanding of how much information is lost when a feature set is removed (i.e. how unique that information is), data that is especially valuable to this study considering the high redundancy in our data set.
As shown in Table 5, by far the highest contributors to recall and precision are the correspondent features, which focus on individual’s unique frequent correspondents in various time frames. To better understand exactly what features within the correspondent feature set are important, we perform 5-fold cross validation on a linear model using only these features. On average, this model is able to achieve a recall and precision, both fairly high for such a small subset of all features. Further, we explore which out of the correspondent features contribute most to the final PD by mapping the maximum likelihood estimation (MLE) coefficients of PCA components back to original features’ coefficients,
[TABLE]
where , is the matrix of principal components and are the MLE coefficients for a model fitted on PCA components.
We then multiply each regression coefficient by the mean of the corresponding feature (separately for paying and defaulting customers). Finally, we define a score for each user based on the values of . This creates a system where higher scores correspond to customers with higher PD’s, and leads to an average score of for paying customers and for defaulting customers. This analysis is not possible using the whole feature set together, as the normalization of the features leads to an average contribution of zero, but the absolute contribution values of each feature are taken into account to maintain a focus on the actual impact of the features on the PD. The results for the four strongest features are presented in Table 6. In the end, the same ten features are identified as the strongest contributors for both the paying and defaulting customer groups. All ten relate to the number of unique correspondents with whom the user communicates during the holiday period around Christmas and New Year’s Eve. This strongly indicates a tie between not only unique correspondents and defaulting, but also unique correspondents around holiday periods (when users are most likely to be contacting close family and friends). From these results we can begin to draw a clear connection of low probability of default with the large number of active unique ties an individual has within the network, and the high strength of those ties.
However, it should be noted that this kind of estimation of variable contribution is too simple to provide a definitive insight into the relative importance of the variables. There are several other approaches that compare predictors in regression including methods considering variable importance via partitions [25, 29], dominance analysis [3] and relative weights analysis [11, 17]. According to the literature, the dominance analysis provides the most accurate results, but it is not practical for our problem since it measures relative importance in a pairwise fashion and is suitable only for small variable sets. Instead, the relative weights approach is sometimes used for systems with multiple correlated predictors as can be found here [17], but this approach is theoretically flawed and is therefore not recommended for use [30]. We instead utilize a variable importance (VI) extension for logistic regression [29] that is based on Pratt’s axiomatic [25] and the geometric approach of Thomas [28]. This method equates VI to variance explained by the variable, which is , where is the standardized regression coefficient and is the simple correlation between variables and . For our purposes, we use the geometric approach to this method; an interpretation of Pratt’s measure based on the geometry of least squares. Here, the VI indices are defined as
[TABLE]
where hats denote sample estimates, and is as usual the proportion of sample variance explained.
Further, we utilize a pseudo- measure based on Weighted Least Squares such that this set of indices sums to one and the importance of a subset of variables is equal to the sum of their individual importance. This results in the four most important features, according to VI metric, shown in Table 7, yielding results very similar to the ones presented in Table 6. The two most important variables are: the number of unique correspondents with whom the user had a call on Dec 24th with relative importance of , and the number of unique correspondents from which the user received a message on Dec 24th with relative importance of . This finding reiterates the significance of the number of unique correspondents with whom the user communicates around holiday periods. Finally, to ensure that these features actually carry unique information, we fit another model removing from the dataset the features with the highest identified VI. Doing so reduces the recall by and leaves none of the new identified important variables with a relative importance above .
7 Conclusion
In this paper, we investigate many different aspects of user behavior to build a large suite of features for analysis, starting with constructing the underlying social networks based on the cell phone usage data. This produces a complex network rich with information. Applying common network metrics reveals some of the characteristics of the network such as the heterogeneity of the centrality, diameter, and reciprocity measures.
The complex nature of the problem addressed by our machine learning method to predict whether users will default in paying their cellphone bill leads us to utilize some features, which we then pare down to only the most predictive ones. The resulting model achieves a recall of with a fall-out of only , the performance that compares favorably with [27, 1], e.g., recall of is reported in this reference.
Finally by investigating in depth the various features that contribute to the model, we are able to pinpoint the surprisingly best, contributor: the number of unique contacts with whom the user interacted around the winter holidays (when users are most likely to contact their closest friends and family). The significance of this correspondent information is higher than that of more traditionally used features. These results demonstrate the need for systematic approach to selecting features for complex behavior prediction. Indeed, our results show that the strength of links within the network is better determined by the timing of communications rather than the volume, duration, or distance traditionally used for the similar predictions.
While our use of CDR data here focuses on user analytics and predictive modeling, CDR datasets can support many other avenues of research. This work investigates the default status of individuals, but there are many other complex aspects of user behavior that could benefit from similar computational techniques. The modeling we present could be improved by gathering information over larger time periods in order to get a larger population of defaulting individuals. Finally, with new machine learning algorithms constantly being designed and improved, a more specific algorithm that is built for high dimensional data such as ours could improve the resultant predictions and understanding of how the specific features contribute to the overall model which is novel and unexpected. Hence, our novel approach leading to these results is the main contribution of our paper to the state of the art.
8 Acknowledgments
Funding: This work was supported in part by the Army Research Laboratory (ARL) under Cooperative Agreement Number W911NF-09-2-0053 (NS-CTA), by the Office of Naval Research (ONR) Grant No. N00014-15-1-2640, by the RENOIR EU H2020 project under the Marie Skłodowska-Curie Grant Agreement No. 691152 and by the National Science Centre, Poland, project no. 2016/21/B/ST6/01463. The views and conclusions contained in this document are those of the authors and should not be interpreted as representing the official policies either expressed or implied of the Army Research Laboratory or the U.S. Government.
References
- Agarwal et al. [2018]
Agarwal, R. R., Lin, C.-C., Chen, K.-T., and Singh, V. K. (2018).
Predicting financial trouble using call data—on social capital, phone logs, and financial trouble.
PloS one, 13(3):e0191863.
- Alstott et al. [2014]
Alstott, J., Bullmore, E., and Plenz, D. (2014).
powerlaw: A Python Package for Analysis of Heavy-Tailed Distributions.
PLoS ONE, 9(1):e85777.
- Azen and Budescu [2003]
Azen, R. and Budescu, D. V. (2003).
The dominance analysis approach for comparing predictors in multiple regression.
Psychological methods, 8(2):129.
- Bae and Kim [2015]
Bae, J. K. and Kim, J. (2015).
A personal credit rating prediction model using data mining in smart ubiquitous environments.
International Journal of Distributed Sensor Networks, 11(9):179060.
- Barabási and Pósfai [2016]
Barabási, A.-L. and Pósfai, M. (2016).
Network science.
Cambridge university press.
- Björkegren and Grissen [2017]
Björkegren, D. and Grissen, D. (2017).
Behavior revealed in mobile phone usage predicts loan repayment.
arXiv preprint arXiv:1712.05840.
- Blondel et al. [2015]
Blondel, V. D., Decuyper, A., and Krings, G. (2015).
A survey of results on mobile phone datasets analysis.
EPJ Data Science, 4(1):10.
- Chawla [2009]
Chawla, N. V. (2009).
Data mining for imbalanced datasets: An overview.
In Data mining and knowledge discovery handbook, pages 875–886. Springer.
- Clauset et al. [2009]
Clauset, A., Shalizi, C. R., and Newman, M. E. J. (2009).
Power-Law Distributions in Empirical Data.
SIAM Review, 51(4):661–703.
- Ge et al. [2017]
Ge, R., Feng, J., Gu, B., and Zhang, P. (2017).
Predicting and deterring default with social media information in peer-to-peer lending.
Journal of Management Information Systems, 34(2):401–424.
- Johnson [2000]
Johnson, J. W. (2000).
A heuristic method for estimating the relative weight of predictor variables in multiple regression.
Multivariate behavioral research, 35(1):1–19.
- Klaus et al. [2011]
Klaus, A., Yu, S., and Plenz, D. (2011).
Statistical Analyses Support Power Law Distributions Found in Neuronal Avalanches.
PLoS ONE, 6(5):e19779.
- Kovanen et al. [2011]
Kovanen, L., Saramaki, J., and Kaski, K. (2011).
Reciprocity of mobile phone calls.
Dynamics of Socio-Economic Systems, 2(2):138–151.
- Kuznetsova and Bidyuk [2017]
Kuznetsova, N. V. and Bidyuk, P. I. (2017).
Modeling of credit risks on the basis of the theory of survival.
Journal of Automation and Information Sciences, 49(11).
- Kvamme et al. [2018]
Kvamme, H., Sellereite, N., Aas, K., and Sjursen, S. (2018).
Predicting mortgage default using convolutional neural networks.
Expert Systems with Applications, 102:207–217.
- Lambiotte et al. [2008]
Lambiotte, R., Blondel, V. D., de Kerchove, C., Huens, E., Prieur, C., Smoreda, Z., and Van Dooren, P. (2008).
Geographical dispersal of mobile communication networks.
Physica A: Statistical Mechanics and its Applications, 387(21):5317–5325.
- LeBreton and Tonidandel [2008]
LeBreton, J. M. and Tonidandel, S. (2008).
Multivariate relative importance: Extending relative weight analysis to multivariate criterion spaces.
Journal of Applied Psychology, 93(2):329.
- Li et al. [2014]
Li, M.-X., Palchykov, V., Jiang, Z.-Q., Kaski, K., Kertész, J., Miccichè, S., Tumminello, M., Zhou, W.-X., and N Mantegna, R. (2014).
Statistically validated mobile communication networks: the evolution of motifs in European and Chinese data.
New Journal of Physics, 16(8):083038.
- Ling et al. [2012]
Ling, R., Bertel, T. F., and Sundsøy, P. R. (2012).
The socio-demographics of texting: An analysis of traffic data.
New Media & Society, 14(2):281–298.
- Maldonado et al. [2018]
Maldonado, S., Peters, G., and Weber, R. (2018).
Credit scoring using three-way decisions with probabilistic rough sets.
Information Sciences.
- Newman [2001]
Newman, M. E. J. (2001).
Scientific collaboration networks. II. Shortest paths, weighted networks, and centrality.
Physical Review E, 64(1):016132.
- Onnela et al. [2007]
Onnela, J.-P., Saramäki, J., Hyvönen, J., Szabó, G., Lazer, D., Kaski, K., Kertész, J., and Barabási, A.-L. (2007).
Structure and tie strengths in mobile communication networks.
Proceedings of the National Academy of Sciences of the United States of America, 104(18):7332–6.
- Opsahl et al. [2010]
Opsahl, T., Agneessens, F., and Skvoretz, J. (2010).
Node centrality in weighted networks: Generalizing degree and shortest paths.
Social Networks, 32(3):245–251.
- Pearson [1901]
Pearson, K. (1901).
Liii. on lines and planes of closest fit to systems of points in space.
The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 2(11):559–572.
- Pratt [1987]
Pratt, J. (1987).
Dividing the indivisible using simple symmetry to partition variance explained.
Proceedings of the Second International Conference in Statistics, pages 245–260.
- Rochat [2009]
Rochat, Y. (2009).
Closeness centrality extended to unconnected graphs: The harmonic centrality index.
In ASNA, number EPFL-CONF-200525.
- San Pedro et al. [2015]
San Pedro, J., Proserpio, D., and Oliver, N. (2015).
Mobiscore: towards universal credit scoring from mobile phone data.
In International Conference on User Modeling, Adaptation, and Personalization, pages 195–207. Springer.
- Thomas et al. [1998]
Thomas, D. R., Hughes, E., and Zumbo, B. D. (1998).
On variable importance in linear regression.
Social Indicators Research, 45(1-3):253–275.
- Thomas et al. [2008]
Thomas, D. R., Zhu, P., Zumbo, B. D., and Dutta, S. (2008).
On measuring the relative importance of explanatory variables in a logistic regression.
Journal of Modern Applied Statistical Methods, 7(1):4.
- Thomas et al. [2014]
Thomas, D. R., Zumbo, B. D., Kwan, E., and Schweitzer, L. (2014).
On johnson’s (2000) relative weights method for assessing variable importance: A reanalysis.
Multivariate behavioral research, 49(4):329–338.
- Tibshirani [1996]
Tibshirani, R. (1996).
Regression shrinkage and selection via the lasso.
Journal of the Royal Statistical Society. Series B (Methodological), pages 267–288.
- Vapnik [1999]
Vapnik, V. N. (1999).
An overview of statistical learning theory.
IEEE transactions on neural networks, 10(5):988–999.
- Wang et al. [2013]
Wang, C., Lizardo, O., Hachen, D., Strathman, A., Toroczkai, Z., and Chawla, N. V. (2013).
A dyadic reciprocity index for repeated interaction networks.
Network Science, 1(1):31–48.
- Wang and Lee [2018]
Wang, Y. and Lee, Y.-C. (2018).
Customer credit evaluation using big data of microfinance company in china.
The Korean Academic Society of Business Administration, (2):1601–1645.
- Xie and Szymanski [2011]
Xie, J. and Szymanski, B. K. (2011).
Community detection using a neighborhood strength driven label propagation algorithm.
In IEEE NSW 2011, pages 188–195.
- Xie et al. [2011]
Xie, J., Szymanski, B. K., and Liu, X. (2011).
Slpa: Uncovering overlapping communities in social networks via a speaker-listener interaction dynamic process.
In ICDM 2011 Workshop on DMCCI.
- Yan et al. [2018]
Yan, X., Jeub, L. G., Flammini, A., Radicchi, F., and Fortunato, S. (2018).
Weight thresholding on complex networks.
Phys. Rev. E 98, 042304.
- Zhang and Hu [2009]
Zhang, X.-j. and Hu, J. (2009).
Personal credit rating assessment for the national student loans based on artificial neural network.
In Business Intelligence and Financial Engineering, 2009. BIFE’09. International Conference on, pages 53–56. IEEE.
Appendix A Constructing an unweighted network representation with frequency cutoffs
We define the unweighted network via a cutoff, , representing the minimum number of communications from node to node required for an edge to be drawn [21]. Specifically, if you consider the weight of communications between node and node to be the total volume of communications , then the condition for a directional link being formed from node to node is . This link then becomes an unweighted directional edge from node to node without restricting the possibility of another link forming from node to node to create an unweighted bidirectional edge. One main advantage of constructing the network in this way is that it allows the network to be simplified, removing noise while still retaining information regarding the frequency of communication. Still, the methodology proposed here contains some inherent loss of information partially stemming from the use of the raw number of communications between individuals. To account for possible differences in the amount of information contained in calls versus texts, it is natural to attempt to use different communication weights based on communication type. As such, we experimented with such methods to better account for these information exchange levels and found that any such scheme would cause bias between age groups. In general, since younger individuals used more text messages while older individuals used more calls we treat their contributions to the network flatly to minimize bias.
This method yields a strict structural view of the true friendship network, addressing the need for noise reduction by pruning down the network as well as showing how robust the network is to increasingly strict friendship requirements. [37] In Fig. 6(a), we show that the giant component of the network decays exponentially with an increased frequency cutoff for edges, and is generally very sensitive to such an increase. Without a cutoff, the giant component of the network contains of the nodes, but it drops to only half of the network when the frequency cutoff reaches . A similar effect can be seen in Fig.6(b), where the total number of edges in the social network shows a power law decay for increasing cutoff values. This power law decay of edges implies that the scheme is useful for removing noisy, low frequency communication while leaving intact the dense communications representative of strong social ties. The proper cutoff value for a given situation is difficult to establish, however, since the vast majority of connections in the network are low frequency. In fact, less than half of the original edges remain when a cutoff of is implemented. As the cutoff increases further, the network loses much of its connectivity and instead shows a rough sketch of the community structure of the system. This effect is seen in Fig. 6(c), in which the percentage of nodes outside of the giant component that are isolated decreases with increased cutoff, the result of small communities being separated from the giant component but remaining intra-connected. Of course, these results yield only a crude approximation of the community structure; high cutoffs lower the connectivity within communities as well as separate them from the giant component. This trade-off becomes apparent at cutoffs larger than , where the number of isolated nodes increases and even tightly bound communities unravel. A more direct and robust detection of the network’s community structure is discussed in Sec. 3.2.
In addition to the effects on the connectivity of the network, the frequency cutoff also has a significant impact on the overall degree distribution (shown in Fig. 7). As expected [18, 22, 5], for all values of the cutoff the degree distribution shows a power law tail. However, the rate at which the tail decays changes as the edges are removed. As the cutoff increases, many of the highest degree nodes lose the vast majority of their edges. As a result, the higher cutoffs greatly reduce the maximum degree of the network and increase the power scaling exponent of the degree distribution causing faster tail decay [2, 12, 9]. As with the prior results on increased cutoff, however, this is only true to a point. The exponent increase appears to saturate at high values of the cutoff where the impact gets weaker and weaker. These properties allow us to use an unweighted graph with low cutoffs to define basic network features such as node degree, while higher cutoff values are useful for finding the stable number of strong contacts.
Appendix B Reciprocity Measures
Here we generalize how reciprocity is defined using where is the reciprocity score between node and and is the weight of that score. To keep the metric bounds at , we constrain to and require to be normalized, (). Previously, we defined a metric using and where all scores are equal. Under normalization this means that where is the total degree of node . Here we introduce two variants to produce two alternative metrics for reciprocity.
First we remove the dependence on the number of communications by modifying to take on only three values , causing links with small to become more important. If between node and node there exists any number of communications from to , but no communications from to , then . If the opposite is true, then . Finally if both and send any number of communications to each other, . in this metric is unchanged. We call this metric binary weighted reciprocity.
The second metric modifies rather than . To make high volume links more important, we set . Applying normalization leads to . The simplified expression is then , which we call hyper-weighted reciprocity.
In Fig 8, we show the distribution for both of these metrics. The hyper-weighted reciprocity is very similar to the weighted reciprocity, but the binary distribution is significantly different. Most of these difference arise from the binary nature of the metric, where for example a node with degree three can only have reciprocity . Because the system is dominated by low degree nodes, this type of scenario is frequent causing a few discrete fractions to be most prevalent. Further, we include a fit following the same methodology as in Fig 2, where Table 8 shows the fitting parameters.
Unfortunately, these features are not sufficiently unique from that shown in the main text of this work, and thus not suitable as separate features. The binary and weighted metrics have a Pearson correlation coefficient of , while the hyper-weighted and weighted metrics have a coefficient of . Because of these high levels of correlation and despite weighting reciprocity differently, we conclude that the alternate methods do not produce any sufficiently unique information. They can, however, be substituted for the metric used based on specific use cases where the intuition behind the calculations fits better, and thus may be useful for future work.
Appendix C Feature Sets
C.1 Consumption features
Consumption features include information about the total number of communication events, the total and average duration of phone calls, and average time between consecutive communications. These broad categories are then broken up into time windows (specific times of day or days of the week) and separated by communication type and direction to form a large contribution to our overall feature set. These features characterize the normal activity patterns for individuals within the network. On average, per day each user makes calls lasting about seconds each, and sends messages. Additionally, this feature shows a slightly higher wait time for incoming events ( hours) than outgoing events ( hours).
C.2 Correspondent features
Correspondent features are based on the distinct number of individuals that each user communicates with over specific time periods, separated between calls and text messages. This includes the total number of unique people that exchange at least five messages with the user on average every week, and the number of regular correspondents that make at least two calls to the user on average in a week. Further, this feature includes the percentage of incoming communications that are messages and the number of unique correspondents over various time periods and scales (such as normal business hours versus rest hours and week days versus weekends). Analysis of this feature set shows that the average number of correspondents (call or message) is , while call correspondents make on average calls and message correspondents sent on average messages. However for regular correspondents, each user makes only calls and sends messages. The number of unique correspondents during the weekend drops to about half of the number for weekdays.
C.3 Reciprocated event features
We define reciprocated events as events where the observed user returns a call/message within an hour of receiving a communication. We extract this information for each user and every hour of the week, as well as the median time between reciprocated call events and median time to answer messages. Similar to above, we also aggregate these indicators to days of week and time of day. On average, this analysis shows that users reciprocate only calls and messages for the night time (midnight-6am) during the whole 3-month period. Interestingly, the average time to answer a message is only minutes in the morning (6am-10am). This drops even further to a little less than minutes during other times of the day (10am-6am). Further, the average number of reciprocated messages increases as the week goes by, going from to from Monday to Friday, but then dropping to and on Saturday and Sunday, respectively.
C.4 Mobility features
Mobility features describe daily movement patterns of a person. They use the cell tower location to which the individual connected to for each event. Features include average daily radius of gyration (minimum radius that encompasses all the locations visited by a user), average distance traveled per day of week (calculated as sum of distances between consecutive antennas), popular cell towers (IDs of most popular cell towers that sum up to of records) and average number of unique cell towers per week. A typical user’s average daily radius of gyration is km. Interestingly, there is an order of magnitude difference when comparing mean and median distance traveled by day of the week, but the trend is the same in both cases. From Monday to Thursday, the median distance traveled is fairly constant around km, but increases to km on Friday and km on Saturday before dropping to km on Sunday. Lastly, the average number of utilized cell towers per week is .
C.5 Location features
From information about the two most commonly used cell towers and the default status of each user, we can develop location features to identify high risk geographic regions. We use two cell towers instead of one to account for users spending a large amount of time at both their residence and workplace/school. For this reason, two new features are added for each user; one for each tower. From this information, we can calculate the empirical probability of default for each cell tower, yielding a mean of . Note that when used for prediction purposes, these calculations are based only on the training data set and then applied to the test dataset accordingly (more information on this experimental setting is in 6.1).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Agarwal et al. [2018] Agarwal, R. R., Lin, C.-C., Chen, K.-T., and Singh, V. K. (2018). Predicting financial trouble using call data—on social capital, phone logs, and financial trouble. Plo S one , 13(3):e 0191863.
- 2Alstott et al. [2014] Alstott, J., Bullmore, E., and Plenz, D. (2014). powerlaw: A Python Package for Analysis of Heavy-Tailed Distributions. P Lo S ONE , 9(1):e 85777.
- 3Azen and Budescu [2003] Azen, R. and Budescu, D. V. (2003). The dominance analysis approach for comparing predictors in multiple regression. Psychological methods , 8(2):129.
- 4Bae and Kim [2015] Bae, J. K. and Kim, J. (2015). A personal credit rating prediction model using data mining in smart ubiquitous environments. International Journal of Distributed Sensor Networks , 11(9):179060.
- 5Barabási and Pósfai [2016] Barabási, A.-L. and Pósfai, M. (2016). Network science . Cambridge university press.
- 6Björkegren and Grissen [2017] Björkegren, D. and Grissen, D. (2017). Behavior revealed in mobile phone usage predicts loan repayment. ar Xiv preprint ar Xiv:1712.05840 .
- 7Blondel et al. [2015] Blondel, V. D., Decuyper, A., and Krings, G. (2015). A survey of results on mobile phone datasets analysis. EPJ Data Science , 4(1):10.
- 8Chawla [2009] Chawla, N. V. (2009). Data mining for imbalanced datasets: An overview. In Data mining and knowledge discovery handbook , pages 875–886. Springer.
