deep learning for recommender systems - inovex · “collaborative deep learning for recommender...

44
Deep Learning for Recommender Systems Marcel Kurovski Karlsruhe, October 25 th 2017

Upload: others

Post on 26-Jul-2020

24 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

Deep Learning for Recommender Systems

Marcel Kurovski Karlsruhe, October 25th 2017

Page 2: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

2

About Me§ Industrial Engineer (M.Sc.)§ Data Scientist at inovex§ Machine Learning – focus on Deep Learning§ Masterthesis:

Deep Learning for Recommender Systems:Joint Learning of Preference and Similarity

Marcel Kurovski

Page 3: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

3

Agenda

1. Motivation

2. State-of-the-Art

3. VehicleRecommendationswith Deep Learning

4. ACM RecSysConference 2017

5. Discussion

Page 4: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

4

Annual Data Sphere increases exponentially

International Data Corporation: Data Age 2025 study, April 2017

Informationà Humans

Processing Capacity

Page 5: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

5

Information Overload

https://www.linkedin.com/pulse/its-information-overload-filter-failure-productivity-industry-zayats/

Page 6: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

“It‘s not information overload.It‘s filter failure."

- Clay Shirky

Page 7: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

7

Collaborative Filtering

? 1 1 1

? 1 ? ?

1 1

m

Users

n Items

3

1

2

3

1

2

2

1

3

4

1 2 3 4

Page 8: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

8https://www.slideshare.net/MrChrisJohnson/algorithmic-music-recommendations-at-spotify/10-Collaborative_Filtering10HeyI_like_tracks_P

Collaborative Filtering

Page 9: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

9https://buildingrecommenders.wordpress.com/2015/11/18/overview-of-recommender-algorithms-part-2/

Matrix Factorization

Page 10: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

10

Cold Start

http://www.yusp.com/wp-content/uploads/2015/07/cold-start-problem-recommender-systems-1.jpg

Page 11: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

11

Recommender Systems for IF

SPARSITY

Page 12: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

12adapted from http://www.kdnuggets.com/2016/02/nine-datasets-investigating-recommender-systems.html

Sparsity Comparison

Page 13: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

13adapted from http://www.kdnuggets.com/2016/02/nine-datasets-investigating-recommender-systems.html

Sparsity ComparisonMovieLens 1M: 4.26% MovieLens 20M: 0.53%

Last.fm: 0.28% Vehicles All: 0.0046%

Page 14: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

14

Content-based Filtering

? 1 1 1

? 1 ? ?

1 1

m

Users

n Items

age

gender

history

mileagemodelcolor

3

1

2

3

1

2

2

1

3

4

1 2 3 4

Page 15: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

15

“Deep Learning becomes a general-purpose solution fornearly all learning problems."

- Covington et al.

2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017

Google Trends forDeep Learning

Page 16: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

16

Motivation: Deep Learning for RecSys

Information Overload

Information Filtering

RecommenderSystems

Learning Problem

Deep Learning

Page 17: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

17

Agenda

1. Motivation

2. State-of-the-Art

3. VehicleRecommendations withDeep Learning

4. ACM RecSysConference 2017

5. Discussion

Page 18: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

18

Recommendations are everywhere

Page 19: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

19

„The company reported a 29% salesincrease to $12.83 billion [...]Amazon has integratedrecommendations into nearly everypart of the purchasing process fromproduct discovery to checkout.“

http://fortune.com/2012/07/30/amazons-recommendation-secret/

Page 20: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

20

„Our recommender system is usedon most screens of the Netflixproduct beyond the homepage, andin total influences choice for about80% of hours streamed at Netflix. The remaining 20% comes fromsearch [...]“

Gomez-Uribe, Carlos A. and Hunt, Neil: The Netflix Recommender System: Algorithms, Business Value, and Innovation (2015)

Suche

EmpfehlungenRecommendations

Search

Page 21: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

21DLRS: Deep Learning based Recommender Systems

Domains and Types for DLRS

DNNs

CNNs

RNNs

AEs

Sonst.

Sonst.

2013

2016

2017

2015

2009

2015 2015 2015

2017

2015

2016

2016

Page 22: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

22

DNNs for Video-Recommendations (1)

Page 23: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

23Covington, Paul, Jay Adams, and Emre Sargin: Deep neural networks for youtube recommendations (2016)

DNNs for Video-Recommendations(2)

Page 24: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

24Covington, Paul, Jay Adams, and Emre Sargin: Deep neural networks for youtube recommendations (2016)

DNNs for Video-Recommendations(3)

Deep Candidate Generation Deep Ranking

Page 25: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

25Cheng, Heng-Tze et al.: Wide and Deep Learning for Recommender Systems (2016)

https://research.googleblog.com/2016/06/wide-deep-learning-better-together-with.html

Wide and Deep Learning for App-Recos (1)

Page 26: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

26

Wide and Deep Learning for App-Recos (2)

Cheng, Heng-Tze et al.: Wide and Deep Learning for Recommender Systems (2016)

https://research.googleblog.com/2016/06/wide-deep-learning-better-together-with.html

DeepComponent Wide

ComponentEmbeddings

Page 27: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

27

Agenda

1. Motivation

2. State-of-the-Art

3. VehicleRecommendationswith Deep Learning

4. ACM RecSysConference 2017

5. Discussion

Page 28: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

28

Vehicle Recommendations: End-to-End Approach

CandidateGeneration

Serving Ranking

Preprocessing ClassifierTrainingData

Page 29: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

29

Vehicle Recommendations: Technologies

Locally OptimizedProduct Quantization

HardwareGPU-Server

NVIDIA Tesla K804x Intel Xeon 3.5 GHz64GB RAM, 850GB Disk

AWS Instances

Page 30: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

30

Vehicle Recommendations: Data

Users & InteractionsRegistered UsersSample Size: 100,000 UsersEvents: View, Bookmark, Contact

Time-basedTrain-Test-Split

CW14

CW15

CW16

CW17

CW18

April 2017 May

Training Test

85 : 15

Page 31: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

31https://medium.com/towards-data-science/deep-learning-4-embedding-layers-f9a02d55ac12

What does ‘Embedding‘ actually mean?

0. blue 0

1. green 0

2. red 0

3. yellow 0

4. orange 0

5. black 1

6. white 0

7. brown 0

1

0

1

binaryEmbedding

One-Hot-Encoding

Page 32: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

32

Page 33: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

33

categorical features

one-many-encoding one-hot-encoding

feature valuesucat icat

eclimatisation

icont

embeddinguser

consumption first_reg price...

embeddingi, cont

ucont

embeddingu,cont

...

outlier removal

z-normalisation

ELU (256)

ELU (128)

ELU (64)

Deep Component

Wide Component

cross user-item transformations

embeddingitem

...

...

climatisation color

ecolor etransmission

transmission

OutputProbability that user ulikes vehicle i

meanconsumption meanprice

stddevconsumption stddevprice

...

concatenate concatenate

outlier removal

z-normalisation

Pre

pro

cess

ing

Em

bed

din

gW

ide

and

Dee

p

Page 34: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

34

Vehicle Recommendations: End-to-End Approach

CandidateGeneration

Serving Ranking

Preprocessing ClassifierTrainingData

✓ ✓

Page 35: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

35

Vehicle Recommendations: Ranking

Target: Rank Candidates descendantly by interaction probability

user0

...

userm

itemm,0

...itemm,T

user-specificCandidate Lists

user-specifick-Rankings

𝑘 ≤ 𝑇

itemm,0

...itemm,k

Page 36: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

36

Vehicle Recommendations: End-to-End Approach

CandidateGeneration

Serving Ranking

Preprocessing ClassifierTrainingData

✓ ✓

✓ ✓

Page 37: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

37

Results: DLRS Recommendation Relevance

0,25%

0,35%

0,45%

0,55%

0,65%

0,75%

0,85%

k = 1 k = 5 k = 10

MA

P@

k

CF (⍺=0.03, d=100)

Hybrid CF-CBF (⍺=0.03, d=100)

Hybrid CF-CBF (⍺=0.03, d=700)

DL (multi-cos)

+20%

+65%

Page 38: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

38

Agenda

1. Motivation

2. State-of-the-Art

3. VehicleRecommendationswith Deep Learning

4. ACM RecSysConference 2017

5. Discussion

Page 39: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

39

Page 40: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

40Twitter: @domonkostikk

ACM RecSys Conference 2017

627 Participants

43 Countries

„Accuracy doesn‘t matter – impact does!“

„Try to not useMovieLens“

„People are most curiousabout themselves“

Page 41: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

41Quadrana, Massimo et al.: Personalizing Session-based Recommendations with Hierarchical Recurrent Neural Networks (2017)

RNNs for Video and Job Recommendations

Page 42: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

42

"We can only see a short distanceahead, but we can see plentythere that needs to be done."

- Alan Turing

Page 43: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

43

References[1] Quadrana, Massimo, Karatzoglou, Alexandros, Hidasi, Balázs, Cremonesi, Paolo. “Personalizing Session-based Recommendations with Hierarchical

Recurrent Neural Networks“ Proceedings of the 11th ACM Conference on Recommender Systems. 2017

[2] Wang, Hao, Wang, Naiyan, Yeung, Dit-Yan. “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. 2015

[3] Cheng, Heng-Tze, et al. "Wide & deep learning for recommender systems." Proceedings of the 1st Workshop on Deep Learning for Recommender Systems. ACM, 2016.

[4] Covington, Paul, Jay Adams, and Emre Sargin. "Deep neural networks for youtube recommendations." Proceedings of the 10th ACM Conference on Recommender Systems. ACM, 2016.

[5] Goodfellow, Ian, Yoshua Bengio, and Aaron Courville. Deep learning. MIT Press, 2016.

[6] Heaton, Jeff. Artificial Intelligence for Humans: Deep Learning and Neural Networks. 2015.

[7] Ricci, Francesco and Rokach, Lior and Shapira, Bracha. Recommender Systems Handbook. Springer-Verlag. 2015

[8] Abadi, Martín, et al. "Tensorflow: Large-scale machine learning on heterogeneous distributed systems." arXiv preprint arXiv:1603.04467 (2016).

[9] Loni, Babak, et al. "Bayesian Personalized Ranking with Multi-Channel User Feedback." Proceedings of the 10th ACM Conference on Recommender Systems. ACM, 2016.

[10] Kalantidis, Yannis, and Yannis Avrithis. “Locally optimized product quantization for approximate nearest neighbor search.“ Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2014.

[11] Reinsel, David, Gantz, John, Rydning, John. “Data Age 2025: The Evolution of Data to Life-Critical Don't Focus on Big Data; Focus on the Data That's Big“ International Data Corporation (IDC). 2017

Page 44: Deep Learning for Recommender Systems - inovex · “Collaborative Deep Learning for Recommender Systems“ Proceedings of the 21th ACM SIGKDD International Conference on Knowledge

Thank You

Marcel Kurovski

Big Data Scientist

inovex GmbH

Kupferhütte 1.13,

Schanzenstr. 6-20

51063 Cologne

[email protected]

0173 3181 088