Better HN
topnewbestaskshowjobs
Log inSign up

PartiallyTyped

2,940 karma · joined Oct 16, 2020 (6y ago) · 2,890 submissions

me [at] [$handle].dev

----------------------------------------------------

Submissions

comment 3y ago · link · parent

Diffusion models learn a transformation operator. The parameters are adjusted such that the operator maximises the evidence lower bound, or in other words, increasing the likelihood of observing a slightly less noisy version of the input.

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

Theorem provers and calculators exist, and we don’t consider them intelligent, so those in and of themselves are not sufficient to argue for intelligence.

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

It's not like I have been doing many things outside reading papers and books over the past few years... The post that person used as an ad-hominem even says so.

comment 3y ago · link · parent

I argued for it and all I got was downvoted without criticism of the substance of my arguments, only ad-hominems and fallacies.

If you can point to _fundamental_ criticism of my arguments, and not fallacies or attacks, I'd be more than happy to discuss them.

comment 3y ago · link · parent

My claim is that this work is simply worse ensembles wrapped in a biologically inspired claims, and that arguments made in support of it by the author compared to other approaches are simply not sound.

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

If we can't publicly scrutinize people who have great sway in the industry, what does that say about us as a research community?

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

This person has made a similar remark and purposefully looked into my post history - which doesn't make any claims about my knowledge or skills - lied about it, and made a sarcastic remark, see "everything".

comment 3y ago · link · parent

I am neither the first, nor the last who believe that the Laureates have not done their due diligence properly with respect to citing sources.

I could name many other people who have actually been more influential in the field.

comment 3y ago · link · parent

Ad-hominems are not a particularly nice way to argue about correctness of a claim.

comment 3y ago · link · parent

> will this algorithm uncover a new design space for NNs?

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

It seems that the point is that the objective function is applied layerwise, still computes gradient to get the update direction, it's just that gradients don't propagate to previous layers (detatched tensor).

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

> Doing it alone, or with some burnt out druggie friend is not likely to work except by pure accident, and making it worse is just as likely.

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

The distributed system has benefits that the monolith doesn't, like scalability and resilience to failures though it opens doors to new kinds of failures.

comment 3y ago · link · parent

This claim needs some data to back it up.

comment 3y ago · link · parent

In theory, yes. "Hogwild!" is an approach to distributed training, in essence, each worker is given a bunch of data, they compute the gradient and send that to a central authority. The authority accumulates the gradients and periodically pushes new weights.

There is also Federated Learning which seemed to start taking off, but then interest rapidly declined.

comment 3y ago · link · parent

I don't think DM was open in any meaningful way other than publishing research.

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

Correction:

A linear regressor can not have more parameters than the number of data points.

comment 3y ago · link · parent

I don't think that this counts as a third party ... given that it runs locally. Lawyers make use of laptops all the time in the courtroom.

comment 3y ago · link · parent

I referred to [1], thanks I have corrected GP.

comment 3y ago · link · parent

OP asked for foundational, and I provided _foundational_. In my opinion, everyone should start from some sound foundations in LinAlg and Calculus.

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

Isn’t what you describe simply the consequence of picking low hanging fruits?

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

LfD is a great book to get people to think about complexity classes and model families. We used that in my grad course and I can recommend it.

comment 3y ago · link · parent

If you don’t like the theoretical explanation given in the sibling comment regarding energy carried by photons, try an experimental approach and get back to us with your results.

comment 3y ago · link · parent

I recommend against DL by Goodfellow. At this point it is pretty much outdated. Actually, anything specific to NNs is already outdated by release.

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.

comment 3y ago · link · parent

Didn’t that person actually die from cancer and not radiation per se?

I understand that cancer can be caused by radiation, but that is actually treatable and not always fatal, whereas radiation poisoning is afaik fatal.

1
585960
97