Skip to main content

Segment-Based Credit Scoring Using Latent Clusters in the Variational Autoencoder

- By Rogelio A. Mancisidora, , Michael Kampffmeyer  , Kjersti Aas  , Robert Jenssen 
UiT Machine Learning Group




Abstract

Identifying customer segments in retail banking portfolios with different risk profiles can improve the accuracy of credit scoring. The Variational Autoencoder (VAE) has shown promising results in different research domains, and it has been documented the powerful information embedded in the latent space of the VAE. Specifically, the Weight of Evidence (WoE) transformation encapsulates the propensity to fall into financial distress and the latent space in the VAE preserves this characteristic in a well-defined clustering structure. These clusters have considerably different risk profiles and therefore are suitable not only for credit scoring but also for marketing and customer purposes.

This new clustering methodology offers solutions to some of the challenges in the existing clustering algorithms, e.g., suggests the number of clusters assigns cluster labels to new customers, enables cluster visualization, scales to large datasets capture non-linear relationships among others. Finally, for portfolios with a large number of customers in each cluster, developing one classifier model per cluster can improve the credit scoring assessment.


Lending is the principal driver of bank revenues in retail banking, where banks must assess whether to grant a loan at the moment of application. Therefore, banks focus on different aspects to improve this credit assessment. Understanding customers and target populations can improve risk assessment. For example, bank analysts possess the knowledge to understand the underlying risk drivers. This information can be used to identify different groups within a given portfolio, i.e. heuristic-based segmentation, and carry out the risk assessment segment-wise.


There exist five factors that could bring up the need for different segments

i) Marketing,
ii) Customer,
iii) Data,
iv) Process and
v) Model fit.

Marketing factors arise where banks require greater confidence in a specific segment to ensure the ongoing health of the business. Customer factors apply where banks want to treat customers with particular characteristics separately, e.g., customers with no delinquency records. The data factors relate to different operating channels, e.g., internet or dealer, where application data can be entirely different, and process factors refer to the fact that there are products that are treated differently from a managerial point of view. Finally, model fit factors are interactions within the data where different characteristics predict differently for different groups.


Segmentation can be done using a heuristic or statistical-based approach. In the heuristic-based approach, bank analysts define segments based on both customer characteristics and using expert knowledge of the business. For example, a bank can segment customers based on whether they have previous delinquency records. Further, based on these two segments it is the responsibility of a classification model to separate good from bad customers. When the classification is the final goal of segmentation, segments should not only be identified based on demographic factors, but rather on risk-based performance.


The Variational Autoencoder has shown promising results in different research domains. In some cases it outperforms state-of-the-art methodologies, e.g., in the medical field predicting drug response or classifying disease subtypes of DNA methylation, in speech emotion recognition, in generative modelling for language sentences imputing missing words in a large corpus, in facial attribute prediction among others. Authors choose to use the VAE and the Auto Encoding Variational Bayesian (AEVB) algorithm in this research to identify hidden segments in customer portfolios in the bank industry.

A simple Auto encoder is shown above.

 Graphical representation of the AEVB algorithm. The feedforward neural network to the left corresponds to the probabilistic encoder qφ(z|xi) where xi ∈ Rdx is the network input. The output of the network are the parameters in qφ(z|xi) ∼ N (µz|xi , σ2 z|xi I). Note that ∼ N (0, I) is drawn outside the network in order to use gradient descent and backpropagation optimization techniques. Similarly, the feedforward network to the right corresponds to the probabilistic decoder pθ(xi|z). In this case, the input are the latent variables z ∈ Rdz and the network output are the parameters in pθ(xi|z) ∼ N (µxi|z , σ2 xi|z I). The reconstruction is given by ˜x = µxi|z. For readability purposes we do not specify the parameters φ, θ in the networks. However, these parameters are represented by the lines joining the nodes in the networks plus a bias term attached to each node.




Graphical representation of the development methodology used 30% of the majority class (y = 0) data for training the VAE. Once the VAE is trained, it is used to generate the latent variables z for the remaining data, i.e., 70% of the majority and 100% of the minority class (y = 1). Based on the clusters in the latent space, we train Multi-Layer Perceptron (MLP) classifier models using a classical 70%-30% partition for training and testing the model respectively. The model performance of these segment-based MLP models is compared against a portfolio-based MLP model where no segmentation is considered (the dashed box denotes this model).


Data Sets


Kaggle Car loan dataset and Finnish Car loan datasets are used for testing. The Data is classified in to 4 categories, segment-based and Portfolio-based statistics  and below table shows different algorithms and its p value


Conclusion

The Variational Autoencoder has the advantage of capturing non-linear relationships which are projected in the latent space. In addition, the number of clusters is clearly suggested by the latent space in the VAE and, for a low-dimensional latent space, they can be visualized. Furthermore, the VAE can generate the latent configuration of new customers and assign them to one of the existing clusters. The clustering structure in the latent space of the VAE can be used for marketing, customer, and model fit purposes in the bank industry, given that the clusters have considerably different risk profiles and their salient dimensions are business intuitive.






Comments

Popular posts from this blog

DDSP: DIFFERENTIABLE DIGITAL SIGNAL PROCESSING

 -By Google Research {jesseengel,hanoih,gcj,adarob}@google.com Paper Link Code Demo Abstract Most generative models of audio directly generate samples in one of two domains: time or frequency. While sufficient to express any signal, these representations are inefficient, as they do not utilize existing knowledge of how sound is generated and perceived. A third approach (vocoders/synthesizers) successfully incorporates strong domain knowledge of signal processing and perception, but has been less actively researched due to limited expressivity and difficulty integrating with modern auto-differentiation-based machine learning methods. In this paper, we introduce the Differentiable Digital Signal Processing (DDSP) library, which enables direct integration of classic signal processing elements with deep learning methods. Focusing on audio synthesis, we achieve high-fidelity generation without the need for large autoregressive models or adversarial losses, demonstrating that DDSP enable...

Capsule Neural Networks

-By Sara Sabour, Nicholas Frosst,  Geoffrey E. Hinton  Google Brain Toronto Paper Link Abstract   A capsule is a group of neurons whose activity vector represents the instantiation parameters of a specific type of entity such as an object or an object part. We use the length of the activity vector to represent the probability that the entity exists and its orientation to represent the instantiation parameters. Active capsules at one level make predictions, via transformation matrices, for the instantiation parameters of higher-level capsules. When multiple predictions agree, a higher level capsule becomes active. We show that a discrimininatively trained, multi-layer capsule system achieves state-of-the-art performance on MNIST and is considerably better than a convolutional net at recognizing highly overlapping digits. To achieve these results we use an iterative routing-by-agreement mechanism: A lower-level capsule prefers to send its output to higher...

Detecting Anomaly in Big Data System Logs Using Convolutional Neural Network

By - Siyang Lu, Xiang Wei, Yandong Li, Liqiang Wang Department of Computer Science, University of Central Florida, Orlando, FL, USA School of Software Engineering, Beijing Jiaotong University, China Paper Link Previous week we did a scan of the survey of Anomaly detection   , that covers breath of the topic (Types of Anomalies, Types of Models and their applications). In this summary paper, we look in to the core Heavy lifting part of Detecting Anomaly in Big Data System Logs Using Convolutional Neural Network. Abstract Nowadays, big data systems are being widely adopted by many domains for offering effective data solutions, such as manufacturing, healthcare, education, and media. Big data systems produce tons of unstructured logs that contain buried valuable information. However, it is a daunting task to manually unearth the information and detect system anomalies. A few automatic methods have been developed, where the cutting-edge machine lear...