Top Banner
Fast N-Body Learning Nando de Freitas University of British Columbia
19

Fast N-Body Learning Nando de Freitas University of British Columbia.

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Fast N-Body Learning Nando de Freitas University of British Columbia.

Fast N-Body LearningFast N-Body Learning

Nando de Freitas

University of British Columbia

Page 2: Fast N-Body Learning Nando de Freitas University of British Columbia.

Historical Perspective Historical Perspective

• Non-iterative or “direct” methods for eigenvalue problems and linear systems of equations require O(N3) operations.

• Let's look at the history of what has been regarded as large N:

1950: N=20 1965: N=200 1980: N=2000 1995: N=20000

• So over the course of 45 years N has increased by a factor of103. However, the speed of computers has increased by a factor of109. From this the O(N3) bottleneck is evident.

If only we could reduce the cost to O(N) – sigh!

Page 3: Fast N-Body Learning Nando de Freitas University of British Columbia.

Krylov for Eigen-Problems Krylov for Eigen-Problems

Page 4: Fast N-Body Learning Nando de Freitas University of British Columbia.

Krylov for Systems of Equations Krylov for Systems of Equations

Page 5: Fast N-Body Learning Nando de Freitas University of British Columbia.

N-Body Problems in Learning N-Body Problems in Learning

Sum-kernel problem:

Max-kernel problem:

Page 6: Fast N-Body Learning Nando de Freitas University of British Columbia.

N-Body Problems N-Body Problems

Page 7: Fast N-Body Learning Nando de Freitas University of British Columbia.

Obvious applications of N-body Learning Obvious applications of N-body Learning

• Exact and approximate message propagation.

• Markov chain Monte Carlo

• Gaussian processes, Wishart processes and Laplace processes.

• Spectral learning: eigenmaps, SNE, NCUTS, ranking on manifolds, … (even if using Nystrom)

• Reinforcement learning.

• The E step.

Page 8: Fast N-Body Learning Nando de Freitas University of British Columbia.

• Kernel-(fill in your favourite name).

• Rao-Blackwellised Monte Carlo.

• Nearest neighbour methods.

• Some types of boosting.

• Computer graphics.

• EM, fluid dynamics, gravitation, quantum systems.

• … and much more !

Obvious applications of N-body Learning Obvious applications of N-body Learning

Page 9: Fast N-Body Learning Nando de Freitas University of British Columbia.

Illustrative Example: Zhu, Lafferty & Zoubin Illustrative Example: Zhu, Lafferty & Zoubin

Page 10: Fast N-Body Learning Nando de Freitas University of British Columbia.

Illustrative Example Illustrative Example

Energy function using the graph Laplacian:

Easy, but … a big linear system:

Naïve iterative solution:

Page 11: Fast N-Body Learning Nando de Freitas University of British Columbia.

Illustrative Example Illustrative Example

We have solved a Gaussian process (where the covariance is the inverse graph Laplacian in O(N).

Page 12: Fast N-Body Learning Nando de Freitas University of British Columbia.

Illustrative Example Illustrative Example

Page 13: Fast N-Body Learning Nando de Freitas University of British Columbia.

Message propagation Message propagation

Whether it’s exact:

… or approximate:

Page 14: Fast N-Body Learning Nando de Freitas University of British Columbia.

Fast Methods in this Workshop Fast Methods in this Workshop

Page 15: Fast N-Body Learning Nando de Freitas University of British Columbia.

Fast Multipole Methods Fast Multipole Methods

Page 16: Fast N-Body Learning Nando de Freitas University of British Columbia.

Recursive Tree Structures Recursive Tree Structures

Page 17: Fast N-Body Learning Nando de Freitas University of British Columbia.

Recursive Tree Structures Recursive Tree Structures

Page 18: Fast N-Body Learning Nando de Freitas University of British Columbia.

Distance Transform Distance Transform

m(j) = min ( w(i) + d(i,j) )i

Page 19: Fast N-Body Learning Nando de Freitas University of British Columbia.

In this workshop In this workshop

•You’ll encounter tutorials on fast methods from the people who’ve been developing them.

• You’re likely to see encounter people arguing over error bounds, implementation strategies, applications and many more things.

• You’ll see statistics, learning, data structures and numerical computation come together.

• You’ll dream of the powder up on the hill.