Latest / Agentic Conversations (formally mlops.community) / The Future of AI and ML in Process Automation // Slater Victoroff // MLOps Coffee Sessions #64
Transcript
- 0:16Hey, everyone, and welcome to another episode of ml Ops coffee
- 0:20sessions. I'm Vishnu and I'm joined here
- 0:23as usual by Demetrius. A Demetria happening.
- 0:27Everybody. Are you are you at home?
- 0:30No traveling right now I am really a jet lagged so if there
- 0:35are any mental gaps that happened during this session,
- 0:40you know why? Yeah, Demetrius is quite the
- 0:45jet-setting traveler these days but we're glad to have him back
- 0:48on the podcast, back at home settled in his studio.
- 0:51And today, we are joined by a very exciting guest Slater,
- 0:55Victor off the CTO and founder of Code data and Slater today is
- 1:00going to talk to us about a couple topics that I'm really
- 1:04interested in. And I think the community at
- 1:05large is really interested in, in terms of unstructured data,
- 1:10which many of us are in settings, where data is
- 1:13actually, you know, not neatly tabular or or cleanly Define,
- 1:18but we're somehow supposed to machine learning on it.
- 1:20Let's say image or text and also multimodal machine learning.
- 1:25There are rarely cases where all the data that you want.
- 1:29Want is in the same format in the same context and Slater is
- 1:32going to talk to us a little bit about what that actually.
- 1:35What the research in that field looks like how indigo is
- 1:38thinking about production, izing it and tell us a little bit more
- 1:41about how Indigo production is. Machine learning.
- 1:43Thanks for joining us later. Thanks so much for having me.
- 1:45I'm really excited to be here. Yeah I'm excited for what's
- 1:49going to be a great coffee session but first off before we
- 1:51get to the ml up stuff that you know everybody in our community
- 1:54here is a lot about. I hear that you're an MMA
- 1:57fighter or had a Make sure I'm actually huge UFC fan.
- 2:01Kobe was my nice big enough. Biggest favorite fighter, I just
- 2:04want to show an MSG actually a couple weeks ago.
- 2:06Tell us about that. Yeah, absolutely and not, you
- 2:08know, full disclosure I don't fight right now, you know.
- 2:12So this is, this is kind of Slater of a past life.
- 2:14But growing up, you know, I did a lot of martial arts for kind
- 2:18of several years. I did you just karate and I did
- 2:22taste to do, and I did some Aikido as well.
- 2:26And, you know, it was something that was always kind of
- 2:28important. Peace for me, right?
- 2:30But never something, you know, with school that I was able to
- 2:32really devote myself to in a serious way and, you know, all
- 2:37through high school, I was doing a lot of these very academic
- 2:40extracurriculars. And for various reasons, I ended
- 2:42up taking a gap year in between high school and college.
- 2:47And my main goal for the Gap, your was get out of my head,
- 2:51right? What can I really lean into
- 2:52that? Will help me do that?
- 2:53And martial arts was kind of a really clear thing.
- 2:55You know, it's been something I've been doing for my whole
- 2:58life and it was great. Dig in a serious way.
- 3:01So, you know, there was one of the things that I did during my
- 3:04Gap year was that I trained, you know, pretty heavily and MMA.
- 3:07I actually went to China for two months to study martial arts.
- 3:11And I did a couple of amateur fights which were which were
- 3:15great. It was really fun, you know?
- 3:17And then and then I learned when you go to an engineering school,
- 3:20very few people there are willing to get in a fight, you
- 3:23know I was always taught is sort of like a friendly thing
- 3:26Engineers. Just just as a rule here.
- 3:29If I'd of getting hit in the face so you know, it's been it's
- 3:32been a little while since I've fought but I would actually my
- 3:36wife is a third-degree black belt in Tae Kwon Do and so that
- 3:41was sort of a club that we were in together sort of our first
- 3:44year. But you know, we're both retired
- 3:46at this point. That is a that's got to be like
- 3:50the world's most fun hobby. I got to say, it was fun
- 3:53interesting Hobby and it's enough for any of you who are
- 3:56thinking about writing in with negative feedback to this
- 3:59podcast. I do not.
- 4:01Yeah, life will come kick your ass.
- 4:06Okay. All right, so we got a flavor of
- 4:09your journey into MMA and now I'd actually love to learn a
- 4:12little bit about your journey into machine learning.
- 4:15You know, you started in Dakota a couple years ago.
- 4:17Now in the earlier days of machine learning, tell us about
- 4:20how you got started with that. Yeah, so I mean, I would love to
- 4:24say that it was a meticulously crafted plot and, you know,
- 4:27every step was extremely strategic, but nothing could be
- 4:30further from the truth. So I was very lucky, a to fall
- 4:35kind of backwards into a very interesting machine learning
- 4:38problem at my first internship, which was roughly trying to
- 4:42classify videos. According to this big taxonomy
- 4:46of learning information was like, 212.
- 4:48So you know which topics in biology.
- 4:50Does this video teach you? I didn't actually realize it was
- 4:53machine learning problem. At the time I ended up getting,
- 4:56you know, lucky with an approach and, you know, my IP ended up
- 5:01being, you know, part of this patent that got got well for
- 5:04this, you know, really, really interesting kind of overall
- 5:06system which was cool. And at that point, obviously,
- 5:10you know, I knew everything there was to know about machine
- 5:12learning and I went back to school and I told one of my
- 5:14professors as much and I'll never forget these words this.
- 5:17Was in 2012. And I said, the war is over,
- 5:20deep learning lost, right? And I was.
- 5:24So I was so completely, sure of myself, right?
- 5:26I'm starting sophomore year and then I started doing kaggle
- 5:29competitions with the person that would go on to become my
- 5:32co-founder. Alec Radford, and it was really
- 5:35interesting because for the first six months, I was feeling
- 5:39really good about my traditional techniques, right?
- 5:41And when I say traditional techniques, right?
- 5:42I mean, this is tf-idf, right? This is logistic regression,
- 5:46this is svm's, this is No, like keyword features you know,
- 5:50meticulously tweaks here and there with you know, interesting
- 5:54weighting schemes and stuff and I was pretty good at that stuff.
- 5:58But deep learning really starting to come true score for
- 6:02right. You know, 2012 obviously that's
- 6:04a really really important year, you know, Alex and it sort of
- 6:06came out and you know, we started to do these increasingly
- 6:09ambitious capital projects, where we were dealing with text
- 6:12and dealing with images and you know, I'll never forget, there
- 6:16was the point where just the He's deep learning techniques,
- 6:19raced ahead, right. It felt very very tangible.
- 6:21The second we kind of God, you know, a modern CNN up on one of
- 6:24these problems. And at first, I didn't want to
- 6:27accept it and I went into all of these different research arcs
- 6:30and I, you know, II did novel research write.
- 6:33And I really, you know, kind of tried to push the limited field
- 6:35and I succeeded in that, and I got some really great results,
- 6:40but I was not capable of meeting any of the deep learning
- 6:43techniques. Right?
- 6:44And so over the course of the next three months, after that
- 6:47first, you know, You know, loss, if you will, I do Vin.
- 6:51I tried to beat these techniques and I eventually realized that I
- 6:55couldn't why I couldn't, and I decided it was a lot more
- 6:58productive to instead figure out how you could take this
- 7:00technology and make it accessible and make it sort of
- 7:04Enterprise grade. Got it and that and from that
- 7:10Indigo was born. Is that correct?
- 7:12That's exactly right. You know you know and you know
- 7:15it started as exactly. That's exactly, right.
- 7:19Got it. And so I want to talk a little
- 7:22bit about what indigo's actually doing.
- 7:24Absolutely you guys call yourself.
- 7:27The unstructured data company. Interesting tagline, can you
- 7:31tell us? What do you how you define
- 7:34unstructured data and what Indigo actually provides in
- 7:37terms of making that data more useful.
- 7:40Absolutely. And I'll roll back the clock a
- 7:43little bit right to wear that just ended in kind of craft that
- 7:45art because I think it's highly relevant the keeper.
- 7:50That we recognize when it came to using deep learning in an
- 7:55accessible. Way was training data
- 7:57fundamentally, right? You know, it requires far too
- 8:00much, right? It is to inaccessible, you know,
- 8:02you don't have a hundred thousand examples for Relevant
- 8:04problems. We were very, very early to a
- 8:07space that has sent us come to absolutely dominate the field of
- 8:10ml, right? Which is transfer.
- 8:11Why. And you know, so we just just
- 8:15for some reference. I think, most people believe
- 8:17that transfer learning with Large scale language models and
- 8:21text kind of started with Burt, which was 2020, something like
- 8:25that. We had our first large-scale
- 8:28language model for text, you know, in language using
- 8:33transform learning deployed to production in 2015.
- 8:38And you know, it was an RNN, you know, Transformers didn't exist
- 8:41yet but you know. So we've been we've been at kind
- 8:43of that that Art and Science aspect for quite some time.
- 8:46But the thing that's really interesting is about the
- 8:48implications of Transformer. Right.
- 8:50Whistling that very, very broad field.
- 8:51You know, I would kind of argue with this point, you know, if
- 8:54anyone isn't using transforming their kind of behind the curve.
- 8:56It's just such an amazing effective technique.
- 9:02However, right, it, introduces some interesting constraints,
- 9:05right? Is that actually, it's so easy
- 9:08to build these new models, actually, then kind of holding
- 9:11them in memory. And, you know, how do you
- 9:13provide, you know, a thousand different models that you might
- 9:15need for some, you know, broader workflow that becomes a really
- 9:19difficult. Cult and tricky problem.
- 9:21And then the thing that's really interesting and Powerful is when
- 9:23you can then train these production quality models with,
- 9:27you know, 100 200, you know, 500 even data points, right?
- 9:31You transform it from something that takes, you know, research
- 9:34team and months to something that you can do, you know, in,
- 9:38you know, an afternoon or, you know, a week, if you're busy
- 9:40right. And that really is the core of
- 9:43our platform, right? Is this training harness, if you
- 9:47will, that allows People importantly to create sort of
- 9:52these arbitrary unstructured workflows right based on this
- 9:57kind of very very Cutting Edge ml.
- 10:01Got it. That makes a lot of sense I'm
- 10:03excited to dig into that. One thing I did want to mention
- 10:06is I think it's so cool to hear from you this historical
- 10:09perspective for how and how it can be sort of contextualizes
- 10:13your journey through ML. And what, even what you do it in
- 10:17the cone. Now I think you know, there's
- 10:20just so much to learn from how you know, machine learning was
- 10:23done prior to the invention of just a large-scale neural
- 10:27networks because I think there's a lot of techniques that are
- 10:29helpful. Like, you know, I think I think
- 10:33some things that are really, really interesting is
- 10:36understanding which techniques have become redundant and which
- 10:38techniques are now more effective, right.
- 10:41Because it's had, its had that approach on both sides right.
- 10:43On the one hand, write all of these insane like stemming and
- 10:46limitation T techniques, right? Absolutely.
- 10:49Don't use them like terrible waste of time now, right?
- 10:52Modern techniques. It they'll just take care of
- 10:53that, right? You know, on the flip side, when
- 10:56you look at a lot of the indexing techniques that we use
- 10:58for search engines, those are now amazingly useful.
- 11:00Ville because suddenly you can generate inputs for them that
- 11:03are, you know, ten times better than you could before
- 11:05representing data in a richer way than you could ever imagine.
- 11:08Right? So I think you see, both of
- 11:10those right where these traditional techniques are now
- 11:13you know, 10 times more powerful and in other places, you know,
- 11:16maybe more on the traditional design side where they become
- 11:19less useful, but it's still helpful to understand what kinds
- 11:24of problems you can run into bright.
- 11:25I think it's helpful context in any case.
- 11:28So I feel like there's Been all these advances in this space
- 11:34especially with unstructured data.
- 11:37And it feels to me like the adoption of unstructured
- 11:44Technologies like has remained low.
- 11:47Do you have any ideas for why that is, is it just still people
- 11:52trying to figure out some very common problems that are, that
- 11:58can be solved with technology and it the word hasn't gotten
- 12:02out about it or is it because they're even at step 0.
- 12:06And they're trying to figure out how to make machine learning
- 12:11actually valuable for the company.
- 12:14Also, as a really, really good question and maybe just to, I
- 12:18realize, I didn't answer the issues earlier, question about
- 12:20defining unstructured data, right?
- 12:22So for me right, unstructured data is, you know, everything
- 12:25that's not rows and column. So it's text its audio, its
- 12:28image, and it's every combination.
- 12:30I was right. So that means it's video right?
- 12:33It's documents which are really interesting when we can talk
- 12:35about and you know all of these other kind of different
- 12:38multimodal pieces. Importantly, I would say
- 12:40unstructured also encompasses where you've got those
- 12:43unstructured sources that are perhaps and joined with some
- 12:47structured metadata. So maybe you've got, you know,
- 12:51when author on the PDF document for instance, I'd say that
- 12:54that's still an unstructured use case or not structured document,
- 12:58okay? So then to talk about why Why,
- 13:00why do you do option is tough, right?
- 13:02I think that there's there's really two key pieces and the
- 13:06most important one I think, is this really big knee and
- 13:08Technology, right? Is when you look at, there's
- 13:12very clearly easier techniques in ml, right?
- 13:15When you look at, you know, if you have kind of really
- 13:18rigorously laid out forms for instance, you can make a
- 13:21template that is heavily Reliant upon X Y position there, right?
- 13:25And it's going to work really, really well for that, very
- 13:28particular kind of document. Now, the problem is That
- 13:30technique is just really fundamentally different from
- 13:34what you would need to put in place.
- 13:36If you were going to, for instance, do sort of a more
- 13:38sophisticated large-scale language modeling technique that
- 13:41actually you know uses context and takes advantage of these
- 13:44modern advances on that same document.
- 13:47And that's actually one of the really big rubs is when you look
- 13:50at the vast majority of people in this space, right?
- 13:53Is they are not necessarily very sophisticated on the GPU and
- 13:59infrastructure side of things. Right.
- 14:01And their ability to actually tackle the and then it's
- 14:04actually funny because there's multiple layers it, which
- 14:06unstructured is defined. So there's unstructured, you
- 14:10know, sort of the broad if you're in the ml space.
- 14:12I think the definition I just used up on structured is very
- 14:14normal. Like that's just what that term
- 14:15means within the unstructured space, if you will, there's a
- 14:20further delineation of structured versus I'm
- 14:22structured, that's kind of what I was just talking about where
- 14:25you then start to refer to these forms that have a Static X Y
- 14:29position, that's them. Actual data and then
- 14:31unstructured becomes sort of long form contract type
- 14:34documents, right? Anything that just really
- 14:36linguistically, you know, heavy right?
- 14:39That really relies on that language information and you
- 14:42know, obviously the nomenclature is super confusing because
- 14:46you've got that weird nesting definition to it but it's You
- 14:53know, people have kind of sliced off parts of the really, really
- 14:56large unstructured umbrella that are addressable.
- 14:59And when you look at the advancement of those
- 15:00Technologies, I mean adoption is going absolutely Bonkers, crazy
- 15:04bananas. I mean that stuff is deployed
- 15:05really really heavily and I think the other thing is that
- 15:09when you look at things that really happened on the
- 15:11instructor side on these language pieces, those use cases
- 15:14have historically been so valuable and so difficult to get
- 15:17after you tend to see them in these really verticalized
- 15:19companies, right? So you'll see a company that
- 15:21just does lie. Analysis.
- 15:23Right. And only a super successful
- 15:25company using these techniques right?
- 15:27But it's not a generic unstructured data company,
- 15:29right? Because it took them, you know,
- 15:31two years to build that model that does that thing.
- 15:34And, you know, I think that since then, there has been a
- 15:37really big shift, people are starting to realize, oh, wait a
- 15:39minute, I don't have 150 problems, right?
- 15:42I have one problem that is, how do I could do unstructured
- 15:45stuff? Right?
- 15:47And it was actually really funny after.
- 15:49We did our big announcement clarify, they and then came out.
- 15:52And as you know, you know, the other unstructured data company,
- 15:56or whatever, they call themselves like two weeks later.
- 15:59So it was interesting where you seen it addressed in a lot of
- 16:02part pieces and now because the technology is kind of advanced
- 16:06so far, that it is significantly easier to take up some of these
- 16:09modeling techniques and enough people have seen these really
- 16:12dramatic success has people like, oh wait a minute, you
- 16:14know, this is actually kind of one problem set that you can
- 16:17address with a unified technology stack.
- 16:20Yeah, that makes a lot of sense and just so I make sure I'm
- 16:24understanding correctly. What you're kind of saying is
- 16:26unstructured data, is this realm of non tabular information?
- 16:31Let's just call it that, right? And it's an image audio, you
- 16:35know, text, any kinds of things like of that nature, which is a
- 16:39lot of use cases, and in a lot of companies, you know, the way
- 16:43that such unstructured data has been solved and that you create
- 16:46a business value with this is by focusing in on some narrow part.
- 16:50Of that question, right? So something that comes to mind
- 16:52for me, it is a company like Flatiron Health, where they were
- 16:55working with electronic medical records that were scanned PDFs.
- 16:57And they basically just built a whole architecture of human
- 17:01abstractors that turn those PDFs into, you know, sort of more
- 17:05structured information that they could do machine learning on and
- 17:07there's countless stories of that in a number of different
- 17:10Industries. When you say Technologies, can
- 17:13you tell me a little bit more? Specifically, what particular
- 17:15things that you believe, you know, that you're talking about?
- 17:18Is it machine learning modeling? Is it, you know, more data
- 17:21engineering, what kinds of things are you talking about
- 17:24there? Yeah, so I mean I'm primarily
- 17:26talking about right now really the modeling piece of things,
- 17:28right? So when we talk about, for
- 17:30instance, what we were using in this dovetails, a bit into the
- 17:32multimodal EI piece, right? We actually use these sort of
- 17:35Next Generation, I don't know. Like, mutant X-Men language
- 17:39models, I might call them, right?
- 17:41But the idea is that when you look at documents and this is
- 17:45really, it's not only true of documents documents, just
- 17:48happened to be, you know, an Using Lee valuable use case and
- 17:51like, everyone knows what it is. You might at first think that a
- 17:55document is text and you would be wrong.
- 17:59We thought documents for text and we were wrong.
- 18:01That's how we know. And the way you find that you
- 18:05are wrong, is that if you look at someone who say processes
- 18:08invoices for a living or reads contract for a living, you take
- 18:11your text and you OCR it and you show them, you know, the OCR of
- 18:15that document, right? They can no longer do their job.
- 18:20And I don't mean their job is now difficult.
- 18:22I mean literally without that visual formatting their job is
- 18:27now ambiguous. Right?
- 18:28That document actually loses much of the information that is
- 18:31key for interpretation, right? And that's something that I
- 18:34think people tend to overlook right?
- 18:36They think oh if I'm just good enough at language modeling I
- 18:38will eventually figure it out. Absolutely not just not how it
- 18:41works if you want the most obvious example of this, think
- 18:44about a table that has numbers and nesting right?
- 18:48There is no amount of language model.
- 18:50Saying that will account for the differences in read order and
- 18:54nesting that you got there, right?
- 18:56And, you know, not not even to mention things like Rich text
- 18:58and embedded images, right? This is like the tip of the
- 19:01iceberg, but that's why and you seen through this big Resurgence
- 19:05now in some of the top area in the some of the top Labs like
- 19:09Microsoft and Amazon, right? Where people are using these
- 19:12multimodal techniques. So the idea is you start with
- 19:15this language, modeling back and obviously the language
- 19:17understanding is really critical.
- 19:20Rather than just thinking about linguistic aspect, you find ways
- 19:23of encoding, sort of the local visual information.
- 19:26Write the position on the document, write the position of
- 19:29the document potentially in some larger bundle, right?
- 19:33All of these additional pieces of information and you get, I
- 19:36mean, not just radically more effective models, right?
- 19:39I mean, it just works way way better, but you start to see
- 19:41this really interesting glimpse of the future of ml where, you
- 19:44know, traditionally Texas, NLP, right?
- 19:47Vision is computer vision, right?
- 19:49And when you think about a lot of of the most compelling cases,
- 19:51like, you know, self-driving cars, you know, anything with
- 19:54video, right? Even if you're talking about
- 19:56simply blending metadata and text right in customer chap
- 20:02surface. Right, you know, really basic
- 20:04stuff like that. We don't really have the tools
- 20:05to do that today. But these multimodal techniques
- 20:08allow you to kind of take a language modeling back-end.
- 20:11Tweak them in sort of these Point ways of technique that we
- 20:13use is called Model surgery. It's a little bit Niche.
- 20:16You know, opening I developed it in the DOTA but there's other
- 20:19techniques as well. Reproaches.
- 20:20That's just what we use to add in this additional sort of
- 20:24structured metadata which is just it's very very interesting
- 20:29and you know it's been really effective for us.
- 20:33Really helpful example with the with the documents.
- 20:35Because I completely see what you're saying, they're right.
- 20:37It's not just a bag of words, it's actually their structure
- 20:41that's there that are hard. That's just right now, you know,
- 20:44our technology can make it hard in terms of actually applying
- 20:48that structure in machine learning context.
- 20:49And, you know, one of the fundamental things was
- 20:54challenges that I hear in sort of what you're saying is again,
- 20:57the modeling side, we have an ability to deal and make use of
- 21:02more. Then we have before, right?
- 21:04In more creative ways. We have more techniques.
- 21:07We have more powerful networks, but as challenge that I still
- 21:11see in my day-to-day, and I think a lot of people see is on
- 21:14the data side of that, right? Which is how do you go?
- 21:18It's, you know, it's cool to hear that, you know,
- 21:20unstructured data can be used in machine learning context more,
- 21:22but we still need to set it up. You know, you know, in
- 21:26somewhere, that's not just an S3 bucket or in something that's
- 21:29not just, you know, a loose collection.
- 21:33Section of files right there has to be some sort of data, schema,
- 21:37or some sort of structure applied to that at least so
- 21:39that, you know, perhaps for some analytical reasons or just
- 21:42because that's more efficient, right?
- 21:45And so this kind of gets us into the question of, like, ETL and
- 21:48data Engineering in the context of unstructured data, which we
- 21:52want to do more, you know, sort of machine learning on and you
- 21:56were telling us before we started this conversation, but
- 21:59those are some areas that your experience, a lot of challenges.
- 22:02Can you tell About how the data engineering side of some of this
- 22:05unstructured data from the challenges you experience and
- 22:08how you solve them. Absolutely.
- 22:10And I've even I'm going to jump as far as to say that modeling
- 22:16is simply not the limit anymore, you know?
- 22:20We we have models to radically effective right?
- 22:23You know, and I think that while there are obviously people doing
- 22:26great work, there is very much, not a limiting factor and I
- 22:28think the data is more than anything, the one big factor and
- 22:32I mean that, That in a couple of actually really important ways.
- 22:36And this comes down to to these questions of ETL and how you
- 22:39handle your data. And in a lot of ways, why
- 22:41unstructured data is such a challenging ETL problem, right?
- 22:46And let's use documents again as an example.
- 22:48Right now, you've got a scan document and you have what,
- 22:52let's just take a very simple kind of workload example.
- 22:56You're going to OCR it, right? So you use some OCR engine say
- 23:00OCR engine a right and then say, Train some classification model
- 23:05that says oh you know this is one of three document types
- 23:08right? And then say each one of those
- 23:10different document types it gets fed to an extraction model like
- 23:15a custom named entity recognition model.
- 23:17And then that populate some payload that is structure,
- 23:19right? So you know, really pretty
- 23:21simple, you know, very relatively straightforward here
- 23:25is what is really tricky about it?
- 23:26If you were to think about it in a standard flow, right?
- 23:29If I start by labeling, Labeling some data for that last Model
- 23:35that extraction model. And then I find that the OCR
- 23:39engine I'm using is not very good and I want to change o CR
- 23:42entrance. Normally the way you store that
- 23:46label will not allow you to reuse the label right?
- 23:49Because the text is change. The read order is changed right?
- 23:51Figuring out what someone actually labeled you actually.
- 23:55You can't really do it in a traditional flow.
- 23:57So, not only do you have to re trained all of your models, but
- 24:01you have to relabel all of your data and this kind of dependency
- 24:06mismatch, right? This is something that you see
- 24:09all over the place in unstructured data and because
- 24:12unstructured, Data. You can't effectively put strong
- 24:15constraints around your distributions.
- 24:17You can't really change them. And so, an example of how you
- 24:21can help that problem kind of get around that problem is
- 24:23thinking about sort of the most flexible possible way you can
- 24:28represent your information. So for instance, what we do here
- 24:32in this case is say okay when someone labels a particular
- 24:36value rather than say we're just going to index into the string
- 24:40of that document, right? You have both the string of
- 24:42that. Community and the position of
- 24:44that information because again, it's multimodal information,
- 24:47right? And then what that allows you to
- 24:49do is if you ever switch OCR engines, right?
- 24:51You can actually then reconvert that label back into the text
- 24:54format that, you know, that's that's what you need for
- 24:56training. And so that's a kind of simple
- 24:59example, right? But you you see this?
- 25:02I think all all over the place and you're going to see it a lot
- 25:04more when you come up with this notion of changing the way that
- 25:08you want to do supervision, right?
- 25:12And I'll kind of Like throw one other notion out there that I
- 25:15think is really key in all of this.
- 25:17And this is something that Microsoft has been championing,
- 25:19a lot recently called machine teacher and that's the idea.
- 25:23And, you know, I kind of said modeling is not a limiting
- 25:25factor. Then what is the limiting
- 25:27factor, right? And even frankly, you know,
- 25:29transporting models today, they can learn on incredibly small
- 25:31amounts of data, right? However you need pretty good
- 25:37data, right? And importantly, you just need
- 25:39consistent data and it turns out this is the thing that's really,
- 25:42really hard for Right. Is that the way that we tend to
- 25:45start to these ml problems? You know, if you think
- 25:48classification, would binary classification of Twitter
- 25:50sentiment, right? They're actually very far from
- 25:53how humans think about the problem, right?
- 25:56And historically, you know, we see 95 percent agreement, for
- 25:59whatever on binary Twitter sentiment, and we're like we're
- 26:01voting, right, have more people vote at it, right?
- 26:03But it never really gets better than that because the problem is
- 26:07actually not with people disagreeing.
- 26:09The problem is, with the framing of Twitter sentiment as Binary
- 26:13positive - right like that framing will only get you so far
- 26:18and then you think about more interesting framings because, I
- 26:20think everyone sort of parses the sentence the same way.
- 26:23So you think you can kind of move in the other direction and
- 26:26make some of that reasoning? Explicit have people be like,
- 26:28oh, you know, here is the, you know, whatever parse tree.
- 26:31And I'm actually using to read through this sentence, these
- 26:33positive aspects. These are the negative aspects
- 26:35sort of like aspect-oriented sentiment right in a basic, kind
- 26:38of way, but thinking of that, as a sort of exclusive supervision
- 26:42that he used, would provide and you know, so yeah, I think
- 26:46that's a really interesting Trend and it has some
- 26:49interesting implications for ETL Yeah, I think this whole this
- 26:56particular quote that you have around like changing the way you
- 26:59want to do supervision. I think that that that that's it
- 27:02that's a huge lesson. I think that I'm seeing happen
- 27:05right now and I think it's funny how this happens.
- 27:07You know I think the way that happens in companies, it's not
- 27:09you know somebody saying okay guys we're going to go from you
- 27:12know supervised learning to unsupervised or something like
- 27:15that where people are applying like rigorous definitions to the
- 27:17kind of technique they're using. They're saying hey these are the
- 27:21fields that we More confidence and ease of use, we have less
- 27:23confidence and we need to get more data for the stuff that we
- 27:26have less confidence. And how do we do that, right?
- 27:28What are the techniques that we can find modeling side?
- 27:31What are the things that we can do from a data collection and
- 27:33sort of cleaning side? That's the way that these
- 27:35changes happen. Sort of incrementally at least
- 27:38in my experience. And yeah.
- 27:42Yeah. No.
- 27:42I was they absolutely happening for mentally.
- 27:44I think, I think I love the fact that you mentioned the people
- 27:48don't use supervised and unsupervised consistently.
- 27:50I think it's absolutely correct. Wrecked.
- 27:52And I actually think it's a problem with the terms, right?
- 27:55A right. So, it makes it sound like they
- 27:57were alternatives to each other. They really not write any modern
- 28:01system. You're doing supervised learning
- 28:03on top of unsupervised, learning.
- 28:04That's just, that's just how it works, right?
- 28:07They sort of just fundamentally different functions, right?
- 28:11Yeah. I like to think of it more in
- 28:13terms of like a data spectrum is like you want to have you know
- 28:16this Bedrock Foundation model of a lot of unsupervised data just
- 28:21like here's what the word. Looks like, and then you've got
- 28:23some sort of proxy tasks, right? You know, I call sort of silver
- 28:26standard data, things that are probably directionally correct.
- 28:29Or, like, summarization is a great example of, like, you
- 28:31can't come up with a good summarization metric.
- 28:33But you can say, this is a better summarization, we're
- 28:35summarization. And it's sort of this, this
- 28:37pyramid right of less and less data as you get closer and
- 28:40closer to the actual problem that you're trying to solve and
- 28:43everyone knows and practice like, you're always dealing with
- 28:45less gold standard data than you want.
- 28:47But you can you can like pad that out lower on the pyramid.
- 28:51I I think that is a good segue into what I wanted to talk about
- 28:55next which is synthetic data in the role of synthetic data in ml
- 29:00Ops and you had mentioned, let me just grab my notes, you said
- 29:04this, before we started recording, which I thought was a
- 29:07fascinating term. Some people look at synthetic
- 29:10data as this perpetual motion machine.
- 29:13I love that mental imagery, but explain to everyone what exactly
- 29:20that means for you. Absolutely.
- 29:23And and I just have to remember which demon, I'm thinking of, I
- 29:29think it's Maxwell's demon, but there's so many of them, you
- 29:32know, it's hard to. Yeah, it is.
- 29:34Maxwell's demon, right? So this is a famous physics.
- 29:37Thought experiment, and I promise it's relevant.
- 29:40And the idea is, you know, the second law of Thermodynamics
- 29:43obviously is very important. The idea that you can't just
- 29:45kind of make free energy out of nothing to, you know, make it
- 29:49very, very kind of simpler. You know, things tend Towards
- 29:52entropy without external energy and the idea is that okay?
- 29:56Say you've got to joined containers, right?
- 29:59That have a gas in them, right? And now, the way that
- 30:05temperature Works vaguely is that fast particles, you know,
- 30:09that's higher temperature, slow particles, that lower
- 30:11temperature in these particles, you know, these are gas
- 30:13molecules. So the way the, the idea goes is
- 30:16say, you had a little a demon Maxwell's demon that, then
- 30:19operated this door in between the two Chambers and Always let
- 30:22the fast things in one way and always let the slow ones and
- 30:25others write and say. And the idea is basically then
- 30:29because you created this temperature separation, right?
- 30:32You can get work out of that. And so you kind of created this
- 30:35energy from nothing. So it is, how is how have you
- 30:38done that? What is the problem with that?
- 30:39And the thing? And the, the answer, which it
- 30:42turns out is super fascinating and interesting, right?
- 30:45Is that the information processing done by that demon?
- 30:48When it looks at the particle and tells whether It is fast or
- 30:53slow that actually has an energy cost right to make that
- 30:57decision, right? And that is how it balances out
- 31:00and you don't actually get it for free, but one of that, the
- 31:04really key pieces is that they show that energy and information
- 31:07are, you know, there's an equivalence there and the same
- 31:10way that you can't create information out of nothing.
- 31:12You can't create energy out of nothing or are, you know, vice
- 31:14versa and I think that's why I love the analogy of the
- 31:17perpetual motion machine with synthetic data.
- 31:19And to be clear, you know, synthetic data has Some really
- 31:22important uses and we'll talk about those, you know, after
- 31:25this. But, you know, I think people
- 31:28importantly sometimes have this notion that because synthetic
- 31:31data looks to us like real data that you must be able to by
- 31:35creating more and more synthetic this synthetic data improve.
- 31:39You know, the models understanding right, say, Hey,
- 31:41you know, make me more chairs. Feed the chairs back in, is more
- 31:43training data, but it turns out the only thing that you end up
- 31:46doing is reinforcing what the model actually believes, right?
- 31:49There's no net new Information added in that process and it's
- 31:56an important but actually a pretty subtle point and and the
- 31:58same kind of fundamental issue. Actually plagues a lot of a lot
- 32:02of areas, right? If you think about the generic
- 32:05Active Learning task and this is something a lot of people aren't
- 32:07aware, of active learning has actually failed to reject the
- 32:11null hypothesis, which like let that sink in for a second,
- 32:15right? Is like, no one can actually
- 32:16prove definitively that Active Learning Works.
- 32:20It's like we've all seen the papers right through tons and
- 32:23tons of active learning papers, right?
- 32:24And you can get active learning to work on any data set, right?
- 32:28And it's this really weird Paradox and it turns out that
- 32:32actually the thing that's really key is the way that you set
- 32:34Active Learning up on that data set, what I would call human
- 32:38overfitting, right? Where you see what happens on
- 32:40the data set and then you tweaked your hyperparameters,
- 32:41you tweak your Active Learning, right?
- 32:43That is the information flow, that is the overfitting and
- 32:46that's why you can get it to work on any use case, while at
- 32:48the same time, you cannot not violate, you know, you cannot
- 32:51reject the null hypothesis, you know, just with a generic Active
- 32:55Learning approach. So Just so I understand that
- 32:59real quick. You're basically saying I kind
- 33:04of see what you're saying with the information energy.
- 33:06You can't just can't just make it about us than are right and
- 33:08it has to represent. Something has to cost something,
- 33:11but on the active learning piece, you're basically saying
- 33:15that by just You know, by feeding pieces of data that we
- 33:21know that machine learning model is failing on.
- 33:25We're engaging in a form of human overfitting.
- 33:29Well, let me let me there's an important line in between the
- 33:32things that, right? Because you said, we know it is
- 33:34failing on, right? And that's actually what's most
- 33:37important is, you don't know that in an active learning
- 33:39context. If you learned that and say, it
- 33:43has failed on this example, then it's actually not active
- 33:45learning anymore, right? Then you just labeled the
- 33:47example. Right.
- 33:50And that's actually Chi Delta, right?
- 33:52Is that an active learning we must rely on this proxy for was
- 33:55wrong. Uncertainty sampling, obviously
- 33:57is the most common one, right? And uncertainty sampling will
- 34:00sharpen all your decision boundaries.
- 34:02It will not tell you if you have the wrong decision boundary.
- 34:06And it turns out that, you know, in practice, as often as you
- 34:08want to sharpen a decision, boundary, you want to change a
- 34:10decision boundary and you know, obviously you know, you can't
- 34:13generically fix that. But at the same time for any
- 34:17given problem, you know, given problem will have a reasonable
- 34:20trade off between sharpening and, you know, exploring and you
- 34:24find that for the given problem, like it will work for that
- 34:27problem. Just not generic, got it.
- 34:31It's is helpful. You know, I think one of the,
- 34:34one of the most helpful things for me in my machine Learning
- 34:36Journey was like, taking a theoretical machine.
- 34:39Learning course that I really didn't do very well in, but
- 34:41really thought me taught me in terms of how to think about, you
- 34:45know, distributions and modeling, you know what it is.
- 34:48Actually trying to model, right? And what sort of information it
- 34:52is that you're trying to gather in order to then, you know,
- 34:55predict in the future. And I think what I'm hearing
- 34:58from you, you know, as a lot of intuition around that.
- 35:02And what I would love to do is talk about how that intuition
- 35:05plays out in production systems, right?
- 35:09Because I think, right where the challenge of challenge happens
- 35:12is these systems to get to scale.
- 35:14You know, you know, you're dealing with millions and
- 35:16millions and millions of data points, you're dealing with so
- 35:18many. Be different.
- 35:19You know, features that people start to lose that underlying
- 35:21intuition. And then they just say, okay,
- 35:23the next model, refresh, we'll just do better, right?
- 35:26We'll do better on some metrics and then, you know, ten months
- 35:29from now, we look back and say, wait the data drifted, the model
- 35:32drifted and our metrics are down, right?
- 35:35And so can you talk a little bit?
- 35:37You know, it could be in terms of synthetic data or could be a
- 35:41little bit in terms of multimodal data or multimodal
- 35:43machine learning. How have these lessons around
- 35:47thinking about Information and data played out at Indigo and
- 35:53what were some examples? Yeah.
- 35:55So and you know, there's there's obviously, you know there's a
- 35:57couple of things wrapped wrapped out in there, right?
- 36:00I think one of the things that's really key that we recognize is
- 36:03that The user with the best understanding of process is the
- 36:09person best situated to train them.
- 36:11All right. And this is something that a lot
- 36:13of people Miss. I think it's not usually how
- 36:15organizations are set up is on often.
- 36:17It is the data scientist responsibility to teach the
- 36:20model. Absolutely and I think actually
- 36:23the theoretical ml course that you talked about.
- 36:26Actually I think that's much closer to what I would assert is
- 36:29for the proper role that a scientist as a property to
- 36:32scientist, I think is going to be most effectively deployed
- 36:35designing It's deciding. Okay, what metric is actually
- 36:39important for us to track in this context?
- 36:42I think that the world where a data scientist is primarily
- 36:45feature engineering or doing hyper parameter optimization
- 36:48again. Modeling is just not the
- 36:49limiting factor anymore and I think that that is less and
- 36:53less. I think in some cases that is
- 36:57still worthwhile, I think that it is becoming a lot rarer, I
- 37:01think, in most cases data scientist end up, doing a
- 37:03disservice by focusing on that. And so we much more instead we
- 37:09say, okay look the goal is to engage the subject matter expert
- 37:11as much as possible. Get as much information into the
- 37:13system as possible, right? And then step the data scientist
- 37:16up to basically maintain that system, right?
- 37:18Be the architect really of how this plugs together, right?
- 37:23And you know, that's that's important.
- 37:24Separation, just thinking about who has, what information at
- 37:26what point? I think another piece and
- 37:29actually, I'm going to kind of point to Teslas version of
- 37:32active learning here because I think it's a clever way they get
- 37:35around that, that Knocks an active learning, right?
- 37:38Because still it is useful. You still do often want to sit
- 37:42through, you know which labels are used?
- 37:44You know, which examples are useful to label and not and you
- 37:48but you have to add information into that system, because as
- 37:50we've established, like, generic active learning, it just won't
- 37:52work. And the way that Tesla does this
- 37:55is that they actually have a human in the loop Active
- 37:57Learning. Not in the way.
- 37:59You think what, you know, of course, a human labels, it
- 38:01Downstream, but they have a human operator decide which
- 38:05Active Learning can. Candidates actually get labeled
- 38:08which sort of interesting. Right?
- 38:09You know we think of this notion of like a weird example as like
- 38:12we're to the model but what they have found and you know, from a
- 38:16theoretical perspective you inject information into process
- 38:19by doing this in quite an effective.
- 38:21Way they say, humans are much better at evaluating, what is a
- 38:24weird example and what is not and and you know obviously
- 38:28Tesla's had quite a lot of success doing this.
- 38:30So I think that's that's strong evidence that they're correct
- 38:32and I think there's good theoretical justification for
- 38:35why that's a good at so, I wanted to touch on something
- 38:41that you also mentioned which was Data flows and infra flows
- 38:47and like our sorry info information flows.
- 38:51And it seems like you, you kind of were talking about that where
- 38:55you want the right person? Doing the training, is that what
- 39:00you were hinting at when we mentioned that before hand.
- 39:03Yeah, so that's, that is another really key actually, the term I
- 39:07used earlier that I think is very Useful here is human
- 39:10overfitting, right? And I think this is an
- 39:13information flow that people don't think about very often.
- 39:16It's why it is one of the key reasons.
- 39:17I think information flows are such a helpful way of thinking
- 39:20about ml systems is that when you as a user, look at the
- 39:26result on your test set, right? And in some way, change your
- 39:30model to improve that, that is an information flow, right?
- 39:34That is overfitting, even though it wasn't done by a machine,
- 39:38even though you put a human in the The middle, right?
- 39:40It is still over fitting in the same way.
- 39:41Now, it happens suddenly, right? And it happens over dozens and
- 39:45dozens of generations, but I mean, we've all been there,
- 39:47right? Oh, dear tested, it 3.4 tested
- 39:493.5 tested 3.6, right? And and you know, I think no, no
- 39:53place. Can you see this more clearly
- 39:54than, you know, the way that by do, you know gained imagenet
- 39:57back in the day, right, where they were literally, just, you
- 39:59know, bending over backwards to try to get, you know, what was
- 40:02it, five or ten extra? You know, Ted test set runs a
- 40:05day and obviously, you know, it had a dramatic impact but You
- 40:09know, we set things up in a very kind of definitive One Way flow
- 40:14and, you know, we think it's, you know, at the same time, it's
- 40:16very important to focus on quality of the data and
- 40:20consistency of the data because, you know, models will not fix a
- 40:27broken process. They will only replicating
- 40:30working process. This has been a really really
- 40:36interesting discussion. I think because of the
- 40:38observations that you've made about how data needs to be set
- 40:42up. And where I really love to take
- 40:44this conversation next isn't talking about the specifics may
- 40:48be an example case. How Indigo has done this?
- 40:50I think a lot of our listeners in the community, you know, I'm
- 40:53sure that they're listening to this and I know I am I'm
- 40:55listening to what you're saying and I'm thinking, okay, how do I
- 40:58manage my own system based on the lessons?
- 41:00I'm learning. Right?
- 41:01And what am I doing that? Maybe I can change.
- 41:03And I would love to kind of make that a little bit more tangible.
- 41:06And talk about links above what, one of an example of having to
- 41:09close doing this. So maybe we can start with like,
- 41:12you know, what does a typical client for Indica usually look
- 41:15like maybe in terms of Industry size or use case?
- 41:19Yeah. So you know, we're Fortune 100
- 41:22kind of be FSI firms. You know we do we do broader
- 41:25stuff than that. But say, contract analysis or
- 41:29something along those lines, right?
- 41:30Her actually was take annual statements, you know, just maybe
- 41:34more folks will be familiar with those.
- 41:35They're slightly visually Rich documents where folks alike.
- 41:38Here's how things work fear. And the idea is that the
- 41:40customer says, hey, you know, we've got some tasks, some
- 41:42extraction that we want to do from this, right?
- 41:46And, you know, we want to find someone to help us do this
- 41:48extraction and we say, okay, great get us two hundred of
- 41:51these, right? We're going to help you actually
- 41:53label these two hundred that becomes sort of the experiment
- 41:55to set up. And, you know, show you how, you
- 41:59know, how well this works, right?
- 42:00But, but fundamentally the idea is they get the product in
- 42:03there. Hands, right?
- 42:04They label the 200 examples in they, you know, kind of label.
- 42:07Say, here is the information that we want extracted model is
- 42:09automatically trained in the background and then sort of Pops
- 42:12to life and turns that motion of data extraction into this, you
- 42:16know, AI augmented approach. You know, it's it's highly kind
- 42:21of composable and configurable. So, the idea is, you got the
- 42:23model as an API, right? You've got this interface for
- 42:26the labeling, right? You've got upstream, and
- 42:29downstream data hooks, right? You can plug these into message
- 42:31queues. So, you know, folks will do
- 42:33things Things like grade, you know, like a contract in
- 42:37Salesforce inject it back into their Salesforce, you I write
- 42:41and then maybe they do a correction of the extraction in
- 42:43Salesforce, but then they're sending it back to into code to
- 42:46do the actual model update. Okay, got it.
- 42:51So it's like basically you know, I'm a subject matter expert as
- 42:55you put it at the bank, I've gotten access to indigo's.
- 42:59Dataset, I take my annual statements, I drop them in.
- 43:01I do some labeling and voila, you know, I have sort of a model
- 43:05that's sitting in the background but the sort of the API that I
- 43:08interact with is basically just taking some particular inputs in
- 43:11the future. You know whatever fields in that
- 43:13annual report that I'm interested in modeling and gives
- 43:15me the outputs that I want. Yeah you know exactly and then
- 43:19you obviously you've got Lot of configurability for exactly how
- 43:22you want that process to flow, okay.
- 43:24And, and when you say like configurability in terms of the
- 43:27process, does that mean that you know?
- 43:29Okay. Now I'm the I'm the, I'm the
- 43:31analyst that has you know, another batch of 1,000 reports
- 43:35that I wanted then, you know do the sort of extraction on how
- 43:40does that how do you guys usually recommend that process?
- 43:42Because I think it's interesting.
- 43:43We talk a lot about production ization.
- 43:45This is production, ization of like a machine learning model
- 43:47solution. Yeah so it's actually the way.
- 43:50That we kind of refer to it as staggered look.
- 43:52So the idea is that there's not really a distinction for us in
- 43:57the way that we operate, right? So you load, you know, even it
- 44:00might be easier to think, think you loaded a million documents
- 44:03in it, the star right and say it's million documents.
- 44:06You're going to be adding a million documents to that every
- 44:09year, right? Because that's, I think that's
- 44:10more typical to have folks. Folks, working though.
- 44:12There's some bandwidth that they've got process at, okay?
- 44:15You start, you pick it up, you start labeling, you're like,
- 44:17okay, this is the stuff that I want to extract, right?
- 44:20And then, you know, as that as you kind of continue working
- 44:23through the queue, right, that data is automatically fed into a
- 44:26model that is helping you label faster and faster faster, right?
- 44:30And then you know you've got configurability for like hey you
- 44:33know for this field whatever just like send it through.
- 44:36I don't even want to look at it right and the corrections
- 44:39generally will then get fed into a staging model.
- 44:42So the idea is at some point you say okay like this is good
- 44:45enough for us to work production, whatever this is
- 44:46like 80% faster than it was before we're just Going to start
- 44:50using this kind of cut this Hazard as a production time
- 44:53stand. Then the corrections, just as
- 44:55you go they all get fed into the staging model, which is it
- 44:58starts as a copy, but then, you know, learns its additional
- 45:00information and then you sort of opt-in to an advancement.
- 45:03So that's why we call it staggered Loop closed, loop
- 45:06terrible idea for a thousand reasons.
- 45:08You do not want that data feeding back into the model, you
- 45:11know, it will screw your model up and then there is no method
- 45:14of recovery and everyone is sad. And so that's why that's we kind
- 45:18of use that and not not to mention the fact that Was like a
- 45:20compliance nightmare. So people then opt into the
- 45:23advances or sometimes we'll say, Hey, you know, we added a
- 45:27thousand data points, it didn't improve what happened?
- 45:29Oh hey, you know, you know Johnny has been labeling wrong
- 45:33for the past month kind of thing.
- 45:35Okay. So I'm starting to understand
- 45:37then how like your subject matter expert is empowered via
- 45:42machine learning and this AI augmentation right for their
- 45:45workflow and how that machine learning model sits in the
- 45:48backend and is gradually sort. The improved without them
- 45:51needing to write a single line of, you know, sklearn or
- 45:54tensorflow or whatever that makes sense.
- 45:56But in this workflow you know I can't imagine that every user
- 46:01that you work with is particularly sophisticated with
- 46:04machine learning and think through something like data
- 46:06drift or think through something like you know maybe you know
- 46:10they're dealing with annual reports in 2019 and 2020 the
- 46:13format changes. You know those kinds of breaking
- 46:15changes happen all the time and in machine Learning Systems in
- 46:19my context else. Our claims changed formats from
- 46:21Pair, two pair, how do you guys deal with that?
- 46:24Yeah. So they don't have to deal with
- 46:25it at all. You know, when I was describing
- 46:26the staggered Loop, right as it goes in through production.
- 46:29So one of the things that's really key is that older
- 46:33techniques, if you're relying really heavily on some aspect of
- 46:36those formatting, they were just they break, they break hard when
- 46:41things. Good actually modern techniques,
- 46:43you don't have that issue. Nearly as much, you've got a lot
- 46:46of historic variability. Where you start you you know,
- 46:49obviously you never Want to train on just one variant of a
- 46:51document that's like, yeah. I know, folks do that especially
- 46:54with templated stuff but that's exactly why you don't want to do
- 46:57that is because they drift and just breaks things.
- 46:59So, you know, we're talking 200 documents, we're talking 200
- 47:02random documents from the past, you know, decade, right?
- 47:05And then that gives you a huge amount that, you know, when you
- 47:08see a new format, it's not going to heartbreak, right?
- 47:10You do see data Drift But that turns it into sort of this
- 47:12gradual thing over time, which then means that by incorporating
- 47:16it into your staging model over time.
- 47:18It's not a problem right? You know so long You then, you
- 47:20know, you can decide how often you want to look at that stage,
- 47:23Remodel and flip it over to production, because that's
- 47:25what's going to capture the data drift folks.
- 47:28Usually don't need to do it for like years because it starts.
- 47:33But, you know, I mean, it takes five minutes if you want to, we
- 47:37find folks. Often do it will like monthly or
- 47:39quarterly or something? Okay.
- 47:43Got it. So basically what you're
- 47:45describing is almost that the in decode tool encapsulates, a
- 47:49process in terms of thinking about data into models into
- 47:53model versions and improvements deployments.
- 47:57Yeah, I love that. What you were talking about
- 48:00earlier, and that idea of like models, won't fix the broken
- 48:04process, they're only going to replicate a working process, got
- 48:11it. Yeah.
- 48:11And I think this is really Is really is a nice lesson for us
- 48:14to all kind of coalesce around because a lot of times what I
- 48:16think in the community we talk about is process, right?
- 48:20And how the process differs that companies given the needs, you
- 48:23know, compliance could be a need security, could be a need or
- 48:25just, you know, our product is a bit more complicated than
- 48:28something else. And that's what makes the
- 48:30process of building and tuning and, you know deploying machine
- 48:34learning models hard. Yeah.
- 48:35And I think there's just maybe one one other note there which
- 48:38is that I think a lot of people a lot of times people don't
- 48:41recognize that The cost of making a bespoke change to your
- 48:45ml model. And this is, this is exactly the
- 48:47case, right? If you did anything at all to
- 48:50your model, that was specific to the prior version, right?
- 48:53Any specific ETL process, right? That breaks really hard, right?
- 48:57And then when you've got the new version, everything falls apart.
- 48:59So that's one of the things that's really, really key.
- 49:02Is that the way that our process works, you are not allowed to do
- 49:05that, right? You're not allowed to apply
- 49:07custom ml. Sorry custom like ETL processes
- 49:10to this workflow, right? You can do You know and pricing
- 49:13for like what gets presented to the human but that's the only
- 49:16way that you actually can allow this sort of automatic upgrading
- 49:20to happen, right? Otherwise you need a data
- 49:22scientist to look at it every single time, you know, when you
- 49:24look at these systems where you've got, 1,500, regex, has
- 49:27you're like, oh, well, works really good for X.
- 49:29It's like, yeah, but no one knows how it works, and if
- 49:31things change, you will never recover it.
- 49:35So is it fair to say that your perspective on the modeling
- 49:38question is too, kind of almost put the model in like a lockbox
- 49:43and say like don't touch this unless you know, the data flows
- 49:47are kind of clean. Yeah, I think that's absolutely
- 49:50right. I think that, you know, people
- 49:52often think about model understandability and explain
- 49:54ability is like I should be interrogating model weights.
- 49:57I think that's the absolute wrong way to think about it for
- 50:00a hundred different reasons. I think the best way to think
- 50:03about it is that these These are programs that we are commanding
- 50:07and directing with data. And so the explanation is that
- 50:10you are looking for, are in your data, they're not in your model.
- 50:13And, you know, in the model, you're just chasing Phantoms,
- 50:16right? When the data actually has the
- 50:18answers, that's really cool. I really like that way of
- 50:21thinking about programming data rather than programming models
- 50:24because at the end of the day, that's Tim that's the real
- 50:26input, right? It's not this, you know whether
- 50:29your layers are, you know, they have you have nine versus 10, it
- 50:33doesn't really make a difference.
- 50:34Difference. Unless your data really is is,
- 50:37you know, was correct as consistent as you put in it goes
- 50:40yeah it goes back to the whole idea of synthetic data and how
- 50:42just throwing more synthetic data at?
- 50:44It isn't going to fix the problem, you know, although you
- 50:48may think it will know. It's I mean there's this joke,
- 50:52right? Which is if you have 24 hours to
- 50:53build a model, right? How do you do it?
- 50:56How do you build the best model? You spend 23 hours, labeling
- 50:58data and one our building. I'm all right.
- 51:01And that's the answer and I think a lot of people like
- 51:03they'll spend Like years, trying to figure out how to get out of
- 51:08labeling, 50 data points and it's Bonkers to me that's a
- 51:12great Point, honestly. Also, because as a
- 51:14machine-learning engineer I have been feeling lately that I have
- 51:18been criminally under exposed to data engineering.
- 51:21And like now I'm putting all my time like learning the history
- 51:24of databases and like learning like how different like Data
- 51:27Warehouse Systems in there because like that's where all
- 51:29the action actually is like this notion of modern data stack and,
- 51:33you know, I completely We agree with your notion that the
- 51:35modeling part, it kind of feels like, you know, it feels like
- 51:40the, you know, the the the outside there has been limits,
- 51:43not the limiting factor for us, that's how I talk about.
- 51:45It was the limiting factor for several years ago.
- 51:48Today. The models are so sophisticated
- 51:51and capable that data is our limiting factor, right?
- 51:54Yeah. And you know I don't even want
- 51:56to go far, go ahead and get dressed.
- 52:00It's funny though, too. Because nura EPS is packed.
- 52:05At like conference gets a lot of attendees and it feels like the
- 52:11shift is happening especially as more and more people are talking
- 52:15about it. We've interviewed quite a few
- 52:16people on here who are trying to scream from the mountaintops
- 52:19that this is the thing. And then you have Andrew Yang
- 52:22who's obviously making a lot of waves talking about these kind
- 52:26of things but there's something inherently interesting.
- 52:31It's like a dog with a bone data scientists and Eels.
- 52:37Yeah. I mean, it's a, it's very
- 52:39rewarding and very fun to watch the number go up.
- 52:42But I do, I was really, really impressed with opening
- 52:46isomerization work recently. They were kind of like jumping
- 52:49on board with this notion of like, hey look what did we
- 52:51create? It was a new way of doing
- 52:53supervision and it was awesome. That's really cool.
- 52:57I'll have to check that out. I have one last statement to
- 52:59make. And one last question, I think
- 53:01statement being, I think, you know, We are we talk a lot in
- 53:05the community about machine learning engineering and how it
- 53:09differs in a similar software engineering, right?
- 53:12And you know, if you think about it, I think, you know, maybe the
- 53:14future of this whole thing, looks like your software
- 53:17Engineers continue to deal with code and machine learning
- 53:19Engineers are approach data programmers, right?
- 53:22Where they are thinking about their applying the mindset of a
- 53:26data scientist in terms of interrogating data and thinking
- 53:28about data. But then using the powerful and
- 53:31sort of expressive tools that software Engineers have
- 53:34available And those kinds of tools are coming out now, you
- 53:36know, as this whole production ML and I'm a large movement
- 53:39moves forward. Yeah, I totally agree.
- 53:42I think the data scientists of the future is, you know, in
- 53:46data, architect first even make sense.
- 53:50Yeah. They're people that are
- 53:50designing data intensive systems with a strong for the
- 53:53statistics. Yeah.
- 53:55Yeah. Because the statistics in like,
- 53:57how the training clothes and how the information flows.
- 53:59I mean that is that is just as important as what database
- 54:02reviews, right? Right?
- 54:05So we're coming up on time here. This has been a great
- 54:07conversation and I think just the last question, I'd really
- 54:10like to ask is, you know, with your wealth of knowledge, your
- 54:15experience like building sort of data intensive systems in a
- 54:19number of different contexts using unstructured structured
- 54:22data. And with where you see the field
- 54:23going, what would you tell a machine-learning engineer in
- 54:272021, who has sort of a mountain of data?
- 54:31But it's kind of trying to understand like how to go about
- 54:34Building A system that can be that can be robust scalable and
- 54:39reliable. Like what advice would you give
- 54:41to that person? In terms of what the focus on
- 54:43Focus their time on? I would say that the number one
- 54:47thing to focus on is making sure you've got a good problem
- 54:51definition and what I always say is people want ml to be like a
- 54:55genie that shows up and it's like in Oracle it does
- 54:58everything perfectly even putting aside to the fact that
- 55:01that's not how it works. Imagine it did work.
- 55:04That way. How would you know that that's
- 55:07always what I tell people like how would you know that it did
- 55:09that, right? So you need to start with good
- 55:12consistently labeled data, right?
- 55:14And then the second thing that I would just say is like recognize
- 55:18that these are really big enterprise-grade, you know,
- 55:23difficult systems to put together at sort of the very
- 55:26edge of what is possible from a complete perspective, right?
- 55:31You cannot do it as an individual person, in an
- 55:33Enterprise, right? Maybe like it.
- 55:34Startup kind of demo thing, you know, perhaps but it's
- 55:37recognizing that it is not trivial that folks, will, you
- 55:42know, a demo is really, really easy to stand up, but you know,
- 55:45we see folks take three years from demo to production and
- 55:50those are the lucky ones because they get to production, right?
- 55:53Like, look at the failure rates, like the failure rates are real,
- 55:56they are cautionary, tales and just you need help to do it.
- 56:01Well, I would say and so look for help.
- 56:04And there's a lot of help out there.
- 56:06I'll say as well. Awesome fascinating man.
- 56:11This talk has blown my expectations way out of the
- 56:17water. I don't know what I was coming
- 56:19in here with but it has gone above and beyond that is for
- 56:26sure and I thank you Slater. There were so many gems in here
- 56:30and I'm so happy that we got to geek out on this stuff.
- 56:34It won't. Is something that I was not
- 56:36expecting and next time hopefully I will not be as
- 56:41jet-lagged and I can hold my own a little more but I think Vishnu
- 56:46did an awesome job fishing. You got any final comments
- 56:49before we sign off. I mean, I just want to say thank
- 56:52you again Slater for joining us to everyone in the community.
- 56:55I would say, like, you know, these are really interesting
- 56:59lessons about unstructured data. Your experiences.
- 57:01In terms of like making data useful to machine learning
- 57:04systems, that I would love to hear your thoughts on, on the
- 57:06slack in the discussions channel in the MLS questions, answers
- 57:09Channel and a quick shout-out to Slater's Twitter has website
- 57:14blog, you can find him online Slater, is there anything else
- 57:18you'd like to say to the community in terms of where they
- 57:19can find you or what to talk to you about?
- 57:21I was lucky enough to grab Slater dot website and so I'll
- 57:24try to put a blog post up here soon.
- 57:27No, I mean well thanks so much for having me.
- 57:29It was a total pleasure like right back at you, you know,
- 57:31comes the tons of fun when I and you know, jet lag, sometimes
- 57:36make conversations more interesting.
- 57:37So you know, I hope it's as good as you know what you look back
- 57:40at it. But yeah, awesome.
- 57:42This has been really cool, man. I appreciate it.
- 57:45Everyone that is still sticking around checkouts later stuff.
- 57:49Give us a like subscribe. Add a comment or a review
- 57:53wherever you are listening in on.
- 57:55And we'll be back next week for another coffee session.
- 57:59Thanks y'all.