bayesian deep learning for integrated intelligence ... · bayesian deep learning for integrated...

68
Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department of Computer Science and Engineering Joint work with Hao Wang, Naiyan Wang, and Xingjian Shi

Upload: others

Post on 01-Aug-2020

15 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference

Dit-Yan Yeung

Department of Computer Science and Engineering

Joint work with Hao Wang, Naiyan Wang, and Xingjian Shi

Page 2: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Bayesian Deep Learning

Deep Learning & Graphical Models

Perception & Inference/reasoning

Per

cep

tio

n

Motivation:

Graphical model

Bayesian deep learning

Inference/reasoning

Deep learning

Our goal

Page 3: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Inference & Reasoning: Recommendation

Movie Recommendation

Page 4: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Inference & Reasoning: Social Network Analysis

• Community Detection • Link Prediction • Information Diffusion

Page 5: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Bayesian Deep Learning: Under a Principled Framework

Probabilistic Graphical Models

Page 6: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Collaborative Deep Learning

Wang et al. 2015 (KDD)

Page 7: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Recommender Systems

Observed preferences:

To predict: Matrix completion

Rating matrix:

Page 8: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Recommender Systems with Content

Content information:

Plots, directors, actors, etc.

Page 9: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Modeling the Content Information

Handcrafted features Automatically

learn features

Automatically

learn features and

adapt for ratings

Page 10: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Modeling the Content Information

1. Powerful features for content information

Deep learning

2. Feedback from rating information Non-i.i.d.

Collaborative deep learning

Page 11: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Deep Learning

Stacked denoising autoencoders

Convolutional neural networks

Recurrent neural networks

Deep learning allows computational models that are composed of multiple processing layers to learn representations of data with multiple levels of abstraction.

Bengio et al. 2015

Page 12: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Deep Learning

Stacked denoising autoencoders

Convolutional neural networks

Recurrent neural networks

Typically for i.i.d. data

Page 13: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Modeling the Content Information

1. Powerful features for content information

Deep learning

2. Feedback from rating information Non-i.i.d.

Collaborative deep learning (CDL)

Page 14: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Contribution

Collaborative deep learning:

* deep learning for non-i.i.d. data

* joint representation learning and

collaborative filtering

Page 15: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Contribution

Collaborative deep learning

Complex target:

* beyond targets like classification and regression

* to complete a low-rank matrix

Page 16: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Contribution

Collaborative deep learning

Complex target

First hierarchical Bayesian models for

hybrid deep recommender system

Page 17: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Stacked Denoising Autoencoders (SDAE)

Corrupted input Clean input

Vincent et al. 2010

Page 18: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Probabilistic Matrix Factorization (PMF) Graphical model:

Generative process:

Objective function if using MAP:

latent vector of item j

latent vector of user i

rating of item j from user i

Notation:

Salakhutdinov et al. 2008

Page 19: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Probabilistic SDAE

Generalized SDAE

Graphical model:

Generative process:

corrupted input

clean input

weights and biases

Notation:

Page 20: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Collaborative Deep Learning Graphical model:

Collaborative deep learning SDAE

corrupted input

clean input

weights and biases

content representation

rating of item j from user i

latent vector of item j

latent vector of user i

Notation: Two-way interaction

•More powerful representation •Infer missing ratings from content •Infer missing content from ratings

Page 21: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Collaborative Deep Learning

Neural network representation for degenerated CDL

Page 22: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Collaborative Deep Learning

Information flows from ratings to content

Page 23: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Collaborative Deep Learning

Information flows from content to ratings

Page 24: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Collaborative Deep Learning

Representation learning <-> recommendation

Page 25: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Learning

maximizing the posterior probability is equivalent to maximizing the joint log-likelihood

Page 26: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Learning

Prior (regularization) for user latent vectors, weights, and biases

Page 27: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Learning

Generating item latent vectors from content representation with Gaussian offset

Page 28: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Learning

‘Generating’ clean input from the output of probabilistic SDAE with Gaussian offset

Page 29: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Learning

Generating the input of Layer l from the output of Layer l-1 with Gaussian offset

Page 30: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Learning

measures the error of predicted ratings

Page 31: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Learning

If goes to infinity, the likelihood becomes

Page 32: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Update Rules For U and V, use block coordinate descent:

For W and b, use a modified version of backpropagation:

Page 33: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Datasets

Content information

Titles and abstracts Titles and abstracts Movie plots

Wang et al. 2011 Wang et al. 2013

Page 34: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Evaluation Metrics

Recall:

Mean Average Precision (mAP):

Higher recall and mAP indicate better recommendation performance

Page 35: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Comparing Methods

Hybrid methods using BOW and ratings

Loosely coupled; interaction is not two-way

PMF+LDA

Page 36: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Recall@M

citeulike-t, sparse setting

citeulike-t, dense setting

Netflix, sparse setting

Netflix, dense setting

When the ratings are very sparse:

When the ratings are dense:

Page 37: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Mean Average Precision (mAP)

Exactly the same as Oord et al. 2013, we set the cutoff point at 500 for each user.

A relative performance boost of about 50%

Page 38: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Number of Layers

Sparse Setting

Dense Setting

The best performance is achieved when the number of layers is 2 or 3 (4 or 6 layers of generalized neural networks).

Page 39: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Example User

Moonstruck

True Romance

Romance Movies

Precision: 30% VS 20%

Page 40: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Example User

Johnny English

American Beauty

Action & Drama Movies

Precision: 50% VS 20%

Page 41: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Example User

Precision: 90% VS 50%

Page 42: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Summary: Collaborative Deep Learning

Non-i.i.d (collaborative) deep learning

With a complex target

First hierarchical Bayesian models for

hybrid deep recommender system

Significantly advance the state of the art

Page 43: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Extension of CDL

Word2vec, tf-idf

Sampling-based, variational inference

Tagging information, networks

Page 44: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Relational Stacked Denoising Autoencoders

Wang et al. 2015 (AAAI)

Page 45: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Motivation

• Unsupervised representation learning • Enhance representation power with relational information

Page 46: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Stacked Denoising Autoencoders (SDAE)

Corrupted input Clean input

Vincent et al. 2010

Page 47: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Probabilistic SDAE

Generalized SDAE

Graphical model:

Generative process:

corrupted input

clean input

weights and biases

Notation:

Page 48: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Relational SDAE: Generative Process

Page 49: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Relational SDAE : Generative Process

Page 50: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Relational SDAE: Graphical Model

corrupted input

clean input

adjacency matrix

Notation:

Page 51: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Multi-Relational SDAE : Graphical Model

corrupted input

clean input

adjacency matrix

Notation:

Page 52: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Relational SDAE: Objective Function

Page 53: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Update Rules

Page 54: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

From Representation to Tag Recommendation

Page 55: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Algorithm

Page 56: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Datasets

Page 57: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Sparse Setting, citeulike-a

Page 58: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Dense Setting, citeulike-a

Page 59: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Sparse Setting, movielens-plot

Page 60: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Dense Setting, movielens-plot

Page 61: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Tagging Scientific Articles

Page 62: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Tagging Movies

Page 63: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Tagging Movies

Page 64: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Summary: Relational SDAE

Adapt SDAE for tag recommendation

A probabilistic relational model for

relational deep learning

State-of-the-art performance

Page 65: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Bayesian Deep Learning: Under a Principled Framework

Relational SDAE Collaborative Deep Learning

Probabilistic Graphical Models

Page 66: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Take-home Messages

• Probabilistic graphical models for formulating both representation learning and inference/reasoning components

• Learnable representation serving as a bridge

• Tight, two-way interaction is crucial

Page 67: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Future Goals

General Framework: 1. Ability of understanding text,

images, and videos

2. Ability of inference and planning

under uncertainty

3. Close the gap between human

intelligence and artificial intelligence

Page 68: Bayesian Deep Learning for Integrated Intelligence ... · Bayesian Deep Learning for Integrated Intelligence: Bridging the Gap between Perception and Inference Dit-Yan Yeung Department

Thanks!

Q&A