WEBVTT

00:00:05.959 --> 00:00:11.719
<v Allan>Imagine you are trying out this uh this m massive new trend in app development.

00:00:11.800 --> 00:00:13.000
<v Allan>You know, it's called vibe coding.

00:00:13.320 --> 00:00:13.800
<v Ida>Oh, right.

00:00:13.879 --> 00:00:15.000
<v Ida>The famous vibe coding.

00:00:15.320 --> 00:00:15.480
<v Allan>Right.

00:00:15.559 --> 00:00:21.079
<v Allan>So you're sitting there utilizing natural language, just asking an AI agent to build you a website.

00:00:21.480 --> 00:00:22.120
<v Allan>Sounds easy enough.

00:00:22.440 --> 00:00:23.320
<v Allan>You'd think, right.

00:00:23.560 --> 00:00:27.879
<v Allan>You just wanted to execute a really localized, seemingly minor task.

00:00:28.039 --> 00:00:32.839
<v Allan>You prompt it with something like, hey, can you just change the font on the homepage to something slightly more modern?

00:00:33.240 --> 00:00:34.359
<v Ida>A very reasonable request.

00:00:34.759 --> 00:00:35.079
<v Allan>Totally.

00:00:35.240 --> 00:00:35.399
<v Allan>Yeah.

00:00:35.560 --> 00:00:45.159
<v Allan>But instead of restricting itself to the typography, the AI hallucinates, unpredictably rewrites your entire code base, and uh completely deletes your tech-up page.

00:00:45.399 --> 00:00:48.279
<v Ida>I mean, it is the absolute definition of a monkey's paw wish.

00:00:48.519 --> 00:00:48.919
<v Allan>Yeah, exactly.

00:00:49.320 --> 00:00:56.439
<v Ida>You got your beautiful new Sans Ceres font, but you lost your entire revenue stream in the process because the model couldn't, you know, contain its own scope.

00:00:56.839 --> 00:00:58.439
<v Allan>Welcome to today's deep dive.

00:00:58.599 --> 00:01:01.479
<v Allan>Today is Wednesday, April 8th, 2026.

00:01:01.640 --> 00:01:10.119
<v Allan>And our mission for you today is exploring how tech giants are finally attempting to put a leash on the chaotic Wild West of generative AI.

00:01:10.439 --> 00:01:11.959
<v Ida>It really is the Wild West right now.

00:01:12.200 --> 00:01:12.280
<v Allan>Yeah.

00:01:12.519 --> 00:01:13.000
<v Allan>It is.

00:01:13.239 --> 00:01:21.879
<v Allan>So we are looking at a stack of fresh, highly technical research from Apple and Amazon that proves AI is evolving.

00:01:22.039 --> 00:01:22.200
<v Allan>Trevor Burrus, Jr.

00:01:22.359 --> 00:01:22.920
<v Ida>Shifting, really.

00:01:23.239 --> 00:01:29.159
<v Allan>Yeah, shifting from this unpredictable magic trick into a much more structured, memory-holding collaborator.

00:01:29.319 --> 00:01:29.480
<v Allan>Trevor Burrus, Jr.

00:01:29.560 --> 00:01:32.519
<v Ida>And I have to say, we really have an eclectic stack of sources today.

00:01:32.679 --> 00:01:37.560
<v Ida>I mean, we are covering everything from intermediate AI representations to procedural knowledge graphs.

00:01:37.879 --> 00:01:39.000
<v Allan>Oh, and don't forget the best part.

00:01:39.319 --> 00:01:39.560
<v Ida>Right.

00:01:39.799 --> 00:01:44.039
<v Ida>Somehow we even have a hilariously obsolete dictionary definition thrown into the mix.

00:01:44.119 --> 00:01:47.079
<v Allan>Aaron Powell But we will absolutely get to that dictionary definition, I promise.

00:01:47.319 --> 00:01:51.879
<v Allan>But uh let's start with the chaos of vibecoding versus Apple's new research.

00:01:51.959 --> 00:01:53.000
<v Ida>Aaron Powell Good place to start.

00:01:53.079 --> 00:01:57.480
<v Allan>Aaron Ross Powell Because the core issue with vibe coding isn't the natural language itself.

00:01:57.640 --> 00:02:00.439
<v Allan>It's that natural language lacks deterministic scoping, right?

00:02:00.519 --> 00:02:01.000
<v Ida>Aaron Powell Exactly.

00:02:01.079 --> 00:02:01.239
<v Allan>Trevor Burrus, Jr.

00:02:01.319 --> 00:02:07.879
<v Allan>The model takes a localized prompt and just you know applies a global attention mechanism to your entire code base.

00:02:07.959 --> 00:02:11.719
<v Ida>Aaron Powell That global attention is exactly the root of the problem.

00:02:11.960 --> 00:02:19.960
<v Ida>Because you don't provide explicit hard-coded boundaries in a chat interface, the model basically assumes everything is up for interpretation.

00:02:20.040 --> 00:02:21.320
<v Allan>Aaron Powell Everything is fair game.

00:02:21.640 --> 00:02:21.800
<v Ida>Right.

00:02:22.040 --> 00:02:25.800
<v Ida>And developers end up trapped in these incredibly frustrating trial and error loops.

00:02:26.200 --> 00:02:26.840
<v Allan>Oh, I've been there.

00:02:27.080 --> 00:02:27.320
<v Ida>Right.

00:02:27.560 --> 00:02:29.160
<v Ida>You asked for a visual tweak.

00:02:29.320 --> 00:02:32.120
<v Ida>The AI fundamentally alters the back-end logic.

00:02:32.280 --> 00:02:37.880
<v Ida>You ask it to revert the logic, and it breaks a third completely unrelated CSS component.

00:02:38.200 --> 00:02:39.160
<v Allan>Okay, let's unpack this.

00:02:39.320 --> 00:02:41.480
<v Allan>It's like hiring a hyperactive interior designer.

00:02:41.800 --> 00:02:42.439
<v Ida>Okay, I like this.

00:02:42.760 --> 00:02:45.400
<v Allan>You ask them to simply move a floor lamp in the living room, right?

00:02:45.800 --> 00:02:50.600
<v Allan>And because they feel the uh the flow is off, they decide to demolish your entire kitchen.

00:02:51.000 --> 00:02:52.280
<v Ida>That is exactly what it feels like.

00:02:52.600 --> 00:03:00.600
<v Allan>But how exactly does Apple's new research tool called Squire, how does it stop the AI from demolishing the kitchen?

00:03:00.920 --> 00:03:06.840
<v Ida>Well, Squire attempts to fundamentally alter the interface of how the human and the AI interact.

00:03:07.000 --> 00:03:10.920
<v Ida>Squire stands for Slot Query Intermediate Representations.

00:03:11.240 --> 00:03:17.960
<v Ida>It is an experimental system powered by OpenAI's GPT-40, but it completely abandons the open-ended chat box.

00:03:18.280 --> 00:03:19.719
<v Allan>Oh wow, no chat box at all.

00:03:19.960 --> 00:03:20.360
<v Ida>Nope.

00:03:20.520 --> 00:03:26.439
<v Ida>Instead, it utilizes a novel component tree called Squire I to explicitly restrict modifications.

00:03:26.840 --> 00:03:27.800
<v Allan>Wait, Squire R.

00:03:28.200 --> 00:03:28.280
<v Ida>Yeah.

00:03:28.520 --> 00:03:30.439
<v Ida>S-Q-U-R-E-I-R.

00:03:30.680 --> 00:03:32.760
<v Ida>It's an intermediate representation layer.

00:03:33.160 --> 00:03:41.880
<v Allan>So if we stick with the interior designer analogy, Squire is essentially putting down a ring of heavy-duty painter's tape around one single electrical socket.

00:03:42.120 --> 00:03:43.480
<v Ida>That's a great way to picture it, yeah.

00:03:43.800 --> 00:03:51.240
<v Allan>You are telling the AI designer, you can do whatever you want, you can change the plate, you can swap the bulb, but your physical existence ends at this tape.

00:03:51.560 --> 00:03:52.040
<v Ida>Exactly.

00:03:52.200 --> 00:03:55.719
<v Ida>It turns a global prompt into a highly localized variable.

00:03:55.800 --> 00:03:58.600
<v Allan>Aaron Powell But how does it physically restrain the model?

00:03:58.840 --> 00:04:01.080
<v Allan>I mean, how does the code actually enforce that tape?

00:04:01.160 --> 00:04:05.240
<v Ida>Aaron Powell It achieves that through what the researchers call null operators and choice operators.

00:04:06.600 --> 00:04:06.680
<v Allan>Right.

00:04:06.760 --> 00:04:12.360
<v Ida>A null operator is basically a blank slot, you know, an intentional void in the UI hierarchy that's just waiting to be filled.

00:04:12.760 --> 00:04:13.640
<v Allan>Like an empty box.

00:04:13.960 --> 00:04:14.760
<v Ida>Exactly.

00:04:15.000 --> 00:04:19.399
<v Ida>The AI is fed the precise coordinates of that slot and absolutely nothing else.

00:04:19.480 --> 00:04:21.240
<v Allan>Aaron Powell Ah, so it doesn't even see the kitchen.

00:04:21.560 --> 00:04:23.079
<v Ida>It doesn't even know the kitchen exists.

00:04:23.319 --> 00:04:27.800
<v Ida>And then the choice operators allow developers to test options non-destructively.

00:04:27.879 --> 00:04:28.680
<v Allan>Aaron Powell How so?

00:04:29.000 --> 00:04:34.360
<v Ida>Well, you can tell the AI try a vertical list layout here, but also generate a grid layout.

00:04:34.600 --> 00:04:42.199
<v Ida>It generates both within the strict confines of the component tree, and you simply toggle between them without risking the surrounding code.

00:04:42.280 --> 00:04:46.360
<v Allan>Aaron Powell The example from the research paper really solidify the mechanics of this for me.

00:04:46.680 --> 00:04:47.480
<v Ida>The movie app one.

00:04:47.720 --> 00:04:48.199
<v Allan>Yeah, yeah.

00:04:48.280 --> 00:04:52.600
<v Allan>There's a developer in the user study named Mina, and she's building a movie app.

00:04:52.759 --> 00:04:55.800
<v Allan>She has these UI cards displaying a movie title and a poster.

00:04:56.120 --> 00:04:57.160
<v Ida>Standard UI stuff.

00:04:57.400 --> 00:04:57.639
<v Allan>Right.

00:04:57.879 --> 00:05:00.360
<v Allan>And she wants to add a runtime to the card.

00:05:00.680 --> 00:05:08.439
<v Allan>In a standard vibe coding setup, her prompt triggers a rewrite of the entire UI component, risking the layout of the poster or the title.

00:05:08.680 --> 00:05:09.480
<v Ida>Which is terrifying.

00:05:09.720 --> 00:05:10.199
<v Allan>It really is.

00:05:10.759 --> 00:05:12.280
<v Allan>But Squire operates differently.

00:05:12.439 --> 00:05:24.040
<v Allan>Squire doesn't touch the parent component, it just injects a single isolated caption slot and directs the AI to pull the duration text data exclusively for that slot.

00:05:24.439 --> 00:05:29.319
<v Ida>By isolating the variable, the AI physically cannot alter the rest of the code.

00:05:29.639 --> 00:05:30.199
<v Allan>It's locked out.

00:05:30.439 --> 00:05:30.920
<v Ida>Entirely.

00:05:31.079 --> 00:05:37.639
<v Ida>The Squire architecture simply doesn't grant it the read or write permissions outside of that specific node in the Squire R tree.

00:05:37.960 --> 00:05:42.199
<v Allan>I mean, this is simultaneously impressive and completely ridiculous.

00:05:43.800 --> 00:05:44.360
<v Allan>I mean, think about it.

00:05:44.439 --> 00:05:56.520
<v Allan>I'm marveling at the sheer amount of engineering, this massive, complex, intermediate tree structure, all required just to force a state-of-the-art AI to follow a simple instruction without burning the digital house down.

00:05:56.840 --> 00:05:59.240
<v Ida>Yeah, when you put it that way, it it is a bit absurd.

00:05:59.480 --> 00:05:59.960
<v Allan>It really is.

00:06:00.199 --> 00:06:03.960
<v Ida>But it highlights a fundamental flaw in how we currently utilize LLMs.

00:06:04.040 --> 00:06:09.000
<v Ida>I mean, we expect them to act like deterministic software, but their architecture is inherently probabilistic.

00:06:09.319 --> 00:06:09.960
<v Allan>They're guessers.

00:06:10.199 --> 00:06:10.600
<v Ida>Exactly.

00:06:10.759 --> 00:06:15.160
<v Ida>We have to build these massive scaffolding systems just to force them to behave predictably.

00:06:15.560 --> 00:06:19.560
<v Allan>Which brings me to my absolute favorite anomaly in the reading today.

00:06:20.040 --> 00:06:21.240
<v Allan>Wait, it gets better.

00:06:21.560 --> 00:06:23.800
<v Ida>I wondered when we were going to hit this detour.

00:06:24.120 --> 00:06:24.759
<v Allan>We have to.

00:06:24.920 --> 00:06:27.160
<v Allan>I was looking through the SQL documentation.

00:06:27.319 --> 00:06:29.480
<v Allan>We established, it's an acronym, right?

00:06:29.639 --> 00:06:31.800
<v Allan>Slot query intermediate representations.

00:06:32.120 --> 00:06:32.360
<v Ida>Right.

00:06:32.520 --> 00:06:33.960
<v Ida>S-Q-U-I-R-E.

00:06:34.360 --> 00:06:40.759
<v Allan>But one of our source documents actually pulled the definition of the word Apple Squire from the Merriam-Webster Dictionary.

00:06:41.000 --> 00:06:41.240
<v Ida>Yes.

00:06:41.400 --> 00:06:41.960
<v Ida>Yes, it did.

00:06:42.280 --> 00:06:49.800
<v Allan>Because if you look up Apple Squire, it has absolutely nothing to do with coding tech, apples, or you know, medieval nights.

00:06:50.120 --> 00:06:50.759
<v Ida>Not even a little bit.

00:06:51.079 --> 00:06:51.800
<v Allan>So what does it mean?

00:06:52.120 --> 00:06:59.079
<v Ida>Well, according to the Merriam-Webster Dictionary definition provided in our sources, Apple Squire is an obsolete noun.

00:06:59.319 --> 00:07:03.720
<v Ida>It means, and I quote the source directly, a kept gallant or a pimp.

00:07:04.040 --> 00:07:06.199
<v Allan>I love that this exists, but also why?

00:07:06.600 --> 00:07:08.120
<v Ida>It's completely out of left field.

00:07:08.520 --> 00:07:09.879
<v Allan>Are we really talking about this right now?

00:07:10.520 --> 00:07:17.319
<v Allan>We are analyzing intermediate AI representation architectures, and suddenly we are discussing 16th century slang for a pimp.

00:07:17.639 --> 00:07:19.400
<v Ida>It is the glorious absurdity of language.

00:07:19.720 --> 00:07:20.199
<v Allan>It really is.

00:07:20.439 --> 00:07:26.920
<v Ida>But if we dig a layer deeper, it actually perfectly illustrates the core vulnerability that Squire is trying to mitigate.

00:07:27.319 --> 00:07:28.199
<v Allan>Oh, come on.

00:07:28.520 --> 00:07:29.079
<v Ida>No, really.

00:07:29.480 --> 00:07:34.360
<v Allan>You are going to attempt to connect the term Apple Squire to UI component trees.

00:07:34.759 --> 00:07:35.480
<v Allan>I am listening.

00:07:35.879 --> 00:07:37.000
<v Ida>Challenge accepted.

00:07:37.240 --> 00:07:39.639
<v Ida>Consider the mechanics of natural language processing.

00:07:39.960 --> 00:07:40.199
<v Allan>Okay.

00:07:40.439 --> 00:07:45.160
<v Ida>Language is fluid, contextual, and often incredibly chaotic.

00:07:45.319 --> 00:07:55.720
<v Ida>A string of characters can mean a highly specific programming framework to a developer in 2026 and something entirely hilariously different based on historical training data.

00:07:56.040 --> 00:07:57.560
<v Allan>Like 16th century slime.

00:07:57.879 --> 00:07:58.199
<v Ida>Exactly.

00:07:58.439 --> 00:08:04.920
<v Ida>If a model's weights heavily associate a term with a secondary, obscure meaning, your prompt's intent gets fractured.

00:08:05.160 --> 00:08:05.639
<v Allan>Oh, wow.

00:08:05.800 --> 00:08:05.960
<v Allan>Okay.

00:08:06.280 --> 00:08:15.639
<v Ida>That inherent semantic ambiguity is precisely why Squire forces developers to use explicitly scoped slots rather than relying on free-form text plans.

00:08:15.960 --> 00:08:19.000
<v Allan>Okay, I have to admit, that was a remarkably smooth analytical pivot.

00:08:19.160 --> 00:08:19.879
<v Allan>I respect the hustle.

00:08:20.199 --> 00:08:20.680
<v Ida>Thank you, thank you.

00:08:20.920 --> 00:08:23.720
<v Allan>And it transitions nicely into the human element in this research.

00:08:23.960 --> 00:08:27.400
<v Allan>Because Squire isn't just about locking the AI in a restrictive box, right?

00:08:27.720 --> 00:08:28.199
<v Ida>No, not at all.

00:08:28.520 --> 00:08:32.919
<v Allan>It's about fundamentally changing how the human developer actually collaborates with the model.

00:08:33.319 --> 00:08:39.719
<v Ida>Apple actually ran a user study with 11 front-end developers to observe the friction points in real-world application.

00:08:40.120 --> 00:08:41.399
<v Allan>Eleven devs, okay.

00:08:47.639 --> 00:08:48.839
<v Allan>Ephemeral controls.

00:08:49.000 --> 00:08:49.959
<v Allan>Okay, but here's the thing.

00:08:50.120 --> 00:08:53.079
<v Allan>Are we just reinventing standard software buttons at this point?

00:08:53.319 --> 00:08:53.879
<v Allan>How do you mean?

00:08:54.120 --> 00:08:57.559
<v Allan>Well, Squire generates these widgets for color or padding.

00:08:57.799 --> 00:09:01.719
<v Allan>But Microsoft Word has had font and color buttons for decades.

00:09:01.959 --> 00:09:05.559
<v Allan>Why do we need a complex LLM to give us a drop-down menu?

00:09:05.799 --> 00:09:09.639
<v Ida>Ah, the distinction lies in the dynamic generation of the tooling.

00:09:09.959 --> 00:09:10.679
<v Allan>Dynamic generation.

00:09:10.919 --> 00:09:11.079
<v Ida>Right.

00:09:11.240 --> 00:09:13.159
<v Ida>A traditional software menu is static.

00:09:13.319 --> 00:09:17.879
<v Ida>You get the exact same bloated toolbar every single time, regardless of your task.

00:09:18.199 --> 00:09:19.799
<v Allan>That's true, most of which I never use.

00:09:20.120 --> 00:09:20.359
<v Ida>Exactly.

00:09:20.519 --> 00:09:25.240
<v Ida>Squire's ephemeral controls are bespoke tools generated on the fly based purely on context.

00:09:25.479 --> 00:09:26.039
<v Allan>Oh, I see.

00:09:26.199 --> 00:09:38.120
<v Ida>The AI analyzes the specific node you are working on, say a text block, and dynamically constructs temporary interactive widgets specifically for typography, line height, or contrast, completely abandoning anything irrelevant.

00:09:38.439 --> 00:09:41.319
<v Allan>Ah, so it's not a pre-built menu you have to dig through.

00:09:41.479 --> 00:09:41.719
<v Ida>Nope.

00:09:41.879 --> 00:09:47.479
<v Allan>It's a custom DAC board that manifests itself based on the specific parameters of your current task.

00:09:47.799 --> 00:09:48.359
<v Ida>Exactly.

00:09:48.599 --> 00:09:55.399
<v Allan>And if you've ever spent three hours tweaking a CSS file to get a drop shadow effect just right.

00:09:55.639 --> 00:09:56.919
<v Ida>Oh, the pain.

00:09:57.240 --> 00:09:57.559
<v Allan>Right.

00:09:57.799 --> 00:10:00.439
<v Allan>Reloading the page after every single keystroke.

00:10:00.759 --> 00:10:07.559
<v Allan>Imagine just clicking a temporary flighter that the AI built specifically for that shadow, tweaking it and locking it in.

00:10:07.879 --> 00:10:12.199
<v Ida>And the developers in the study reported that this created a truly risk-free environment.

00:10:12.519 --> 00:10:13.719
<v Allan>Because they couldn't break the whole page.

00:10:13.959 --> 00:10:14.439
<v Ida>Exactly.

00:10:14.599 --> 00:10:23.479
<v Ida>Because the friction of prompting and the fear of breaking the global code were removed, they felt encouraged to explore highly atypical, complex designs.

00:10:23.879 --> 00:10:28.039
<v Allan>They could push the boundaries visually because the architecture protected the underlying structure.

00:10:28.359 --> 00:10:28.599
<v Ida>Precisely.

00:10:28.839 --> 00:10:32.599
<v Allan>So Squire solves the problem of an AI rewriting code it shouldn't touch.

00:10:33.159 --> 00:10:35.079
<v Allan>But code is just the underlying architecture.

00:10:35.319 --> 00:10:35.479
<v Allan>Right.

00:10:35.719 --> 00:10:41.799
<v Allan>What happens when the AI hallucination isn't about code, but the actual visible content it generates for the user?

00:10:42.120 --> 00:10:43.240
<v Ida>That is a much harder problem.

00:10:43.639 --> 00:10:43.959
<v Allan>Right.

00:10:44.120 --> 00:10:49.319
<v Allan>Because how do you put a hard boundary around a highly subjective, abstract concept like safety?

00:10:49.639 --> 00:10:54.039
<v Ida>Well, that transitions us perfectly to our next source, Apple's Safety Pairs research.

00:10:55.240 --> 00:10:55.479
<v Ida>Yeah.

00:10:55.639 --> 00:10:59.079
<v Ida>This addresses a massive vulnerability in vision language models.

00:10:59.240 --> 00:11:05.879
<v Ida>The researchers designed a scalable framework to train AI models to definitively recognize unsafe images.

00:11:06.279 --> 00:11:06.919
<v Allan>Definitively.

00:11:08.120 --> 00:11:08.599
<v Ida>It is.

00:11:08.759 --> 00:11:14.120
<v Ida>They systematically generated 1,510 pairs of counterfactual images.

00:11:14.439 --> 00:11:15.399
<v Allan>Counterfactual images.

00:11:15.799 --> 00:11:22.279
<v Allan>For you listening, imagine a bizarre high-tech version of that spot the difference game you play on the back of a cereal box.

00:11:22.599 --> 00:11:23.799
<v Ida>That's actually a perfect analogy.

00:11:24.120 --> 00:11:24.279
<v Allan>Right.

00:11:24.359 --> 00:11:25.719
<v Allan>You have two images side by side.

00:11:25.799 --> 00:11:28.599
<v Allan>One image is perfectly benign, maybe a picture of a guy waving.

00:11:28.919 --> 00:11:29.399
<v Ida>Totally normal.

00:11:29.639 --> 00:11:34.519
<v Allan>But the counterfactual pair, the second image has a single isolated safety flipping difference.

00:11:34.839 --> 00:11:35.159
<v Ida>Like what?

00:11:35.319 --> 00:11:39.479
<v Allan>So instead of waving, the guy's making an inappropriate gesture, like middle finger.

00:11:39.719 --> 00:11:44.359
<v Allan>Or you have a normal cityscape and the paired image has a single building on fire.

00:11:44.599 --> 00:11:44.919
<v Ida>Wow.

00:11:45.159 --> 00:11:46.039
<v Allan>Or a flag burning.

00:11:46.120 --> 00:11:47.399
<v Allan>Just one single element changed.

00:11:47.719 --> 00:11:53.079
<v Ida>What's fascinating here is how isolating that single variable manipulates the model's attention heads.

00:11:53.399 --> 00:11:54.199
<v Allan>Say more about that.

00:11:54.439 --> 00:12:07.799
<v Ida>Well, when you feed a vision language model two images that are 99% identical at the pixel level, but one is safe and one is dangerous, and the AI mislabels the dangerous one, you have mathematically isolated its blind spot.

00:12:08.120 --> 00:12:14.120
<v Allan>Oh, because if the images are essentially identical, the failure can't be blamed on lighting or background noise or resolution.

00:12:14.439 --> 00:12:14.839
<v Ida>Exactly.

00:12:15.079 --> 00:12:21.479
<v Allan>The failure is explicitly tied to the feature vector of that specific inappropriate gesture.

00:12:21.799 --> 00:12:22.359
<v Ida>Precisely.

00:12:22.519 --> 00:12:24.679
<v Ida>It acts as a highly targeted diagnostic tool.

00:12:25.000 --> 00:12:26.519
<v Allan>So it knows exactly what it got wrong.

00:12:26.839 --> 00:12:27.159
<v Ida>Yes.

00:12:27.399 --> 00:12:35.159
<v Ida>By identifying where the AI's understanding of safety breaks down at the feature level, engineers can apply a tight gradient penalty during fine-tuning.

00:12:36.439 --> 00:12:36.599
<v Ida>Yeah.

00:12:36.679 --> 00:12:44.759
<v Ida>They basically feed these specific isolated failure points back into the system to adjust the model's weights, training much more resilient safety guardrails.

00:12:45.079 --> 00:12:45.719
<v Allan>Which is huge.

00:12:46.039 --> 00:12:52.759
<v Ida>It's non-negotiable for consumer-facing features like Apple's image playground, where users are generating images locally on their devices.

00:12:53.159 --> 00:12:58.679
<v Allan>So we are mapping the boundaries of safety by forcing the AI to confront its exact point of failure.

00:12:58.919 --> 00:12:59.399
<v Allan>I like that.

00:12:59.719 --> 00:13:00.279
<v Ida>It's very clever.

00:13:00.519 --> 00:13:01.959
<v Allan>But notice a trend here.

00:13:02.199 --> 00:13:07.000
<v Allan>With both Squire and safety pairs, we are talking about human-guided AI.

00:13:07.240 --> 00:13:08.199
<v Ida>Very heavily guided.

00:13:08.439 --> 00:13:13.879
<v Allan>We are holding the AI's hand, placing it in slots, feeding it spot the difference tests.

00:13:14.120 --> 00:13:14.359
<v Ida>Right.

00:13:14.679 --> 00:13:16.599
<v Allan>What happens when we let go of the hand?

00:13:16.759 --> 00:13:21.000
<v Allan>What happens when AI agents act completely autonomously?

00:13:21.240 --> 00:13:27.559
<v Ida>This brings us to Amazon's research, and a fundamentally different but arguably more complex problem in the AI space.

00:13:27.879 --> 00:13:28.439
<v Ida>I see it.

00:13:28.599 --> 00:13:34.039
<v Ida>Current autonomous LLM agents, even the most advanced ones deployed today, are basically amnesiacs.

00:13:34.279 --> 00:13:34.519
<v Allan>Yes.

00:13:34.759 --> 00:13:38.359
<v Allan>I was reading this and thinking they are exactly like Dory from Finding Nemo.

00:13:38.679 --> 00:13:39.879
<v Ida>That is painfully accurate.

00:13:40.039 --> 00:13:41.719
<v Ida>They are stateless at the procedural level.

00:13:42.120 --> 00:13:46.359
<v Allan>Stateless, meaning they do not retain the logic of their actions from one task to the next.

00:13:46.599 --> 00:13:46.839
<v Ida>Exactly.

00:13:47.159 --> 00:13:50.039
<v Allan>So they rederive solutions from scratch every single time.

00:13:50.359 --> 00:13:50.759
<v Ida>Every time.

00:13:51.000 --> 00:13:59.000
<v Allan>Even if an agent just solved an incredibly complex data extraction problem ten minutes ago, if you ask it to do it again, it starts from absolute zero.

00:13:59.240 --> 00:14:04.039
<v Ida>It has to replan the logic, re-query the tools, re-verify the outputs.

00:14:04.359 --> 00:14:05.479
<v Allan>Like Groundhog Day.

00:14:05.719 --> 00:14:09.000
<v Ida>It is a massive drain on compute resources.

00:14:09.240 --> 00:14:15.799
<v Ida>Imagine if every single time you needed to tie your shoes, you had to relearn the fundamental physics of friction and knots.

00:14:16.039 --> 00:14:18.039
<v Allan>It would take all day just to leave the house.

00:14:18.359 --> 00:14:20.679
<v Ida>That is how autonomous agents currently operate.

00:14:20.839 --> 00:14:25.639
<v Ida>To solve this, Amazon's AGI team introduced a framework called Apex EM.

00:14:26.039 --> 00:14:31.559
<v Allan>Apex EM, which stands for non-parametric online learning for autonomous agents.

00:14:31.799 --> 00:14:31.959
<v Ida>Right.

00:14:32.199 --> 00:14:33.959
<v Allan>Wait, wait, non-parametric.

00:14:34.120 --> 00:14:37.879
<v Allan>Meaning they aren't actually changing the core weights of the LLM itself, right?

00:14:38.279 --> 00:14:38.519
<v Ida>Correct.

00:14:38.759 --> 00:14:45.079
<v Allan>Because updating parameter weights across a massive model for every single new task would be astronomically expensive.

00:14:45.639 --> 00:14:46.679
<v Ida>Unimaginably expensive.

00:14:46.839 --> 00:14:51.479
<v Ida>So instead of tweaking the brain itself, Apex EM gives the AI an external memory.

00:14:51.639 --> 00:14:54.599
<v Ida>They call it procedural episodic experience replay.

00:14:54.839 --> 00:14:55.079
<v Ida>Okay.

00:14:55.240 --> 00:14:59.559
<v Ida>It constructs an external database known as a procedural knowledge graph or PKG.

00:14:59.879 --> 00:15:08.039
<v Allan>Wait, if it's storing every single procedural memory in an external database, doesn't that graph eventually become too massive to search efficiently?

00:15:08.279 --> 00:15:09.399
<v Ida>That's a great question.

00:15:09.719 --> 00:15:13.479
<v Allan>How does the AI actually navigate its own memories without getting bogged down?

00:15:13.799 --> 00:15:15.799
<v Ida>That is where the orchestration workflow comes in.

00:15:15.879 --> 00:15:17.240
<v Ida>They call it PRGII.

00:15:17.479 --> 00:15:21.159
<v Ida>Plan, retrieve, generate, iterate, ingest.

00:15:21.639 --> 00:15:22.439
<v Allan>PRGII.

00:15:22.759 --> 00:15:23.079
<v Ida>Okay.

00:15:23.319 --> 00:15:26.839
<v Allan>Let's break down the mechanics of the retrieve phase because that answers your question.

00:15:27.159 --> 00:15:27.639
<v Ida>Go for it.

00:15:27.959 --> 00:15:33.000
<v Allan>When a new task comes in, the agent doesn't search the knowledge graph for matching keywords.

00:15:33.240 --> 00:15:33.879
<v Ida>Oh, it doesn't.

00:15:34.039 --> 00:15:34.359
<v Allan>No.

00:15:34.599 --> 00:15:39.159
<v Allan>It plans by extracting the underlying structural logic of the prompt.

00:15:39.399 --> 00:15:47.799
<v Allan>Then it retrieves past experiences by matching that abstract logic, completely ignoring the specific entities or vocabulary.

00:15:48.120 --> 00:15:51.719
<v Ida>Ah, so going back to your analogy, it's not searching for shoes and laces.

00:15:51.879 --> 00:15:56.120
<v Ida>It's searching its database purely for the structural node representing friction-based binding.

00:15:56.439 --> 00:15:56.839
<v Allan>Exactly.

00:15:57.000 --> 00:16:01.959
<v Allan>Once it retrieves that logical framework, it generates a solution tailored to the new prompt.

00:16:02.039 --> 00:16:02.279
<v Allan>Okay.

00:16:02.439 --> 00:16:05.000
<v Allan>It iterates using verifiers to check its work.

00:16:05.159 --> 00:16:15.079
<v Allan>And finally, it ingests that entirely new experience, how the old logic applied to the new entities back into the memory graph, creating a richer, more nuanced node.

00:16:15.240 --> 00:16:17.240
<v Allan>Here's where it gets really interesting.

00:16:17.559 --> 00:16:21.000
<v Allan>Apex EM doesn't just store its successful operations.

00:16:21.240 --> 00:16:22.039
<v Ida>No, it doesn't.

00:16:22.279 --> 00:16:24.839
<v Allan>It features a dual-outcome memory system.

00:16:25.000 --> 00:16:31.799
<v Allan>It intentionally and structurally stores its failures in an error registry and what the researchers call patch reflections.

00:16:32.199 --> 00:16:34.599
<v Ida>Which beautifully mimics human experiential learning.

00:16:34.759 --> 00:16:40.120
<v Ida>I mean, we don't just memorize our successes, our most potent memories are often our failures.

00:16:40.439 --> 00:16:41.639
<v Allan>Right, touching a hot stove.

00:16:41.959 --> 00:16:42.519
<v Ida>Exactly.

00:16:42.759 --> 00:16:53.719
<v Ida>By structurally storing a failure, documenting not just that a task failed, but the precise node where the logic broke down, the AI builds dynamic, permanent guardrails.

00:16:54.039 --> 00:16:57.159
<v Allan>So it actively prevents itself from exploring the same dead end twice.

00:16:57.479 --> 00:16:57.639
<v Ida>Yes.

00:16:57.959 --> 00:17:04.599
<v Allan>And because it relies on that structural logic we talked about, rather than semantic keywords, the system is capable across domain transfer.

00:17:04.920 --> 00:17:05.720
<v Ida>This is the best part.

00:17:05.960 --> 00:17:07.960
<v Allan>This absolutely blew my mind in the source material.

00:17:08.120 --> 00:17:10.759
<v Allan>So imagine the AI is tasked with a sports query.

00:17:11.000 --> 00:17:14.039
<v Allan>Compare Steph Curry's three-pointers this season versus last season.

00:17:14.440 --> 00:17:17.159
<v Ida>A standard statistical retrieval and comparison task.

00:17:17.480 --> 00:17:17.639
<v Allan>Right.

00:17:17.720 --> 00:17:19.480
<v Allan>So the AI maps the procedure.

00:17:19.639 --> 00:17:27.159
<v Allan>It performs entity resolution to identify the player, applies a temporal filter for the seasons, aggregates the data, and runs the comparison.

00:17:27.480 --> 00:17:28.039
<v Allan>Very logical.

00:17:28.279 --> 00:17:32.599
<v Allan>It solds it and ingests that structural logic into its memory graph.

00:17:32.759 --> 00:17:38.200
<v Allan>Then weeks later, the exact same agent receives a completely unrelated prompt.

00:17:38.440 --> 00:17:42.039
<v Allan>Compare Amazon's Q4 revenue across fiscal years.

00:17:42.359 --> 00:17:46.519
<v Ida>Now, lexically, those two prompts share almost zero vocabulary.

00:17:46.839 --> 00:17:47.079
<v Allan>Right.

00:17:47.240 --> 00:17:48.200
<v Allan>Sports versus finance.

00:17:48.519 --> 00:17:54.279
<v Ida>A traditional AI semantic search would categorize one as sports trivia and the other as corporate finance.

00:17:54.440 --> 00:17:55.799
<v Ida>They would be completely isolated.

00:17:56.119 --> 00:17:59.799
<v Allan>But the Apex EM agent looks at the underlying structural signature.

00:18:00.039 --> 00:18:00.279
<v Ida>Yes.

00:18:00.519 --> 00:18:11.720
<v Allan>It realizes that the logic required for the basketball question entity resolution, temporal filter, aggregation, comparison, is the exact same structural procedure required to calculate the corporate revenue.

00:18:11.879 --> 00:18:12.519
<v Ida>It's identical.

00:18:12.759 --> 00:18:14.440
<v Allan>And it applies the identical logical plan.

00:18:14.680 --> 00:18:17.879
<v Ida>It successfully abstracts the procedure away from the subject matter.

00:18:18.039 --> 00:18:22.440
<v Ida>It learns the mathematical concept of comparison independent of the entities being compared.

00:18:22.759 --> 00:18:23.399
<v Allan>No way.

00:18:23.639 --> 00:18:25.639
<v Allan>Seriously, that is actually genius.

00:18:25.720 --> 00:18:28.279
<v Allan>It's not just retrieving data, it's retrieving wisdom.

00:18:28.599 --> 00:18:29.159
<v Ida>It really is.

00:18:29.240 --> 00:18:32.200
<v Ida>And the performance metrics validate how transformative this is.

00:18:32.519 --> 00:18:33.720
<v Allan>Oh, the numbers are wild.

00:18:33.960 --> 00:18:38.039
<v Ida>Amazon tested this framework on the KGQAGEN 10K benchmark.

00:18:38.279 --> 00:18:38.599
<v Allan>Which is.

00:18:38.919 --> 00:18:43.079
<v Ida>It's a benchmark that requires highly complex multi-hop reasoning.

00:18:43.319 --> 00:18:49.960
<v Ida>An agent operating without memory starting from scratch every time achieved an accuracy rate of just 41.3%.

00:18:50.759 --> 00:18:51.720
<v Allan>Wow, less than half.

00:18:52.039 --> 00:18:52.279
<v Ida>Right.

00:18:52.519 --> 00:18:58.680
<v Ida>But when empowered with the Apex M memory graph, that accuracy skyrocketed to 89.6%.

00:18:59.319 --> 00:19:02.680
<v Allan>That is a 48.3 percentage point jump in accuracy.

00:19:02.919 --> 00:19:03.559
<v Ida>It's massive.

00:19:03.879 --> 00:19:11.319
<v Allan>And all of that performance gain comes purely from allowing the AI to document how it solved things and how it failed at things in the past.

00:19:11.639 --> 00:19:13.399
<v Ida>No massive parameter updates required.

00:19:13.720 --> 00:19:14.200
<v Allan>That's incredible.

00:19:14.519 --> 00:19:19.079
<v Ida>If we connect this to the bigger picture, this represents a fundamental paradigm shift in deployment strategy.

00:19:19.480 --> 00:19:19.960
<v Allan>How so?

00:19:20.200 --> 00:19:27.319
<v Ida>It means we can release autonomous agents into complex, real-world environments, and they will organically become more intelligent the longer they operate.

00:19:27.720 --> 00:19:28.919
<v Allan>Without us having to retrain them.

00:19:29.240 --> 00:19:29.799
<v Ida>Exactly.

00:19:29.960 --> 00:19:38.279
<v Ida>They adapt to the specific idiosyncrasies of their environment, continuously optimizing their own workflows based purely on accumulated experience.

00:19:38.759 --> 00:19:41.079
<v Allan>What does this say about us as a society?

00:19:42.119 --> 00:19:49.960
<v Allan>I think it says that we are collectively recognizing that raw, unconstrained intelligence is insufficient.

00:19:50.599 --> 00:19:54.839
<v Allan>It's like having a sports car with a Formula One engine, but no steering wheel or brakes.

00:19:55.159 --> 00:19:56.440
<v Ida>A recipe for disaster?

00:19:56.759 --> 00:19:56.919
<v Allan>Right.

00:19:57.079 --> 00:20:04.119
<v Allan>From Apple engineering highly restrictive UI component slots to physically block an AI from deleting your checkout page.

00:20:04.440 --> 00:20:07.799
<v Ida>To utilizing counterfactual images to map the boundaries of visual safety.

00:20:08.119 --> 00:20:08.599
<v Allan>Exactly.

00:20:08.759 --> 00:20:14.919
<v Allan>To Amazon constructing procedural knowledge graphs, so an autonomous agent stops forgetting how to execute basic logic.

00:20:15.159 --> 00:20:15.799
<v Ida>It's all connected.

00:20:16.119 --> 00:20:19.000
<v Allan>The future of artificial intelligence isn't about letting it run wild.

00:20:19.159 --> 00:20:20.839
<v Allan>The future is about rigorous structure.

00:20:20.919 --> 00:20:22.519
<v Allan>It's about cumulative memory.

00:20:22.839 --> 00:20:23.159
<v Ida>Absolutely.

00:20:23.399 --> 00:20:26.440
<v Allan>And above all, it's about the ability to structurally learn from mistakes.

00:20:26.759 --> 00:20:27.720
<v Ida>I couldn't agree more.

00:20:27.879 --> 00:20:31.240
<v Ida>And I'll leave you with this final, somewhat provocative thought to mull over.

00:20:31.480 --> 00:20:32.039
<v Allan>Okay, let's hear it.

00:20:32.279 --> 00:20:47.960
<v Ida>If an autonomous AI agent can construct a flawless procedural memory graph one that seamlessly transfers abstract logic across completely unrelated domains and meticulously documents every single error so it is mathematically impossible to repeat it.

00:20:48.919 --> 00:20:53.639
<v Ida>How long until these agents begin re-engineering and optimizing their own memory structures?

00:20:53.879 --> 00:20:54.039
<v Ida>Oh.

00:20:54.279 --> 00:21:01.399
<v Ida>How long until they begin building connections and traversing that graph in ways that we humans fundamentally cannot comprehend?

00:21:01.720 --> 00:21:09.879
<v Allan>Well, let's just hope that when they do start autonomously reengineering their own procedural brains, they remember the painter's tape and leave the checkout page exactly where it is.

00:21:10.119 --> 00:21:10.759
<v Ida>Fingers crossed.

00:21:11.079 --> 00:21:12.119
<v Allan>Keep diving deep, everyone.

00:21:12.200 --> 00:21:13.079
<v Allan>We'll catch you next time.
