Menu
Sign In Search Podcasts Libraries Charts People & Topics Add Podcast API Blog Pricing

Reiner Pope

πŸ‘€ Speaker
1157 total appearances

Appearances Over Time

Podcast Appearances

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

That is the common case in ciphers, whereas that's the like undesired case in neural nets for sure.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

Yeah, so using neural nets for cryptography, well, in general, cryptography, like creating a new cipher is a very, very dangerous proposition.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

Like almost all of them are broken, like 99% of them are broken.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

So...

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

probably a bad place to start.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

But the other direction has been very, like in at least one very clear case, quite productive.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

So there's this construction in, so a construction that exists in ciphers and then was imported into neural nets called a Feistel cipher, Feistel network.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

So the idea is that you may have some function f, which is not invertible, but

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

But you like the function because it does interesting things, like it does an MLP, for example, or it mixes in an interesting way.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

You'd like to build something out of this that is invertible.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

So the construction we're going to make is going to actually be a two-input function rather than a one-input function.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

And we're going to apply f of x.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

We need to actually remember what x was.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

So we're going to stick x over here so that we can work backwards.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

And then we also can't drop y. So we're going to remember y and we're going to add them together.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

And so we form this tuple.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

So the way to invert this, like if you think I have this output and I want to recover x and y, well, I can easily recover x. That's right there.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

I just read it off.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

And then to recover y, if this thing was called z, I can recover y by z minus f of x because I've already recovered x. So that means that this construction is invertible.

Dwarkesh Podcast
Reiner Pope – The math behind how LLMs are trained and served

This was used in ciphers like a ton, still is used.