Problem
A small bank had just launched online banking and wanted it to suggest a relevant extra product (a long-term deposit, an investment) to each client. The bank had too little data to train models. The recommender also had to answer within 0.5 seconds, never offer a product the client had already applied for or could not get, and not disturb the core banking system. Later the same system had to run 24/7 on fresh data.
Example from the article: a deposit is best offered to someone who has been a client for several months and kept a minimum balance on the account over a period.
Solution in brief
Start with an expert model: bank staff describe the typical client of each product, and recommendations come from the distance between client and product vectors, computed once a day inside the banking system. When enough data has accumulated, replace it with XGBoost models in a microservice and move up-to-date features into a sharded in-memory store (Tarantool), so recommendations are computed online.
Questions this case answers
- How to launch a recommender when there is too little interaction history to train a model, and replace the stopgap with learned models later
- How to compute recommendations from fresh features within a latency budget without loading the operational source systems
- How to launch a recommender for banking products when the bank has almost no interaction history yet?
- How to serve product recommendations from online banking within 0.5 seconds without loading the core banking system?
Tools and methods
- Expert models — product profiles from the bank's experts, kept in configuration, used while data was scarce.
- XGBoost — one model per banking product, behind a recommendation microservice.
- ALS — a separate microservice that works from a matrix of features from the store.
- Feature store on Tarantool — flat feature records, sharded, with deletion of outdated features.
Google or a one-time email code. No password.