ML Tutorial: Gaussian Processes (Richard Turner)

  Рет қаралды 140,925

Marc Deisenroth

Marc Deisenroth

Күн бұрын

Machine Learning Tutorial at Imperial College London:
Gaussian Processes
Richard Turner (University of Cambridge)
November 23, 2016

Пікірлер: 72
@dewinmoonl
@dewinmoonl 6 жыл бұрын
one of the best GP explanations. People have gotten me lost horribly with "too much math" without properly motivating the problems to begin with. This explanation is to the point, and the math is exactly the same in the end, just presented in a much better way.
@priyamdey3298
@priyamdey3298 3 жыл бұрын
absolutely! The motivation couldn't have been any better, to say the least.
@joeyzhong584
@joeyzhong584 11 күн бұрын
I came across so many GP videos on YT where people would say "Oh this is the best GP explanation". But once I saw this one, I would say this is the one truly best GP explanation video.
@zhou7yuan
@zhou7yuan 3 жыл бұрын
Motivation: non-linear regression [1:00] Gaussian distribution [3:09] conditioning [5:55] sampling [7:28] New visualization [8:51] New visualization dimension*5 [10:54] dimension*20 [13:06] Regression using Gaussians [15:08] (conditional on 4 un-continuous point) [16:17] Regression: probabilistic inference in function space [19:09] Non-parametric (∞-parametric) vs Parametric model [20:08] (hyper-parameter explain) [23:02] Mathematical Foundations: Definition [24:08] Mathematical Foundations: Regression [30:48] Mathematical Foundations: Marginalisation [34:02] Mathematical Foundations: Prediction [36:29] What effect do the hyper-parameters have? [41:40] short horizontal length-scale [41:58][42:21] long horizontal length-scale [42:30][42:41] [42:58] - l -> horizontal length-scale - \sigma^2 controls the vertical scale of the data Higher dimensional input spaces [44:06] What effect does the form of the covariance function have? [45:20] Laplacian covariance function |x1-x2| [46:16] Rational Quadratic [46:32] Periodic [46:55] The covariance function has a large effect [48:12] Bayesian model comparison (too sensitive to priors) [48:49] Scaling Gaussian Process to Large Datasets [56:04] Motivation: Gaussian Process Regression [56:08] O(N^3) [57:15] idea: summarize dataset by small number (M) pseudo-data [58:38] A Brief History of Gaussian Process Approximations [1:02:01] approximate generative model exact inference (simpler model) [1:02:20] pseudo-data [1:03:11] FITC, PITC, DTC (generate pseudo-data, elsewhere data are independent - broke connections) A Unifying View of Sparse Approximation Gaussian Process Regression (2005) [1:04:12] (problem of this approach) [1:04:31] exact generative model approximate inference [1:05:59] VFE, EP, PP [1:06:27] A Unifying View for Sparse Gaussian Process Approximation using ... (2016) [1:07:10] EP pseudo-point approximation [1:07:45] EP algorithm [1:15:27] Fixed points of EP = FITC approximation [1:23:33] Power EP algorithm (as tractable as EP) [1:25:05] Power EP: a unifying framework [1:25:56] How should I set the power parameter ɑ? [1:27:19] Deep Gaussian Process for Regression [1:34:34] Pros and cons of Gaussian Process Regression [1:34:35] From Gaussian Processes to Deep Gaussian Processes [1:38:26] Deep Gaussian Precesses [1:41:53] Approximate inference for (Deep) Gaussian Processes [1:42:09] Experiment: Value function of the mountain car problem [1:42:31] Experiment: Comparison to Bayesian neural networks [1:44:15]
@ncsquirll
@ncsquirll 6 жыл бұрын
really great video. one of the best GP explanations on the web.
@Benedetissimo
@Benedetissimo 6 жыл бұрын
The inherent beauty of Gaussian Processes, as well as the clarity of the explanation left me utterly impressed. Thank you so much for uploading!
@Tobaman111
@Tobaman111 4 жыл бұрын
I've come back to this for years. The visualization in the beginning is always a ray of light. Excellent.
@IslamEldifrawi
@IslamEldifrawi 3 жыл бұрын
This is the best GP explanation I have seen till now. Great job!!!
@Vikram-wx4hg
@Vikram-wx4hg Жыл бұрын
Super tutorial! Only wish: I wish I could see what Richard is pointing to when he is discussing a slide.
@heyjianjing
@heyjianjing 2 жыл бұрын
By far the best introduction to GP, thank you Prof. Turner!
@airindutta1094
@airindutta1094 2 жыл бұрын
Best GP visualization and explanation I have ever seen.
@johnkrumm9653
@johnkrumm9653 4 жыл бұрын
Wow, that was a great explanation of GPs! Thank you for making it so clear. You should tour around giving this lecture in huge stadiums. I'd buy the t-shirt! :-)
@michaelwangCH
@michaelwangCH 3 жыл бұрын
I listed lots of explanation in lecture halls during my study about gaussian process, your demo is the best one, that I ever saw. Thanks Marc.
@balalaika678
@balalaika678 4 жыл бұрын
Best source I could find in youtube, very clear and precise explanations ! After this the equations from a book are much easier to understand !
@tOo_matcha
@tOo_matcha 3 жыл бұрын
not sure how he goes from the variable index on the x-axis to data points on the x-axis in the visualizations. What is X on 20:20? Is each point on X a data instance, or a single feature value? I guess this X is just one dimension.
@braineaterzombie3981
@braineaterzombie3981 2 ай бұрын
Damn! This is wayyy better than i expected
@0929zhurong
@0929zhurong 2 жыл бұрын
The best GP explanation, amazingly done
@bernamdc
@bernamdc 3 жыл бұрын
At 14:29, why is the 3rd point above the 2nd point? I would expect it to be slightly below, as it is very correlated with point 2 and a bit correlated with point 1
@ponyta7
@ponyta7 6 жыл бұрын
Wonderful video, deeply thank you for this. From Seoul.
@tumitran
@tumitran 5 жыл бұрын
So nice that they give credits to the earlier paper.
@yeshuip
@yeshuip 2 жыл бұрын
i understood like variable index coressponds to the variable and we are plotting its values then somehow you talking about variable index can take real values and forgot about the distances. I didn't understand this concept. Can anyone explain me this
@mario7501
@mario7501 4 жыл бұрын
I wish I had found this video earlier. Took me using the equations myself to code up an example similar to yours to get an intuition of what’s going on
@yode8
@yode8 3 жыл бұрын
Any advice, or resources or papers. I feel like I generally understood what was happening in the video, but no everything. For example some of covariance functions equations. And also the EP example when he mentioned KL divergence. I am beginning to understand gps for my dissertation but some of the notation nd literature is hard to understand. Thanks
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
It'd be nice to hear about some real-world application of (deep) GPs. We saw its performance on toy datasets compared to similarly-sized NNs. If you throwed in bigger NNs I'd assume they'd improve quite trivially not sure whether that's the case with deep GPs (I might be wrong - I'm no expert on GPs). So far I've seen GPs used only obscurely - somebody uses a GP to figure out a small set of hyperparams. One prominent example is the AlphaGo Zero paper - they have a single sentence in their paper ("Methods" section) where they mention that they've used it to tune MCTS's hyperparams - whether that was even necessary is not at all clear from the paper, so I'm still looking for a use-case where GPs are definitely the right thing to do. I'd love to hear some examples if you know of them! Thanks for the lecture! I found the first part especially useful!
@norkamal7697
@norkamal7697 2 жыл бұрын
The best GP explanation evaaa
@julianocamargo6674
@julianocamargo6674 3 жыл бұрын
Brilliant presentation, thanks!
@zacharythatcher7328
@zacharythatcher7328 5 жыл бұрын
Can someone explain what is actually being done at 43:30? I understand that you are maximizing the likelihood of getting your outputs, y, given some inputs by varying sigma and l. But what is the output that you are optimizing for? The function at every point other than the known?
@ianmoore957
@ianmoore957 5 жыл бұрын
Spatially, I like to think of it like a 3D curve (with L, sigma2, and log p(y|theta) as the axis, and theta being your parameter set [L, sigma2]) with a peak (ie, peak -> maximum point of log p(y|theta)); if you take that peak, and project down onto a point on the L,sigma2 plane (ie, [L*,sigma2*]); you have the estimates of your parameters L and sigma2
@MayankGoel447
@MayankGoel447 Жыл бұрын
I guess over all the possible outputs y. Whichever y has the highest probability, you take the corresponding l, sigma^2
@maddoo23
@maddoo23 2 жыл бұрын
At 45:30, the covariance of brownian motion cov(B_s, B_t) = min(s,t), right? And not whats given on the slide..
@ret2666
@ret2666 2 жыл бұрын
See here for the sense this is Brownian motion: en.wikipedia.org/wiki/Ornstein-Uhlenbeck_process
@Ivan-td7kb
@Ivan-td7kb 6 жыл бұрын
Incredible explanation!
@GauravJoshi-te6fc
@GauravJoshi-te6fc Жыл бұрын
Woah! Amazing explanation.
@CppExpedition
@CppExpedition Жыл бұрын
WOOOOOOOOOOOOOOOW you blow my mind! 🤯
@sakcee
@sakcee Жыл бұрын
Excellent !!! very clear explanation
@sathya_official3843
@sathya_official3843 3 жыл бұрын
Awesome! Totally worth the time
@gwpiaser
@gwpiaser Ай бұрын
Very interesting video. Thank you (merci).
@parthasarathimukherjee7020
@parthasarathimukherjee7020 5 жыл бұрын
How are they assuming that the covariance matrix(similarity between dimensions) is the same as the kernel matrix(similarity between data points)?
@ganeshsk106
@ganeshsk106 4 жыл бұрын
Hi Patha, I have the same confusion. Were you able to understand this? Also from 56:10 minute of the video, he will start saying that they have collections of input (X) and respective ground truth (Y). So the prior assumption is that the data should be generated using the *Squared Exponential Kernel*. So if my understanding is right the data is in 1-D and with "N" data points the Kernel Matrix will be "NxN". Is it right?
@zakreynolds5472
@zakreynolds5472 2 жыл бұрын
@@ganeshsk106 I am having same confusion. If anyone could explain this it would really help me out!
@ethantao9249
@ethantao9249 5 жыл бұрын
super clear explanation. Thank you so much!
@saikabhagat
@saikabhagat 4 жыл бұрын
absolutely amazing! Thank you!
@zitafang7888
@zitafang7888 Жыл бұрын
Thanks for your explanation. May I ask where I can download the slide?
@niveyoga3242
@niveyoga3242 5 жыл бұрын
Awesome explanation!
@GGasparis7
@GGasparis7 4 жыл бұрын
amazing video, thank you very much
@vmt4gator
@vmt4gator 5 жыл бұрын
great class. Thank you very much
@redberries8039
@redberries8039 4 жыл бұрын
this is nicely done
@appliedstatistics2043
@appliedstatistics2043 Жыл бұрын
Does anyone know where to download the slides?
@zakreynolds5472
@zakreynolds5472 2 жыл бұрын
Thanks this presentation has been really useful but I am a little stuck and have a question. In this first portion of the presentation the CoV function is shown to show correlation between random variables (x axis=variable index) but from there on it seems to revert to being used to compared to values within the same variable (from X in bold on axis to lower case x). I appreciate that this is a difference between multivariate and univariate (I think?) But could you please elaborate?
@lahaale5840
@lahaale5840 3 жыл бұрын
Does GP only work super simple data like y=sin(x) + N()? In my experience, even a simple model like linear regression can beat GP in real-world data.
@Jononor
@Jononor 3 жыл бұрын
Does anyone have some insights on how this relates to the Radial Basis Function (RBF) kernel, as used in for example SVM?
@Nunocesarsa
@Nunocesarsa 5 жыл бұрын
epic class!
@kianacademy7853
@kianacademy7853 Жыл бұрын
rational Qudratic kernel has |x1-x2|^2 term, not |x1-x2|
@jinyunghong
@jinyunghong 5 жыл бұрын
Great video :)
@DVDPlayer18
@DVDPlayer18 4 ай бұрын
videomark 33:30
@ardeshirmoinian
@ardeshirmoinian 4 жыл бұрын
Does anyone know of a good description on learning the hyperparameters using k-fold cv?
@yeshuip
@yeshuip 2 жыл бұрын
hello can anyone provide the code please
@ryankortvelesy9402
@ryankortvelesy9402 4 жыл бұрын
51:20 yo dawg I heard you like gaussians so I put an infinite gaussian in your infinite gaussian
@stevepoper8073
@stevepoper8073 3 жыл бұрын
Actually ;D
@mathewspeter1274
@mathewspeter1274 6 жыл бұрын
Great explanation. Thank you. Is the PPT slide or PDF file that is presented, available for download? Which tool/script is used to generate the contour plots and blue coloured prediction plots? Is it scikit python library?
@ret2666
@ret2666 6 жыл бұрын
Slides for this and similar presentations are here: cbl.eng.cam.ac.uk/Public/Turner/Presentations
@chenxin4741
@chenxin4741 5 жыл бұрын
Perfect slides for GP
@ret2666
@ret2666 5 жыл бұрын
@@monsume123 Thanks for the comment. You're right that I should have written this as: Sigma(x1,x2) = K(x1,x2) + I(x1,x2) sigma^2_y, and explained that I(x1,x2) is a function that is 1 when x1=x2 and zero otherwise. Hope that clarifies things.
@saikabhagat
@saikabhagat 4 жыл бұрын
@@ret2666 The best explanation on the web by far. Thanks for the link. Somehow it seems unavailable. Is there an alternative location? Truly appreciate your attention.
@ret2666
@ret2666 4 жыл бұрын
@@saikabhagat I think the link should be working again now.
@DVDPlayer18
@DVDPlayer18 4 ай бұрын
16:41
@SphereofTime
@SphereofTime Жыл бұрын
52:33
@apbosh1
@apbosh1 4 жыл бұрын
What practical use have you done with this apart from to teach it? My head exploded about 1 minute in. Clever stuff!
@o0BluMenTopfErde0o
@o0BluMenTopfErde0o 3 жыл бұрын
Now its becoming a shoe draus !
@pattiknuth4822
@pattiknuth4822 4 жыл бұрын
This video in many cases was INCREDIBLY annoying. Students would ask questions. They were not loud enough to understand. Turner didn't repeat the question so you have no idea what was asked. Sometimes these questions were long so you would have long gaps in the audio. Pro tip: If you're going to allow questions during a lecture, repeat the question so everyone else knows what was asked and the answer then means something.
Gaussian Processes
23:47
Mutual Information
Рет қаралды 142 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Machine Learning Lecture 26 "Gaussian Processes" -Cornell CS4780 SP17
52:41
Bayesian Optimization
1:22:28
Marc Deisenroth
Рет қаралды 18 М.
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 451 М.
Gaussian Processes : Data Science Concepts
24:47
ritvikmath
Рет қаралды 19 М.
A Short Introduction to Entropy, Cross-Entropy and KL-Divergence
10:41
Aurélien Géron
Рет қаралды 361 М.
Gaussian Processes - Part 1
1:12:48
Marc Deisenroth
Рет қаралды 13 М.
Machine learning - Bayesian optimization and multi-armed bandits
1:20:30
Nando de Freitas
Рет қаралды 132 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,7 МЛН
Coding gaussian process regressors FROM SCRATCH in python
21:43
Machine learning - Introduction to Gaussian processes
1:18:55
Nando de Freitas
Рет қаралды 299 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН