Latest / Agentic Conversations (formally mlops.community) / GenAI in Production - Challenges and Trends // Verena Weber // #224
Transcript
- 0:04Hold up, wait a minute. We gotta talk real fast because
- 0:07I am so excited about the MLB's Community Conference that is
- 0:12happening on June 25th in San Francisco.
- 0:14It is our first in person conference ever.
- 0:17Honestly, I'm shaking in my boots because it's something
- 0:19that I've wanted to do for ages. We've been doing the online
- 0:23version of this and hopefully I've gained enough of your trust
- 0:26for you to be able to say that. I know when this guy has a
- 0:30conference, it's going to be quality.
- 0:32Funny enough, we are doing it. The whole theme is about a I
- 0:37quality. I teamed up with my buddy Moe at
- 0:40Colina who knows a thing or two about AI quality and we are
- 0:45going to have some of the most impressive speakers that you
- 0:50could think of. I'm not going to list them all
- 0:52here because it would probably take the next two to 5 minutes,
- 0:56but just know we've got the CTO of crews coming to give a little
- 1:01keynote. We've got the CEO of Ucom
- 1:05coming, We've got Chip, we've got linens, we've got the whole
- 1:09crew that you would expect. And I am going to be doing all
- 1:13kinds of extracurricular activities that will be fun and
- 1:17maybe a little bit cringe you. You may see, hear or see me
- 1:22playing the guitar. Just come.
- 1:24It's going to be an awesome time.
- 1:25We'd love to have you there. And that is again June 25th in
- 1:30San Francisco. See you all there.
- 1:33Hi everyone my name is Marina and I work as a self-employed
- 1:37generator for IT consultant or also Chief AI Officer on demand.
- 1:43So basically I help companies going on the AI journey
- 1:47transforming into an AI on centred or AI integrated
- 1:53business. So I so this starts with
- 1:56architecture and the AI strategy going over to governance and
- 2:02also helping them with integration and adoption.
- 2:06And yeah, I usually have my coffee black.
- 2:10So no sugar, no milk, just black.
- 2:15MLP's community We are back for another podcast.
- 2:18I'm your host Dimitrios and today what a conversation with
- 2:22Marina. If there's one thing and one
- 2:24thing only that you can take away from this conversation, it
- 2:27is the cliche of starting with a problem.
- 2:32Don't start with some technology that you shoehorn into figuring
- 2:37out if it will solve your problem.
- 2:39Marina really harped on this and harped on how when she has been
- 2:45the most successful in her career it is because she has
- 2:48been problem focused and problem oriented and then gone out to
- 2:52find what solutions there are to solve those problems.
- 2:56As opposed to scouring Twitter or papers and all the newest
- 3:01stuff that comes out in this AI world and then looking for a
- 3:06problem to link it up with. I know it sounds like it's
- 3:10something that we talk about quite a bit and it is easy to
- 3:15say it, but it is hard to live by it.
- 3:18Brina made sure to make it super clear how important it really
- 3:23is. And then a few other pieces that
- 3:26I will give to you without spoiling the whole episode.
- 3:30She talked about how one of the problems that they were having
- 3:33when she was working on the Amazon Alexa programme or
- 3:38working at Amazon on Alexa I guess is another way of putting
- 3:42it. They were having problems when
- 3:44they were retraining the model and they wanted to make sure
- 3:49that if they retrained the model or if they fine-tuned the model,
- 3:53that all of the classic utterances.
- 3:56Basically, Alexa, play your favourite song of the week, you
- 4:03don't want to update the model and then all of a sudden that
- 4:06doesn't work for half of the user base because that would
- 4:09create a horrible user experience and probably a lot of
- 4:12support tickets. So she recognised this and they
- 4:17went out and they went looking for a solution to this problem
- 4:20and just so happens that another team at Amazon was working on
- 4:24something very similar. She breaks down how they did
- 4:27that and how they managed to make sure that when updating
- 4:30models it doesn't just totally skew all this stuff that it's
- 4:35learned in the past. I had a blast talking to her.
- 4:37We got into all sorts of cool subjects, even a little bit of a
- 4:41ski trip that she went on, which you will hear about right now in
- 4:43the beginning and how she has been tackling the
- 4:47entrepreneurship from the slopes.
- 4:50I loved it and I will say before we jump into the full
- 4:54conversation, thank you to everyone.
- 4:57I am so humbled by these support that we have been getting for
- 5:02the in person conference that we're doing on June 25th in San
- 5:05Francisco. It is incredible.
- 5:07People are talking about flying into San Francisco from around
- 5:10the world that just like it melts my heart.
- 5:15I don't know what else to say. It is so cool to see the support
- 5:19if you want to get a ticket already, We just released the
- 5:23early bird tickets. It's at aiqualityconference.com.
- 5:29We got to give a shout out to the folks at Coletta who are
- 5:34helping us and we are partnering with to make this the best
- 5:37conference that you probably will ever go to.
- 5:41I want to do some cool things and I'm accepting requests.
- 5:44So if you have ideas on how we can make this a whole lot of
- 5:48done. I've already thought about
- 5:49setting up different jam rooms potentially.
- 5:52Joe Reese has been contracted to be DJ I I want to have some fun
- 5:59bikes that we can ride around. Right now I'm literally going
- 6:02into a conversation with a community member, Wes, who owns
- 6:06a coffee farm in Columbia. So maybe we'll ship up some
- 6:10coffee beans special for the occasion.
- 6:12There's so much stuff that I'm excited to do.
- 6:15Feel free to reach out to me if you have any suggestions.
- 6:18But June 25th, I'll see you all in San Francisco.
- 6:21And thank you so much for this report we've had thus far.
- 6:24Let's get into this conversation with Brenda.
- 6:33Alright, so you were just skiing in Italy.
- 6:36Where were you skiing? It's a place called Cervinia,
- 6:39which is basically on the border to Switzerland and you could see
- 6:43the Matterhorn but from the Italian side, so that was pretty
- 6:46cool. It sounds so incredible.
- 6:49And what were you doing there? Give me the whole breakdown
- 6:52because I love this idea and I really want to do something
- 6:55like. This, yeah.
- 6:56So this whole thing was it was called Sky Person of Influence,
- 7:01which is basically an entrepreneurial ski trip.
- 7:04So you go on a trip with we were like 45 peoples or 45
- 7:09entrepreneurs and you go skiing, you have a little bit of content
- 7:13sessions in the evening. But yeah, most of all you, you
- 7:17get a lot of chances to speak to other people what their
- 7:21challenges are, what how they're solving them.
- 7:24And yeah, this whole thing was organised by Daniel Priestley.
- 7:29So he is a very successful entrepreneur who has built a
- 7:34couple of businesses already and now does does actually coaching
- 7:38for other entrepreneurs. So maybe you've heard about Key
- 7:41Personal Influence, which is like a quite a successful book
- 7:46that he's written. And yeah, he just organises this
- 7:49trip because he likes it and it was a super awesome experience,
- 7:53I have to say. Yeah.
- 7:55And over the people that were there working on.
- 8:00And it was a pretty mixed group. And so there was like one guy
- 8:05who had built a business that build a software for
- 8:11bookkeepers. There were two women who were
- 8:14building a community of bookkeepers and they're also
- 8:17doing training. So basically teaching them how
- 8:21to make a six figure business out of their bookkeeping
- 8:25services. There were people in in the
- 8:28cybersecurity field, people are building apps to track your
- 8:33location, which then helps you to submit your texts.
- 8:37Declaration because you need to show that you're not spending
- 8:40too much time outside the country.
- 8:44Hit was really cool. Like, he opened this whole
- 8:46event. Like, yeah, let's not only ski
- 8:50down black runs, but let's also have black run conversations.
- 8:55So really, not just, you know, talking about the superficial
- 8:58things, but really going deep and what are your current
- 9:01challenges? What are the problems that
- 9:03you're facing? Yeah.
- 9:05And and this is really what what happened then during the
- 9:08challenge we did have a lot of black round conversations, as we
- 9:11called it. It's pinch foots.
- 9:13Really cool. Yeah.
- 9:15Yeah, I saw someone doing this with data engineers.
- 9:20They got a bunch of data engineers together and they
- 9:23said, OK, we're going to have a bit of like a conference, but
- 9:28not really a conference like a retreat, I think is a better
- 9:30word for it. And we're going to get 40 or 50
- 9:34data engineers together, hand-picked.
- 9:36We're going to go to Switzerland and we're going to all stay in
- 9:39the same hotel. We'll go skiing during the day
- 9:41and in the afternoon, evening we'll be hanging out.
- 9:45But we'll also be sharing stuff about what we're doing and what
- 9:48we've learned over the years. And we have a few speakers,
- 9:50etcetera, etcetera. A friend of the pod, Joe Reese,
- 9:53was there. And that's how I heard about it.
- 9:56And I was like, Oh my God, how do I get an invite to that?
- 10:00That sounds like a blast. And then I started thinking
- 10:02about it and I was thinking, we should do something like that.
- 10:06And potentially, since ski season's over and I don't have
- 10:09patience to wait until next ski season, I was thinking about
- 10:12Ohh. We can go to Portugal and do it
- 10:15but surfing instead of skiing. Yeah, actually everyone was a
- 10:20really, really energised after the wind and we started talking.
- 10:24Ohh, we should do it in summer again.
- 10:25We don't want to wait until next year when Daniel does the ski
- 10:28trip again, but let's have something in summer.
- 10:30Yeah. And there were actually a couple
- 10:32of people who do a similar thing for, for their audience, for
- 10:35their clients. And yeah, yeah, yeah, it's a
- 10:39really nice idea. It feels like it could be a
- 10:43really cool way to bond with people and socialise and then
- 10:46learn a tonne that you wouldn't necessarily learn from a talk at
- 10:52a conference that you get to go deeper.
- 10:55Not only about, you know, what you learn conceptually and
- 10:59intellectually, but it's also this kind of energy that you
- 11:02take with you, this inspiration, this sense of possibilities, um,
- 11:09that changes how you feel about yourself, how you see the world.
- 11:12And I think that is probably also something you don't take
- 11:15away from conference. Yeah, yeah, for sure.
- 11:20So you've had quite an awesome background in general.
- 11:24I want to get into what you're doing now with coaching and with
- 11:28your AI consulting stuff, but 1st we should probably start
- 11:32with what you were doing over the past like 5-10 years well.
- 11:38I mean, I started originally with statistics, so really
- 11:41classical master in statistics. So back then actually there
- 11:44wasn't a lot of data science machine learning programmes
- 11:47happening yet. But luckily I did have some
- 11:50courses in data science and machine learning during my
- 11:53master. And then you kind of enjoyed
- 11:56that much more because it was more trial and error, less based
- 12:01on assumptions and then decided to to just stay with that field
- 12:07and back at the time. So I was doing my masters degree
- 12:11in Berlin already and really liked the city, didn't want to
- 12:14move anywhere else. So I was trying to find a data
- 12:17science role in Berlin, but at the time you wouldn't believe
- 12:20that now. But there was hardly any company
- 12:23hiring data scientists, not even Sarandos.
- 12:27Orlando was just hiring in Dublin, so I didn't want to move
- 12:30to Dublin. I can understand why exactly.
- 12:34No, no. Hate to all The Dubliners out
- 12:36there, but Berlin is an awesome city and I wouldn't want to
- 12:39leave if I was living there either.
- 12:40Yeah, and also the weather in Dublin is is harsher than it is
- 12:43in Berlin. And Berlin can be harsh already.
- 12:46Yeah, that is really where where my limit is, yeah.
- 12:51But then luckily I found a data scientist role at Deloitte.
- 12:54So basically consulting company that at that time had a
- 12:58specialised unit for data engineering and data science,
- 13:03which was cool because you could try a lot of different things.
- 13:07So I tried everything from time series, anomaly detection, NLP,
- 13:14computer vision, everything. Yeah.
- 13:19And then I mean at the time also data science was really kind of
- 13:22more things that people would try if they were very
- 13:25innovative, but it was not at the centre of attention as it
- 13:28now. So basically it was a lot of
- 13:31proof of concept stuff that we did, but not that much moving
- 13:34into production or going further than that.
- 13:38So then I was looking for for a job where I could go over this
- 13:42proof of concept stage, spend a little bit of time at at the
- 13:47digital, then went to Mobility E which was part of eBay at the
- 13:51time, because they then had way more data.
- 13:56Because I realised that the more classical and older companies
- 14:00didn't have that much data yet where you could really work with
- 14:06they were really. Or a paradox, I should say.
- 14:09They were kind of trying, you know, because it's always easier
- 14:13if you build something from the ground up, right?
- 14:15And then you can build this data-driven thing right into the
- 14:17company. That's always easier compared to
- 14:20when you have to make this transformation.
- 14:24You know what's funny about that, which I have been thinking
- 14:28a lot about lately, is that you have the companies who started.
- 14:35So you have those, those typical companies that you're talking
- 14:39about in 2018, they weren't considered advanced and they
- 14:44were still trying to go through that digital transformation
- 14:46journey and it was very slow and they weren't really getting on
- 14:50the bandwagon. But then you have the tech
- 14:53forward companies that were doing that and they had to make
- 14:57a lot of design decisions in 2018 and 2019 on how they were
- 15:01going to build their stack, which today feels like OHH, they
- 15:07have to support legacy tools and they have to either get off of
- 15:12that legacy or they, if they're contributing to open source,
- 15:17they have to be like the main contributor to that open source
- 15:19project because they made that decision in 2018 when that's all
- 15:24there was. But now in 2020 or there's much
- 15:27easier ways of doing things. And so if you were one of those
- 15:30companies that in the 20 tens was very slow to move and now
- 15:35you're finally getting on board with it, you can potentially
- 15:39have a much easier Ave to getting things into production.
- 15:43And the easiest example of this is just like look at what LM's
- 15:48did and they just exploded and got everyone into the AI spear
- 15:53super easy. But I'm even thinking about all
- 15:56the infrastructure that you need and how that decision like I I
- 16:03always come back to this conversation that I had with a
- 16:06guy that works at Pinterest and he was saying, yeah, in 2016 we
- 16:10started our ML journey And so we had to create infrastructure
- 16:14around machine learning in 2016, which we are continuously
- 16:19updating and we are continuously like trying to see what's the
- 16:23ROI if we shift off of this tool, do we need to continue
- 16:26supporting it and all of that stuff.
- 16:27But I digressed that was a little bit of a tangent.
- 16:31So I didn't wanna take you off course there.
- 16:35No, absolutely. And I mean that actually brings
- 16:37me to my next step. So I I spent before I became a
- 16:42self-employed consultant. I spent almost four years as a
- 16:45research scientist at Amazon Alexa and for a natural language
- 16:50processing device or I mean virtual assistant, Alexa is
- 16:53actually pretty old, right? They're like 80 years or
- 16:57something, but now I think so. So that is super odd.
- 17:00If you think about what happened alone in in the last two years
- 17:03in that space and also there right when they started the
- 17:08whole field was in a different state.
- 17:11So what what their one of their main challenges now is actually
- 17:15you know working through all that legacy and and being able
- 17:19to to adopt all these new technologies that also keep
- 17:23changing at such a rapid pace. That's so true, yeah.
- 17:28And were you all using? I imagine it was all using Sage
- 17:32Maker for this, so or is it a homegrown?
- 17:38Yeah, it's a lot of homegrown tool that we were using.
- 17:41I mean, of course it does rely on AWS at the end, but I didn't
- 17:45use like this. There's normal, say, Jamaica
- 17:48interface that that other people are familiar with.
- 17:51So Amazon actually likes building their own tools.
- 17:53And within Alexa, yeah, I think the only tool that everyone
- 17:58would know that we used was Slack, but it was so only after
- 18:02a while. So when I when I joined, Amazon
- 18:05still had their own tool, which was called China but really
- 18:08sucked. So he went.
- 18:09Should he be moved to Slack? So tell me more about Amazon and
- 18:15working there and what were some of the key challenges you were
- 18:17working on? Yeah, so I was a research
- 18:20scientist in in the team based in Berlin.
- 18:23So we were responsible for Natural language understanding
- 18:27models for German, French and then later also for English and
- 18:32Great Britain. So our, yeah, our work was
- 18:36basically divided between two parts.
- 18:38So one part was the really maintenance operational staff
- 18:41where you had to retrain models and deploy new releases, updates
- 18:47of the model and you know sometimes also stuff like making
- 18:51sure the training data is all right.
- 18:53So really more things that were on, on the maintenance side.
- 18:58But then on the other hand, we really had also research
- 19:02projects where we were, yeah, trying to find ways how we could
- 19:08improve the model or improve the processes around how we work
- 19:13with the model and basically automating processes around
- 19:18model deployment or improving the model itself.
- 19:21And that was pretty cool because how that was different from
- 19:25previous data science rules that I had was it has much more, it
- 19:30had much more of an academic component.
- 19:32So we were really reading the newspapers and then also going
- 19:37to academic conferences. And part of our goals was also
- 19:41to publish our own papers, which I really enjoyed.
- 19:45Nice. And of course, yeah, I got to
- 19:47work with really cutting edge technologies or all the deep
- 19:50learning stuff that usually in in other companies you of course
- 19:54don't work with because it doesn't make sense for them.
- 19:57But since in Alexa machine learning is a core product,
- 20:01right. And you really they, yeah, you
- 20:04really invest a lot of time and effort into improving their
- 20:08product. So that was cool.
- 20:10What were some of the papers that you read and then you felt
- 20:12like? Ohh, let's try this and see if
- 20:14it will make a difference. Do you remember?
- 20:18I mean usually it worked the other way around.
- 20:20So usually we we would start looking at the problem.
- 20:24So what are the problems that we really need to solve that are
- 20:27holding either aspect or are holding our or I really
- 20:32negatively impacting the customer experience.
- 20:35So I mean one of the approaches that Amazon is you work
- 20:38backwards from the customer, right, And you always work
- 20:40backwards from the problem. So usually we define the problem
- 20:45and then you go looking for the papers.
- 20:47It it hardly was the case that we looked at the paper and then
- 20:51thought, OK, this is also a problem that we could solve.
- 20:55But actually there was one one example indeed.
- 20:58Um, it was a paper that was published by a WS, so one of our
- 21:02colleagues basically and they looked in.
- 21:05So the paper was called Positive Congruent Training and it looked
- 21:10into how you can minimise the negative flips between updates.
- 21:15And a negative flip is basically so if the previous model
- 21:19interpreted a training instance correctly but then the new model
- 21:25interprets it incorrectly, you have a negative flip, something
- 21:28you don't want. And that is particularly the
- 21:32case if you have a model that's running in production because
- 21:36you want to keep the user experience constant.
- 21:39And and this is especially important for Alexa, right?
- 21:43If there is like important requests or utterances as we
- 21:46call it, and then you retrain the model and all of a sudden
- 21:49that doesn't work, it's pretty annoying for the user, right?
- 21:52And also for us, because then we get a high severity ticket as
- 21:56though we had a very complicated process of making sure that
- 21:59after every retraining the model still works on these very
- 22:03frequent utterances. So basically we applied this
- 22:07technique of adding another term in the loss function to prevent
- 22:14these negative flips from happening during the model
- 22:17training and not after. It feels like that is still so
- 22:23relevant today because how many times have we heard people talk
- 22:27about how? Some random open AI update
- 22:32happens and now my prompts don't work as well.
- 22:34Yeah, now. And that potentially could be
- 22:38one of the things that might help in that case.
- 22:42Yeah, and it's also not an easy one to sort of right.
- 22:44I mean, even with this technique you can prevent some negative
- 22:48flips, but it doesn't mean you you prevent them all.
- 22:52As you were talking about that, I wonder if you had some kind of
- 22:58understanding of the data of like the distribution of what
- 23:02people asked Alexa and there's got to be a tonne of common
- 23:07questions that people are asking, right?
- 23:08And that it's almost, I imagine there's like a bell curve.
- 23:11And did you, did you look into that and make sure, OK, the
- 23:16majority of questions we can never let those go awry and all
- 23:22the other stuff, let's try to minimise that.
- 23:24But if it's that bell curve, I want to make sure that all these
- 23:29really important questions that people are asking continuously,
- 23:32we never get that. Like we have to really test to
- 23:37make sure that isn't going haywire.
- 23:40Yeah, absolutely. I mean there is really like a a
- 23:45set of utterances or or requests that are super frequent, um that
- 23:50we really also had to make sure work perfectly all the time.
- 23:55And and then there's this very long tail where you have a lot
- 23:59of things that are very infrequent and but still you
- 24:03have a lot of these. Continuing on the theme of just
- 24:07like what you were doing in your day-to-day while you were
- 24:10working on Alexa, are there any other challenges that you went
- 24:14through as you were working on that and you were like, whoa,
- 24:17this is a really novel way of solving this problem that we
- 24:22encountered. I mean there were a couple of
- 24:25things, right? But I think I don't know if it's
- 24:28necessarily totally novel, but it was also very specific setup.
- 24:32But I think 11 project that I really enjoyed and that was
- 24:36really cool was kind of making the model more robust to small
- 24:44changes in the input utterance. So what we saw there is that
- 24:48even small changes like the user saying please well, so could
- 24:53actually make a change in prediction of course not
- 24:57something you want, right. So what we did, and there's also
- 25:01a paper about it, so that that's why I can talk about it this.
- 25:05And we trained a T5 model on on these utterances with a small
- 25:11variation and basically had that generate more of such variations
- 25:16and then use that in our training data to to make the
- 25:20model more robust against these small variations.
- 25:24And that was pretty cool, yeah. Which again, like now, is so
- 25:30obvious for anyone who has spent 5 minutes prompting and trying
- 25:34to understand how to prompt better or what words are going
- 25:40to be taken differently when prompting.
- 25:43O if you prompted then you know that by saying please or by
- 25:48throwing in, changing up the word order, it's going to
- 25:51drastically, sometimes drastically, sometimes not so
- 25:53drastically change the output. And it feels like you were
- 25:57discovering that a little bit before the rest of the world.
- 26:02And so the way that you solved that was by creating synthetic
- 26:06data with this T5 model and then using it as more robust data for
- 26:12the training. Is that what I understand?
- 26:15Yes, exactly. Yeah.
- 26:16And also part of it for testing, yeah, to see if we actually make
- 26:22it more robust. It seems like you were doing
- 26:23that for training data, but have you also thought about doing it
- 26:26for training data for fine tuning training data?
- 26:30Ohh yeah I mean if I speak about training data it is fine tuning.
- 26:35It's not pre training. Yeah, sorry I I forgot.
- 26:38To mention. OK.
- 26:40Yeah, we. I mean because usually what what
- 26:44we were working on were this was this fine tuning step because
- 26:47you don't do pre training all the time, right?
- 26:49You do that once, and then every update is just a fine tuning
- 26:52step that you do. So you were constantly just fine
- 26:55tuning the last version of the model?
- 26:58Yeah. Yeah, interesting.
- 27:00And don't you get into a little bit of hot water with like,
- 27:04what? One of my favourite words in
- 27:06this space. Like catastrophic forgetting.
- 27:11Yeah, I think for Alexa it's fine because you have so much
- 27:15training data and it's not like you're changing, you know?
- 27:20I mean, everything that Immortal still needs to know is still in
- 27:23the training data, in the fine tuning set, and it's it's there
- 27:27to a large extent. So we didn't have that problem
- 27:32that much longer. Ohh, that's awesome.
- 27:35OK, well that's good to know. And so then the the other piece
- 27:40last part about working on Alexa and then I want to get into some
- 27:43of these different topics that I I know you brought up.
- 27:48It was around like the training data and ensuring the quality of
- 27:51that And so you had the synthetic data.
- 27:54Were you manually checking that out to make sure that it was OK?
- 27:58And if it's all audio data, it feels like it's much more time
- 28:05consuming to label it and quality check it then if it's
- 28:11text, right? Or is that just my false
- 28:14intuition? Ohh, no, you're right probably.
- 28:17I mean, I'm not a specialist in analysing audio data, but I
- 28:20would assume so. Alright, real quick, some words
- 28:23from our sponsors Ellis and then we'll be right back into the
- 28:25programme. Are you struggling with building
- 28:29your Retrieval augmented generation AKA RAG applications?
- 28:33You are not alone. We all know tracking
- 28:37unstructured data conversion and retrieval is no small feat, but
- 28:42there's a solution available now.
- 28:44Introducing Soliz Cloud Pipelines from the team behind
- 28:48the open source vector database, Melvis.
- 28:51This robust tool transforms unstructured data into
- 28:55searchable vectors in an easy manner.
- 28:58It's designed for performance. Zelis cloud platforms pipelines,
- 29:04Zellis Cloud pipelines also offer scalability and
- 29:08reliability. They simplify your workflow,
- 29:11eliminating the need for complex customizations or infrastructure
- 29:15changes. Elevate your rag with high
- 29:18quality vector pipelines. Try Zilis Cloud Pipelines for
- 29:23free at soliz.com. You can find the link in the
- 29:26description. Let's get back into this
- 29:28podcast. But yeah, I mean, the way Alexa
- 29:31worked when I was there, I mean, I don't know if if they changed
- 29:34the system in the meantime. So I want to be clear about how
- 29:37it worked when I was there. So you basically transcribe the
- 29:42audio into text and then you sent the text to the natural
- 29:45language understanding model. So all our input that we got was
- 29:48text, so we could basically just analyse the text.
- 29:52And to the to your other point about and whether we check the
- 29:56quality of the generated data, yes, we did and and we did
- 30:00actually you know some some kind of exploratory analysis, but
- 30:05checking in this kind of these kind of things And then based on
- 30:09that we derived some heuristics and methodology methodologies to
- 30:13clean up the generated training data because you definitely
- 30:17couldn't use everything that came out of the T5 model, but we
- 30:21had to put some filtering mechanisms in place.
- 30:25So this feels like a good segue into one of these themes that we
- 30:29wanted to talk about, which was like shifting from unimodal to
- 30:34multimodal. And when you said like, ohh
- 30:38yeah, we would, we would transcribe the utterances into
- 30:43text and then send the text to the model, I instinctively was
- 30:47like, yeah, of course that makes total sense.
- 30:50I should have known that already.
- 30:52I feel a little bit like an idiot since I didn't.
- 30:54Know. No, no, but no, actually not.
- 30:56I mean there were also, yeah, I mean that's that's just, I
- 30:59think, yeah, that's the fact that Alexa is really old, right.
- 31:04That's that's why the system is built that way.
- 31:06But there were projects that, yeah.
- 31:10Or there were also ideas where we thought, OK, maybe we can
- 31:12just make this audio too. Intent or domain.
- 31:15Yeah, yeah. But that's that's just it's an
- 31:20old system that takes time to to change.
- 31:23And then of course, it also has its, its advantage is if you
- 31:27break it down in steps, right? Yeah.
- 31:30Yeah, the pros and cons and the trade-offs for that.
- 31:34And my mind is racing on like what trade-offs you would look
- 31:37at in those cases. And at the end of the day, it
- 31:41probably comes down to how accurate it is and how fast it
- 31:46is. Yeah, yeah.
- 31:48And also how easy to maintain it is, right?
- 31:51Yeah, because I I think this maintenance part is a little bit
- 31:56easier if you break it down into steps and also if something goes
- 32:01wrong right you you it's easier to to fix it.
- 32:06Yeah, the debug ability. So as you're thinking about the
- 32:13shift from unimodal to multimodal, what are some things
- 32:16that come to your mind? Yeah, I mean it.
- 32:19It's just been, I think, groundbreaking, right?
- 32:23That now you can't just input almost everything you think you
- 32:27can think of into into these large language models.
- 32:30And it it's it's just making the application space so much
- 32:35bigger. I mean, just creating a
- 32:38marketing video or putting in some lines of text, you get a
- 32:41video. I mean, that's amazing, right?
- 32:44It it's just crazy to see that as we just spoke about how, you
- 32:48know, things used to be divided in step by step things and you
- 32:51had these models that were specialised on one modality.
- 32:56And we saw this happening with large language models too, right
- 32:59where they were at first only focused on tax, but now we're
- 33:02really with Gemini, you can have video, audio, text and so many
- 33:08different modalities. And it's it's just amazing
- 33:12because you can basically use it for everything for a much wider
- 33:18variety of tasks. Yeah, and and also you can get
- 33:22more clear on the prompts too, which is or get more specific.
- 33:27I think it's if you can give a photo and give the text, It's
- 33:34much more accurate in my eyes. Yeah, yeah, maybe, yeah.
- 33:39And then I think, yeah, one example that I saw was pretty
- 33:42cool, where you basically upload a photo of and a scene in a book
- 33:50and then the model gets you the right pages from the book or you
- 33:55upload basically a photo or or you just put in how you solve a
- 34:00problem, a physics problem, and then the model says, ohh and
- 34:04that's where you went wrong and this is how you need to do it.
- 34:06So I think also the applications and how we can use this
- 34:09technology in education and self learning is has really expanded
- 34:15through this multimodality. And so when you're working with
- 34:19companies and you're seeing these different ideas, I can
- 34:23imagine that you, if you're anything like me, you're like
- 34:26wow, there's, you know, we could do this and that and there's
- 34:29this super cool cutting edge way of utilising the newest model
- 34:35when in reality that may be over engineering it.
- 34:38And what you want to do is just get some kind of a MVP out that
- 34:43doesn't need to use all the newest cutting.
- 34:45Edge. Absolutely.
- 34:46I mean, I'm a big proponent of not using the cutting edge stuff
- 34:51if you're just starting out. I would never recommend anyone
- 34:54who's just getting started on their AI journey to, umm,
- 35:00immediately start with the news staff unless they have a use
- 35:04case that absolutely requires it, right?
- 35:08But I am, and I actually just recently gave a talk at a meet
- 35:11up where I really pointed out that you should not start
- 35:18thinking about the solution and then figure out which problem
- 35:21you can solve with the solution. But you need to start with the
- 35:24problem, define the problem clearly, and then find solutions
- 35:29for that problem. And I always encourage people to
- 35:32start with a very simple solution and and for every
- 35:36problem you can find a very simple solution, it just maybe
- 35:40doesn't perform as well, but you can find a simple solution.
- 35:42And then from there you know go to the more complex ones and
- 35:46always benchmark it against the simple one and then compare what
- 35:50does it cost you to go to that more sophisticated solution and
- 35:55what are the the performance gains that you get.
- 35:58And oftentimes, this increase in performance does not justify the
- 36:02cost and it's also not just about performance.
- 36:05Also, like, do you have the capacity to maintain all that,
- 36:09that stuff, right? Because it becomes way more
- 36:12complex to update systems once you have a deep learning model,
- 36:17right? And so there's a lot of factors
- 36:19that you actually need to consider when you when you pick
- 36:22that solution, not just, yeah, is it really cool, is it really
- 36:26fancy? Do we want to try it out?
- 36:29Yeah, the classic engineering. Exactly.
- 36:33I know. I know it seems so obvious and
- 36:35so trivial, right? It it seems like what?
- 36:39But yet, I still see people getting carried away with it.
- 36:44Yeah, you're. Echoing so much of what past
- 36:49guest was talking about, we basically spent 30 minutes
- 36:52talking about that exact same thing.
- 36:53Like hey, just figure out what your problem is and get some
- 36:56good metrics around that and then try and push those metrics
- 37:00as far as they can go with the most simple solution.
- 37:04Because as and this was Sam that came on and Sam said I've never
- 37:09heard an engineer say that. I wish I would have made the
- 37:12system more complex. Exactly, yeah.
- 37:17And yeah, there's so much you can achieve with simple
- 37:20solutions already. And even, you know, I mean
- 37:25techie BT and we all know that now, but there there were models
- 37:28before Tetchy BT, right, that are already, you know, they can
- 37:32solve a lot of problems that the majority of businesses have
- 37:35right now, right. And and also I think people
- 37:38sometimes forget what CHPT is actually trying to do, right.
- 37:42It's trained for conversational language understanding.
- 37:46So if your problem is not about conversational language
- 37:48understanding, if it's just a simple classification problem,
- 37:52then start with a classification algorithm and not.
- 37:56I mean, of course check CPT can give you an answer and it might
- 37:58even be correct, but it's over engineering the problem.
- 38:02And OK, if you're just doing 100 classifications every five
- 38:08months, maybe it doesn't matter. But once you want to scale and
- 38:11once you have more traffic on that model, it's it's way too
- 38:14expensive. But yeah, it doesn't scale and
- 38:17it doesn't make sense for. That's my opinion.
- 38:19I don't think it makes sense to use tech EBT for classification.
- 38:23Doesn't make any sense. That's so.
- 38:25True, even though I heard people doing.
- 38:26It. But I still think it doesn't
- 38:28make sense, yeah. It's.
- 38:31It's one of those ones where, you see, I remember we had the
- 38:36ball from Angelis come on, and he was talking about how they
- 38:40spent six months putting together a classification model
- 38:44and in two weeks after Chat Tribute came out, they started
- 38:50using that and they were benchmarking it against their
- 38:53homegrown model shot. GT was just beating it all over
- 38:57the place and they were like, ohh, no.
- 38:59So in that case it's a little bit like hmm where is the where
- 39:06is the over engineering happening?
- 39:07It's good that they were honest enough and.
- 39:12What? What's the word I'm?
- 39:13Looking for humble enough to recognise, OK, this model that
- 39:18we worked on for six months? We can throw it out and now chat
- 39:21TPT is much better. But I think for every one of
- 39:25those stories you've probably got another 10 stories of what
- 39:28you're talking about where chat should be.
- 39:30Team may be overkill, yeah? And then also the question is
- 39:32what do? You compare it to, right?
- 39:33I mean if they build like a model based on TF, IDF and maybe
- 39:37some manually engineered features and then compare it to
- 39:40to ChatGPT, maybe not the best comparison right?
- 39:43I think what you should do then is take a bird model, get a bird
- 39:47in bedding and then build a classification layer on top and
- 39:50compare that to check GPT where you then already move away from
- 39:55manually engineered features. But you you use the technology
- 39:58of deep learning, right? You get these embeddings you use
- 40:02a lot like transform our model or transformer based model and
- 40:08then use that for your classification.
- 40:09Because otherwise you're also a bit comparing several rules to
- 40:14super sophisticated AI model, which yeah, maybe is is.
- 40:19Of course they're not not comparable in that sense.
- 40:23Whereas all those tools. That are highlighting how
- 40:26they're using Burt. This is you don't see those out
- 40:28there. Everybody's highlighting how
- 40:30they're using ChatGPT and AI. It would be funny to for someone
- 40:34to zig where everybody else is zagging and safe.
- 40:38We're using the non state-of-the-art.
- 40:40Yeah, and I mean. OK.
- 40:42It also depends a little bit what, what are the capabilities
- 40:44that you have in your company, right?
- 40:46And of course it's super easy to use.
- 40:49Everyone can build like a quick proof of concept with that and
- 40:54and that is great. And if you don't have like a lot
- 40:57of traffic on on the model and OK maybe it's a viable solution.
- 41:01But if you really need to build someone something that needs to
- 41:05scale, then probably you need to look into other options, yeah?
- 41:12Yeah, 100%. So this has been awesome.
- 41:16Verena, I really appreciate you coming on here and talking to me
- 41:19about all the the good stuff that you've been up to.
- 41:22I want to mention to everyone that I have been reading your
- 41:25newsletter diligently and I appreciate you doing it.
- 41:29We'll leave a link in the description for anyone else that
- 41:32wants to get smarter by getting a little bit of you in their
- 41:35inbox every week. I also appreciate what you are
- 41:40doing when it comes to coaching women.
- 41:42Can we talk about that for a minute?
- 41:45Yes, absolutely. I'd love to, yeah.
- 41:48And so. So that is a topic that's dear
- 41:50to my heart and and basically all started when when I read
- 41:54that more than 50% of women leave their tech career at the
- 42:00midpoint of their career. And part of that is because they
- 42:04feel like they need to prove themselves more of their gender
- 42:07because of their gender, because they feel like they're not
- 42:09giving the right opportunities to grow and they basically just
- 42:14give up because they don't see a future in the industry.
- 42:17And of course, women are totally underrepresented in tech roles
- 42:22and we need more women in in tech roles to really make sure
- 42:28that the technology that is being developed is, yeah, it's
- 42:32more representative of the whole population.
- 42:34And So what I do is I coach women to.
- 42:39Yeah, basically take control of, of the things that they can take
- 42:42control of. Yeah, because we can't change
- 42:45the industry from being male dominated to being balanced
- 42:49immediately. But what we can do is we can
- 42:52adopt certain strategies to work on our confidence, be more
- 42:56visible, be more strategic about our career growth, asked for the
- 43:00things that we want and go after the growth opportunities.
- 43:05Deal with the stress and overwhelm that, that, yeah,
- 43:09sometimes come with these challenges and just developed
- 43:14routines that support us in thriving in this environment,
- 43:18even though it comes with certain challenges.
- 43:20Yeah, the way. That we met, we should probably
- 43:23mention that we were on a panel together in one of the MLBS
- 43:26community meetups in Berlin, and it was a panel all about having
- 43:33more underrepresented voices in tech, I think, and women in
- 43:39tech. It was in collaboration with the
- 43:42Women in Tech or Women in Data science in Berlin.
- 43:44Because in tech, I think girls in tech.
- 43:46That that's it. And so I was on that panel,
- 43:51which my wife told me it was a very stupid idea right before I
- 43:55left to go to Berlin. She was like, you were about to
- 43:58say something that will get you cancelled it and hopefully
- 44:01they're not recording it. I said, well, luckily I got out
- 44:04of it unscathed and I really appreciated a lot of these ideas
- 44:07that you were sharing, especially around this.
- 44:12What you just said, like there's no reason we should have people
- 44:16fleeing from, especially like females fleeing from tech,
- 44:21because if anything, we need a lot more in tech to
- 44:24counterbalance all of. I think right now there's like
- 44:28I've been seeing, there's a little bit more female audience
- 44:31of this podcast, which I love seeing, but we could say
- 44:34probably like two or three listeners are female, OK?
- 44:39Yeah. Well, I definitely appreciated.
- 44:41That you were on the pound because it's not something that
- 44:44you know we can solve on our own and we need allies.
- 44:47We need you know and and also this newsletter is not directed
- 44:51at women only. It's really about every man
- 44:55that's interested in what are the challenges that women face
- 44:58in these environments and they're interested to support
- 45:01them. Right.
- 45:02And I I think it was really cool that you were part on on of that
- 45:05panel. Yeah.
- 45:07I always feel a little bit. Awkward.
- 45:08When we're organising the conferences and I'm trying to
- 45:13get more female speakers, we're just speakers from
- 45:16underrepresented groups. It doesn't have to be female.
- 45:19Yeah, and they're more but. Having to like.
- 45:23Specifically say that to people. I I never really figured out how
- 45:27to say it and I always kind of felt very weird being like, ohh,
- 45:33no, we can't have you talk because you're not from
- 45:37underrepresented groups and people like the men would get
- 45:40like why are you biassing against men And it's like, no,
- 45:44just want to have space. And I'm I think that for me at
- 45:49least there's the benchmark that I'm going for and all the events
- 45:52that we're doing is trying at least to get 50 percent. 50%
- 45:57feels like that's saying wow, yeah, it's great, but it it's
- 46:02definitely hard. But it it also is like, it's not
- 46:07outrageous, you know, I mean given that we only have.
- 46:10Like 20% of women in tech roles, it is quite hard to meet that
- 46:15mark. So and I think it's also quite
- 46:17unusual to see that. Umm, yeah.
- 46:20But people appreciate it. They definitely do.
- 46:22Like people will write on the feedback forms that we have and
- 46:27they will say like, it's cool to see so much diversity.
- 46:30And so even though you don't necessarily, it's not like I'm
- 46:34not going to be there in all the messaging and the marketing and
- 46:38be like we get 50% underrepresented groups to
- 46:41speak, people still notice and that's cool.
- 46:45It makes me feel good because it's a lot of work to do that
- 46:49and honestly I think. It's also one way to making
- 46:52females more comfortable speaking at these events because
- 46:56it's it's always weird when you when you feel like you're the
- 47:00only female person in the room and so it's really nice if you
- 47:04go to A to an event where this is different.
- 47:07Yeah, the truth is. And I I.
- 47:10Firmly believe this, that there are so many incredible people
- 47:15that are doing such cool stuff from these underrepresented
- 47:18groups that it's almost like that's my job is to go out there
- 47:21and find them. It may be a little bit harder,
- 47:23but that's why we call it work. That's what I got to do.
- 47:27So yeah, and it's cool that you. Do that because I tend to find
- 47:32that people from underrepresented groups are just
- 47:35a little bit more quiet. They're shy, You know, they
- 47:38don't necessarily feel safe in these environments.
- 47:41And that is why they don't feel comfortable to be visible.
- 47:45They don't feel comfortable, you know, going after these speaking
- 47:49opportunities. But then when they get asked and
- 47:52you know, you even give them this, this nice environment of
- 47:555050, then it can be a good entry point for them.
- 47:59And then maybe they find out, oh, it's it's not that bad after
- 48:03all. Maybe.
- 48:03Yeah, I should do this more often.
- 48:06Let me just. Clarify.
- 48:08I try for 5050. I'm not gonna say I hit it all
- 48:10the time because now you're gonna hold me to that.
- 48:13I really try really hard. But the I can't hit it always.
- 48:18I get it. I get it.
- 48:20It's. Hard.
- 48:21Always. Yeah, but it's not.
- 48:23Impossible and I. Definitely strive for it because
- 48:25I think it's important. So Brenda, this has been
- 48:28awesome. I appreciate you coming on here
- 48:30and chatting with me about all this.
- 48:31I had a great conversation. Me too.
- 48:33Thanks for having me this. Was really fun.