2,940 karma · joined Oct 16, 2020 (6y ago) · 2,890 submissions
----------------------------------------------------
comment 3y ago · link · parent
The guidance component is a vector representation of the text that changes where we are in the sample space. A change in the sample space changes likelihood so for the different prompts the likelihood of the same output image for the same input image will be different.
Since the model is trained to maximise the ELBO, it will produce a change closer to the prompt.
A good way to think about it is this: given a classifier, I can select a target class and compute the derivative of the input with respect to the target class, and apply the derivative to the input. This puts it closer to my target class.
From the perspective of some models (score models), they produce a derivative of the density (of the samples), so it’s a bit similar to computing a derivative via classifier.
The above was concerned with what the NN was doing.
The algorithm applies the operator a number of steps, and progressively improves the image. In some probabilistic models, you can think of this as an inverse of stochastic gradient descent procedure (meaning a series of steps) that, with some stochasticity, reach a high value region (the density).
However, it turns out that learning this operation doesn’t have to be grounded in probability theory and graphical models.
As long as the NN learns a sufficiently good recovery operator, diffusion will construct something based on the properties of the dataset that has been used.
At no point however are there condensed representations of images since the NN is not learning to produce an image from zero in one step. It merely learns to recover some operation applied to the input.
For the probabilistic view, read Denoising Diffusion Probabilistic Networks and references, in particular langevin dynamics. It includes citations to score models as well.
For the non probabilistic component, read Cold diffusion.
For using the classifier gradient to update an image towards another class, read about adversarial generation via input gradients.
comment 3y ago · link · parent
Conversely, neither of the two are prerequisites for human intelligence either since the overwhelming majority of humans is simply not able to do either, but we generally don’t consider them “not intelligent”.
So me, it seems plausible that with the right prompt, a language model will be able to do addition.
comment 3y ago · link · parent
By looking at it through that perspective, the issues with the approach become evident, and are fundamental in my opinion.
comment 3y ago · link · parent
The fact that I argued why I found it bogus based on well established principles, and I get shitted on by people who by all means have provided nothing to this conversation and except suppressing criticism or throwing ad-hominems should tell all about the quality of discourse.
Dismissing criticism, not by arguments, but by the mere name of the person does a disservice to everyone.
If the research can't stand on its own, independent of the author, then it is not good research.
comment 3y ago · link · parent
No.
Hinton "discovered" stacking ensembles and gave it a new name, fancy analogies to biological brains and then made it worse.
The gist of this is that you can select a computational unit, be it a linear layer, or a collection of layers, compute the derivative of the output with respect to the parameters, and update them.
Each computational unit is independent, meaning that you don't calculate gradients going outside of it.
This is the same as training a bunch of networks, computing predictions, and then using another layer to combine the predictions. This is called stacking, and the networks are called an "ensemble". You can do this multiple times and have N levels of meta estimators.
Instead of fitting the ensemble and then the meta estimator, Hinton proposes training both simultaneously but without allowing gradients to flow through.
That is stupid because if you don't allow gradients to flow through, you will see a context drift as the data distribution changes. Hinton observed this context drift, to deal with that, he proposed normalizing the data.
On one extreme, you can use individual linear units as the models, and on the other extreme, you can combine all units into a single neural network and treat that as a module.
So no, this does not open any new design, it's an old idea, worsened, and wrapped in fancy words and post-facto reasoning.
If you are curious how a linear layer is an ensemble, observe that each vector is its own linear estimator, making the linear mapping an ensemble of estimators.
comment 3y ago · link · parent
As far as I can tell, this is almost the same as stacking multiple layers of ensembles, except worse as each ensemble is trained while previous ensembles are learning. This is causing context drift.
To deal with the context drift, Hinton proposes to normalise the output.
This isn't anything new or novel. Expressing "ThIs LoOkS sImIlAr To HoW cOgNiTiOn WoRkS" to make it sound impressive doesn't make it impressive or good by any stretch of the imagination.
Hinton just took something that existed for a long time, made it worse, gave it a different name and wrapped it in a paper under his name.
With every paper I am more convinced that the Laureates don't deserve the award.
Sorry, this "paper" smells from a mile away, and the fact that it is upvoted as much shows that people will upvote anything if they see a pretty name attached.
Edit:
Due to the apparent controversy of my criticism, I can't respond with a reply, so here is my response to the comment below asking what exactly makes this worse.
> As far as I can tell, this is almost the same as stacking multiple layers of ensembles
It isn't new. Ensembling is used and has been used for a long time. All kaggle competitions are won through ensembles and even ensembles of ensembles. It is a well studied field.
> except worse as each ensemble is trained while previous ensembles are learning.
Ensembles exhibit certain properties, but only iff they are trained independently from each other. This is well studied, you can read more about it in Bishop's Pattern recognition book.
> This is causing context drift.
Context drift occurs when a distribution changes over time. This changes the loss landscape which means the global minima change / move.
> To deal with the context drift, Hinton proposes to normalise the output.
So not only is what Hinton built a variation of something that existed already, made it worse by training the models simultaneously, and to handle the fact that it is worse, he adds additional computations to deal with said issue.
comment 3y ago · link · parent
This claim, that doing it alone is unlikely to work, or likely to worsen your situation.
> That psychedelics can worsen mental disorder?
That sentence is not the same as the previous claim.
comment 3y ago · link · parent
There is also Federated Learning which seemed to start taking off, but then interest rapidly declined.
comment 3y ago · link · parent
It took a long time until their source code became public, and replication of certain papers is problematic to say the least.
Similar issues exist with some G.Brain papers not releasing code publicly years after acceptance.
But all of these are anecdata from a random person on HN so take with a grain of salt.
comment 3y ago · link · parent
Here are a couple of errors that stem from a single foundational problem:
- a linear regressor can not be more than the number of datapoints
- dimensionality reduction when you have NxM with M > N is bogus and you need a bigger dataset to do anything meaningful other than clustering
- input dimension of output layer is larger than the number of samples
The underlying issue in all of these is the rank nullity theorem which is pretty foundational for ML, and yet many practitioners don't know about it or haven't made the connection.
I am not expressing that you should have gone through Spivak or build bottom up. There are books like mathematics of ML that condense everything you need, giving you a decent enough foundation for what you will need.
comment 3y ago · link · parent
it’s only seminal papers that involve multiple ideas together, and even those have a lot of mathematics involved to make them stand up to scrutiny tests.
I’d even go as far as to argue that if you took any of the highly cited papers of the last 5 years in ML, 20 years or so back, they’d be even more groundbreaking than that time’s seminal work.
comment 3y ago · link · parent
You'd need the following background:
- Linear Algebra
- Multivariate Calculus
- Probability theory && Statistics
Then you need a decent ML book to get the foundations of ML, you can't go wrong with either of these:
- Bishop's Pattern Recognition
- Murphy's Probabilistic ML
- Elements of statistical learning
- Learning from data
You can supplement Murphy's with the advanced book. Elements is a pretty tough book, consider going through "Introduction to statistical learning"[1]. Bishop and Murphy include foundational topics in mathematics.
LfD is a great introductory book and covers one of the most important aspects of ML, that is, model complexity and families of models. It can be supplemented with any of the other books.
I'd also recommend doing some abstract algebra, but it's not a prerequisite.
If you would like a top-down approach, I recommend getting the book "Mathematics of Machine Learning" and learning as needed.
For NN methods, some recommendations:
- https://paperswithcode.com/methods/category/regularization
- https://paperswithcode.com/methods/category/stochastic-optim...
- https://paperswithcode.com/methods/category/attention-mechan...
- https://paperswithcode.com/paper/auto-encoding-variational-b...
For something a little bit different but worth reading given that you have the prerequisite mathematical maturity
- Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gauges | https://arxiv.org/abs/2104.13478
[1] https://www.statlearning.com/
Many thanks to the user "mindcrime" for catching my error with Introduction to statistical learning.