VAEs Are Energy-Based Models? [Dr. Jeff Beck]

Machine Learning Street Talk (MLST)
25 January 2026 46 min
0:00 --:--
Episode Description
What makes something truly *intelligent?* Is a rock an agent? Could a perfect simulation of your brain actually *be* you? In this fascinating conversation, Dr. Jeff Beck takes us on a journey through the philosophical and technical foundations of agency, intelligence, and the future of AI.Jeff doesn't hold back on the big questions. He argues that from a purely mathematical perspective, there's no structural difference between an agent and a rock – both execute policies that map inputs to output

Summary

Dr. Jeff Beck discusses the philosophical and technical foundations of intelligence, agency, and the future of AI. He argues that from a mathematical perspective, an agent is a sophisticated object, distinguished by internal processes like planning and counterfactual reasoning, which are hard to observe externally. The conversation also delves into energy-based models, their relationship with Bayesian inference, and the potential for AI to automate scientific discovery and enhance human capabilities, while also addressing AI safety through careful reward function specification.

Chapters

Geometric Deep Learning and Agency DefinitionThe discussion begins with geometric deep learning's role in modeling the physical world's symmetries, then transitions to the philosophical question of whether an agent is structurally distinct from an object, suggesting it's a matter of degrees of sophistication.
Identifying and Measuring AgencyThe speakers explore how to identify planning and counterfactual reasoning as hallmarks of agency, acknowledging the difficulty of external observation and proposing metrics like transfer entropy to measure policy sophistication.
Physicality, Simulation, and PhilosophyThe conversation debates whether a high-fidelity computer simulation of a brain could be an agent, concluding that physicality is a necessary component for true agency, and highlights the Bayesian's frustration with philosophy's rigid distinctions versus degrees.
Energy-Based Models and VAEsDr. Beck explains energy-based models as having an inductive prior, contrasting them with traditional neural networks by their cost function operating on internal states, and identifies Variational Autoencoders (VAEs) as a canonical example.
JEPA, Non-Contrastive Learning, and PreprocessingThe discussion covers Joint Embedding Predictive Architectures (JEPA) for learning compressed representations, the challenges of mode collapse in non-contrastive learning, and the importance of jointly fitting preprocessing models for robust self-supervised learning.
Recursive Self-Improvement and True IntelligenceThe concept of recursive self-improving intelligence is explored, emphasizing continual learning, the ability to generate new models on the fly, and combining existing modules as critical components for true AI, drawing parallels to brain evolution.
AI in Scientific Discovery and Future ImpactThe conversation shifts to AI's role in automating scientific discovery, particularly in experimental design, and discusses the potential for autonomous AIs to free humans for more interesting pursuits, fostering a techno-optimistic view of human-AI co-evolution.
AI Safety and Objective Function SpecificationConcerns about AI going rogue are addressed by emphasizing human control over objective functions, and safer methods like maximum entropy inverse reinforcement learning are proposed to specify AI goals by perturbing observed human outcome distributions.

Topics

Geometric Deep LearningAgency DefinitionPolicy SophisticationPlanning and ReasoningPhysicality of AgentsPhilosophy of AIEnergy-Based ModelsVariational AutoencodersBayesian InferenceTest Time TrainingJoint Embedding ArchitecturesNon-Contrastive LearningSelf-Supervised LearningContinual LearningRecursive Self-ImprovementScientific Discovery AutomationAI Societal ImpactAI SafetyReward Function Design

People

Dr. Jeff Beck (guest) Tim Scarfe (host) Keith (mentioned) Yann LeCun (mentioned) Clement Bonnet (mentioned) Hinton (mentioned) Chole (mentioned) Benji (mentioned)
Key Concepts (22)
Geometric Deep Learning — A field of deep learning that incorporates symmetries existing in the physical world, motivated by the desire to build these symmetries into models for better world representation.
Agency as Policy Execution — The idea that an agent is fundamentally something that executes a policy, an input-output relationship. From this perspective, even a rock could be considered an agent, blurring the lines between agents and objects.
Planning and Counterfactual Reasoning — Sophisticated internal processes like planning, counterfactual reasoning, and goal-oriented behavior that distinguish complex agents (like humans) from simpler ones (like amoebas). These relate to how policies are computed.
Degree of Agency — A proposed metric to quantify agency based on policy sophistication, such as transfer entropy or the degree of context-dependent behavior, rather than a binary agent/non-agent distinction.
Intentional Stance — Daniel Dennett's concept that describes a level of representation that serves as a useful explanation for behavior, even if it doesn't reflect the microscopic causal graph. It allows us to treat complex systems 'as if' they have intentions.
Functionalism (AI) — The idea that mental states are constituted solely by their functional role, implying that a computer simulation of a brain could 'be' a mind. Dr. Beck argues against this, suggesting agents need to be physical.
Energy-Based Models (EBMs) — A class of models where learning involves minimizing an energy function. They inherently come with an 'inductive prior' by placing constraints on the input-output relationship, often involving two minimizations: one for internal states and one for prediction error.
Variational Autoencoder (VAE) — A common example of an energy-based model, consisting of an encoder and decoder network. Its cost function includes both input-output differences and a regularization term applied to the internal representation (e.g., making it Gaussian).
Test Time Training — A technique where some model weights are treated as latent variables and are allowed to change during inference (test time) for a new input. This is seen as a step towards energy-based models, but its common implementation (training without this feature initially) is questioned.
Transduction — A process where search or optimization is performed as a function of the test samples, allowing models to adapt to specific test inputs rather than relying solely on a fixed, pre-trained mapping.
Laplace Approximation — A method used in Bayesian inference to approximate a posterior distribution with a Gaussian distribution, often by calculating the curvature at the mode. It can make Bayesian computations more tractable.
Free Energy Principle — Related to energy-based models, the free energy principle involves minimizing free energy, which includes an additional entropy penalty term compared to simply minimizing energy. It's about regularization.
Joint Embedding Predictive Architectures (JEPA) — An architectural design, advocated by Yann LeCun, where inputs and outputs are first embedded into a compressed space, and then prediction is learned within this compressed space. This aims for a more 'gestalt' or high-level understanding rather than pixel-perfect prediction.
Non-Contrastive Learning — A category of self-supervised learning algorithms that avoid the expensive negative sampling of contrastive methods. They often use different forms of regularization to prevent 'mode collapse' where embeddings become trivial.
Preprocessing (Joint Fitting) — The practice of transforming data before feeding it into a main algorithm. The ideal is to jointly fit the preprocessing model with the inference/prediction model, rather than doing it independently, to avoid losing valuable information (e.g., PCA's failure mode in neural data).
Recursive Self-Improving Intelligence — The concept of an AI system that can autonomously acquire new knowledge, build models on the fly, and even develop better algorithms for itself, moving beyond static deployment to continuous adaptation and growth.
Continual Learning — An essential missing element for true AI, where an algorithm learns from new, surprising experiences in the world and can append or update its internal model without forgetting previous knowledge.
GFlowNets — A type of generative model that, in principle, can act as a generative model of generative models, capable of creating new latent variables or nodes when current models are insufficient for novel situations.
Collective Specialized Intelligences — A vision for advanced AI that emphasizes specialized, interconnected modules or agents that can be repurposed and communicate to solve complex problems, rather than a single 'artificial general intelligence' (AGI).
Empirical Inquiry Automation — The automation of the scientific process, moving beyond summarizing data to designing and executing experiments to test hypotheses and fill gaps in knowledge, with potential safety constraints for real-world deployment.
AI Literacy — The public and policymakers' understanding of AI, which is currently low due to rapid advancements and conflicting narratives, leading to a 'fog of war' regarding its capabilities and risks.
Maximum Entropy Inverse Reinforcement Learning (ME-IRL) — A method for inferring a reward function by observing an agent's policy and modeling the reward function itself with maximum entropy. It can be used to safely specify AI goals by perturbing observed steady-state distributions of human actions and outcomes.
References (16)
American Express Business Gold product
Onnit Alpha Brain product
Firestone company
Dennett's intentional stance by Daniel Dennett concept
Spotify company
Lowe's company
ARC challenge project
Red Bull product
VCREG
BYOL
Barlow Twins
GFlowNets by Benji (Yoshua Bengio) project
McDonald's company
Shopify company
SoundOn era article
Blinds.com company
Transcript (60 segments)
Speaker 1

Membership means more with American Express Business Gold. Earn four times membership rewards points in your top two eligible spending categories every month, including eligible US advertising purchases in select media and US purchases at restaurants, including takeout and delivery. What are you waiting for?

Get the card that flexes with your spending every month. Terms and points cap apply. Learn more at americanexpress.

com/business-gold. Amex business gold card, built for business by American Express.

Speaker 2

Ever feel like your brain just won't click? Onnit Alpha Brain is a daily supplement engineered to support memory, focus, and mental speed. Made with science backed ingredients, ONNIT Alpha Brain helps you lock in, tune out distractions, and stay sharp.

See what your brain can really do. Visit onnit.com and shop Alpha Brain to unlock your next level.

That's onnit.com.

Speaker 3

Geometric deep learning is a big part of the stack if for no other reason than when we talk about modeling the physical world. That means incorporating the symmetries that exist in the physical world. We're highly motivated to employ a lot of those methods and techniques.

Speaker 4

But is the world written in code? Or do you mean exploiting the regularities in the code that seem to have some Exploiting the regularities. No.

Speaker 3

world is translation invariant. The world is rotation. Well, not really because there's gravity.

But in principle. There is a principle axis, but it's certainly rotationally invariant in the x y plane. Yeah.

And if you wanna have a good model of the world as it actually is, it should incorporate those features. And of course, you can discover it in a brute force y way, but the mathematician in me really wants to build the symmetries in. And fortunately, we've got a lot of great tools that were developed over the last several years that can do that.

What's your view on agency? If I'm being like an FEP purist, I have to sort of say like, oh, well, there's no difference between an agent and an object in a very real way. Or at least there's nothing structurally distinct between how we model an agent and how we model an object.

It's really just a question of degrees, right? An agent is a really sophisticated object, right? It has internal states that represent things over very long time scales.

It has sophisticated policies that are context dependent, which is basically saying really long timescales again, and things like that. Yeah.

Speaker 4

the philosophical highbrow notion of agency that we introduce notions of intentionality and self causation and things like that. I mean, really no nonsense version of an agency is it's just a thing which acts and performs some kind of computation? And I guess you could almost model anything as an agent.

Yeah.

Speaker 3

your definition of an agent is something that executes a policy, then anything is an agent, right? A rock is an agent, right? A policy is an input output relationship.

When many people talk about agents, they're a additional elements that I think have a lot to do with how the policy is computed. So for example, when we think of how the difference between us and really amoebas, we often cite things like planning, counterfactual reasoning, goal oriented behavior. We're specifying things that are specific mean, that are all related to how it is we compute our policies.

There are latent variables that represent policies that are compatible with well reinforcement learning. And that's the defining characteristic of an agent. But you could very easily just say from an outside perspective, if you can't look at how someone or something is doing the computations, if the only thing you observe is the policy, does that mean that you can never conclude that something's an agent?

And I would say no. You'd still like to be able to conclude that this is an agent, even though the only thing I ever get to measure is its policy. But do you think we should have some notion of the strength of an agent?

The strength of an agent. Or how is this like a measure of agency? Is that what you Yes.

Yeah. So I mean, I think you could use notions of transfer entropy and things like that in order to estimate the timetable for which something is incorporating information, or the degree to which it exhibits a context dependent behavior and things like that. And that would be a pretty good measure.

Now, is it normative? No, it's not. But it is a measure.

And you could use things like that. But at that point, you're really just talking, again, about policy sophistication, not does it have a reward function. Like, is it actually executing planning?

Yeah.

Speaker 4

agents to me seem to be kind of causally disconnected. Because they're planning into the future, they are not impulse response machines.

Speaker 3

part of the mass of things going on around them. They are just obviously disconnected from the locality. So the trick is that, Okay, so I've got this agent, and I know exactly what it does.

It takes into account information. Internally, it rolls out a whole bunch of future consequences of various different actions or plans that it could take. It selects the best one, and then it executes it.

So all of those variables that occurred inside, from the outside perspective, it just looked like a function transformation. Unless I'm somehow going in and recording and somehow demonstrating the fact that the manner in which it is calculating its policy involved doing those rollouts, I wouldn't be able to show that it's actually doing those rollouts. I would just be able to conclude it has a really sophisticated policy.

So can you conclude that something isn't so the question is how do you identify something that is actually doing planning? I think that's a really hard question as opposed to having an incredibly sophisticated policy.

Speaker 4

I think my intuition is it feels to me that a function, a simple input output mapping can't be an agent. And in a way, this is related to what we were talking about with grounding. It seems that when things are physically embedded in the world, then they're more likely to be agents.

This functionalist idea that's just a bit of computer code running on a machine, it kind of feels like that can't be an agent.

Speaker 3

It does. So suppose I coded it up so it was doing all of that planning. It gets its inputs to some crazy massive Monte Carlo tree search, picks the best policy possible, and then executes it.

Now, you don't observe any of that. Right? Because you know what's going on, you could say, oh, well, it's clearly executing.

It's doing planning and counterfactual reasoning. It's going on. Like, look, there it is.

Because you coded it, so you know it's doing it. But if you're looking at it from the outside, right, if you don't know what's happening inside, all you have access to is, oh, here's the action that it did given this long series of inputs. And so it's really hard to identify what, you know, something as an agent per se from the outside, you kind of have to know what's going on inside.

This by the way is why I don't think that like, you know, these sort of prediction based approaches to like AI are necessary, you know, you could sort of say, well, it's not really doing anything even remotely agentic unless it's executing and doing planning counterfactual reasoning. So like your chess program is like, oh, clearly it's doing some planning and counterfactual reasoning because you know it's doing it.

Speaker 4

You could like write I could describe the exact same set of behaviors just with the policy function. I think the counterfactual thing is an important feature here because we could take something which was conscious or something which had agency, and we could just take a trace of the actual path which was found. And now we've just got this is reductio ad absurdum.

But now we've just got a computational trace, and that thing clearly has now lost whatever agency or consciousness it had. So there's something about considering all of the possibilities.

Speaker 3

Yeah. So in my mind, that is the fundamental feature of an agent. If you can show that it's engaged in planning counterfactual reasoning, and then it's definitely an agent.

My argument is just simply that that's hard to do unless you crack it open and see what's going on inside. Now, you could take a pragmatic view and say, well, if the simplest computational model of the behavior, model it as if it was doing planning and counterfactual reasoning, then you can draw an implicit conclusion that, oh, yes, well, I may as well say it's an agent. And that's kind of the approach that I've taken.

So one of the things that comes out of the physics discovery algorithm is that you apply it to agents, and what do you get? Well, you get a model. Now bear in mind, I called them all objects before, and I didn't change anything to make it special to an actual agent.

But what I do have the ability to do because of the model is I can look at the internal states associated with that object that I want to call an agent and look at how sophisticated it is. And that degree of sophistication is what allows me to say, oh, well, I'm going to go ahead and say that and I like the whole idea. It's a great idea.

Let's have a metric. Right? And I'm sure it would be something that would effectively be transfer entropy or something like that.

But we have this metric on, well, how sophisticated were the internal states that were necessary in order to generate this output? And if it's above some threshold, we'll call it an agent. I don't like thresholds.

But, you know, we just sort of say a degree of agency, a degree of sophistication.

Speaker 5

Your vehicle doesn't just get you from here to there. It's a bridge to the people and places that matter most. It's how you show up for your family, your community, and everyone else that depends on you.

That's why for one hundred twenty five years, Firestone has been building tires with one thing in mind, to deliver products that are as reliable as you are. Firestone, always dependable since 1900.

Speaker 4

And coming back to Dennett's intentional stance. So this is that, you know, there is, a level of representation which serves as a useful explanation, even though it's not actually, the microscopic causal graph. And maybe we can agree that no agent can possibly be the cause of its own actions.

Speaker 3

it's as if it's the cause of its own actions. Yes. And that's why this as if phrase comes up a lot, right?

I mean, it's important to remember that no matter how clever your model is, and no matter how clever your approach is, and how clever the words are that you use to describe it, a lot of this stuff is as if, right? This is the best model, right? This is why, like, repeat this over and over again, grind it into the students, right?

Is that science is about like prediction and data compression and like nothing else. And the same thing is going on here, right? Just looking at behavior, you'll never know for sure in any meaningful way, like whether or not it's just doing a function transformation or whether it's engaged in planning and counterfactual reasoning.

But if your best model of it, if you sort of say, well, I tried to model as a function transformation, but God damn it had a lot of parameters. But then I tried to model it as something that was just doing Monte Carlo tree search on the inside and giving the answer. And that had 40 parameters.

And it's like, well, that's the model I'm going go with. And now I'm going to call it an agent. If we had a physical agent in the real world that was doing all of this planning and so on, would that have some kind of primacy to the computer simulation of agents that were doing all of this planning?

Oh, is this like if I uploaded my brain onto a computer and didn't connect it to the world, would it still be thinking, even though it's doing all of those things? Is that the idea here? Or am I the way That works.

So yeah, let's say a high fidelity computer simulation of Jeff.

Speaker 4

Would Jeff be an agent? No.

Speaker 3

Oh, I wasn't expecting to say that. Because I'm the agent. And if you upload it, no, I don't know.

So if you do a high fidelity computer simulation and you put it in my body, then I think I would have to say it's an agent. Yeah. Right?

If it's doing exactly the same I mean, is like the standard. It's doing exactly the same calculation from a purely phenomenal auto perspective. It's the same.

It's indistinguishable. Okay. So agents need to be physical.

So I do believe that an agent needs to be physical. Absolutely. I believe you can have a model of agency and not have an agent.

Right? You can put that model in a computer and run it and make predictions as to what an agent would do. And it might even be 100% correct, but I still wouldn't call it an agent.

But again, this is like getting into philosophy. And philosophy frustrates the Bayesian because philosophy is not probabilistic. Right?

Philosophy is really about drawing clear lines and distinctions. And in my world, those don't really exist. Right?

There's everything has an error bar. There isn't a clear delineation between an object and an agent. From this modeling perspective, it's really just a question of degrees.

And philosophy is terrible at handling questions of degree.

Speaker 4

My friend Keith, he's a big fan of computability theory. And he thinks that an agent is basically a type of computation. And it has access to ambient state.

And it can take action. And there's this kind of cybernetic loop. And for him, the strength of the agency in the system is the compute type that the thing is doing.

So if it's a finite state autometer, then it's a weak agent. If it's a Turing machine, it's a strong agent. Yeah, so the degree of sophistication of the compute.

Pretty much. Does that ring true to you?

Speaker 3

forced me at the point of a gun to put a measure on agency, it'd probably look a lot like that. Yes.

Speaker 4

Jeff, let's talk about energy based models. Sure. So Yan Lakun, he had a monograph out, I think, in 2006 talking about this.

Oh, been talking about this for a long time. Oh, yeah.

Speaker 3

then you have written an energy function in weight space, and following you it to its energetic minimum. The advantage of using an energy based taking an energy based approach as opposed to taking, say, a straight up function approximation approach is that an energy based model comes with something that's kind of like an inductive prior. An energy based model if you're doing function approximation, you're basically saying, there's any mapping from x to y.

X is my inputs, y. But any mapping is out there. I just want to figure out what it is.

Now in an energy based model, you're effectively placing constraints on what that input output relationship can be. I like thinking about the distinction between an energy based model and a traditional sort of feed forward neural network has to do with where your cost function is applied. So in traditional neural network, you take in your inputs, you got your outputs, and the cost function is just a function of the inputs and the outputs.

And the only thing that you're optimizing is the weights. In an energy based model, there's another thing that your cost function operates on. And that's something one of the internal states of your model.

And as a result, in order to figure out what the best approach is, you actually have to do two minimizations. One that finds the energetic minimum associated with part of the cost function that operates on the internal states, like the hidden nodes of your network. And then one that is the prediction.

That is your effective prediction error. This is very much consistent with the approach that a Bayesian would take. You a prior probability distribution, which gives you an energy function over every single latent variable in your model.

And you are optimizing with respect to all of them. So you take a probabilistic approach. Examples of this are like a variational autoencoder.

A variational autoencoder, I think, is the best example of the most commonly used energy based model out there. Why? Because you have an encoder network.

You have a decoder network. Right? And your cost function is based on the difference between inputs and outputs, right?

So that's just like a yeah, it's fine. That's still a regular but it also is how Gaussian. And it well, it depends on what flavor of VA.

But you also have some part of your cost function is a function of the actual internal representation. In a traditional VAE, it's how Gaussian is it. You want that internal representation to be as Gaussian as possible.

If it's a VQ VAE, then it's a mixture of Gaussians. But it's still a cost function that is applied on the internal states as well as on the inputs and outputs. Very cool.

So a VAE is a fairly canonical example of an energy based model.

Speaker 4

whole DL world is obsessed with test time inference at the moment. And in a way, that is a step towards what you're talking about.

Speaker 3

right? I mean, yeah, you're treating some of the weights of your model as if they're latent variables, right? Because when you show a new input, you're allowed to change some of the weights without looking at the output, And so what are you doing?

Well, you're treating the weights as latents. Now I think that which makes it a great trick, in my opinion. It's like, oh, great.

Yeah, they're moving in the direction of energy based models. I love it. The only thing I don't like about test time training is the vast majority of the training that is done.

So in a traditional energy based model, you always find the minimum with respect to the latent variables, these extra weights, which in the case of test time training is the subset of weights that you're allowed to change during test time. When you do the training for a traditional energy based model, you're allowed to make those changes throughout the entire course of training. The way that we're often doing test time training these days is we just do regular old neural network learning.

And then finally, when we get to the deployment phase, then we suddenly turn on these additional latents, which are basically some of the weights of the network, And we do an additional bit of learning at that point. This seems monument. Now, again, not an expert here, but this seems unwise to me.

And the reason it seems unwise is because you didn't train the original network with that on. You trained it in a completely supervised way. Yes.

Now I'm sure that people are aware of this, and it's been addressed in the literature. But I'm not personally aware of that. I don't think that's how it's used in practice, Supra.

We should also introduce this term transduction.

Speaker 4

as a function of the test samples. Like I interviewed Clement Bonnet, he had a VAE on ARC, searching latent spaces. And he actually searched through the decoder as a function of the test sample.

And because these models, they are maximum likelihood estimators, right? Which means they're always giving you a kind of smoothed out average. And there's so much information in the test sample.

Let's just riff on the relationship between energy based models and Bayesian inference. So of course, they have this advantage that you don't need to do this very expensive, intractable normalization.

Speaker 3

Yes. Yes. Tell me about that.

My take on it is that an energy based model and a Bayesian model have a lot in common, right? In many ways, like energy, I mean, well, in physics, right? Energy is log probability.

Now, of course, there's the normalization factor that you don't need to worry about if just minimizing energy. And so the difference between, which is sort of like, in a Bayesian framework, that's like saying, well, I'm not actually going to treat some of these latent variables in a probabilistic way. I'm just going to do maximum or map estimation on some of my variables and just be Okay with that.

And that's one way to interpret the relationship between an energy based model and a properly Bayesian model. There's a happy medium here though, right? And the happy medium is you can still treat it as if it's, you you don't have to just minimize the energy function, but you can calculate the curvature down there too, do a Laplace approximation and call yourself a Bayesian again, right?

Yes, there is more computation involved, but we've got a lot of great tricks for making that totally tractable.

Speaker 4

What's the relationship between the free energy and the free energy principle and the energy and energy based models?

Speaker 3

Regularization term, I think, the short answer, right? No. So there's an and and if you're being very, very, very pedantic, the difference between an energy based you know, minimizing energy and minimizing free energy is that free energy has this additional entropy penalty term.

Now, if you're just doing maximum likelihood estimation, if you're minimizing your energy function with respect to some particular just well, let's pretend we're only worried about one variable. And I'm just gonna, like, get a point estimate and call it a day. Do, like, you know, some kind of map estimation to get to get that that one thing.

There's not that big of a difference, right? Because there is no probability distribution over the latent that allows you to compute that regularization term. But that's the only difference.

It's are you regularizing or not, is, I think, the easiest way to think about it. So Lakun is a big advocate of JEPA.

Speaker 4

non contrastive learning where essentially the learning objective is comparing the latents of observed and unobserved parts of the space. This is an architectural design. Okay, so what does JEFA stand for?

Speaker 3

joint embedding and prediction architecture. There we go. So what's the joint embedding bit about?

Well, the joint embedding bit about is, well, I'm going to take my inputs, I'm going take my outputs, and I'm going to embed them in some space. And then I'm going to learn a prediction between the two embeddings. And that's a great idea.

It's a great idea because it has some of the flavor of what we would like to get out of our models. In many situations, I should be very particular about this. In many situations, we're not interested in predicting every single pixel on the image.

We want to get maybe something that's a little more gestalt, a little more high level, a more conceptual understanding of what's going on. And so emphasizing the goal of predicting every single pixel, which is what's typically done in generative modeling right now, might lose some of the power, the abstractive power of some of the networks. And so the whole point of JEPPA, as I understand it I'm sure there are other points is that you're gonna compress your inputs and compress your outputs and then do all the learning in this compressed space.

Love it, right? Science is about prediction and data compression. Let's make that compression explicit on the front end and the back end.

The downside of this approach is that it doesn't work out of the box, right? Because it's very easy to find a compression or an embedding of the inputs and an embedding of the outputs for which prediction is perfect, which is to basically make both of them zero. And so you have to do some other thing.

Other tricks need to be employed in order to make it work. Yes. Yes, I remember Lecoom was talking about this.

Speaker 4

which is from it's kind of Hinton's idea, apparently, of the negative sampling and whatnot. And that's very expensive because you actually have to do lots and lots of sampling.

Speaker 3

contrastive thing Yeah. This, by the way, is what he should have won the Nobel Prize for, In my opinion. Yes.

Because the whole point of the wake sleep algorithm and contrastive divergence was that, oh, it's actually biologically plausible.

Speaker 4

was an end run around the need to do back prop. And that's what made it so clever and interesting, in my opinion. Lakun is a big fan of this non contrastive thing, where you work in the latent space.

There are many different algorithms that do this. We had a whole load of shows all about non contrastive learning. There's things like VCREG and BYOL and Barlow Twins.

And there's an entire thread of research all around that. And in many different ways, what they're trying to do is avoid this motor collapse problem that you're talking about. And they use different forms of regularization.

Speaker 3

There's an old school way of accomplishing the same thing. And that is to do all of your it's called pre processing. And this is something that a lot of people do.

You take your data. In fact, we do this all the time with vision language models. So we want to use an LLM, we want to predict images.

So what do we do? Well, the first thing we have to do is tokenize the image. Right?

And so what do we do? We run a VA. Then we do the preprocessing.

And we do it by the preprocessing step is completely independent from the actual algorithm that's going to be tasked with solving the problem of interest. And that's not something that we necessarily have to stick with, right? It would be very nice if there a way of again, jointly we're getting right back to JEP again.

What we'd like to do is we'd like to choose our preprocessing algorithm in a manner that not a priori, not do it first. We'd like to choose the preprocessor that works the best in this space. And I think that that's the ultimate motivation for a lot of this work is what's the right embedding.

One of my favorite tricks, course, I pre process the VAEs all the time. In fact, time someone hands me a new neural data set, the first thing I do, I'm not ashamed to admit, I run PCA on it and pass it through a VAE and then sort of take a look, right? It's the first thing you do with your data because it gives you a good idea of what the signal to noise ratio is in the data set itself.

Yes. And then what do I do? I subsequently do most of my analysis in that discovered embedding space.

And I don't see a huge problem with that from a purely pragmatic perspective. But it's certainly cleaner to have a single algorithm and approach and not just be stringing these sort of things together in an ad hoc way. Doing PCA PCA is a really great example of this.

There's a failure mode for principal component analysis, which is actually really common in neural data. Because principal component analysis basically says, well, where's the most variability? Okay, I'm worried about that.

And then all the stuff that's not varying very much, I'm just going to throw it away. Dimensions in which there's low variability are not important. Well, turns out that in neural data, the dimensions in which there's very little variability are some of the most important dimensions.

And so pre processing with PCA runs a risk of throwing out the most valuable information in your data set. Yes. And so there's a lot of wisdom in jointly fitting your preprocessing model as well as your inference and prediction model.

Speaker 4

JEPR and non contrasted learning, it's part of this bigger field of self supervised learning. And we want to learn representations that maintain fidelity and richness. And Lakun's hypothesis is that when you do something like supervised learning with some particular downstream task in mind, the neural network gets wise.

And what it does is it kind of discards all of the long tail stuff that aren't relevant for that particular task.

Speaker 3

so that it compresses the information, but it also maintains enough fidelity to work broadly for different things. Yes. And that is a laudable goal, right?

And I certainly share it, right? The last thing you want to do is, I mean, you know, fortunately, like networks are so big, we don't really run the risk of overfitting as much as we used to. But the last thing you wanna do is train your network to toss information that you might need down the road.

That said, like the vast majority of what the brain does, just like these neural networks, is decide what information is currently task irrelevant. But that's all the more reason to do things in a self supervised or unsupervised way. Right?

Speaker 6

It's crunch time at work, and you need to bring wings to your workday. Visit redbull.com slash getting itdone and answer a couple questions about your work style to get a Spotify customized playlist tuned to your productivity.

Plus, score a can of Red Bull on us while you go from to do to done. And remember, Red Bull gives you wings. Supplies are limited.

Terms apply. Visit the website for more information.

Speaker 7

Spring Fest is happening now at Lowe's. Keep the spot on your yard with Stay Green premium two cubic foot mulch, five bags for $10. Plus, when you want more help indoors, get up to 40% off select major appliances that help you supercharge your chores.

Our best lineup is here at Lowe's. Valid to four twenty two. Royal supplies last.

Selection varies by location. See lowe's.com for details.

Mold Chopper excludes Alaskan, Hawaii.

Speaker 4

So I interviewed Chole about version two of the ARC challenge. And one thing that struck me is I think of intelligence as being multidimensional. So version one got saturated.

ARC was actually really amazing because it's the only intelligence benchmark that has survived for five years before being defeated. You know, since the advent of these thinking models, it has been defeated very quickly. But they're working on version three and there'll be version four, there'll be version five.

Will there always just be something left over?

Speaker 3

That sounds like another philosophical. So yes is my answer. There will always be something left over in the sense that this has been the trajectory things have been going for a really long time.

It's sort of like we get algorithms that do amazing new cool things. And then someone comes along and says, yeah, but it can't build me it can't pull a rabbit out of a hat. And then, of course, what does someone do?

Oh, They figure out the new training protocol, a slightly different architecture, or they just train it to pull rabbits out of hats, and then suddenly it can. And then someone proposes a new challenge and a new challenge and a new challenge. And it's always this game of like one upmanship.

So the question becomes, well, what's the point at which there are no more new challenges? And I'm not entirely certain we're ever gonna get there, right? It may very well be the case that we get, you know, these sort of algorithms that are capable of replicating the complete suite of human behaviors.

And then someone will come up with some criticism like, yeah, but it's not really doing x. It's just faking it. This is just the direction things go because people really do think they're important.

Speaker 4

Yeah.

Speaker 3

self improving intelligence is a valid one? Yes. I do think that it is.

So I think that one of the most critical missing elements right now is some form of continual learning. At the end of the day, you really want an algorithm that doesn't just learn on the training set and then just gets deployed. You want something that runs around in the world and comes across things that it doesn't understand, and then is able to build append its model in some sense.

Right? So this is like and there are some approaches to this all based on Bayesian nonparametrics and Dirichlet process priors and stuff like that, where you see something that's surprising or unique or different, something you didn't expect. And it causes you to say, need to turn learning on because I got to figure this out.

That is an absolutely critical element that we need to be developing. We are developing that. And it turns out that that's one of the nice things about this sort of object centered physics discovery thing is because it's object centered, if it comes across a new situation that it does not understand, it is capable of instantiating a completely brand new object just to explain this new situation.

Speaker 4

Continually learning agents can acquire new knowledge autonomously. And the whole thing just learns more knowledge. But intelligence feels different.

Feels like in the system that we've been describing, the intelligence is the way we're implementing the Bayesian updates and actually building the algorithms. Could the systems on their own metaprogram themselves and develop better algorithms or something like that? That's a very good question.

Speaker 3

Something that would be closer to true artificial intelligence than what we currently have would be capable of building models on the fly to deal with new situations, to taking things that it knows about and combining them in new and different ways. There are approaches that have some of that aspect to it, like GFlowNets from like Benji stuff is a great example of something that, at least in principle, is a generative model of generative models. It's sort of like, oh, I might actually need a new node.

It's time to create a new latent variable because the current set's just not cutting the mustard anymore. Those are things that I think are hallmarks of true intelligence. I don't want to ever make the statement, as soon as it's got that, it's truly intelligent.

I will never, ever, ever say that. But I do think that that is a critical component that needs to be present, right? Is the ability to generate new models on the fly to deal with novel situations and data.

Most of that, as well as the ability to combine old models, previous models, in new and interesting ways. This is actually how the brain evolved. We started out with really simple brains.

And there were different regions. And they solved different problems. And what eventually happened as we evolved is that these different regions of the brain learned to communicate with each other in new ways.

And through that communication, acquired new abilities and then eventually evolved into new capabilities and things like that. I often like to point out to the I think olfaction is like the sense that's not studied nearly enough. It's an incredibly old part of the brain.

And arguably, it's the first part of the brain that evolved the ability to do proper associative processing. Unlike visual space, where there's translation symmetries and all that sort of stuff and things are smooth, Olfactory space, that does not exist, right? It's really, really, really combinatorial and complicated.

And the part of the brain that evolved to solve the olfactory problem arguably is the part that evolved into our frontal cortex. Don't quote me on that. There's a lot of disagreement there.

That's just my take. But it certainly has a lot of the features that we associate with associative cortex, right? Wow, I just said got like six uses three different uses of the word associate in that sentence.

But I think you see what I mean, right? It was all about taking old capabilities, combining simple models and modules to create something that was more complex. And then over time, so that was what made the brain work.

It was all about taking little things that worked and combining them in new and different ways in order to evolve effectively an emergent properties, emergent computational abilities, and an emergent understanding of the world in which we live. And I do think that when we get to the point where we start really saying, oh, this is actually truly intelligent, it's going to have that feature. It's going to have the ability to have a it's going have a modular description of the world, and it's going to have the ability to combine those modules in a way that creates a more sophisticated understanding.

It's like Legos, right? The Lego bricks all connect in certain ways, and I can build all sorts of new and amazing things that were never built before out of them. That's the capability that we have.

And that's the essence of creativity.

Speaker 4

AI models to be able to do. Collective intelligence is a bit different. We have this plasticity, right?

We can adapt our behavior day by day. We might see some kind of meta learning or some kind of change in our organization dynamics. Maybe some agents will specialize.

And it might be an existence proof of this kind of recursive super intelligence that we're talking about. Yeah.

Speaker 3

Think that's absolutely correct, right? So the specialization is great. In fact, I would argue that specialization is how we got all of this, Right?

And this was I'm pointing at London in case you there was some confusion there. Right? It was it was really about, you know, the interconnected, highly specialized intelligences that are people and their ability to learn how to work together that, you know, gave rise to the technological revolution.

The brain is the same way, right? In my view, it's highly specialized little modules or agents that are capable of being repurposed, reused, capable of communicating with one another in order to solve really complicated problems. But there's always a benefit to specialization.

I don't believe in like AGI. AGI seems like a bit of a misnomer to me. What we really want is not artificial general intelligence.

We collective specialized intelligences.

Speaker 4

What about scientific discovery? Do you think that we could what would the world look like when we could discover new drugs, we could discover new knowledge and science?

Speaker 3

largely focused on summarizing vast troves of data and looking for correlations that are present in it. I think the next major milestone in this trajectory is experimental design, not just, oh, well, here's some correlations you may not have seen because they're really small. And this is what computers are good at.

They're really good at identifying small but highly relevant correlations. And the next step, of course, is constructing a system that tests these hypotheses explicitly and generates the experiments that will identify fill that in the gaps of our knowledge. And all of this, I believe, can, in fact, be automated in a very sensible way.

I don't see any major obstacles to automating empirical inquiry other than we probably want to place some safety constraints when we start letting them work when we start letting the AIs run the labs. Because you never know. You always have this AI where it's like, well, know, the most effective experiment to determine if this is correct is to set off a nuke.

And that would be bad. Yes. So pure empirical inquiry does run risks like that.

But I think that that's not the biggest issue. I think what we need to do is we just need to have a nice concise framework for saying, oh, look. I'll give you an example.

So we had this problem that popped up a while back. A gentleman we were talking to is you've got robots, and the robot sees something it's never seen before. And so a robot is running around.

It comes across like a beach ball. Never seen a beach ball in its entire life. And what you'd like is you'd like the robot to know how to figure out that it's a beach ball and to figure out what its properties are.

And if you tell the robot, if you see something new, just stop. Then that's no good. What you really wanna do is you wanna figure out a relatively non invasive procedure for the robot to like poke, do what a child would do.

What does a kid do when they see a beach ball? They run up and they poke it and they say, oh, right, yeah. And then it moved And experiments it with its environment for the purposes of identifying the properties of the objects that exist in it.

Now, I do think we probably want to test this out virtually before it's deployed in the real world because you never know. It might very well be that the optimal experiment is to run up and kick it as hard as you possibly can. And we certainly want to avoid that.

But something along those lines, a robot that is able to test the theories that it has about how things work in an online way and learn from those results in an online way is definitely part of the goal.

Speaker 4

we have more autonomous AIs among us? A lot of people worry about enfeeblement, loss of control, it making us dumb, all of this kind of stuff. I do worry about AI making us dumb.

Speaker 3

Mean, offloading your thinking onto a machine, which is something that AI allows, is potentially a big problem. I don't really want to have a situation where humans are reduced to like value function selectors. They're just basically going, oh, no, I don't like that outcome.

Do this instead. I do want to see a future where we have an AI that actually improves our understanding of the world. And simply automating everything runs the risk that you specified, right?

It runs the risk of people becoming couch potatoes that just watch TV and occasionally say, yeah, these chips are no good. That seems like a bad outcome to me. I worry less about that, I think, than some because people are remarkably adaptable.

I mean, they have all these arguments about like, oh, this new technology comes along, and it's going to completely destroy this way of life. And that's going to be awful for people. And it is maybe in the short term.

I think of tractors. Or just go back how many hundred years do you have to go back when 99% of people were involved in agriculture? And now it's like, what, two?

I consider that a solid improvement because it allowed the rest of us to it allowed us to do a bunch of other things that we find more satisfying, that are more interesting. It allowed us to I can spend some time reading a book, don't have to labor in the fields all day. That's the future that I sort of see.

And that's the future that I hope for is one in which all of these artificial agents running around and doing things autonomously are there to free us up to pursue more interesting, to improve ourselves in more interesting ways. But at the end of the day, it's just another technology. At least initially, it'll just be another technology like the tractor.

Now, one hundred years from now, who knows? What will the value of work be if the AIs can do everything and there's nothing left for us to do? I don't think that it will ever be the case that the AIs can do everything.

Like I said, the future I worry about is one where sole role of people is sitting around making sure the AIs aren't going rogue and things like that, which I don't consider a good outcome. I would really like to see human improvement. I envision a future of, I don't know, this is like cybernetic transhumanism, if I'm going to go sci fi on this, right?

Where the technology and us evolve together in a way that's beneficial for both. That's the goal. Are there these dystopic possibilities where like, oh, well, what are humans in a world where, well, what are they?

What humans in a world where everything can be done by a robot? Yeah. You know, that's a good question.

And at the end of the day, right, they end up just becoming reward function selectors. They end up just sort of saying, oh, I don't like this, and I do like that. And they're basically I mean, you end up with this it is another nightmare scenario.

I don't like talking about these dystopian futures because honestly, I think people are too clever. And I think people are too motivated. And people are too interested in how the world really works.

And people are too interested in actually understanding things that they will never stop, that AI will become a partner, not an adversary or a crutch. And that's what I think will happen. But that's a statement more about my belief about humans than it is about my belief about the development of AI.

I am a techno optimist, if you will, not a pessimist. I I believe that we will find a way to adapt to an ever changing world as we have done for millions of years, including one that includes technology that alleviates most of our labors.

Speaker 8

K pop demon hunters, Haja boys breakfast meal, and huntrix meal have just dropped at McDonald's. They're calling this a battle for the fans. What do you say to that, Rooney?

It's not a battle. So glad the Haja boys could take breakfast and give our meal the rest of the day. It is an honor to share.

No. It's our honor. It is our larger honor.

No. Really.

Speaker 6

Stop.

Speaker 8

You can really feel the respect in this battle. Pick a meal to pick a side.

Speaker 1

And participate in McDonald's while supplies last.

Speaker 9

Starting a business can seem like a daunting task. Unless you have a partner like Shopify. They have the tools you need to start and grow your business.

From designing a website, to marketing, to selling, and beyond, Shopify can help with everything you need. There's a reason millions of companies like Mattel, Heinz, and Allbirds continue to trust and use them. With Shopify on your side, turn your big business idea into sign up for your $1 per month trial at shopify.

com/ special offer.

Speaker 4

On that, there's an AI literacy thing because AI has moved so quickly now that certainly my parents don't understand anything about it. But by the same token, policymakers don't understand anything about it. And there are people saying AI is going kill everyone.

And there's people making negative arguments. There's people making positive arguments. So there's a bit of a fog of war now because there are so many people saying different things about AI.

Speaker 3

How should they make sense of all of this? We are now well outside my area of expertise. So I'm just gonna say that before I say anything else.

AI is developing very quickly, but I am much more concerned about what people will do with the new technology than I am with what the technology will do all by itself. I don't have this big concern about I don't really believe that Skynet's gonna take over, the internet's gonna suddenly become conscious and kill us all, right? In part because AI is not that advanced, but also because we are still in the position where we specify the goals of the system.

And that will likely continue for a very long time. And it will always be the case that these systems are subject to review. We will always keep an eye on them.

They will always at least initially be released in relatively restricted domains and where we're keeping a close eye on what it is that they are and are not doing. So I don't worry too much about the going rogue. I worry a lot more about somebody building it's sort of like a virus, which we already have to deal with.

Like somebody builds some insane virus and takes down the internet. I'm more worried about malicious human actors than I am malicious AI actors because at the end of the day, all of these algorithms, they simply do what they are told. We train them.

We tell them, here's your objective function. As long as we are specifying the objective function and we understand the objective function, we're probably going to be Okay. I think the safest way to deal with AI concerns is to tell people, hey, look, this AI is just doing what we told it to.

We set it up to make really good predictions and to achieve these outcomes. Now, is it dangerous to specify these outcomes without being very, very, very careful? Yes, it is.

This is the whole, hey, Skynet, end world hunger, and it kills all humans. That is a real possibility. But whose fault was that?

The fault was the person who was very, very naively specified their goals. There are, in fact, relatively straightforward ways to specify the reward function that don't run that risk nearly as badly. And the best one is so are you familiar with maximum entropy inverse reinforcement learning?

I like to call it active inference because it's really similar. And so there, what you're doing is you're basically observing someone's policy, and then you're trying to do a maximum entropy model you're doing maximum entropy model on the reward function itself. At the end of the day, what ends up happening when you do this is this is why it's basically just like active inference.

You get a reward function. So you have some organism or whatever, and you're trying to do this for it. And it's got some stationary distribution over actions and outcomes.

It's inputs and outputs of the stationary distribution. That becomes your reward function. Not directly, there's some math involved.

But basically, your reward function is a function of the steady state distributions over actions and outcomes. So we could do this. We could take the current manner in which humans are making decisions.

And we could write down, what is the current estimate of the stationary distribution of reactions and outcomes? So this would include things like everyone's getting this number of people are going hungry, all of the stats that describe the inputs and outputs to our policy decision making. And then we could just ask an AI, your reward function is the one that results in the same outcome that we currently have on average.

And it would execute it. And to the extent that it works, would ultimately result in an AI algorithm that just sort of is like mimicking human behavior, or at least achieving the same outcome that we were achieving before. Now here's the safe way to improve the situation.

You don't say end world hunger. You perturb that distribution over outcomes, and just over outcomes a little bit. And then you evaluate the consequences.

It's all you're doing.

Speaker 4

one by hand because that's the dangerous thing. Geoff, thank you so much for joining us today. It's my pleasure.

Amazing.

Speaker 10

Hey, marketers. Listen up. Before this, there was this.

Our voice. It's how we shared knowledge, build communities. Well, guess what?

Voice is back. That's why Spotify Advertising has published a new report, the sound on era, because audio moves culture forward. And if your brand wants to be heard, you need a SoundOn strategy.

Go to ads.spotify.com to download the SoundOn era and turn up the volume on your business.

Speaker 11

The right window treatments change everything, your sleep, your privacy, the way every room looks and feels. At blinds.com, we've spent thirty years making it surprisingly simple to get exactly what your home needs.

We've covered over 25,000,000 windows and have 50,005 star reviews to prove we deliver. Whether you DIY it or want a pro to handle everything from measure to install, we have you covered. Real design free samples, zero pressure.

Right now, get up to 45% off-site wide, plus get a free professional measure@Blinds.com. Rules and restrictions apply.

Shared via Hopper