Skip to main content
QUICK REVIEW

[Paper Review] client2vec: Towards Systematic Baselines for Banking Applications

Leonardo Baldassini, José Antonio Rodríguez Serrano|arXiv (Cornell University)|Feb 12, 2018
Data Stream Mining TechniquesComputer Science38 references10 citations
TL;DR

client2vec is a lightweight, unsupervised library that generates client embeddings using marginalized stacked denoising autoencoders (mSDA) on transaction data, enabling rapid baseline creation for banking applications. It outperforms traditional methods in client segmentation, expense reconstruction, and campaign targeting, achieving a MAP@50 of 0.897 for car insurance retrieval by capturing latent behavioral patterns from coarse transactional data.

ABSTRACT

The workflow of data scientists normally involves potentially inefficient processes such as data mining, feature engineering and model selection. Recent research has focused on automating this workflow, partly or in its entirety, to improve productivity. We choose the former approach and in this paper share our experience in designing the client2vec: an internal library to rapidly build baselines for banking applications. Client2vec uses marginalized stacked denoising autoencoders on current account transactions data to create vector embeddings which represent the behaviors of our clients. These representations can then be used in, and optimized against, a variety of tasks such as client segmentation, profiling and targeting. Here we detail how we selected the algorithmic machinery of client2vec and the data it works on and present experimental results on several business cases.

Motivation & Objective

  • To streamline data science workflows in banking by reducing reliance on manual feature engineering and custom model building.
  • To create a reusable, low-complexity tool that generates informative baselines for behavior-centric applications using minimal preprocessing.
  • To enable data scientists to optimize embeddings directly against business objectives such as campaign targeting precision.
  • To explore whether unsupervised client embeddings can outperform sociodemographic or raw transaction features in downstream tasks.
  • To develop a system that is fast, deployable on simple infrastructure, and extensible for future use cases.

Proposed method

  • Client2vec uses marginalized stacked denoising autoencoders (mSDA) to learn dense vector representations of clients directly from transaction data, bypassing word2vec-style intermediate transaction embeddings.
  • The mSDA model is trained end-to-end on client transaction sequences, learning to reconstruct original input while learning a robust, low-dimensional embedding space.
  • Client embeddings are derived from the learned encoder layer of the mSDA and used as input for nearest-neighbor retrieval in downstream tasks.
  • The system employs dot-product scoring to rank clients based on embedding similarity, enabling fast retrieval for tasks like campaign targeting or expense prediction.
  • Baselines are constructed by framing business problems as nearest-neighbor regression tasks, leveraging the principle of the unreasonable effectiveness of data.
  • The method supports fine-tuning of embeddings by optimizing for specific metrics such as average precision (MAP) on target retrieval tasks.

Experimental results

Research questions

  • RQ1Can unsupervised client embeddings derived from raw transaction data outperform traditional sociodemographic features in client segmentation and targeting tasks?
  • RQ2Does using mSDA for direct client embedding learning surpass the performance of word2vec-based transaction embedding composition in banking applications?
  • RQ3To what extent can coarse-grained transaction data alone capture meaningful behavioral patterns for downstream business tasks?
  • RQ4Can the same client embedding be effectively reused across diverse banking applications such as client profiling, expense reconstruction, and campaign targeting?
  • RQ5What is the trade-off between retrieval diversity and precision when using different k-neighborhood sizes in embedding-based search?

Key findings

  • The mSDA-based client2vec approach achieved a MAP@50 of 0.897 in retrieving clients with car-related expenses, a substantial improvement over the random baseline of 0.068.
  • The method outperformed both raw transaction features and sociodemographic variables in client segmentation and targeting tasks, demonstrating the value of learned behavioral embeddings.
  • Using a broader relevance criterion—clients with car insurance from either BBVA or an external insurer—increased MAP from 0.289 to 0.897, indicating strong capture of latent behavioral signals.
  • The optimal balance between diversity and precision was found at k ∈ [1E4, 2E4], where high MAP values coincided with a high fraction of relevant clients retrieved.
  • The system achieved effective baselines in under five minutes with minimal code, validating its utility for rapid prototyping and production deployment.
  • Manual inspection confirmed that the model successfully retrieved clients likely to have car insurance based on transaction patterns such as petrol and repair shop visits, supporting the model’s semantic interpretability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.