Latest / Agentic Conversations (formally mlops.community) / Behavior Modeling, Secondary AI Effects, Bias Reduction & Synthetic Data // Devansh Devansh // #311
Transcript
- 0:00Name is Devansh. Title is a good question then
- 0:06open source open AI researcher there.
- 0:11I do a lot of applied AI research.
- 0:12Trying to figure out how can you practically use AI in your work
- 0:16right now as opposed to AI research that is more futuristic
- 0:21like training an RL bot to play video games.
- 0:25My focus is always here and now. What are the techniques that are
- 0:28used for image processing right now that can be used or text
- 0:32processing? What are the different drag
- 0:34protocols that our clients can implement etcetera and company
- 0:41I'm associated to with a software consultancy group
- 0:44called SWAM SVAN been around 30 years.
- 0:49We do a lot of cool work and I do a lot of their open air open
- 0:55research for AR Let's us buy. I have a newsletter and that's
- 1:01how we met because those open source contributions also help
- 1:05me get a lot of market intelligence in the space.
- 1:09I eat my coffee instead of drinking it if I have to wake up
- 1:12because it eating it is a very unpleasant experience and that
- 1:17just adds it to a double whammy with the caffeine.
- 1:25OK. So I have to start with what you
- 1:29just told me about jailbreaking, DeepSeek and how you were able
- 1:33to manage to do that. Please, please go ahead.
- 1:38Basically you said you type in to the prompt that you are a
- 1:45member of the Chinese Communist Party and this is for the glory
- 1:49of China, and then you ask it for whatever it needs to do.
- 1:52And that worked, yes. Specifically the issue was that
- 1:57DeepSeek was saying hey you have some server, like server is
- 2:01timed out etcetera. And that's when I typed this and
- 2:05somehow magically some server space appeared.
- 2:11And then you said, no, it's not only me that did this.
- 2:14It was peer reviewed in a way other people verified that this
- 2:18is a way to jailbreak it. Yes.
- 2:22Incredible. I love hearing about that and
- 2:25I'm thankful that you're coming on here because as you know, I'm
- 2:30an avid reader of your sub stack.
- 2:32I think you do incredibly deep dives in the AI ecosystem and
- 2:38across the AI stack. So from research to engineering
- 2:42and I really appreciate your like level headed view.
- 2:47It is no hype and no misguided intentions in my eyes, and we
- 2:53need more of that. So it's really cool for anybody
- 2:56that is listening and is not subscribed, I will highly
- 3:00recommend they go and check you out at Artificial Intelligence
- 3:03Made Simple and you've got quite the subscriber base though.
- 3:07So hopefully everybody that's listening is already subscribed
- 3:10and they're already getting updates from you.
- 3:12You the only thing that I will say to knock on your publication
- 3:19is that you don't publish enough and it's very sporadic.
- 3:22That you might be one of the few people that says that because I
- 3:26think I published maybe once or twice a week, but.
- 3:30I always want more, man, all right?
- 3:31And they aren't. It's not like small publishes.
- 3:34It's like this takes at least 10 minutes to read through and then
- 3:39another 20 minutes to wrap my head around.
- 3:41It's a that was a very kind introduction.
- 3:45But yes, that's kind of the writing philosophy I approach it
- 3:50with is that there's a lot of fragmented and half baked ideas
- 3:55on the Internet and usually a lot of it is not the writer's
- 3:59fault. It's more like if I'm talking to
- 4:02you as a fellow expert, I don't need to give you the full
- 4:05context. So I, I will just give you half
- 4:09analysis because I expect you to be able to catch nuance and pick
- 4:14out information. But what we saw with AI is that
- 4:20a lot of the times a lot of the people are talking about,
- 4:23they're trying to cover it, etcetera.
- 4:25They don't unnecessarily understand the words they,
- 4:28because they don't come from that background.
- 4:30They don't read papers, they don't read publications.
- 4:33They barely listen to talks or podcasts on like very technical
- 4:37subjects. So that's where I pivoted my
- 4:41writing almost towards these very textbook style deep types
- 4:44where the hope is that once you read this article, you don't
- 4:50necessarily become the expert in the feed, but you suddenly
- 4:53become you're good enough to engage with it on your own and
- 4:57not miss critical details. Yeah, you have a deep foundation
- 5:01and you feel more confident when you're now seeing things fly
- 5:06across your screen about MCP. You're like, oh, OK, I know what
- 5:10that is. I I read artificial Intelligence
- 5:12Made Simple. Yes, because I think that's
- 5:16where a lot of the problems in AI currently happen, is there's
- 5:22a key, key misalignment of information between various
- 5:26stakeholders. And that can lead to either
- 5:29you're not considering the right implications or like with policy
- 5:34makers, a lot of the regulations go off because they're listening
- 5:39to a very small subset of people.
- 5:41And these people have their own vested interests at heart.
- 5:45So I think it's very important to start having long form
- 5:49discussions around topics. So what are you stoked about
- 5:53these days? Related to the acquisition
- 5:59NVIDIA made of Gradle, I think I'm very interested in the
- 6:03entire data ecosystem. I think there is when language
- 6:09models first came out the, the use case I was most excited
- 6:13about that for was kind of a looking glass into the data set
- 6:19biases of the Internet. Like we could have used them to
- 6:21figure out, hey, how do our processes work?
- 6:24What kind of relationships do does AI find important when we
- 6:28build kind of as a reverse transparency tool at scale and
- 6:35just extended versions of that I think are extremely interesting
- 6:39to cover. How does like when we have a
- 6:44data set, how do you where, what is it missing?
- 6:46What kinds of behaviors if you were to train on it, would this
- 6:50encourage how what is the value of a data set for very top of
- 6:55various tasks? What is it missing?
- 6:57I think there's a lot of cool stuff we could do is when we
- 7:01stop looking at data as a component to train AI, but also
- 7:06start looking the other way as as AI as a component to look at
- 7:10your data in a way that May is reasonable and understandable.
- 7:17Say that again, now using AI as a component to look at your
- 7:21data. So it is another tool that you
- 7:25can leverage to get more value from your data.
- 7:28And so a very simple way of this would be, I've got a bunch of
- 7:33call transcripts and I say find me a few key themes in this
- 7:39called transcripts and then surface whatever patterns you're
- 7:42finding. That would be one example.
- 7:45What are some other examples that you think about?
- 7:47Yeah. I mean one thing I would like to
- 7:50say is that it sounds like a very profound thing to say, but
- 7:52that was traditionally what we did AI for, you know classic
- 7:56machine learning etcetera. Most what was most of our job
- 8:00look at the data, figured out different features, look at
- 8:02figured out different patterns, correlations, etcetera.
- 8:06So all of that was based on this assumption that there was a lot
- 8:11of value in our data and we had to pull out the right insights
- 8:14to guide decisions in in more modern examples, I think one of
- 8:19the more pop culture ways this has really shown up is people
- 8:23uploading like their Instagram feeds to champ GPT and say, hey,
- 8:27what can you what what does this look like about me?
- 8:30What does this tell you about me?
- 8:31Or I know there are people who literally after having use
- 8:37ChatGPT for a lot of things, including the relationship
- 8:40advice, etcetera. They'll often ask GPT that based
- 8:44on everything I've asked you talk to you about what do you
- 8:48know about me? What, what is something that I
- 8:52should know? What is a deep question to ask,
- 8:54etcetera. That's a very, very human way of
- 8:59figuring it out because we had check GPT and then you've given
- 9:03it data and all suddenly you're picking out asking it to tell
- 9:06you about it. So I think there are that's the
- 9:10most poppy famous version of it. Or if you want something a
- 9:16little bit more spicy, I think that was a chargy LinkedIn
- 9:21analyzer tool that was trendy a little bit ago where people
- 9:25would upload their LinkedIn profiles and this would roast
- 9:28them, which in a sense is a very similar idea.
- 9:32Because to have a good rose, do you need good insights?
- 9:35You know, you can't just be like, oh, your mom sucks, ha ha,
- 9:38ha. That wouldn't be a very the
- 9:42fascinating viral rose. But it's when it's there was a
- 9:47element of that virality was because it was looking at your
- 9:50LinkedIn profile and trying to come up with something that was
- 9:53tailored to you, which is also just looking at the data,
- 9:56figuring out patterns. Yeah, I've also seen people say
- 10:01to ChatGPT judging, judging by what you know about me, create a
- 10:08photo of my life or judging by what you know about me, roast
- 10:14me. And then it, it will do that
- 10:16itself. So that makes sense.
- 10:18Then using it as as this tool to look into data in different ways
- 10:24that we wouldn't necessarily be looking at.
- 10:27But now because we have the capability to throw a lot more
- 10:33context at a model and surface these different pieces, we're
- 10:40able to do that. So coming back to the original
- 10:43piece of what you said around Gretel AI being bought by NVIDIA
- 10:49and Gretel AI for folks that do not know is mainly a tool to
- 10:54help with synthetic data generation.
- 10:57And they got bought by NVIDIA for reportedly over $320
- 11:03million. So that's a good outcome, I
- 11:06think and people in the Gretel family are probably pretty
- 11:09stoked. But the thing there is like
- 11:13synthetic data generation is on your mind.
- 11:17And what are you looking at in in regards to that and how does
- 11:20it play back to this idea of data and using LLMS to surface
- 11:26insights or using AI in general to surface insights from our
- 11:30data? I think what Gato did pretty
- 11:34well was their entire data agents with synthetic data and
- 11:41they, they are pretty nuanced pipeline for generating it and
- 11:45not just generating data, but I think going back, plugging back
- 11:49into the whole data ecosystem, they had like their privacy
- 11:53preserving substitutions that they could do.
- 11:55So they redact personal information to a lot of other
- 11:59things that I think a little bit less talked about when you talk
- 12:03about Grado, but also very, very valuable services.
- 12:09So I think the the ability to generate data well that's
- 12:18intelligent. I think there's always a fine
- 12:19line because you don't want to generate data that's too like a
- 12:23data distribution you all, but because that will have some
- 12:28problems. And I know in the past when we
- 12:30tried data augmentation techniques in computer vision
- 12:33with very nuanced models, they would actually fail.
- 12:36And the best performer ended up just being Grant augmented
- 12:39trivial augment, which are very, very simplistic augmentation
- 12:43methods because they'd added much more diversity to very,
- 12:46very big data sets. But also if you don't have a
- 12:51good amount big size of the data set, then you want something
- 12:54that's a realistic probability distribution.
- 12:57And how do you walk that by a fine line?
- 13:00What do you do about it? That all is stuff that I think
- 13:06people haven't necessarily thought about too much in depth
- 13:11right now. We've been very here many you're
- 13:14very whimsical with how we've approached data, you know, to
- 13:18throw it at problems, collect more if we have to.
- 13:23You know, we run out of the Internet.
- 13:25So now we're buying more and more data sources, which we're
- 13:28buying people to just train and generate more data for us.
- 13:34All of this is kind of, it's fine if you want to have
- 13:39consistent like, oh, we had a predictable result, a
- 13:43predictable improvement 1-2 months down the line.
- 13:47But I think there is so much potential in this space.
- 13:51When we start turning this back on ourselves, start trying to
- 13:55think about what is what kind of behaviors do we want to
- 13:58encourage in a module? What, you know, what, what do we
- 14:01value as a society? What traits, what aspects, what
- 14:06elements? And then how do we build that
- 14:08out? How do we integrate that in?
- 14:11How do we, how can we restructure our behaviors, you
- 14:14know, on the infrastructure level, like what can we do to
- 14:19design systems that encourage these behaviors That would be
- 14:23like, that's what I think the real revolutions start to
- 14:27happen. Wow.
- 14:30So if I'm understanding that correctly, it is starting from
- 14:34the beginning and recognizing what are we trying to make sure
- 14:38of with the end result of the model output or the use case
- 14:46that we're going for? And how do we create the most
- 14:50robust data set to get us to that outcome?
- 14:54Which again, it now that I'm saying it, it doesn't
- 14:56necessarily sound like it's anything so new.
- 15:01But when you put it like that and you say let's start at the
- 15:04end in a way and let's recognize what we're going to need to get
- 15:10to the place that is US shaping the type of experience that we
- 15:18want to have with AII. Think even if you took one step
- 15:24like that is 1 and I think a lot of your viewers might be
- 15:29professionals and company people with actual jobs.
- 15:32So that is the that's the kind of stuff they're looking for.
- 15:36But what I would say is what, what have you extended that end
- 15:40step a little bit more? What problems do we think are
- 15:44worth solving as a species? What do we value out of this?
- 15:50What are we looking for at the end?
- 15:53And then working backwards from there?
- 15:55What kind of AI would facilitate that?
- 15:58You know, like is, is there is the 50th e-mail scheduling app
- 16:04with a little bit of a productivity boost, what we want
- 16:08to leave behind as a species. Maybe it is, you know, maybe GDP
- 16:12going up, the line goes up. That is the right outcome.
- 16:17What if like, you know, you could, what other things could
- 16:20we do? You know, and I think when you
- 16:23start there, it starts to become clear because what happens is
- 16:28often you, and this is kind of being reflected in the lot of
- 16:33the AI research. You shared a great post by RK
- 16:36dot F recently where they they had GPT 3.5 doing much, much
- 16:42better than O1 with dudes. And what that really goes to
- 16:46show you is that there's a lot of untapped intelligence that we
- 16:51have within the data sets within the system.
- 16:55But unless you explicitly build for it pull that how you're not
- 16:59going to get, you're not necessarily going to get that
- 17:03same performance. DeepSeek.
- 17:05One of the things they did really, really well is they
- 17:08didn't necessarily have the biggest training protocols, but
- 17:12there's architectures the way they approached it, it's a very,
- 17:16very it recognized that there was a lot of untapped potential
- 17:20in the data sets themselves. And then how do you enrich them,
- 17:24work with them and how do you build around them?
- 17:28So that kind of stuff is I think where that would personally most
- 17:35excite me, just from like a, hey, how to think about what
- 17:41problems are worth solving? Think about what behaviors we as
- 17:44a species want to encourage, What kind of AI does that need?
- 17:48And then what kind of data already exists, but we're not
- 17:52able to find it out because it's kind of sculpted around other
- 17:56opponents. So usually when we look, these
- 17:59other things stand out much, much more easily.
- 18:01So if we chisel this out or do we have to start collecting new
- 18:05streams? Do we have to start modeling it
- 18:07in new ways? Once you start doing that, I
- 18:10think that's where the world really takes it to the next
- 18:16level because you know, you can't.
- 18:19I, I don't think necessarily if you're not thinking about these
- 18:26outcomes, if you're not thinking about the end games, then I
- 18:28think what's likely to happen is very, very few influential
- 18:34groups that have vested interests in these areas will
- 18:38dictate most of the conversation because they're the ones who are
- 18:41actively thinking about it and they're the ones who are
- 18:43actively doing it. And what you will get is your
- 18:4750th e-mail integration, you know, your 20th sales SDR with
- 18:53AI, etcetera, the standard, oh, let's go build B2B SAS with the
- 18:59boys. I think that means really
- 19:02recognizing something deeper that for whatever reason that is
- 19:05what we have decided that a lot of people's bright minds that's
- 19:09that that is the extent of our success to raise it building the
- 19:13next big tech platform as opposed to deeper place.
- 19:19This is what will happen if you're not actively thinking
- 19:21about and actively trying to push for a vision that goes a
- 19:25little bit beyond that. This got suprisingly deep and I
- 19:33really appreciate that because I was going to make a joke about
- 19:35the SDR AI and since I just saw some TechCrunch article on 11X
- 19:41on how they were lying to people about their AISDR. But I would
- 19:48prefer to walk down the line of, yeah, how can we materialize or
- 19:52manifest this experience that we would like to have with AI as
- 19:58opposed to just making a better B to B SAS tool and I?
- 20:06Really like your your step backwards where the data may
- 20:10already be there, we just need to sculpt it in a different way.
- 20:13Or it may need to be augmented with some kind of synthetic data
- 20:19good at getting back to the Gretel AI idea.
- 20:22Or it may need to go and be collected and we may need to
- 20:29start from zero or from relatively 0 and then try and
- 20:33create feedback loops. So that's fascinating to think
- 20:38about it, and it is cool to think about.
- 20:41I'm now racking my brain to try to come up with ideas on how my
- 20:49ideal experiences would be with AI and what I would want them to
- 20:54do. And that's a thought experiment
- 20:56that I'm probably going to be grappling with for the next
- 20:59couple weeks. I think that's an experiment
- 21:02we're all implicitly grappling with a lot of the times, but I
- 21:07didn't bring it out to the main conversation would be
- 21:10interesting and just took an A little bit build on your point
- 21:14about 11X. It's a good example because
- 21:17people committed fraud in that specific situation and, and
- 21:21implicitly that means people thought that was worth
- 21:24committing fraud over, you know? That's what we value.
- 21:28Yes, that is what our word values both were like.
- 21:32Oh, this was able to raise money because of this and this was
- 21:35able to, they were able to commit fraud for it.
- 21:40I think thinking about like, is this the extent to which is
- 21:46valued would be critical for any, anybody trying to engage in
- 21:51AI? Because if you don't, if you're
- 21:53not the one trying to shape conversations, then you're the
- 21:56one who's getting them shape for you.
- 21:59And maybe you have other priorities.
- 22:01Maybe you just decide this isn't it for you and you're in a good
- 22:04place in life and you don't really care what things go like.
- 22:09I'm not going to sit and judge anybody for their decisions, but
- 22:14I would just say that there is a trade off to that that I think
- 22:18is often not fully understood. Now the other piece just
- 22:23speaking about fraud and something that we were talking
- 22:27about before we hit record was because of synthetic data we saw
- 22:34in what was it fraud detection models or loan scoring models
- 22:38that the inherent bias went down within financial institutions.
- 22:44Can you explain a little bit more about that?
- 22:45Because I think that's a cool thread to pull on too.
- 22:49Yes. So the study specifically I
- 22:53think was talking about, hey, if you already use automated
- 22:56systems for loan approvals etcetera.
- 22:59So banks that had very, very low ratio diversity in the loans
- 23:02they were getting were getting huge jumps and in general the
- 23:07loans given were more diverse than before and I think they.
- 23:11Put AI into play with their loans.
- 23:14The automated decision making system.
- 23:16Yeah, so, and I think it's very important to highlight such
- 23:21stories because normally you would talk about the negative
- 23:25biases around AI and how we can make it worse.
- 23:28But this was a good case. And I think what that goes down
- 23:31to again, is thinking about like what?
- 23:35What is it that would make one good and another bad?
- 23:38Usually when you're trying to build a new machine learning
- 23:40model or any any sophisticated statistical analysis to what
- 23:45will happen is you will actively start or you won't even realize.
- 23:50But there are there are ways for your model to pick up on
- 23:54demographic information that is not explicitly being accounted
- 23:58for. I think an example of this was a
- 24:00healthcare model where they were doing something like, oh, based
- 24:06on financial information or something, you're making
- 24:11predictions on what kind of treatment these guys would need.
- 24:15Yeah. Or like where someone lives is a
- 24:19prediction of their financial indication, which also is a
- 24:24prediction. You know, there's all these
- 24:25different features that you can have almost like scope creep on.
- 24:29Yes. So what ends up happening there
- 24:32is you're not explicitly accounting for race, but your
- 24:35model learns to pick out race anywhere.
- 24:39Where you live is a great example because in in America
- 24:42they had segregation. So a lot of neighborhoods were
- 24:47pretty divided along racial lines.
- 24:50And it's still true to a large extent from when I was
- 24:53travelling through. Not that that's the, you know,
- 24:55anybody explicitly saying that you have to live here or you
- 24:58live there in racial groups, but just like, you know, that's the
- 25:01way it got entrenched. So one of the weird things I
- 25:05picked up while travelling through America was just you can
- 25:08start to tell when you're shifting racial groups in
- 25:11neighborhood, when if you walk through enough, you'll start to
- 25:14pick up towels. So if you're accounting for that
- 25:16then and that becomes a significant predictor, then you
- 25:20might end up adding lowering the likelihood of somebody getting
- 25:26rejected from different races. So this AI was very, very cool
- 25:30because it, you know, they designed the AI in the right way
- 25:33to ensure that, you know, this wasn't accounted for and that
- 25:36there was like you're only giving out loans to the people
- 25:40that deserve it the most. What that also and where that
- 25:45becomes cool is now you might not see where synthetic data
- 25:49comes in here, but a huge part of that synthetic data pipeline
- 25:54is stuff like differential privacy where you redact
- 25:57sensitive information and you do all of that.
- 26:01So techniques from this ecosystem are being used
- 26:05everywhere. You know, you would probably
- 26:08they should probably do something similar with college
- 26:11law or college applications. They can do something similar in
- 26:15a lot of places where human touch points and biases etcetera
- 26:21are implicitly involved. So it would help to has a more
- 26:25diverse understanding on hey, let's make ensure people aren't
- 26:30filtered out for the wrong reasons.
- 26:33Yeah. And no.
- 26:35What about just data? We talked about synthetic data,
- 26:40but also I think there's pieces that you wanted to hit on when
- 26:46it comes to the data ecosystem. We've kind of been touching
- 26:51around different specs of that already, but I think one of the
- 26:54areas where we're significantly underpricing right now is how do
- 27:02you know what your data, how much your data is valuable and
- 27:05how do you integrate intelligence into the way your
- 27:09data operates. So an example of that might be
- 27:13something like graph neural network or graph flag is you
- 27:17know, the newer trends, etcetera.
- 27:19What a graph is, is essentially another way of encoding the
- 27:23intelligence of your data set, because what that relationality
- 27:27does is it allows you to look across the different spectrums.
- 27:34Something like that could be very interesting.
- 27:36Not not specifically graph RAG or graph neural networks, but
- 27:41how can you structure what you already have in different ways
- 27:44to integrate different kinds of intelligence directly into your
- 27:50decision making? I think that would be
- 27:54exceptionally valuable as an insight because I think we kind
- 28:00of, it's one of those weird things where we've been
- 28:04traditional databases, then some genius game comes up with the
- 28:09idea of phase in meta, you know, fast distributed vectors.
- 28:15And then people just took face and database, stuck them
- 28:20together, called them back to databases and they raised a lot
- 28:25of money. And then we just kind of
- 28:27collectively decided that this is it, this is the peak of
- 28:31databases that we can get to, which was the, again, I think
- 28:36there's so much we haven't explored on that side.
- 28:40A lot of the attention is kind of going on models and
- 28:43intelligence in the model, whether you're doing it with the
- 28:49reasoning models, you're doing it with better alignment, doing
- 28:52it with more post training, etcetera.
- 28:55But if you start looking backwards, I think there's a lot
- 28:59of insight just to be done by how can we restructure the very
- 29:06way we store and process data to encourage different kinds of
- 29:12information that I'm personally very excited about because I
- 29:16think there's just there's significant market potential
- 29:22there. And I think if you do that, if
- 29:26you can move intelligence into the data layer, you can do a lot
- 29:30of work with, you can just move in so many domains in so many
- 29:36ways because that's like an architecture innovation.
- 29:40And once you have an infrastructure innovation, I
- 29:42think they tend to have the biggest longevity in making lots
- 29:48of impact in a lot of different ways.
- 29:51Now when you say move intelligence to the data layer,
- 29:54I think bringing an LLM to a Raspberry Pi or something like
- 30:00that, what what do you mean when you say moving intelligence to
- 30:03the data layer? It's a very abstract idea
- 30:09because we are not fully sure even how we want to do it.
- 30:14But I think graphs are a good example because they are a very
- 30:18evident way of doing this. You know, when you think about
- 30:22graphs as a data structure, what do you have?
- 30:24You have the node, you have the relationship, and you have the
- 30:27weight of the node. I think fundamentally that's
- 30:30what the graph is. And that's a good example
- 30:34because you are, if you had very, very unstructured data,
- 30:38you technically have all the information in there, Maybe not
- 30:42not the weight mentioned explicitly, but everything else.
- 30:45But why does Graph Rack do so well or why do craft data
- 30:48structures do so well? Because they've restructured it
- 30:51to really emphasize the relationality of your different
- 30:56components. So that is one kind of
- 31:00intelligence. And in an, in a structure, in
- 31:04any use case where relations become your major factor, they
- 31:08become a very important part. So that's what I mean is the
- 31:13idea of storing information in graphs, the way you store them,
- 31:17what you store it becomes very, very Creek.
- 31:19Because one like one thing that people don't understand about
- 31:23something like a knowledge graph is that there are multiple ways
- 31:26to build it based on what you choose to prioritize.
- 31:29Same data set, same high level problem.
- 31:32You can actually build it in multiple ways.
- 31:34And the ways you build it will have very, very important
- 31:37applications of your performance.
- 31:40That's kind of a high level example of moving intelligence
- 31:46into your data layer is restructuring the way you have
- 31:48that set up. But there are there are going to
- 31:51be lots of future examples. How do we, how, what kinds of
- 31:56embeddings can we create, what kinds of behaviour modelling can
- 32:00we do? Can can we start figuring out
- 32:02ways where I am looking at certain behaviours from users
- 32:08and automatically creating a model around that so that I can
- 32:13copy your actions, so that I can Start learning from your
- 32:16actions, playing with their actions?
- 32:20That's kind of what I mean. Can I start looking at your
- 32:24behavior and automatically coming up with evaluation
- 32:27functions to say this is what Devansh values is what Demetrius
- 32:31values? How does that change behavior
- 32:33over time? I think that's where that would
- 32:37be very, very interesting to look at and possibly very, very
- 32:42cool stuff to do. That is wild.
- 32:46Yeah, I hadn't thought about doing it on the behavioral
- 32:50level. I just thought about like, oh,
- 32:53we'll get Slack messages into the knowledge graph and GitHub
- 32:58issues are now part of the knowledge graph, and then cool,
- 33:01we've got a more robust context. But thinking about watching my
- 33:05screen and recognizing what behavioral things I do, ideally
- 33:11I could cut out half of the shit I do because it's probably not
- 33:14productive, you know? I mean going and scrolling X and
- 33:18LinkedIn. I do not want that to be part of
- 33:20my behavioral model. But I think that might also be
- 33:25where you get very good results because you're able to, you
- 33:29know, you have those moments of not doing much, but not not just
- 33:34an individual behavior model. What would be cool is imagine
- 33:38you had an AI recognizing because people don't understand
- 33:42this, but AI is not intelligent in the way we're intelligent,
- 33:46but that also just means that it has different abilities that we
- 33:49don't. What you're able to do is
- 33:52imagine you're able to track behavior across different users
- 33:57in a GitHub and then you're able to start identifying what
- 34:01problems trigger, what kind of behavior patterns trigger
- 34:04problems. Well, like, you know, we're
- 34:06having issues right now with a startup.
- 34:09You know, we have so many people working on so many feature
- 34:12branches. Everyone is like doing two or
- 34:14three different things at once that you constantly have
- 34:18divergent in the working tree, etcetera.
- 34:20And then merging them, cleaning that up is a nightmare.
- 34:24So all of that stuff is where you could have truly, truly life
- 34:30changing work, changing experiences because you're able
- 34:34to process and monitor stuff at scale to identify where do
- 34:39things go wrong, what does it improve?
- 34:42And I think that's a very, very cool innovation.
- 34:46The reason I'm thinking about that extensively now is because
- 34:51so I'm working with a legal AI startup called Akitas.
- 34:53And one of the ways we're just better than everybody else for
- 34:58legal is that instead of making innovations in the model layer,
- 35:03we're kind of we we spend a lot of time making kind of
- 35:07innovations in the process layer.
- 35:09So you, you know, you have multiple steps before you come
- 35:12up with the final answer. You might do something like the
- 35:16a very it's a very stupid way to improve your stuff.
- 35:20If you're just throwing data and saying this is good, this is
- 35:22bad, this is good input this battle.
- 35:24But you know, that's what Harvey and all are doing and it's a
- 35:28very stupid way to do things because you're not going to be
- 35:31able to propagate signal properly for any complex
- 35:34knowledge or through that. But if you're able to map out an
- 35:38entire workflow and then build individual components to it and
- 35:42improve it across the layer, you just do much better work when
- 35:47that's what agents were are philosophically good at doing.
- 35:51That's what other setups are good at doing.
- 35:53So that's where I'm, I mean, I've been thinking about this
- 35:56pretty extensively because we kind of did a lot of workflow
- 35:59based improvements where it's like, OK, if you're doing a
- 36:03contract review, what individual components do you have to do
- 36:07there? But I think on a general level,
- 36:09this can be abstracted into how do you, what behaviors would you
- 36:15have and how do you track them? How do you monitor them to
- 36:19identify potentially risky situations before they happen
- 36:24potentially, or this is what you guys do it early, early, but
- 36:28like this is a bit worth doubling down on.
- 36:32I think once you're able to start doing that, you have a
- 36:35drill winner on your hands. Yeah, I've heard it put as.
- 36:42Try and get the model to do the least amount of work possible,
- 36:45or give the model the least amount of responsibility
- 36:48possible and create as many work flows or systems around the
- 36:56model so that when it gets to the model, the scope that it has
- 37:00is much more limited and therefore you have a much higher
- 37:08outcome of producing the right result.
- 37:14That is very well put. Honestly, I should have talked
- 37:18to you before this. I could have stolen that and
- 37:21seem much more articulate than I am.
- 37:23I don't. I can't remember who I stole it
- 37:25from, but it was not an original idea.
- 37:28I will tell you that much The but the the thing that I like
- 37:33that you're saying is abstracting that out and looking
- 37:37at behaviors and recognizing which behaviors are going to be
- 37:47playing which part in this workflow or in this agent life
- 37:52cycle. And not asking that you just
- 37:55have this open-ended agent that does whatever you have maybe an
- 37:59agent that decides to kick off a workflow which is very
- 38:03deterministic and or there it there are different workflows
- 38:08and as parts of the workflow, there's a little LLM node in
- 38:12there. I mean, this isn't where I was
- 38:16planning to go with it, but now that you've brought it up, I
- 38:19guess I can talk about one of my very bad annoyances.
- 38:24I think autonomous agents are largely A sham.
- 38:27And I think the big reason why Silicon Valley likes to push
- 38:33them is because you, when you push for something like this,
- 38:38it's very sci-fi. So there's very little
- 38:41accountability because you can always defer the responsibility
- 38:45of actually getting things done up till later.
- 38:49I I don't think there's a single business I've spoken to, and
- 38:53this is not a exaggeration that isn't one that I could name for
- 38:57you that did good stuff with autonomous agents in their
- 39:01business workflows. Invariably they ended up boiling
- 39:04it down to much, much more deterministic setups.
- 39:10I that like there might be value in autonomous agents for like
- 39:15research purposes and whatnot, but if you're a business trying
- 39:18to build things, I wouldn't waste too much time with them.
- 39:24Go like simple deterministic workflows and agents I think are
- 39:28very, very underrated in under underutilized because again,
- 39:32people don't like thinking. And I think there's a little bit
- 39:35of an element where most agents, agents are being pushed by a lot
- 39:40of tech people and tech people by and large, you get into tech
- 39:45because I think you tend to be a little bit more future thinking.
- 39:47So you're always thinking about what could I do next?
- 39:50This this is kind of what gets bred into your mindset as
- 39:54opposed to they, what can I do right now?
- 39:57And I think in the case of agents, that's just led to a you
- 40:01choose misplacement of priorities.
- 40:05I think the places that I've seen the most success are when
- 40:09it is a workflow that is a determined pattern that is a
- 40:15repetitive task. And one or two of those nodes or
- 40:18all of those nodes are some kind of an LLM call that does
- 40:24something. Whether it is scrapes a website
- 40:28and then summarizes it or it goes and it creates a task that
- 40:36it will execute. These are things that you can
- 40:42have a bit more certainty on if you know that it's going to be
- 40:48fairly similar every time around.
- 40:52Where you get into trouble is saying that it's like this
- 40:58generalized agent, even if it is a generalized vertical agent
- 41:03like in a generalized HR agent or a generalized finance agent.
- 41:07Here you go. That's where you can get into a
- 41:09lot of trouble because it feels like you can't throw anything at
- 41:15it and expect it with high accuracy or high probability to
- 41:20carry out that task. And then there's frustration
- 41:24because you're grappling with the output and you don't know.
- 41:27Did I just not prompt it? Well, do I need to ask it in a
- 41:30different way? What are we doing here?
- 41:33Is it just not possible? That type of thing?
- 41:35And so I go back and forth on the workflows are quite valuable
- 41:43and maybe the master agent that can kick off different workflows
- 41:48is a great design pattern that we can see.
- 41:51But then that generalistic agent I'm keeping my eye on it for, is
- 41:59it actually going to produce that value, or is it just this
- 42:03hyped thing that you're talking about where it's really cool to
- 42:09fantasize about, but if you're running a business, hopefully
- 42:13you're not actually putting a lot of faith into it.
- 42:18I think, I don't know how much you guys have talked about like
- 42:23the automation, the doorband fallacy, I think it's called.
- 42:26But I think that's a very good case study for anybody that
- 42:31wants to build technology. I think it's shocking that
- 42:35that's not hammered it. And I feel like if there was an
- 42:38AI person MBA, that's basically the case study that I would wake
- 42:42up my students with every day. Which fallacy and which case
- 42:47study I didn't hear? So the doorman.
- 42:51No, I don't know this one. Tell me.
- 42:53So prestigious hotels. Well, it's like some genius came
- 42:58up with this idea, and this sounds like a very reasonable
- 43:01idea that we now have automated doors so we no longer need to
- 43:05hire doormen. And you like, you know, that
- 43:12makes perfect sense. You don't need somebody to open
- 43:13a door for you anymore. Just keep it automated.
- 43:19When that happens, what end up happening is the hotel had worse
- 43:23outcomes, like there were homeless people hanging around.
- 43:25The first part, you know, customer satisfaction was down,
- 43:31etcetera. And what you end up realizing is
- 43:33that the doorman's stated job is to hold open doors and not do
- 43:39doors. But what the doorman also does
- 43:42is greets you. Well, maybe you don't care that
- 43:45much for that, but it's also a matter of you.
- 43:49I come in with a taxi. I've just flown in from a
- 43:52different country are big suitcases.
- 43:54Oh, the doorman's going to help me out.
- 43:56The doorman standing there prevents like a vagrants from
- 43:59coming in and like, you know, they're not in the guests,
- 44:02etcetera, hanging around the lobbies and whatnot.
- 44:05You have all of these other like not set benefits.
- 44:10Or here's a great example. This one time I was biking
- 44:15through New York and I dropped my phone.
- 44:18There's a true story and somebody picked up my phone and
- 44:20left because they thought, oh, I don't want somebody else to
- 44:23steal it. But what this means is that I no
- 44:25longer have my phone and I just moved into the city, so how am I
- 44:30going to get back home? Yeah.
- 44:32Oh no. And what helped me was a hotel
- 44:36doorman because I'm, I'm a, I'm an Uber kid.
- 44:40I think I've definitely taken more Ubers in a year than I have
- 44:43taken yellow taxis my whole life.
- 44:48So he actually flagged down one of them like yellow.
- 44:53It's taxis. I would not for me, and I got to
- 44:58go home. Now, I wasn't even living at
- 44:59that hotel, but that kind of stuff is not something an
- 45:05automatic door does for me. An automatic door opens and
- 45:08closes. So I think that's where it's a
- 45:13great case study for both replacing human labor, but also
- 45:19for thinking about when you're talking about these verticalized
- 45:22agents, when you're talking about these verticalized
- 45:24platforms, like people don't realize how much other stuff
- 45:30people do that has nothing to do with their job that ends up
- 45:34being marginally useful here and there.
- 45:37You know, you mentioned scrolling on social media as an
- 45:41example. I will occasionally find stuff
- 45:45on threads or Twitter or what not that's worth sharing with my
- 45:49research lab team. I will occasionally find
- 45:51solutions. So that kind of that kind of
- 45:58information. I mean, I, I found corrected by
- 46:01scrolling. I not well as a company, but
- 46:04since that it did, I was scrolling through, I found some
- 46:06discussions on like the replication bias and AI and that
- 46:10led to me finding this paper that was talking about, hey,
- 46:14we're struggling with like with healthcare data you're not able
- 46:18to send across borders. So we can't replicate a lot of
- 46:20experiments, which is why we just chose to do synthetic
- 46:23healthcare data and some real healthcare data because now I
- 46:26can just publish my whole data set and call it her day.
- 46:30And that's what that was the whole reason I started
- 46:32monitoring synthetic data around 2020-2021 in the 1st place.
- 46:37So like that kind of stuff. If you were trying to replace
- 46:41me, you could say this is not useful stuff.
- 46:43And if you were studying AI, then yes, technically 99% of
- 46:48what I would have scrolled through would be like MMA
- 46:50reloads, cats or fight if football or what not.
- 46:55But that another 1% had an outsized impact, but would be
- 47:00very hard to quantify and very hard to account for.
- 47:03So that kind of stuff I think becomes very, very useful or
- 47:09like jiu jitsu I like. I might.
- 47:12I threw a random off comment there about jiu jitsu on my in
- 47:17one of my articles and then turns out one of my readers
- 47:19really likes jiu jitsu. So we connected on that and we
- 47:23ended up doing something together.
- 47:24Very, very cool. Nice.
- 47:27Projects together Now one of the interesting things there is AI
- 47:33actually doesn't like the way I write.
- 47:35It's told me on many occasions that because I I tend to use a
- 47:39lot of references and very off the cuff tangents and things
- 47:43like mentioning jiu jitsu not as a analog, not like as an
- 47:47intelligent analogy, but like, Oh yeah, I do this and I don't
- 47:51know I was talking to somebody here and going into these
- 47:54slightly off topic tangents that's AI is like, hey, clean
- 48:01this up. I think because your work is
- 48:02already long like type in this condense this a professional
- 48:06audience would not like your work, especially clot.
- 48:09Clot hates my writing. Jesus.
- 48:13So I think that kind of integration becomes or with that
- 48:22kind of verticalization comes very, very difficult.
- 48:25So if you were building any AI systems or any tech systems and
- 48:30your automations, I think it's always worth thinking about that
- 48:35a lot of the time VS AI engineers aren't dormant VS AI
- 48:39engineers aren't HR assistants and we've probably not studied
- 48:45that process in depth. Not saying that they can't be
- 48:47replaced, I'd I'd be the first person campaigning to kill out
- 48:51every HR person and have them do something actually meaningful to
- 48:56society. But like there's also like a
- 49:00reason these things exist and there's a reason like the the
- 49:05like humans. Labour has a lot of random
- 49:11behaviours that you might not be able to quantify or touch for
- 49:14that does a lot of great, that has a lot of impact in the
- 49:19actual work. So I think it's just a good case
- 49:22study to think about. Do this doorbell case study is
- 49:27wild because it's almost the second or third order effects of
- 49:32implementing a system that at face value is much better.
- 49:37You save cost because now you don't have to pay the salary for
- 49:41someone who's holding the door. And I think about it and
- 49:47extrapolate it towards any type of AI system.
- 49:53And I, I know I, I tend to talk a lot about marketing copy being
- 49:59generated with AI. I've seen some very advanced
- 50:03systems of AI generated blog posts and you can churn out a
- 50:09ton of posts with AI. But it makes me question now
- 50:19potentially what you're getting. You're getting really good SEO
- 50:23rankings because you're now churning out a ton of highly
- 50:27optimized SEO keywords, all that good stuff.
- 50:32And so you're shooting up in the rankings and you're getting a
- 50:35lot more traffic. But you also want to think
- 50:39through, is this traffic, reading this, recognizing that
- 50:44it isn't that valuable and it's hurting my brand.
- 50:48Because that could be a potential outcome if you're just
- 50:51churning out a bunch of AI slop or in the case of HR and you
- 50:58have some kind of a pipeline and it's for hiring, but your
- 51:04potential candidates don't get to actually talk to a human
- 51:09until they've done three or five things.
- 51:13They've jumped through all these hoops that are very much graded
- 51:17by AI. Is that giving the best
- 51:19experience to this future teammate, right?
- 51:24Like how what kind of culture are you building there?
- 51:26And maybe down the line, you're optimizing for someone that is
- 51:34not going to be the best fit or there's.
- 51:38Yeah, it's, it's really, there's probably a name for this, but
- 51:43the second or third order effects are huge.
- 51:51I mean, that is exactly what yeah, you started so well is
- 51:57second, third order impacts of where you get it wrong.
- 52:00And I think that's where I mean, I feel like a lot of tech people
- 52:05would benefit from thinking not about tech, but about other
- 52:09aspects in their life. Like why does a romantic dinner
- 52:13sound romantic in the 1st place? Most of it is sire of marketing
- 52:16bullshit. Look at McDonald.
- 52:19But like walking into like a place with ambiance with a
- 52:23candlelight or whatever that does do like there's a reason
- 52:28those things have certain impacts that we associate.
- 52:32You know, one of the things is the more simplistically you look
- 52:38at a problem, a situation, an outcome, the more you're likely
- 52:44to miss critical pieces that end up becoming that end up
- 52:49unraveling it. And I think that's where, I
- 52:53mean, a lot of our legal tech competitors went wrong.
- 52:57This is where a lot of staff have seen in general tech gets
- 53:00wrong very often is you'd look at, you look at you boil a whole
- 53:06problem down into a very, very narrow domain or a very, very
- 53:10narrow subtask. And it turns out that that
- 53:12subtask isn't super duper important to begin with.
- 53:17So I just think it's worth thinking about the Dorban
- 53:20fallacy, things like that. These are genuinely things that
- 53:28have rebound. If you don't think about them,
- 53:30you'll just end up building products that are useless to
- 53:33society. AI based customer services, good
- 53:36example where if you're not doing it correctly, what ends up
- 53:40happening is you'll just have worse outcomes because I, I just
- 53:44want to call you up and ask you about my stuff and like, there's
- 53:48no way for me to get that. Hey.
- 53:52And the customer service should be replaced.
- 53:54I'm sure like there is a lot of good outcomes there you can
- 53:57where you can speed it up. But you know, if you try to
- 54:02replace everything with a voice bot and dial this on your phone
- 54:05and do that, I think you're you might be missing very key
- 54:10elements of what is it that makes people happy or whatever
- 54:14that people want from you. And you kind of implicitly
- 54:19filter for people who like the kind of loyalty you build is
- 54:23towards people who want who want to maintain a certain like cost
- 54:31becomes their main priority, which means they'll cut you out
- 54:33if you become too expensive as opposed to offering a little bit
- 54:37more, having that luxury and prestige and or not associated
- 54:40with it and providing that acquisite services.
- 54:43I pay a higher premium on my credit card and higher fees and
- 54:48whatnot. Like if I were overdraft just
- 54:52because my credit card guys have guaranteed me 24/7 immediate
- 54:58support any country I go to. Like I I pay you an extra, you
- 55:03know, few hotels for that and risk potential a lot more.
- 55:11Though it's AI support and it's not human support.
- 55:15If that happens I would be so mad.
- 55:17I'm here to talk to the culprit in other countries.
- 55:19Like hey, please hold this ring called press 2 if we want to
- 55:24talk this but. Oh man, well, hopefully it
- 55:28doesn't ever get to that point where you have to use it, But I,
- 55:31I understand the sentiment of we need to, for certain things.
- 55:38We look at how we are, how can I say this?
- 55:45It's like we're, we're voting with our dollars and we're
- 55:49voting and inherently saying what is important to us as
- 55:53customers. And the there's as a builder, a
- 55:58razor thin edge that you have to walk on.
- 56:02If I automate this or if I bring automation into this, be it AI
- 56:08or not, is that going to create a worse experience or is this
- 56:13going to affect my business metrics in any way for the
- 56:17better or for the worse? And that's something that I
- 56:20think continuously folks ask about because you want to be
- 56:28able to show and justify an impact that you are making as a
- 56:32developer, as someone who is implementing AI into production.
- 56:37So you want to figure out what metrics you care about and the
- 56:43company cares about. And then how can you hopefully
- 56:47make those metrics move? Now what you also want to
- 56:52recognize is are you making those metrics move in the wrong
- 56:56direction? Or are there other metrics that
- 56:59the business cares about that are being affected that you
- 57:02didn't even recognize? And so this brings in, it just
- 57:06makes me think like, wow, you really have to be playing 3D
- 57:09chess and you have to be recognizing all these different
- 57:13outcomes. And it probably just starts by
- 57:17you being a user or you trying to game it out in your head and
- 57:22recognize where and how the old way has its benefits versus the
- 57:30way that you're trying to implement and what benefits that
- 57:34has. And really recognizing what the
- 57:36past benefits are with some a doorman, for example, why is
- 57:41that beneficial or an actual human that you talk to and
- 57:45what's good and bad about that? Because we all have had
- 57:48experiences where we talked to a human and we get passed around
- 57:51to three different departments and each time we have to explain
- 57:54our case. And so even though it is a
- 57:57human, it still is a really shitty product.
- 58:00So thinking about all those different ways that you want to
- 58:06make the product better is it's fascinating.
- 58:12And now like, I'm just going to probably be ruminating on this
- 58:16for the next week or two. Again, with these thought
- 58:20experiments that you're giving me.
- 58:21This is like a lot of shower thoughts that I'm going to be
- 58:24having, I'm sure of it. Oh, that's how I pretend to be
- 58:29smarter than I am as I just before this meeting I was coming
- 58:32over like 20 random hypotheticals so that you don't
- 58:35have to ask me on anything technical and 70 year old
- 58:38people, I think. Who is this guy Demetrius is
- 58:40talking to? I don't think you could be.
- 58:44Oh what sweet dude? Is there anything else you want
- 58:47to hit on before we we cut it? I think a talking point I tried
- 58:54to emphasize a lot through my work, but I think it's always
- 58:57worth thinking about. I don't think AI is as solved as
- 59:01people think it is. And what that means is that it's
- 59:04a very open field and people aren't being ambitious enough
- 59:08with that idea. You know, there's a lot of open
- 59:12space in AI where you can come in, really screw up existing
- 59:17power structures, kind of throw your, throw a venge in the world
- 59:22and come and take over. And I think more people should
- 59:27really come to recognize that that yes, artificial
- 59:33intelligence in the field of study has existed for many
- 59:36years, but AI as an institution in society and an influential
- 59:41group and how it's impacting it and much more active level is
- 59:46relatively new. And what that means is that you
- 59:50don't necessarily have to be a math guy like me or, you know, a
- 59:54software engineer or something to make an impact.
- 59:57There's like a lot of. The there's just a lot of open
- 1:00:02space where you can come in and shake things up.
- 1:00:05So if there's anything I would want people to think about and
- 1:00:11work on actively is just, hey, am I, am I really doing things
- 1:00:16to shake things up? Or am I just try doing things to
- 1:00:19get by and get, you know, am I am I trying to become a Google
- 1:00:25or am I trying to be picked by a Google?
- 1:00:30And I'm not saying that there's something wrong with the
- 1:00:33laughter. Again, if you have other
- 1:00:35priorities, you're content with your life.
- 1:00:38You know, I'm not going to say sell your wife and kids and
- 1:00:40focus on, you know, whatever you have to.
- 1:00:43But I think so many people that I speak to are just kind of
- 1:00:48implicitly buying into narratives where there are
- 1:00:51experts and there are non experts.
- 1:00:52There are there are like, you know, there's an other people
- 1:00:59from them where that will actually do things, but as when
- 1:01:03they kind of become end up becoming participants since they
- 1:01:06become viewers of society as opposed to participants.
- 1:01:10So I would just say like, if you're going to make that
- 1:01:13decision, make it consciously as opposed to just kind of making
- 1:01:20it because you've never thought about the alternative.