We present a recommender system for personalized financial advice, which we designed for a large Swiss private bank. The final recommendations produced by the system were delivered to the end clients through a mobile banking platform. The recommender system is based on a collaborative filtering technique and can work with changing asset features, operate with implicit ratings and react to explicit feedback that clients can give using the mobile app. Moreover, we developed and implemented an approach to provide an explanation for each recommendation in the form “As you bought A, you might like B".
Advanced Machine Learning for Business Professionals
Recommender systems for personalized financial advice from concept to production - Aleksandra Chirkina
1. 1 / 46
Recommender Systems for
Personalized Financial Advice
Aleksandra Chirkina
2. 2 / 46
BRANDSCHENKESTRASSE 41
CH-8002 ZURICH
SWITZERLAND
INFO@INCUBEGROUP.COM
INCUBEGROUP.COM
Recommender Systems for Personalized
Financial Advice
From Concept to Production
Aleksandra Chirkina
Data Scientist @ InCube
5. 5 / 46
Why recommenders for financial advice?
Why not?
Saves time and effort of Relationship Managers
Trendy
As you bought shares of Facebook
2
Twitter Google Amazon
My personal investment ideas
AIRS
6. 6 / 46
Outline
3
2
5 Integration into Banking Core Services
1 Introduction to Recommender Systems
Challenges in Finance
Latent Features and Collaborative Filtering
4 Reaction to Explicit Feedback
7. 7 / 46
Outline
3
2
5 Integration into Banking Core Services
1 Introduction to Recommender Systems
Challenges in Finance
Latent Features and Collaborative Filtering
4 Reaction to Explicit Feedback
8. 8 / 46
What is a Recommender System?
Example: Model Based Collaborative Filtering for Movies
4 5 3
1
3 4
4
5
9. 9 / 46
What is a Recommender System?
Model Based Collaborative Filtering: How to estimate missing ratings?
4 ? 5 ? 3 ?
? 1 ? ? ?
? ? ? ? ? ?
3 ? ? ? ? 4 ?
4 ? ? ? ? ?
? ? 5 ? ?
? ? ? ? ? ?
10. 10 / 46
What is a Recommender System?
Model Based Collaborative Filtering: How to estimate missing ratings?
3.8 4 1.7 5 1.3 3 3.4
3.1 1 4.4 2.9 4.2 2.1 2.2
2.8 4.3 2.8 5.0 1.6 3.4 4.5
3 2.2 1.3 3.7 1.8 4 4.6
4 3.3 1.8 4.2 2.1 3.8 3.9
4.3 4.4 2.3 5 2.8 4.5 2.9
3.3 3.8 2.7 4.1 3.1 4.4 3.8
11. 11 / 46
What is a Recommender System?
Model Based Collaborative Filtering: How to estimate missing ratings?
5 4 3.8 3.4 3 1.7 1.3
3.1 1 4.4 2.9 4.2 2.1 2.2
2.8 4.3 2.8 5.0 1.6 3.4 4.5
3 2.2 1.3 3.7 1.8 4 4.6
4 3.3 1.8 4.2 2.1 3.8 3.9
4.3 4.4 2.3 5 2.8 4.5 2.9
3.3 3.8 2.7 4.1 3.1 4.4 3.8
Top-3 Recommendations for Client A
Client A
12. 12 / 46
Outline
3
2
5 Integration into Banking Core Services
1 Introduction to Recommender Systems
Challenges in Finance
Latent Features and Collaborative Filtering
4 Reaction to Explicit Feedback
13. 13 / 46
Latent features
Model Based Collaborative Filtering: Matrix Factorization and Latent Features
14. 14 / 46
ActionRomance
Latent features
Model Based Collaborative Filtering: Matrix Factorization and Latent Features
15. 15 / 46
Model Based Collaborative Filtering: Matrix Factorization and Latent Features
ActionRomance
Escapist
Realist
Latent features
16. 16 / 46
Latent features
Model Based Collaborative Filtering: Matrix Factorization and Latent Features
ActionRomance
Drama
Comedy
Realist
Escapist
17. 17 / 46
Latent features
Model Based Collaborative Filtering: Matrix Factorization and Latent Features
Items
Users
R ≈
Users
Items
×
Shared latent features are defined for both, users and items
For users – their preferences
For items – their characteristics
Features are latent, i.e. not easily interpretable
18. 18 / 46
Outline
3
2
5 Integration into Banking Core Services
1 Introduction to Recommender Systems
Challenges in Finance
Latent Features and Collaborative Filtering
4 Reaction to Explicit Feedback
19. 19 / 46
Collaborative filtering
Adapting to clients’ feedback
Conventional Recommender System
20. 20 / 46
Collaborative filtering Finding explanations
Product
binning
Asset
selection
Adapting to clients’ feedback
Recommender System for Investment Ideas
21. 21 / 46
Collaborative filtering Finding explanations
Product
binning
Asset
selection
Adapting to clients’ feedback
Recommender System for Investment Ideas
22. 22 / 46
Challenges in Finance
Model Based Collaborative Filtering: Implicit Ratings
2
1 3
5
4
1
4 2
2
23. 23 / 46
Challenges in Finance
Model Based Collaborative Filtering: Implicit Ratings
31. 31 / 46
Collaborative filtering Finding explanations
Product
binning
Asset
selection
Adapting to clients’ feedback
Recommender System for Investment Ideas
32. 32 / 46
0 1 1 1 0 0 0
0 1 1 1 0 0 0
1 1 1 1 0 0 0
0 1 1 0 1 1 0
0 0 0 1 1 1 1
0 0 0 1 1 1 0
0 1 0 0 0 1 1
Goal: produce recommendation for client 4
Explainability
Find Co-clusters in the Matrix
Reinhard Heckel, Michail Vlachos, Thomas Parnell, Celestine Duenner, Scalable and interpretable product recommendations via overlapping co-clustering, In IEEE International
Conference on Data Engineering (ICDE) 2017
33. 33 / 46
0 1 1 1 0 0 0
0 1 1 1 0 0 0
1 1 1 1 0 0 0
0 1 1 1 1 0
0 0 0 1 1 1 1
0 0 0 1 1 1 0
0 1 0 0 0 1 1
Recommendation: Item 4 is recommended to Client 4 because:
Client 4 has purchased Items 2-3: clients with similar purchase history (clients 1-3) also bought Item 4
Client 4 has purchased Items 5-6: clients with similar purchase history (clients 5-6) also bought Item 4
Explainability
Find Co-clusters in the Matrix
34. 34 / 46
Overview of the system
Collaborative filtering Finding explanations
Product
binning
Asset
selection
Adapting to clients’ feedback
35. 35 / 46
Emmi AG
Abb Ltd
The Swatch Group
Baloise Holding
Swiss Re
Swiss Life Holding
Jelmoli
Orell Fussli
Sensirion Holding
Swiss Equities
CHF
Industry
Risk Level 2
Swiss Equities
CHF
Industry
Risk Level 3
German Equities
EUR
Transportation
Risk Level 3
Swiss Bonds
CHF
Insurance
Risk Level 2
Individual assets
Asset categories
Air Berlin
Deutsche Lufthansa
Deutsche Post
Ratings matrix
1 0 0 1 1 0
0 1 0 0 0 1
1 1 0 0 0 0
0 0 1 0 0 0
0 0 0 1 1 0
client1
client2
client3
client4
...
Product Binning
Approach
36. 36 / 46
Product Binning
Which Issues it Solves
Cold-start for products
Time-varying product features
Too many dimensions
Allows coupling with business logic
Too much sparsity
Can help with extension of bank’s recommendation lists
37. 37 / 46
Overview of the system
Collaborative filtering Finding explanations
Product
binning
Asset
selection
Adapting to clients’ feedback
38. 38 / 46
Swiss Equities
CHF
Industry
Risk Level 2
Swiss Equities
CHF
Industry
Asset categories Individual assets
Emmi AG
Abb Ltd
The Swatch Group
historical holding
historical holding
current holding
Personal filter Recommendation
Category expansion by dropping
‘Risk Level’
historical holding
historical holding
current holding
current holding
Emmi AG
Abb Ltd
The Swatch Group
Jelmoli
Orell Fussli
Sensirion Holding
Orell Fussli
Asset selection from a recommended category
Attempt 1
Attempt 2
Product Binning
Compliant Selection from the Bin
39. 39 / 46
Outline
3
2
5 Integration into Banking Core Services
1 Introduction to Recommender Systems
Challenges in Finance
Latent Features and Collaborative Filtering
4 Reaction to Explicit Feedback
40. 40 / 46
Overview of the system
Collaborative filtering Finding explanations
Product
binning
Asset
selection
Adapting to clients’ feedback
41. 41 / 46
Explicit Feedback
Approach
𝐿 =
𝑖,𝑗
𝑐𝑖𝑗 𝑝𝑖𝑗 − 𝑝𝑖𝑗
2
• 𝑝𝑖𝑗 = 0
• 𝑐𝑖𝑗 = 𝑐 𝑚𝑎𝑥
• 𝑝𝑖𝑗 is forced to be 0
• 𝑝𝑖𝑗 = 𝑝 𝑚𝑎𝑥
• 𝑐𝑖𝑗 = 𝑐 𝑚𝑎𝑥
• 𝑝𝑖𝑗 must be high
Clients can rate the ideas: binary feedback
Feedback enters the prediction loop for the next
batch of recommendations
Experiments showed this approach to be legit
42. 42 / 46
Outline
3
2
5 Integration into Banking Core Services
1 Introduction to Recommender Systems
Challenges in Finance
Latent Features and Collaborative Filtering
4 Reaction to Explicit Feedback
45. 45 / 46
HOW DO YOU RATE THIS IDEA?
Your feedback helps to improve ideas for you.
Please note:
This is an investment idea and not a personal investment
recommendation (investment advice). It does not take into
account your financial situation or investment objectives.
Please click here to find more information.
As you bought ABB, you may like LafargeHolcim.
IDEA DESCRIPTION
AIRS Learns Based upon Feedback
46. 46 / 46
Why recommenders for financial advice?
Relevant investment ideas with high acceptance probability
Are achieved by employing the collaborative filtering approach with implicit ratings
Quality control
Is easily integrated through product binning and smart post-filtering
Saves time and effort of Relationship Managers
By automatically providing detailed explanations
Increases usage of online banking system
By presenting the ideas in an appealing way
Stimulates client engagement
Through collecting the feedback and adapting accordingly
48. 48 / 46
Explicit Feedback
Experiments
“How my feedback affects my recommendations?”
“How feedback of other clients affects
my recommendations?”
clients
number of clients
49. 49 / 46
Integration into Core Services
Project Timeline
May 18 Jun 18 Jul 18 Aug 18 Sep 18 Oct 18 Nov 18 Dec 18 Jan 19 Feb 19 Mar 19 Apr 19
AIRSPoC(PhaseI)AIRSPROD(PhaseII)
DEV
SIT
UAT
DEV
SIT
DOC
UAT
BUGFIX
Evaluation by CRMs
Go Live