Latest / Agentic Conversations (formally mlops.community) / Beyond the Matrix: AI and the Future of Human Creativity
Transcript
- 0:00My name is Fausto Albers, I am the Co founder of the AI
- 0:04Builders community, which is a really cool community that has
- 0:08meetups in Amsterdam and Berlin every month.
- 0:11And we get together with a bunch of AI nerds and and people
- 0:14working on a really cool stuff and we share ideas, problems,
- 0:17etcetera and some some cool some cool talks.
- 0:20I'm doing research consulting in the IAI space from a background
- 0:25of behavioral science owned restaurants.
- 0:27I was a flare bartender in London and I can use all this
- 0:30stuff in this in this amazing, super interesting space.
- 0:34I always love talking to you, Dimitrios about, about the
- 0:37things that did are possible and may not be possible and that
- 0:40sort of thing. And let me get some coffee
- 0:43because I do drink a lot of coffee.
- 0:45And that is actually because I swear I, I, I, I am carrier of a
- 0:50gene that is associated with a very fast metabolism of a
- 0:55caffeine. And when people ask me how to
- 0:57how I drink my coffee is a lot. I can, I literally drink a liter
- 1:00of coffee before lunch. I can drink a double espresso
- 1:03before I go to sleep and I will sleep like a baby.
- 1:06Drinking coffee is just like making love in a canoe.
- 1:09It's fucking close to water. A quick little tidbit for you
- 1:12all before we dive in. I met Fausto and instantly fell
- 1:18in love with this guy because he was running a restaurant
- 1:22business. He also is super creative and he
- 1:27doesn't let any of that stop him from being an engineer, just
- 1:33constantly iterating on AI and AI products.
- 1:38He brings so many diverse perspectives to the table
- 1:43whenever I talk to him that I am in the middle of trying to con
- 1:49him into coming back monthly and chatting with me about what he's
- 1:53been seeing. It was an absolute pleasure
- 1:56talking to him and I hope you enjoy.
- 1:57Let's get into it. What were you just telling me?
- 2:05And I said, hold on, don't tell me that yet.
- 2:08Let's hit record. You're doing job interviews and
- 2:10you created something. What is it?
- 2:13Yeah, yeah, that's, that's something that's almost feels as
- 2:15uncomfortable as being announced at the fast hours.
- 2:18But no. So I'm doing this job interviews
- 2:20at the moment, right? And of course I'm, I'm recording
- 2:24these conversations. I also have some other tricks in
- 2:26the book, but I will review later.
- 2:28But I'm recording these conversations and I build my AI
- 2:31analyzer to to analyse the transcripts, sometimes the video
- 2:35as well. And it's just it's very
- 2:37confronting to see yourself or like to hear yourself drift off
- 2:43on the spots to nowhere and why you're thinking like, man, she
- 2:47was just asking a question, answer it.
- 2:49But it does help because being confronted with your own
- 2:51mistakes is is shame is a is a good way to learn.
- 2:56And what are you doing? The analyzer I imagine is just
- 3:00grabbing the audio, converting it into text and then throwing
- 3:06that into chat. GBT.
- 3:08There's so many different tools out there that can actually
- 3:11record your conversation, even a Google Drive, Gemini,
- 3:14Supernormal, many of them, and basically all you need is the
- 3:18audio or sometimes they're already transcripted for you,
- 3:22but. After a lot of them do it,
- 3:23that's true. Yeah.
- 3:24But to have something that really that's really useful,
- 3:30your goals may differ from call to call or for an AI to have as
- 3:35much context as possible is of course, gives a better result.
- 3:39So you can do it in Jet GPT, or you can let a tool just do it
- 3:42for you. But you can also use, for
- 3:44example, instructor, which is a really great open source
- 3:47library. Yeah, you might know it right
- 3:49from Jason Lu, which can help you extract the data that you
- 3:53really want. And you can use rich
- 3:55descriptions, pedantic schemas, etcetera, to to to do it much
- 3:59like structured extraction from Open AI, but it has a bit more
- 4:02to it. Yeah, that's that's how I do it.
- 4:04And you're doing that, throwing it into some kind of a model and
- 4:08saying where could I be better? Is that the gist of the prompt?
- 4:12Analyse this. And but it's fun to just to play
- 4:14around with. And I think what's really useful
- 4:16is for an AI to, to really understand the personas that,
- 4:21that are in the conversation, which may not always work, of
- 4:25course, with the example that I just gave you, like a job
- 4:27interview. But for example, when you have a
- 4:30meeting with your team, then then when I have a meeting with
- 4:33with a team, I, I also record the conversation just to put a
- 4:37device on the table. And then I always have everyone
- 4:41introduce themselves like to the AI like I am this and the name
- 4:44and this is my background, etcetera.
- 4:46So then when we are analysing conversation, then we do this
- 4:50every, everything that is being said is analysed taking into
- 4:55account who said it. And in general, I think that's
- 4:58one of the interesting things with AI and where we're going is
- 5:02personalization really means also who is talking to the AI.
- 5:07Imagine that you have this really cool sophisticated rack
- 5:10system for a company and all the information of the company is in
- 5:14there. Maybe you have a layered access,
- 5:16the CEO can access everything, all the containers and or
- 5:19container sized access. But then there is maybe a legal
- 5:22worker from the company and that's accessing this
- 5:25information. But the AI or like some the
- 5:29intelligent intermediate layer between the rack system and the
- 5:33user should understand who's asking the questions.
- 5:38Because the next step will be that the AI can also suggest
- 5:42questions to ask. Because how you, you don't know
- 5:45what you don't know, right? Yeah.
- 5:47Are you able to? It's it's really hard to ask
- 5:49good questions if you don't know all the information available in
- 5:53the database. And so it, it's so funny that
- 5:56you mention that because this is something that we've almost been
- 5:59doing with recommender systems for a while, but in a different
- 6:04way. It's the interactions on a web
- 6:07page build up a certain profile and they build up features about
- 6:12someone. But you're talking about, can we
- 6:16know the features about someone? Like this person works in the
- 6:19legal department, They're actually an intern.
- 6:21They've only been around for six months, so they should be doing
- 6:26these things, or they've interacted with these files over
- 6:30the last three days. So those are the highest
- 6:33priority. Probably they're working on this
- 6:35project XYZ. But then what other stuff do you
- 6:39want the AI to know about you to give it more context?
- 6:42Because like we mentioned before, we hit record, context
- 6:45is key. One step back like the blank
- 6:49canvas problem, right? Like just sit down with a blank
- 6:53canvas, what whatever it is that you're going to do, like a
- 6:56drawing, write a story and learn.
- 6:57But it's really hard to start. And and when you help people use
- 7:01Jet GPT is what one, one of the first things that that you help
- 7:05them with is what to ask, right? Because it's really hard to be
- 7:09super imaginative and and a lot of cognitive load.
- 7:13Yeah, yeah. So where should the AI step in
- 7:18and based on whatever knowledge it has of this user, for
- 7:22example, of course, with Jetty PT now they recently, I think
- 7:26extended their memory function that, that that you find out
- 7:29like it, it used to say memory is full and all of a sudden
- 7:33it's, it's gone. So I assume that they updated
- 7:35this. I didn't verify, but I'm pretty
- 7:37sure. So that AI, so to say, already
- 7:41knows a lot about you, right? And is therefore better able to
- 7:45serve you respond in a certain way.
- 7:47But I assume that we going to see more and more customization
- 7:53that the AI is also going to suggest what you should ask,
- 7:58right? The 111 way of looking at all of
- 8:02this. And I think like what when I'm
- 8:05going to go all the way back to when I was introduced to GPT 3.5
- 8:11before GPT and I was I was having a walk in the woods with
- 8:14my girlfriend and I just I couldn't stop talking about it.
- 8:16I was like, this is so cool. And that day I made like a, a
- 8:19drawing that like an image that I still use when I give talks.
- 8:23The way that we manipulate the digital world is through binary
- 8:26code, which is essentially a language that we don't speak.
- 8:31All right, We don't understand. So we have to work with that.
- 8:34We have an abstraction around that.
- 8:36And that abstraction is programming languages.
- 8:39And there's no, there's different programming language
- 8:41because each abstraction comes with the upside that is that you
- 8:45can actually manipulate the underlying complexity.
- 8:48But the downside, there's always trade-offs, right?
- 8:50With compression comes information loss, unless you're
- 8:53a zip file. But I think it's a pretty
- 8:56universal thing. I'm probably going to get
- 8:58destroyed by anyone with more war with.
- 9:01But yeah. But in this case, we can say
- 9:03that that that programming languages are an abstraction
- 9:05around binary code. And now all of a sudden we had
- 9:07language like natural language as it is new abstraction around
- 9:12these existing abstractions as a way to manipulate the digital
- 9:16world and therefore have an effect in the real world.
- 9:20And I thought that was fascinating.
- 9:22And still to be in this space in the last 2-3 years is there's
- 9:28there's still a lot of programming involved and a lot
- 9:30of abstract thinking, which is great, but we're increasingly
- 9:33going to see more abstractions. Sam Altman recently said that he
- 9:39hated the user experience of GTPT with all these different
- 9:42models. But, and it's something we can
- 9:44all agree on, but you can also see this in Reg.
- 9:47There's all these different options and there, there, there
- 9:50might still be a lot of choices to make for a user or even the
- 9:53engineer. And more and more we are going
- 9:56to see those hard decisions going to be abstracted away with
- 10:02the upside is that we can then again even work with more power
- 10:07and complexity. And the downside is of course
- 10:09there is always loss. There's information loss and
- 10:12we'll see. It reminds me of someone who
- 10:16gave a presentation back in the day on using Vertex AI as their
- 10:21main platform. And they said the best part
- 10:24about Vertex AI is that it's a managed service and it does a
- 10:28lot of things for you. And the worst part about Vertex
- 10:31AI is that it's a managed service and you can't get under
- 10:34the hood. And so it's that double edged
- 10:37sword in a way that we want that abstraction, but at what cost?
- 10:42What are we willing to give up for that abstraction?
- 10:45Human behavior here is funny as well, because it's really hard
- 10:49to say that. It would be pretty preposterous
- 10:51as you said it like a nice word for arrogant, but I don't mean
- 10:54arrogant, but pompous. Yeah, you should to say that to
- 10:59state that you're at the perfect level of abstraction because you
- 11:03were born now 4040 years ago. So that programming language
- 11:07that you are really good at that is the perfect level of
- 11:09abstraction. That's bullshit.
- 11:11You know how how would you know? And in in the end, it's all
- 11:14languages. What are human language is
- 11:16programming language is ways of communicating this.
- 11:21And I'm going to go off the philosophical deep end here.
- 11:24This raw thing that we call creativity or like the human
- 11:28condition, like I have language to understand myself, right?
- 11:34I have words and to yeah. And of course, feelings.
- 11:38There, there. It's a weird mixer.
- 11:39And when I want to transfer that to you, my condition, my ideas,
- 11:44I I use language, right. So in in the end, we're
- 11:50transferring creativity like the human condition into whatever it
- 11:54is that we do, like communicating with other
- 11:57entities. I heard the term last week and
- 12:00it kicked with me, of course, at the way I use AI.
- 12:04But it's called vibe coding. Yeah, yeah.
- 12:07All that, too. I saw.
- 12:09That's funny. Yeah.
- 12:10It's the new buzzword. Yeah.
- 12:12And my subtraction, yeah. 100% But going back to this idea of
- 12:19OK, we have language to basically encapsulate feelings
- 12:25and thoughts and things that we are trying to do and get in this
- 12:31physical dimension there. The language is almost like a
- 12:35signpost towards what symbolic the symbols are inside of us,
- 12:40right? Yeah, it's really because also
- 12:46when you define something, whether it is like symbolic or
- 12:50or what language, you also make it real, right?
- 12:54It is so because we call it. It is only there when we observe
- 12:58it. As as we found from.
- 13:02The cat. Exactly, Exactly.
- 13:05Schrodinger. Yeah.
- 13:07I, I have a very nerdy sweater that says Schrodinger's cat, and
- 13:11then it says dead and alive, depending on how you look at it.
- 13:13Dead or alive. Nice.
- 13:16Going back to, I think one thing that I love from talking to you
- 13:21a lot is how different you attack the problem that
- 13:27sometimes we can get into when dealing with AI.
- 13:30And a lot of it comes down to this context idea and how can we
- 13:36get more context for the models? Because if we can give them more
- 13:40context, then they are going to better be able to carry out the
- 13:47tasks that we are asking of them.
- 13:49And I know that just an example of that on this call is when
- 13:53you're talking about how you ask people on your team to introduce
- 13:57themselves to the AI so it can have more context on who they
- 14:00are, what they're doing. Another one that we had talked
- 14:02about a lot was when people join the ML OPS community, could we
- 14:07figure out a way to have them go through an onboarding call with
- 14:11some kind of AAI persona that could give a lot of downloads on
- 14:18what the person wants to do, why they're joining the community,
- 14:21what are the biggest things on their mind, like challenges
- 14:24they're working through? And that way we can better
- 14:28create different paths and suggest different activities
- 14:32that we do in the community because we have so many
- 14:34different activities, right? So how can we make sure that
- 14:37each person is finding out about the activities that will best
- 14:43suit them? Essentially, it is a paradox of
- 14:47choice problem, right? In a world where information and
- 14:50options are abundant, we get paralysed by the amount of
- 14:56options that we have as a personal experience kind of
- 14:59thing. But no, logically it's just for
- 15:03example, within a community, right In that envelopes, they
- 15:07are builders and and meet ups that I organize.
- 15:10There is 100 people in A room and they are there with some
- 15:14objectives and they may not even be fully aware of their
- 15:17objectives. So that's not a discussion, but
- 15:19let's say a rational humans. So we have objectives and there
- 15:23is it's a given. There's limited time.
- 15:25You can only speak to so many people.
- 15:27You only you can only listen for so long attention span.
- 15:31I said there is constraints, right?
- 15:33So how do we optimize or make this that always sounds so
- 15:38economic, but like, how do we make this the best experience
- 15:42for any given individual if we would want to use AI for this?
- 15:45And I think like what a lot of AI does, whether it is alpha go
- 15:52within the constraints of a game or it's a jet GPT in, in in a
- 15:57conversation, what AI does? It's it's making representations
- 16:01of the world of a world. And so that that got me thinking
- 16:06that when we indeed, when we on board people and we have a goal,
- 16:10like, all right, let's say the goal is that we want to connect
- 16:13the people that have a lot in common or have some interests
- 16:17that are overlapping or whatever, then we would need to
- 16:20have that information. So we would on board these
- 16:23people into the event. You could actually do that with
- 16:25a human to human interview, but you could also imagine a voice
- 16:29AI interview or anything that is basically not a form.
- 16:34Yeah. Because the forms it's hit or
- 16:38miss. Some people will fill it out,
- 16:39others not. Yeah, it's Dufour Harare in his
- 16:42latest book Nexus, great book. He, he explained, took that
- 16:49example of explaining bureaucracy and like a form is
- 16:54forcing you as a complex human being to to fit this slots,
- 16:59however complex you may be, or multi dimensional and you have
- 17:02to fit the slots, you have to take a box or that sort of
- 17:05thing. And you can see a lot of AI.
- 17:08It is a much more flexible form when in in production use cases,
- 17:13right, Whether it be a sales, sales application or maybe
- 17:17onboarding as we're talking about here.
- 17:18It's like a dynamic form, but it's a better experience anyway.
- 17:22We would end up with a database or with all these individuals
- 17:27and there's all this information about them and not in a super
- 17:31structured format. So we might have to then use
- 17:33some, some AI, but the structured extraction and maybe
- 17:35knowledge graph or that sort of thing or like information
- 17:39storage. We could even augment that
- 17:41information. There's I saw this, these guys
- 17:44lately doing a presentation. They were doing a presentation
- 17:47at one of the meet ups. It was called Airweave and then
- 17:49they were explained to some pipeline like that that he could
- 17:52onboard a user and then augment it by connecting it to the
- 17:55Perplexity API, doing research, scraping Linkedins, etcetera.
- 18:00Anyway, your end. Here would be.
- 18:02A lot of information on each individual.
- 18:05Then I thought I actually bought a made a POC on on this.
- 18:07Very, very interesting to do is to automatically create a
- 18:11virtual entity of each person, like an agent.
- 18:15It's basically an agent with a complex set of instructions and
- 18:20the information taken from the information that we've gathered.
- 18:24And then we ask it like we make it to embody as a matter of
- 18:28speech. Strong word, yeah.
- 18:31This, this person and put the goal of then joining this
- 18:35virtual arena, the, the meet up floor, if you will, and to chase
- 18:42their goals and to connect with other agents there.
- 18:47And now there's some really interesting research.
- 18:51So my, my background is in, in sociology and, and social
- 18:55sciences. And there's a lot of like
- 18:56experimental research in there where you would put two people
- 19:00in a room, give $100 to one of them.
- 19:04And with the goal, with the task to share this $100 and then the
- 19:08person that received $100 that can make an offer to the other
- 19:12person, right? Can make can be anything.
- 19:14And the other person can say yes.
- 19:16And then they share that that cut or it says no and then they
- 19:21both get nothing. Right now rational theory would
- 19:25say, if let's say I've got $100, give me, let let me give you
- 19:28$1.00. I'd rather have nothing then you
- 19:32walk away with $99. Yeah, because the other person
- 19:37knows that the that it's $100. Yeah, so there.
- 19:41Yeah, so there's this sense of fairness like in negotiation and
- 19:45then that sort of thing. And it turns out that a is are
- 19:47actually really good in in in mimicking this.
- 19:50I found a report that did this and I took it and I made it a
- 19:53bit more complex to give him like a sort of extra reflective
- 19:56brain thinking out their strategy.
- 19:59I was experimenting with all this sort of like psychological
- 20:03research, things that were actually done in humans to find
- 20:06out. How to set up this arena in
- 20:09order to get good outcomes? Because if you just let the A is
- 20:13go there, they're going to find common ground with every other
- 20:17AI. That's just how they're, they're
- 20:18really nice. You know what I mean?
- 20:19Oh, that's before you know it, you're, they're, they're
- 20:21building 1000 startups, which is not really realistic, right?
- 20:25And they're, they're also, it might be, let's say there's 100
- 20:28attendees and there's a 99 super smart machine learning engineers
- 20:32envelopes people and there is one investor and then there's
- 20:37one, one person that's really desirable in that room because
- 20:40the other ones might not have to add too much to each other.
- 20:43So this is all given on context. So I thought like, why not use
- 20:47the constraint of a game and apply some rules?
- 20:51And I'm not going to go into detail, but you can imagine that
- 20:53if there's rules and that's games are really good for this
- 20:55type of research is they have to be they're constrained.
- 20:59And then with the end goal of and this is maybe confusing but
- 21:05taken from game theory to find Nash equilibria like that is the
- 21:09position where 2 actors are placed in in in such a way that
- 21:14if one of them moves, then everyone loses like that.
- 21:17It's the optimal interdependent rewards that you're trying to
- 21:21find between actors. And yeah, with giving that,
- 21:24you're basically just going to give every attendee and advice
- 21:28like, all right, go to this and that person and hear some
- 21:30opening, opening words to start a conversation.
- 21:33We think you might have something to talk about.
- 21:35And because the whole idea I remember when you were walking
- 21:38me through this is that for a meet up, wouldn't it be cool if
- 21:43we had this information on the folks who signed up for the meet
- 21:46up? And then we could simulate out a
- 21:49few turns on this game and we could see, oh, our game is
- 21:55suggesting you talk with these three people because you all
- 21:58have these things in common. You might want to have a deeper
- 22:02conversation about XYZ. And so it cuts through like you
- 22:06were saying, it would be great if we could all talk to everyone
- 22:09at a meet up, but sometimes you talk to someone and you don't
- 22:14want to be in that conversation. Other times you just, sometimes
- 22:17I've been in this situation where I don't want to talk to
- 22:19anybody because I feel really shy and I feel like I don't have
- 22:22anything to talk to anyone about.
- 22:24And I imagine I'm not the only one who's felt like that in a
- 22:27meet up. So that can be like two ways.
- 22:30When I attend like a meet up that I've never been like, I
- 22:33find it hard to maybe even get to speak to people.
- 22:37And when I organized the meet up and I've been just like hosting,
- 22:40it's like I find it hard to there's something that that
- 22:42queuing up it's it's. Funny because we try and do this
- 22:46in some of our meet ups by just saying, hey, we're going to have
- 22:49a game at the beginning of the meet up and we put people into
- 22:53teams by their birthday month. It's and so you don't really
- 22:58have a choice. You're just going with everybody
- 22:59that's in the same birthday month as you, and then you have
- 23:02this opening. There's like this bond that
- 23:06forms because you're on the same team.
- 23:07Whether you win or lose the game, you have your team you
- 23:12raise the rest of. The point there, because this
- 23:15whole idea builds upon the assumption that there is such
- 23:21thing as the perfect outcome. Now I I used to own a restaurant
- 23:26and and when in back in Corona, we started building for the
- 23:31restaurants AQR order application.
- 23:34That was with the goal of having people spend as little time as
- 23:38possible on their mobile phones. Because to me as a restaurant
- 23:41owner, it was very clear what the benefits were to us.
- 23:46But it was also as a visitor, I hated it to how to make this
- 23:51experience better for people with what if we predict what
- 23:54people want basically of, you know, they can order from the
- 23:57menu, like they have access to the menu to their mobile phone,
- 24:00but they can also, yeah, the, the the menu is ordered so that
- 24:03that it's in the right conversation for that Long story
- 24:09short, in the very beginning, I thought there was such thing as
- 24:12the perfect match between a given menu item in given context
- 24:16with with a user. And the more I learned about it,
- 24:19the more I realized that. And I could have known this
- 24:22because I've been on the sommelier and, and the cocktail
- 24:24bartender side a lot that it's really in, it's really hang out
- 24:28there until, until the match is made.
- 24:33So to say, given that the entity that gives you the
- 24:36recommendation, whether it be a nicely tied up sommelier or a
- 24:41recommender system, digital recommender system, AI, the the
- 24:45trust that you have in the system is affecting your
- 24:49experience. And also known as selling ice to
- 24:54Eskimos, right? You're a good someone.
- 24:56Yeah, you can sell a cheap wine for a lot of money as long as
- 24:59you gave the person that buys the wine social recognition.
- 25:03Yeah, and actually, for some reason I'm thinking about
- 25:07Schwinger's cat again, because it's you're not getting that
- 25:11match until the moment. And so there isn't that perfect
- 25:15match that you can show someone. It's really in the moment that I
- 25:21decide that's when it's actually real.
- 25:24Yeah, yeah. And then there's, there's so
- 25:26many factors at play there and there's so much like the medium
- 25:32is the message here. And also another presentation
- 25:36that I saw lately was much more about the interface, UX, UI
- 25:39building AI applications. And that's also fascinating
- 25:43because AI Gen. AI is an interface and it needs
- 25:49an interface because voice is an interface.
- 25:52Like it's a way of communicating and chatting is it's an it's an
- 25:56ability of this of like the communication part is what it
- 26:00can do, but it's also very much affecting your experience,
- 26:05whether you communicate through through chat or to voice or to
- 26:08predefined buttons or buttons that are generated on the spot
- 26:13for you but still have to be clicked.
- 26:15And there's so much there and spoken to so many people that
- 26:18are building products in the last few years.
- 26:20And I think this is still one of the very much unsolved problems
- 26:25is you can have it as amazing application, but how do you get
- 26:28people to use it? Like one one of the first rough
- 26:31lessons I've learned is that people don't give a shit about
- 26:34chat bots. And ideally we do not want to
- 26:38use them I'm. One of those people so to come
- 26:42to to take it back to the the abstraction of the beginning of
- 26:45the conversation. What we really want is something
- 26:49that knows that we want. Now, Oodopus, exactly where are
- 26:57you when we need you? And it's so funny because on
- 27:02that, it goes back to what we were saying with the being able
- 27:06to suggest something in the right time, in the right moment.
- 27:09As opposed to us having to have that cognitive load and figure
- 27:14out what it is that we are trying to do in this moment and
- 27:18then type it out and type it in a way that AI is going to
- 27:23understand. So maybe we don't get what we
- 27:26want on that first time around and we think, is it because my
- 27:30prompt isn't good enough? Do I have to rephrase this?
- 27:33And then it's more cognitive load and it's just, it creates
- 27:36this poor user experience. And so I've been all about that,
- 27:41man. Like the the UI piece for this
- 27:46feels like the most important part of everything, the way that
- 27:50some folks are doing it where you can say, let's just click
- 27:53around and you have. We're so used to that.
- 27:55It has been around for a long time, yeah.
- 27:58Yeah. And when you get like those, you
- 27:59probably know what it's called. But those pictures where you
- 28:02have two sidewalks and then there's the trail in between the
- 28:07two sidewalks because it's the shortest path.
- 28:10There's a whole paradox around that too.
- 28:13But the that's what it feels like where we are still trying
- 28:17to figure out what is that short path.
- 28:19Right now we just have the sidewalks and we're trying to
- 28:22figure out where's that path that we can just make a shortcut
- 28:26and then. Let's do do do do you refer to
- 28:28what we call in Dutch elephant elephant pets that when there's
- 28:32a route that people will always find exactly that.
- 28:34Poor design in the physical world, we see that.
- 28:37Wow, that's not how we as humans want to use this.
- 28:42It's a fork or whatever. It's Yeah, this form.
- 28:45I was taking on what you just say, like to express what you
- 28:49want. And still we're in in, in this
- 28:52like in general, you know, as using AI is do use AI, don't
- 28:56refrain from using it. But if you use it, don't expect
- 29:00it's going to be like this miracle thing, like you have to
- 29:04put in some hard work. And that hard work is often to
- 29:09understand what you what it is that you want.
- 29:12And yeah, good prompting is just basically explaining what you
- 29:19want and and all the facets that are part of that.
- 29:22But it's hard. And in the beginning we saw all
- 29:25these this easy Reg systems where there's a user query
- 29:29that's get embedded and then finds the nearest vector in a
- 29:35database and then augments the response with this vector like
- 29:39with this information. But of course, we know that the
- 29:42query is not always semantically similar to the information that
- 29:47is needed to answer that query. So then what do we expect?
- 29:52Do we expect the user to ask good queries because forget it,
- 29:57or yeah, or are we going to? No.
- 29:59And that's, I think in 2024, we saw this huge explosion of
- 30:03agentic RAG frameworks, like multi hop agentic RAG
- 30:07frameworks, right? Where one very important part of
- 30:11that is query decomposition, right?
- 30:13Like to query understanding intent recognition, which says
- 30:17old as as an op and everything, right?
- 30:21And, and I've been building a lot of those kind of things as
- 30:24well. And what occurs because there's
- 30:25this query decomposition and then there's query routing.
- 30:28Where are we going to send these queries?
- 30:30What databases? Then there's also of course the
- 30:33type of embeddings, because not everything should be or can be
- 30:38done with the off the shelf embedding models.
- 30:40But the complexity of a rec framework, I think is centred
- 30:44there. Because this is true, right?
- 30:47Like given that a decent LLM has access to the information
- 30:52required to answer your question, right, you ask the
- 30:55LLM, what did I have for breakfast yesterday?
- 30:59Obviously that's not part of the training data, but if the
- 31:02retrieved chunk gives gives the answer to that, then it's going
- 31:07to answer correctly. And then this you can generalize
- 31:09some more complex problems. So the problem of RAG is
- 31:12retrieval, and retrieval is basically precision, a recall
- 31:18like precision. Do we we retrieve the chunks
- 31:21that we want, but are we also retrieving precision, a recall?
- 31:26Precision being the percentage of the chunks that we retrieve
- 31:31relevant to the question, Is there not too much noise and
- 31:34recall? Did we retrieve all the chunks
- 31:37required to answer a question? Which is actually the harder
- 31:39problem because you don't really know what you don't know, right?
- 31:42There might be some hidden chunks there that that if not
- 31:46present, make your model hallucinate.
- 31:49Now with all these genetic frameworks, I mean, it's useful,
- 31:52but it gets so complex and it's, it's still prompt engineering.
- 31:55Like you're not updating the model, like you're making layer
- 32:00upon layer. And it's really hard to actually
- 32:04check if you're doing a good job.
- 32:06Like you have to the concepts just mentioned, precision in
- 32:10recall, you have to measure them.
- 32:12Otherwise you don't know what it what it is that you're doing.
- 32:16I think also often people are trying to optimize direct system
- 32:19by looking at the query user query input and the generated
- 32:22output and then if that's not good the parameters starting
- 32:25like prompt engineering. The real problem is retrieval
- 32:28because giving that if the model has access to the right
- 32:33information is probably going to be able to answer your question.
- 32:35Now I was working on job or consultancy job for helping an
- 32:41organization make an AI and like a virtual service engineer for
- 32:46like the make industry complex machinery, but I think like
- 32:50aircraft motors, that sort of thing.
- 32:51You can imagine that those asset manuals like those technical
- 32:55manuals are insanely complex. Yeah.
- 32:58So it's it's the goal is to help an engineer find the right
- 33:02information there. And so I start playing around
- 33:05and like doing some multi hub retrieve another man super
- 33:08complex and then DeepSeek just drop like a fucking bombshell.
- 33:15Yeah, And we all had our sort of paradigm to look at it.
- 33:18It like people with money started running, I mean from
- 33:23NVIDIA stocks and stuff. But in the technical community,
- 33:26I think like it's all been like everyone I speak to has been so
- 33:30stoked about like this algorithm, the GRPO algorithm of
- 33:34deep seeks. So a group relative policy
- 33:37optimization, right? Really a real step up from the
- 33:40PPO algorithm that was originally I think invented by
- 33:44open AI in 2017 to train models with reinforcement learning used
- 33:50to be done with human feedback, or at least a, a model, a reward
- 33:55model. And now with this new algorithm,
- 33:58we can do this without all of that, like without human
- 34:02feedback, without having an external model to, to check our
- 34:06results. And there was such a cool
- 34:10insight that this was possible, right?
- 34:12But this works it's reinforcement learning, right?
- 34:15So it works with domains that have a definite answer like
- 34:20mathematics coding. Does it execute the?
- 34:23Is the answer correct? And then I thought, what if we
- 34:29look at RAG as a closed domain, closed source problem?
- 34:34Because the chunks like you have a question and there's an
- 34:41answer. And to give that answer, let's
- 34:43say that there is this database and the answer can only be
- 34:47provided when Junk 1215 and 20 are being added to the context
- 34:54of the response model. Then we have a close problem
- 34:59because it's not about the answer, It's not about the
- 35:01information on the chunks, It's just the chunk IDs.
- 35:04And imagine that we would have a set of, I assume, synthetic
- 35:09data. And there's a bunch of cool
- 35:10pipelines out there that can help you create this sort of
- 35:13synthetic data where you feed in this complex surface manual with
- 35:191000 pages. And you have it with
- 35:22understanding. There's like images, tables,
- 35:25headers, text that you make different chunks of all of them.
- 35:28You add metadata, you map relation.
- 35:30So you have a model do this, right?
- 35:32And then you ask the same model with access to all of that
- 35:36context, which is different from a rag system where the context
- 35:40is hidden, right? It's masked, it's in the
- 35:42database, it needs to be retrieved.
- 35:44But in this case, the context is there.
- 35:46It's like a puzzle that is already made, but it's still
- 35:50pieces and the model has conceded.
- 35:53And then you have a generate questions that can only be
- 35:58answered giving a certain junk or a set of chunks.
- 36:02Or maybe you like a set of chunks in a certain order.
- 36:04And then you are creating this sort of truth that you can't.
- 36:08You can use this to test your rag by blood because you have
- 36:13this definite source of of truth and you can measure precision
- 36:17Enrico, but you can also use it to train it.
- 36:21And this is the idea like we we started talking about it.
- 36:23We put some really cool people from different backgrounds.
- 36:26There's there's a guy doing is building like models for Cancer
- 36:29Research PhD. There's there's a professor in
- 36:32computer science, all these different people from the
- 36:34community, which is the cool thing of communities that we
- 36:38have all these different expertises.
- 36:40Yes, diverse. Yeah, yeah, yeah.
- 36:42And we started thinking like, wow, man, like this is almost
- 36:44imagine that you can, if you want, we can go into the
- 36:47technical details of how this would work, but it basically
- 36:50imagine that you can. This tested knowledge that a
- 36:54domain expert has is often not directly related to what they
- 37:00know, but their skill set of understanding the domain and
- 37:06knowing where to find it. Right.
- 37:09If you ask someone who has been working in a research lab
- 37:15chemist and that thing to to do a certain test and they need
- 37:21them, they made different. They may not even need that.
- 37:24They may not even know yet what exact compounds they need and
- 37:28where they are stored. But that's the good odds that
- 37:33that person is going to be able to do this a lot quicker than
- 37:36you need, right? Because, yeah, it has all these
- 37:40sets of knowledge or to yeah, to ask the right questions to open
- 37:44the right drawers without knowing that the answer is in
- 37:47that drawer. But you get me, right.
- 37:50A baseline understanding. Yeah, yeah.
- 37:54And, and in, in, in the, in the case, for example, of a virtual
- 38:02service engineer. And then a real human engineer
- 38:05might have a question and that service engineer needs to
- 38:10decompose that question into sub queries and needs to make a
- 38:14decision where to find the data, how to interpret the state of
- 38:20the machine giving like sensor data and that sort of thing.
- 38:24And use and how to use that context to to make to make
- 38:27queries to find out information. Now let's say that we have this
- 38:31source of truth given this this machine, we have questions that
- 38:36have correct answers and we have to the chunk IDs for yeah to get
- 38:41to these answers. And these chunks are just to
- 38:45give it more information that it can reason over or the answer is
- 38:50inside of these chunks. I didn't quite get that, or it
- 38:53doesn't matter either. So a a very a very simple
- 38:56example. Let's say that the engineer once
- 38:59it's, it's missing a part, and that's part A, and there's Part
- 39:03B and there's A Sorry, it's missing a connector.
- 39:05It's part A, there's Part B and it's, yeah.
- 39:08The question is what part connects part A&B then?
- 39:13And this is a simplified example, of course, but let's
- 39:17say there is three other parts on the left connecting to A, and
- 39:22there is three parts, unique parts on the right connecting to
- 39:26B, and we're missing the part in the middle.
- 39:28Then the question could be what parts do connect to part A and
- 39:33what parts do connect to Part B? And if it is that all in the
- 39:38retrieved information, we have only one common denominator now,
- 39:42then we have the answer, right? That's like a logical deduction.
- 39:46You can imagine way more complex, but this is the beauty
- 39:48of what I think that can be. The beauty of reinforcement
- 39:51learning is given that synthetic data set that we would have,
- 39:54then we would give these queries to.
- 39:57So we'd give these queries to A solid model saying like GW EN30,
- 40:042BU, you need some solid hardware to to be able to, to
- 40:07run this. But there, and there's been
- 40:09experiments out there of people with way smaller models as well,
- 40:11like Tiny 0 is a really cool one.
- 40:14I highly recommend checking that out.
- 40:15But let's say we have a bit more body model and then we give it
- 40:18these queries and then we each query we let it generate 10,000
- 40:23reasoning paths and we give it access to.
- 40:28A function function calling, we give it access to a database, it
- 40:32can retrieve data in a cyclic manner and whatever do what you
- 40:36need to do, The only thing that counts is then the answer at the
- 40:40end. And then we have this GRPO
- 40:44reward model that then given certain arbitrary functions.
- 40:49But in this case we can imagine that our answer final answer
- 40:53needs to be correct. But more importantly, our
- 40:57retrieved chunks need to be the right chunks.
- 41:00Then what We have this new subset with correct answers,
- 41:03correct chunks. And then maybe we want to
- 41:07further refine this subset by having a function that, I don't
- 41:12know, like optimizes for the shortest reasoning path or the
- 41:15longest, or there's different things you can do there.
- 41:19But you'd maybe end up with the 10 best answers for each square.
- 41:24And you do that, then it updates the parameters of the model
- 41:28giving this algorithm. And you do that many times.
- 41:32Then I would not mean maybe I am like way of the chart here, but
- 41:38I'd love to hear if someone thinks so.
- 41:40But yeah, can't it be so that we are squeezing this, it's hidden
- 41:45somewhere in this model already, the ability to use the correct
- 41:50reasoning path to find the right information.
- 41:54Not necessarily return the correct answer to.
- 41:58Optimize the reason box. So let me play this back for you
- 42:01and make sure that I am understanding it correctly.
- 42:04It's basically saying that we need to give the right context
- 42:11to the model. What we don't necessarily need
- 42:14to do is give it only the right context in one shot.
- 42:21It can be various iterations of giving it context.
- 42:25And since the model can reason, we can now say figure out if
- 42:30that information is there because we've already done a bit
- 42:34of training or fine tuning on it to show it what the right
- 42:41context looks like and how to know if you are retrieving the
- 42:45correct. Chunks in reasoning models and
- 42:49mind you, we start here with a non reasoning model and this is
- 42:53referred to in the DeepSeek paper as the aha moment.
- 42:56All right, that the the model starts to reason and self
- 43:00reflect on that reasoning and then take another path because
- 43:04I'm not sure. And so it's a very, if you see
- 43:06these reasoning models, like a one, but it doesn't review all
- 43:09these reasoning tokens, but DeepSeek does.
- 43:11If you see these reasoning models reason, it's a very
- 43:14anthropomorphic, like human like way of reasoning.
- 43:17And it shows a lot of doubt perhaps and maybe and, or and
- 43:22and this makes it, well, first of all, very much understandable
- 43:25for us. But it's also an important thing
- 43:29because when there's too much doubt and our problem that we
- 43:33want to solve is relying is like multi hop.
- 43:37For example, we want to know how many atoms a compound has given
- 43:43the combination of atom one first, sorry, compound one and
- 43:46compound 2 and then do this and that to it.
- 43:49So then we have to know, we have to be sure that we understand
- 43:55the atom count of compound one and compound 2, right?
- 43:59And so if we make a mistake there, a false assumption, then
- 44:02our final answer is never going to be right.
- 44:06So if you have a a reasoning model reason over this, you'll
- 44:09see this a lot of maybe perhaps etcetera.
- 44:12Now there's this great paper, it's called O1 Search.
- 44:15It was, I think published just before the DeepSeek thing, or at
- 44:19least it's not referring to that, but it's a way and it open
- 44:24source the whole code as well to have reasoning models recognize
- 44:30their own ambivalence, like if they're not sure enough and then
- 44:34stop the reasoning process and basically perform a search For
- 44:41more information like connect to a rack system does some other
- 44:44things as well. And it's not function calling.
- 44:46It's actually making a, it's formulating a question
- 44:49encapsulated between string tags and edit with a special token
- 44:52that gives the scripts the the call to stop this process, find
- 44:57this new information. And it's actually sending it to
- 44:59a parallel chain that has access to all the steps so far.
- 45:03It's cleaning those junks for better position and then adding
- 45:06it back to the main loop and then continuing and it can do
- 45:09that and many times. So this is using a reasoning
- 45:13model to be more sure and as you could imagine.
- 45:18That you could. Make this ability like to
- 45:23improve this ability a lot. And I think you could imagine
- 45:27using that, that that from the mentioned reinforcement learning
- 45:30way there as well. I'm trying to just make sure
- 45:35that I understand this. Basically, the reasoning model
- 45:39recognizes when it doesn't know if it is right or wrong or it
- 45:46doesn't. It recognizes when it does not
- 45:49have the right information or enough information to be able to
- 45:53confidently make a decision. Yeah, and it can then go and
- 45:58find that information. And you're saying instead of
- 46:01like with the O1 search, the potential that we could have in
- 46:07a RAG system is that instead of it going out and trying to find
- 46:11that information on the web, we can just go and try and find
- 46:15that information in our embeddings?
- 46:17Yeah, in, in, in any, in any external source.
- 46:20It could be the human, it could be web it it could be So it asks
- 46:25the other question. It's the important part is in
- 46:27any rag system like I've been going to like in very much into
- 46:31the sort of hypothetical solutions.
- 46:33But if you take a step back, is a rag system needs to know if it
- 46:40needs to find more information is is it sure?
- 46:43Is that the information that it has access to in the training
- 46:45that is that enough? Do I need more information then
- 46:48then I get more information. Is this enough?
- 46:50Is this what I need to answer the question?
- 46:53This is something that is you can't possibly do a rule based
- 46:56in for real world scenarios, right?
- 46:59Then part of that but more technical is that the system
- 47:03needs to be able to understand the query of the user to
- 47:08decompose that query in the optimal way and making that the
- 47:11search queries optimal whether it be for web, human in the loop
- 47:15or vector. But that's more a technical
- 47:18thing. Like it boils down to how good
- 47:22does the system understand its own limitations and how can it
- 47:27be sure of things? And we cannot prompt, but you
- 47:31can improve it. But like, how could you ever do
- 47:33this in a sort of like rule based manner, right.
- 47:36But what you could do is use reinforcement learning, given
- 47:40that you have a set of correct answers.
- 47:43Yeah, correct chunks and then just squeeze it out like blood
- 47:47out of stone. I think the fascinating piece
- 47:50here and one of the hardest pieces about this is that you're
- 47:54trying to coerce the model into this unconfidence.
- 48:02And as we all know, anyone who's worked with LLMS is their
- 48:07confidence level is off the scale and so.
- 48:09They they're definitely different with reasoning models,
- 48:12right? I think what we see with scaling
- 48:14inference time compute is this sort of not being so confident.
- 48:20Yeah, to not think that it knows everything, right.
- 48:22But still, I think that's the big unlock here is being able to
- 48:29say, because of the way that this question was phrased, I can
- 48:37only get this far. So maybe we need to go back and
- 48:39and retry one of these steps so that like low confidence score
- 48:45is huge. Yeah.
- 48:48And I think because it's so hard to explain this in rules that if
- 48:54this sort of approach would work, that it would probably be
- 48:59limited to certain domains, just like in human domains where,
- 49:03yeah, it's, you know, given this, given that good old
- 49:07Bayesian, given this, given that, and that is information,
- 49:10this would be the right question, right?
- 49:11And this is what is like the best information looks like.
- 49:14Now I can generalize that to maybe when I'm a bartender and I
- 49:18know my way in the bar and I can maybe generalize that to the
- 49:21kitchen, but I can't generalize that to the lab, right?
- 49:23There's so much, so many smart people working on, on
- 49:27reinforcement learning, on making better rack systems in
- 49:29all sorts of ways at the moment. But we're going to see this like
- 49:33we're not going to see AGI just yet in, in that sense, whatever
- 49:37it means for another one. But this close source of smaller
- 49:43domains where a combination of reasoning models, agentic
- 49:48frameworks are working together to solve problems within a
- 49:52closed source. Like Ethan Moloch said it, I
- 49:55think he was that he said, give a good example.
- 49:58We have now the open AI browser agent, which is like this.
- 50:01Why it can do anything. Let's say that's the AGI kind of
- 50:05thing. And we have a deep research,
- 50:07right? And both are combinations of
- 50:11agents and reasoning. And with browser agent, it's
- 50:16nice, but it still really sucks. Like it's not useful.
- 50:19Deep research is amazing. Not the Holy Grail grail yet,
- 50:23but I'm using it like a lot. I'm not using browser agents.
- 50:28That's what we're going to see whether it is in, in, in domain
- 50:31specific rack intelligence or tasks like, yeah, it's, it's
- 50:36fascinating. And I bet we're going to see a
- 50:38lot of progress in the tactical. So take me back to what you were
- 50:41doing with the manuals for all of these.
- 50:46I think it was the airplane. Engineering.
- 50:50Diagrams and all that stuff, machine diagrams that are very
- 50:53complex. How does this play into that?
- 50:56I know you gave the very simple example of there's a connector
- 51:00and there's those two pieces, and we got to figure out which
- 51:03one can connect the two. And you're assuming that there's
- 51:07only one answer there. Yeah.
- 51:09But there might be, there might be more.
- 51:10Answers, of course. Yeah, what are the other
- 51:12examples of this? How you build the rag system to
- 51:15make it work? What does that all look like?
- 51:18I guess is what I'm trying to figure.
- 51:20Out I was asked in the in in this project to to look at like
- 51:24how we could test the knowledge of engineers and there's like a
- 51:30contradiction in terminus because try ask someone the
- 51:33whole definition of testedology is that you can't really explain
- 51:36it it's not it's just you do what you do because you know how
- 51:38to do it because it feels right and.
- 51:41Yeah, the idea. However complex it may be, and I
- 51:44think we should really start very simple to to verify if it's
- 51:47even we're chasing this this pot of gold at the end of the
- 51:50rainbow. But that if there is an answer,
- 51:55and you could indeed use a human knowledge for this as well.
- 51:58But if there is an answer to a complex problem and there's
- 52:02external information that that is that's needed to come to this
- 52:05answer, then we should be able to use reinforcement learning to
- 52:12find the right path. Because there is many possible
- 52:15paths, right? And but try it, give it enough
- 52:19tries, and you might just end up on a very good path and do that
- 52:25many times. And then you have examples or
- 52:30you train a model to to behave that way.
- 52:33And I think what it comes down to, what is so fascinating is
- 52:36that people say that models cannot answer questions outside
- 52:40of their training data. Well, that's a truism, of
- 52:44course. Yeah, of course.
- 52:45But what is in their training data?
- 52:48Is that a set of discrete words or is there emergent
- 52:53capabilities of all this information stored in this
- 52:57network? And one of these emerging
- 52:59capabilities seems to be reasoning that is that aha
- 53:02moment right of the DeepSeek paper and with reinforcement
- 53:06learnings, if reasoning is already present in this set of
- 53:11set of information in this set of data, what else could be
- 53:14there? And I don't know, I don't find
- 53:17it a weird idea that there's much more present.
- 53:20So yes, models cannot answer questions outside of their
- 53:23training data, but that's only really relevant for real time
- 53:26facts as what did we have and what did I have for breakfast
- 53:30yesterday. When it comes to capabilities, I
- 53:33think there's much more possible than we've seen so far.
- 53:36I like that you say that if there is an answer and we can
- 53:45correctly make that answer be known, there's a yes or no
- 53:51answer or a way to do it and task complete, task not complete
- 53:54type of binary way of looking at it.
- 53:58Then we can figure out how to get AI to try and do that.
- 54:05I I love talking to you about this stuff.
- 54:07I don't I don't know if they actually use this, but they
- 54:09shout out to a crack camerat and he he he loves this the snake
- 54:13game. So you can compare models and
- 54:15they're playing snake against each other and a great way to
- 54:18test the capabilities of the models, problem solving skills,
- 54:20etcetera. And then someone in the Commons
- 54:23was on LinkedIn said, I wonder how long it's going to take
- 54:26before each game is over. Instantly.
- 54:30Oh, wow. And it's just a roll of dice
- 54:35because they all panned it out. They played it out.
- 54:39And you can like in this sort of constraint space of a game like
- 54:44that is a relatively simple game like that.
- 54:46You can imagine a reinforcement can get to that.
- 54:48Like I'd love, I'd love to hear people who know more about it to
- 54:53to to say that this is possible or not.