Latest / Agentic Conversations (formally mlops.community) / How Explainable AI is Critical to Building Responsible AI // Krishna Gade MLOps // Meetup #53
Transcript
- 0:16All right, so before we start this Meetup, I want to do a few
- 0:20things that we don't normally do.
- 0:23I'm gonna call out Fiddler AI because they are an incredible
- 0:28support to the ml Ops community. Really, and I think it is worth
- 0:32mentioning that they have sponsored the community.
- 0:36And with that leap of faith, it helps the community grow.
- 0:41It helps the community be what it is.
- 0:44So I want to thank them from the bottom of my heart.
- 0:47They are one of the first sponsors and they're taking the
- 0:51chance on us. So that being said, let's get
- 0:55into this, talk with Krishna. It was an incredible Deep dive
- 0:59on. Unexplained ability.
- 1:01And why we need it? What it is?
- 1:02All of that responsibility when it comes to machine learning.
- 1:08There we go. And then there is another thing
- 1:12that is pretty cool about today's meet up which is Krishna
- 1:16said he is going to give away some Fiddler schwag to some of
- 1:21the best questions that are asked throughout the meet up.
- 1:25So if you have any questions today, throw In the chat and
- 1:31you're going to enter yourself into the raffle to win some
- 1:34swag. That's not a bad deal.
- 1:37If you if your, I might ask some questions too, because I want
- 1:41some Fiddler shrug, so that's a good thing then.
- 1:45Yeah, that's it. Just just kidding asking,
- 1:50questions is my job. That's what I'll be doing this
- 1:53whole time. So today, in case you missed it,
- 1:56we are here to talk about how explainable aai is critical to
- 2:01building responsible Ai, and let's start first before, we
- 2:06jump ahead with any of that. Let's start with you.
- 2:10Krishna, I know that you have a long history in this explainable
- 2:16AI world. You were one of the people that
- 2:21decided to put at Facebook, why am I seeing this?
- 2:25And then later that Trend caught on, we can see it in most large.
- 2:31Platforms. You have some kind of explain
- 2:34ability that tells you why you're seeing something when
- 2:38there is machine learning involved and you also have gone
- 2:44off and you said well, you know what, I like that idea.
- 2:47So much, I want to start my own company around that and that is
- 2:51Fiddler is doing Monitoring Solutions and they're also doing
- 2:56explain ability and so that's absolutely incredible.
- 2:59But Before we jump into any of that in the talk theme and all
- 3:03that, we came here to talk about today.
- 3:05Can you just give us some background on yourself?
- 3:07How did you get into machine learning?
- 3:09How did you even get into Tech? And absolutely, thank you
- 3:13Demetrios, thanks for the opportunity.
- 3:14Thanks everyone for joining the call.
- 3:16And first up, it's our pleasure to be part of ml Ops Community
- 3:19its rapidly growing community, so feel free to join and very
- 3:22super interesting questions and people from coming from various
- 3:26different, use cases in operationalizing ml.
- 3:30So, yeah, I mean II know. I'm like an engineer by
- 3:32background. I came to the states in 2001 to
- 3:35do my grad school from India. And after that, I landed my
- 3:40first job at Microsoft working, as a software engineer at Bing,
- 3:44which is actually where I got exposed to machine learning.
- 3:48So being was building this search engine to compete with
- 3:51Google. And one of the things that they
- 3:54wanted to do was to invest in, you know, complex machine
- 3:57learning algorithms, especially neural networks back Back in the
- 4:00day, this is like, you know, early 2000s where they had a,
- 4:03you know, very good, like set of Microsoft researchers, you know,
- 4:06at the time that, you know, we wanted to be working with them
- 4:10to kind of product ice, neural networks, every single layer
- 4:13neural networks, to layer neural networks.
- 4:15Not very complex, neural networks, but still, you know,
- 4:17quite complex to the state-of-the-art in our village
- 4:20party house with them said the time.
- 4:22So I remember at the time when we were, when we deployed our
- 4:26first neural net, I remember the my like our developer manager
- 4:30Just basically Express this thing there.
- 4:33Oh we just lost control over such quality algorithm because
- 4:36until that point we had a very simple configuration file with
- 4:40like, wait specified for each parameter and anyone could just
- 4:43see like how the search ranking algorithm would work, right?
- 4:46But the moment we switched it to a simple to layer Network.
- 4:50We just became a black box. So the very first explain
- 4:53ability to it wasn't, it wasn't even called him.
- 4:55Explain ability was a debugging tool that I and F another
- 4:59developer. Build it was called query
- 5:01program and I think it's one of the first query debugging tools
- 5:05that I think being still uses. It, basically helps you to kind
- 5:09of find out why you're seeing a particular search result for a
- 5:12bring such quality. So my foray into explain what he
- 5:15started. Kind of unknowingly way back,
- 5:17almost 15 years ago and ever since, you know, I've worked,
- 5:20I've been working in Tech of worked in, you know, various
- 5:23different parts of like being like, you know, and the nice
- 5:27thing about working on a search engine, is you work in Like kind
- 5:30of a cross spectrum of like distribute systems algorithms
- 5:33and, you know, scalability you get exposed to a lot of young
- 5:35Concepts there after that. You know, I came to the Bay Area
- 5:39worked in a bunch of, you know, social media companies, like
- 5:41Twitter, Pinterest and Facebook, where obviously exposed a lot
- 5:44of, you know, large-scale data analytics of it and and sort of,
- 5:48you know, how do you make sense of the data?
- 5:50And it is at Facebook where I kind of, you know, life came
- 5:52full circle where you know, Facebook were joined Facebook
- 5:55around 2016 and, you know, we and the Time by the time
- 5:59Facebook We had invested quite a bit in machine learning.
- 6:01We had, we had the FB learner system that people were using
- 6:05to, you know, create machine learning models.
- 6:07It was like, kind of our machine learning platform and news feed,
- 6:11which is a team that I was in, was, was a big consumer of it.
- 6:14And so, we would build lots and lots machine learning models
- 6:16and, and very complex ones in a sparse neural networks boosted
- 6:20trees, you know. And at the time, you know, we
- 6:23didn't we kind of sort of lost this ability to diagnose these
- 6:28questions that would come from, you know, Issues or internal
- 6:31employees and especially after the whole, you know, 2016
- 6:34elections and all of the other things that came after, you
- 6:37know, Facebook, we felt that we needed you needed to increase
- 6:41more transparency among our algorithms first internally as
- 6:44press, especially, and also, for external users.
- 6:46So that's kind of where I said we started working on so I was
- 6:49leading a team called feed ranking platform, which is
- 6:52providing the infrastructure for the ranking engineers and news
- 6:55feed and and so part of our responsibility was to create
- 6:59toolkits to To debug and diagnose machine learning models
- 7:02and, and help them expand, and explain them to a wide variety
- 7:05of stakeholders starting with developers first.
- 7:08And we would have questioned would get questions all the way
- 7:10down from Zuckerberg. Sometimes, you know, and why am
- 7:12I seeing this story in my feed? Or, you know, why is this story
- 7:15going viral? And when we, and previously
- 7:17before these tools, it would take a long time for developers
- 7:20to do this debugging exercise, right?
- 7:22And it could be like, you know, there could be a number of
- 7:24problems that could be going on. It could be, you know, a bad
- 7:27model got ruled out, you know, kind of Facebook at this
- 7:29continuous. Machine learning update process
- 7:31and or it could be that, you know, someone was in an
- 7:34experiment that they were not supposed to be right.
- 7:37Like, and so there is a be testing of models happening or
- 7:40it could be some bad data pipeline, that's and Pat
- 7:42features. So and so a lot of these things,
- 7:44you know, helped us, you know, improve the infrastructure
- 7:46improved like the sort of the operations of it.
- 7:49And so that's that's kind of what I felt at the time.
- 7:52You know, to kind of just to continue.
- 7:54Your question is sort of, you know, that's when I felt that in
- 7:58a lot of work in machine learning to that.
- 8:00That point was, how was most was happening more around, you know,
- 8:03helping data scientist, create better models, like, you know,
- 8:07accurate models, Automated machine learning platforms, were
- 8:09coming out in Osage maker, just launched around that time.
- 8:11And, and what could be further? No one was actually looking into
- 8:14this aspect of, you know, monitoring and debug ability of
- 8:16machine learning models. And that's kind of what prompted
- 8:19us to start the company. That's great, man, and there is
- 8:23something that you said there at the beginning of your journey,
- 8:27that I think is fascinating. Only because you were doing it
- 8:31in the early 2000s, you said yeah, it was like two thousand,
- 8:35five ish, which we launched two layer Network and we had to
- 8:39build Curry problem. I do beg.
- 8:41You, I mean, you said that this is what's incredible to me is
- 8:44that everything was fine when you were doing it behind the
- 8:49scenes, but then when you put it out into the wild, it was like,
- 8:53whoa, we just lost our baby, correct, it's no longer under
- 8:56our control. Correct?
- 8:58Hey and especially for the leadership but right, where you
- 9:01can just see hey like you know how what's which feature is
- 9:03contributing, how much so they can, they can you have do you
- 9:05want to have that Assurance in how?
- 9:07How is the system working even if it's working fine or if it's
- 9:10not working finds? Yeah, yeah, that's incredible to
- 9:14think about. So let's move on to explain
- 9:18ability and responsibility. I know there are they are Hot
- 9:24Topics right now, especially, I think, even more Because the
- 9:29social dilemma came out and more people are starting to focus on
- 9:34the governance of machine learning and also the explain
- 9:37ability and the responsibility of all of this.
- 9:41So I think we should probably start just by talking about what
- 9:46is explain ability, besides you saying, okay, if I'm a consumer
- 9:52of a Newsfeed, I can just click a button and know why I saw some
- 9:58are. Tickle right.
- 9:59What else is explain ability. Can you break that down for us?
- 10:02Absolutely. So I think fundamentally, if you
- 10:04think about if you take a step back, the new software artifact
- 10:09that is getting operationalized today is the machine learning
- 10:13model, you know, for example, you know, back in the day, you
- 10:17know, most of the software used to be, you know, like just like
- 10:20you know, code that you write and you can actually see what
- 10:23you've written, you can debug it line by line and you can
- 10:27actually Nate and by spending time at it, right?
- 10:31But the new start for software artifact that is going into
- 10:34production, is this probabilistic entity or a
- 10:36stochastic entity called The Machine learning model and there
- 10:39are few aspects of it there that actually make it interesting.
- 10:42One is it's a black box. Even a simple, logistic
- 10:45regression model. It's not something that you can
- 10:49open up the code and read all the rules, right?
- 10:50Like, even if even if there's a decision tree you cannot see.
- 10:54You know, what rules could invoked when a particular
- 10:56prediction was made. So first of all, it's a black
- 10:59box entity that you cannot actually open up and see,
- 11:02secondly, because it's a stuck at a spastic entity, Its
- 11:05Behavior changes, based on the data, it's receiving, right?
- 11:08So you may have trained it with certain set of data, and when
- 11:12you actually, you know, actually operationalize it, you may, it
- 11:15may be getting in our different types of Data sets.
- 11:18So therefore, its predictions can be, you know, something that
- 11:21you may not like, you know, may not be able to guess, you know,
- 11:24even if they can be across a bunch of and they can be spread
- 11:27across a bunch of range. So so therefore these two things
- 11:31of not like I wouldn't call it non-deterministic but kind of
- 11:35you know, it's it's not theoretically not native Mystic
- 11:37because it has a finite range but it still kind of non
- 11:40deterministic from a human point of view, the way it behaves in
- 11:43production and the fact that it is a black box, those two things
- 11:47Make it a very hard problem in a hard, hard thing to
- 11:50operationalize. Now, if you operationalize it
- 11:53without properly testing, these things probably understanding
- 11:57how these models. Then there is this whole quote
- 12:00unquote, irresponsible practice of machine.
- 12:03Learning could come into picture, especially if you are
- 12:06models are being used for some high stakes use cases, right?
- 12:09So, for example, if someone is using machine learning models
- 12:13for issuing loans, right now, we all know that You know, like
- 12:19things like jobs, you know, getting a loan approved, getting
- 12:23a house, mortgage approved. The critical aspects of, you
- 12:26know, human lives and Society right now.
- 12:28It can be life-changing and if you get that particular job or
- 12:30it can, if you can get like, you know, that loan sanctioned or
- 12:33whatever clinical diagnosis and all.
- 12:35So for those high stakes, uses machine learning models are
- 12:38being applied because, you know, you have a lot of data collected
- 12:42and you have a lot more information about the users and
- 12:45you want to, you know, provide them More accurate.
- 12:48I mean, in the good spirit only, so since you want to provide
- 12:50more accurate X, memo experience to the customer and you can
- 12:53actually simplify your operations and what not?
- 12:56But if you do not actually know what you're doing with these
- 13:00models, if you don't understand how the model is working, and if
- 13:04you have not properly, you know, validated it tested in monitor
- 13:07it, then you cannot be, you know, saying that you have a,
- 13:10you know, you're sort of, you know, make your systems are
- 13:12making responsible decisions, right?
- 13:14So, so the whole concept of responsible AI Is to ensure that
- 13:18a particular set of processes are sort of implemented.
- 13:22It's a process framework so that you can think about, you know,
- 13:25when you're, you know, tip training and deploying machine
- 13:27learning models, what set of things you need to think about,
- 13:30you know. So, starting from the training
- 13:32data set assessing, you know, by season training, data sets, and
- 13:36then validating machine, learning models.
- 13:38And then, once you validate them, monitoring them.
- 13:41And being able to debug when people ask questions and having
- 13:44those capabilities will set you up.
- 13:47For a responsible way I practice.
- 13:49And so that's kind of, you know, how you define within that.
- 13:52Explain ability becomes a core concept because if you do not
- 13:55understand how the model is working, that's the fundamental
- 13:59part of it, right? You know, someone asking how did
- 14:01you make this prediction? If you do not understand it,
- 14:03then you can be sort of, you know, you really don't know how
- 14:06your system is working, right? And and so so that, so
- 14:09explainable to becomes the center of it in its the coil
- 14:12becomes a Cornerstone technology to actually have in place for
- 14:16you to actually be Responsibly I introductions.
- 14:19So when you're looking at the responsible AI, Of course, the
- 14:25use case of these high-stakes machine learning models is very
- 14:30obvious, right? And I know like, I think the
- 14:33epitome of this is the there's a something in Florida where the
- 14:38judge decides, how, who gets out on bail through to a machine
- 14:42learning model, right? That's like, the epitome of a
- 14:45very high stakes, machine learning model, and you want to
- 14:48be able to explain why it's making those decisions.
- 14:51Turns out it was pretty biased. And I think everyone's heard
- 14:55that story before, so we don't need to go too far into it.
- 14:57But what I want to know is for those use cases that aren't as
- 15:03high stakes. Do you still feel like it is
- 15:06important? I hand and how high up the food
- 15:10chain. Like is it just something?
- 15:12Because I think about the people in the community that are trying
- 15:15to just get a model out and then you tack on, oh yeah, you want
- 15:20to make sure it's explainable. You want to make sure it's
- 15:22responsible. I have my own personal thoughts
- 15:24on this. Like you shouldn't be putting
- 15:25something out unless I can explain and it is responsible
- 15:30but I'd love to hear what you think about that too.
- 15:33Yeah, so increasingly what's that?
- 15:34What's happening is? Use cases that you have never
- 15:37thought would have these kind of implications are emerging.
- 15:41So obviously we talked about you know, the standard set of use
- 15:43cases the credit underwriting, you know, in our clinical
- 15:46diagnosis you know recruiting which directly affect affect
- 15:49human beings need to be, you know, much companies, you know,
- 15:52Finn I need to be putting in Once their practice and we have
- 15:55seen all the incidents whether the Apple credit card, you know,
- 15:59gender bias, incident or the Amazon recruiting tool, you
- 16:02know, kind of, you know, bias incident or in many many
- 16:05incidents in the past. You know, that we have you know,
- 16:08companies had to roll back to soar had to kind of, you know,
- 16:11do PR correction or kind of in a regulatory probes happened.
- 16:15You know what, not right. But if you kind of think about
- 16:18it, like there is this UK logistics company called eluru
- 16:23and they got sued by an Italian code that they were actually
- 16:26issuing these, you know, sort of a delivery orders for different
- 16:30people at different times and they were actually being biased
- 16:34towards against a certain set of people.
- 16:36Now, you wouldn't think Logistics as a, you know, in the
- 16:38previous as a company that would actually need to think about
- 16:41responsibility, I before it. But if you step back, you know,
- 16:44we are actually using, you know, all these, you know services
- 16:47like doordash uber all the time but there is an element of, you
- 16:51know, a are these algorithms working in a fair manner Right.
- 16:55Like are these, I have are these basically trying to sort of you
- 16:58know you know provide sort of employment in a fair manner,
- 17:04probably give it give, you know, orders in a fair manner.
- 17:07So there is a hole that mean it's it.
- 17:08Once you open up it, it becomes like a can of worms, right?
- 17:10You know, you can you can say the same thing about say housing
- 17:14market place company, right? So so I think you can see that.
- 17:17There's so many hidden biases that you can actually, you know,
- 17:20uncover even in, you know, in use cases where you a not they
- 17:25do not directly touch human beings.
- 17:27Now, having said that if you are just using machine learning for
- 17:30like, you know, something that is completely internal.
- 17:33That is like literally it's not touching human beings at all.
- 17:36It does not have any implication of it.
- 17:38Would you still need monitoring explain, buddy.
- 17:40I would argue that, you know, you would, if you, if your
- 17:44models are critical for your business, right?
- 17:47Let's say if your model is actually critical for your
- 17:49business, not something you're doing some for your own
- 17:51research, you don't you want to know how it's working.
- 17:54Don't you want to understand how how it's actually making its
- 17:57decisions. I think it makes, it makes it,
- 18:00you know, and our experience, what we believe is you can
- 18:02actually use these insights to make the modeling model itself
- 18:05better over time, right? The ultimate goal of it is one
- 18:08is obviously to explain it to others who are asking your
- 18:11question, so that you have these in this insights but then also
- 18:14use these insights to make the model better, right?
- 18:17So now we are seeing this emergence of whole model
- 18:19robustness and adversarial, testing the whole sort of
- 18:22research Fields emerging where now how Can you use explanations
- 18:26to make like the model better? Right?
- 18:29And you know, one of the customers would be working with
- 18:32is, you know, is basically trying to use like false
- 18:35positives coming out of their model and then using
- 18:39explanations for the false positives to kind of, you know,
- 18:42derive, you know, like sort of synthetic training example so
- 18:47that they can train like a dress, that false positives, a
- 18:49segment of false positives and make the model better.
- 18:51So there are multiple use case of explain body not just
- 18:53explaining to Third party but also to further our own sake to
- 18:57make the model better. Right?
- 18:59Can we dig into that? Use case real fast.
- 19:01So the false positive is coming out and then they're going back
- 19:06in their training with that false positive to not have that
- 19:09false positive again. Correct.
- 19:11So I can I can name this customer has a very high-profile
- 19:14customer but let's assume let's assume this scenario.
- 19:17Let's assume the simple fraud case scenario.
- 19:19So you know you have a fraud model it is detecting fraud.
- 19:24And it has a set of false positives.
- 19:26Now, first of all, you want to know when you actually running
- 19:29model in production are about to launch it, you want to know what
- 19:32are all the failure scenarios? Which segments of data.
- 19:35It's actually not going to predict as well, right?
- 19:38And so explain ability and to like Fiddler can help you
- 19:42uncover in a, which slices of the data is the model, not going
- 19:46to is not performing well on your own train and test sets.
- 19:50Now, you can actually also do it in production when you're
- 19:53actually, you know, you can say let's I want to run this model
- 19:55and observed it over a week or last month and I've seen you.
- 19:59These are the cases, my humans have labeled.
- 20:01These are all false positives right now from those false
- 20:04positives, you as a developer in the past, what you would use you
- 20:07would actually look at and detect patterns to see.
- 20:10Okay? This is where the model is
- 20:12failing. You know, for example, people
- 20:14coming from in a transactions coming out of, you know, San
- 20:17Francisco from this neighborhood are being classified as fraud or
- 20:21transactions coming from. Nevada from this, you know,
- 20:23region are being cast. Is divided as fraud or whatever,
- 20:25and you try to detect those yourself as a human and then try
- 20:28to go and say do we have enough representation of those in
- 20:31positive examples and negative examples?
- 20:33You know, because they are all misclassifications and can we
- 20:35can we can we can we kind of train the model so that they can
- 20:38actually learn from it right now that process you know it's
- 20:43harder to do when you have a lot of features when your model is
- 20:46very complex. When you do not know the reasons
- 20:49how the model is predicting, but imagine if you had model that is
- 20:54actually Not explainable D, can give you attributions.
- 20:56We don't get. These are the reasons why these
- 20:59transactions are classified as you know, fraud, but they're not
- 21:03fraud, right? And so now, you can actually
- 21:05group those attributions and from there, you can have these
- 21:08clusters of attributions which will give you these, you know,
- 21:11Common sets of reasons which can then, you know, help you, you
- 21:14know, come back and say, okay, what, where do I get, you know,
- 21:17what's the problem? Is it a feature?
- 21:20Do we have good features for these set of, you know, people
- 21:23do. We have enough training?
- 21:24Samples right? Or is the model, not good
- 21:27enough, you know, for these type of things.
- 21:29So we may have to train a different model architecture.
- 21:31Maybe we have to go for our instead of one single model we
- 21:34have to build like an ensemble of models.
- 21:36So those are the things that you can actually do it and this is
- 21:38very common practice in, you know, in like Union companies
- 21:41like Facebook, you know, where we would basically when we try
- 21:44to look at a model performance, we would look at it holistically
- 21:47but also look at into into segments of it and when we in
- 21:50friend and you can use the same model may not perform well
- 21:53across all regions. It's very common for people to
- 21:55build these ensembles of models so that it can address like the
- 21:59weak spots within the data and then they all come together to
- 22:01make a decision. Right?
- 22:03So explain ability helps you kind of, you know, get these
- 22:05insights, you know, do this at scale instead of a human going
- 22:08sifting through the data and, you know, collecting patterns.
- 22:11Yeah, and it feels like if it is a human doing it, there's a lot
- 22:16more room for error. Okay.
- 22:18And a lot more, it's almost like bias could be introduced or
- 22:23theories could be. Ooh, stand.
- 22:25Then they have no basis in reality.
- 22:27Yeah, I mean, you have to have an expert human being.
- 22:29I mean, you machine learning is part art, part science.
- 22:31That's the reason right. You know, you have this, you
- 22:32know, a machine learning. If the subject matter experts
- 22:35who some of them are in have this really good intuition of
- 22:38what would work, but not doesn't work but what will happen is you
- 22:41know, tools like you know, explain ability to is can
- 22:43actually you know provide these insights for a wide variety of
- 22:45people show that you know, a lot of data scientist.
- 22:47Lot of developers can actually, you know, take advantage of it
- 22:50and then you know, make sense of make sense of how do they how do
- 22:52they address the mental model will and whatnot?
- 22:54So that's, you know, I think, I mean, I believe that most
- 23:00humans, you know, want to do the right thing.
- 23:02Especially the developers who want to like, you know, are
- 23:04doing machine learning. And so there's no like people
- 23:05are not purposefully gaming system, right?
- 23:08But there could be, you know, issues where they make errors,
- 23:12you know, you may have not, you know, you may have not looked at
- 23:15the training data set. You were not looked at if it's
- 23:17actually having enough like samples for each type of user or
- 23:21each type of case and whether that's actually bias, I think
- 23:25that could actually affect your kind of use case from a bias
- 23:28angle or in another way, it could actually just affect your
- 23:31model from a performance angle. Right?
- 23:33In the fraud example, in which not being will not be biased,
- 23:35it's just it. It's Miss predicting, you know,
- 23:38transactions, coming from Two Cities, you know, to be like
- 23:41fraudulent and and that it's just probably a performance
- 23:44thing performance Improvement problem.
- 23:45Whereas if it's happening with like it's affecting, like a
- 23:48whole gender, like a whole set of population coming from a
- 23:51certain place, you know, to be like all fraud, then that Could
- 23:54that would just translate into the bias from it's the same
- 23:57thing but you know you know, depending on the context it
- 24:00becomes like a performance issue or a bias issue.
- 24:03So do you need this subject? Matter expert or a someone who
- 24:10is very Advanced to be able to set up what the explain ability
- 24:15tool should be looking for at first?
- 24:17Or is it something that's plug and play?
- 24:19And it will know when it like, latches onto the model.
- 24:24So the goal is, I mean, the goal for companies like us to fulfill
- 24:27it relates to provide as many insights as possible.
- 24:29So that, you know, we, you know, we can actually make like data.
- 24:33His life easier, right? So you can actually, by
- 24:35developing provide your debug ability to these things, even if
- 24:38you know, not just the export data scientist.
- 24:40But also like, you know, more Junior data scientists on their
- 24:44team can also learn from these insights, and make start making
- 24:47models much better, right? So that's that is the goal.
- 24:50And eventually, you know, right now like our platform supports,
- 24:53you know, for example, you being able to like slice and dice data
- 24:56and explain, you know, parts of the data with your model but
- 24:59also, you know, in the future we may be also like Looking at, you
- 25:03know, like kind of said, you know, recommending sizes, you
- 25:06know, these slices are actually not performing well for your
- 25:08model for now, you and sort of automatically providing
- 25:11recommendations. So you can go and actually look
- 25:13at those pop, those flash those slices and actually address
- 25:16Performance issues and that is super cool.
- 25:21I see some questions coming through in the chat.
- 25:23So there are some people who want some schwag.
- 25:26Remember if you asked a great question, you are entering to
- 25:30win some Fiddler AI schwag Big Krishna has been kind enough to
- 25:35give out some schwag to select few.
- 25:38That ask the questions. Now, let's see here.
- 25:41This is an awesome question from shabby, can we measure, explain
- 25:46ability where measure the accuracy of the explanation?
- 25:50Do you think that we need such metric to regulate sensitive
- 25:54models? Yeah, so very good question, you
- 25:56know, evaluating explain ability, algorithms is a very
- 26:00hot topic and and research today.
- 26:03You know, first of all, what what are the things that you
- 26:06want to evaluate on, right? You know, there is you know,
- 26:09there are many things, right? So for example, is the one of
- 26:13the things that you want to care about is is the explanation High
- 26:15Fidelity? You know, for example are you
- 26:18making up an explanation or is it actually a high fidelity
- 26:22toward the model is actually trying to do, right?
- 26:26And so that's very important and then is the explanation
- 26:29intelligible, you know, is it actually for me as a favor for
- 26:32Human on I understand it, right? And so, so there are various
- 26:36ways to evaluate it, you know, we are also sort of in working
- 26:40on, you know, coming up with own metrics.
- 26:41One of the things that in that is actually shining through the
- 26:44explain will go. Algorithms is some of these
- 26:46algorithms, especially the ones that are coming out of the class
- 26:50of attribution based algorithms. So they all come to this family
- 26:53of shapley value based techniques.
- 26:55And so the nice thing about the shapley value based techniques
- 26:57is that they have this sound, you know, game-theoretic
- 27:01axiomatic principle. So they Have, you know, certain
- 27:04axioms that, you know, theoretically proved by, you
- 27:06know, this sort of economists in 1950s that actually help us, you
- 27:12know, for example, you know, Ash.
- 27:14So I just maybe getting into a little bit of inertia values
- 27:17here. So shopping values, was
- 27:19essentially designed to sort of thing in Game Theory, to
- 27:23basically take like a, a no profit of a game and split it
- 27:28into rewards among the players. So it's so, for example, if you
- 27:31only say three people come together, start a company.
- 27:33In the company starts making profits, how do you take the
- 27:35profits and split them into bonuses?
- 27:37Now, it's being applied, the same concept is being applied
- 27:40for machine learning models, where, you know, a bunch of
- 27:42features come together and they make a prediction.
- 27:45And now, you take the prediction prediction is your Prophet.
- 27:48Now, you take it, and split it into Hmong, in the future
- 27:51Rewards or attributions. So, these are all called
- 27:54attribution based algorithms. Now, shapley value, shapley came
- 27:57up with this really nice. Axiomatic principal saying that,
- 28:00you know, two features are actually, you know, I Identical.
- 28:03Then they would, then they would get symmetric shape leave or
- 28:06they will. If they are symmetric, then they
- 28:07will get identical shapley values or if a feature is a, you
- 28:10know, as a no op, then it will get a zero shapley's value, or
- 28:13all the shapley values, add up to the total, you know,
- 28:16prediction whatnot. So the sum of these axioms, you
- 28:18know, help us, you know, kind of, you know, provide a solid
- 28:21grounding. So we see that shapley value
- 28:23based techniques are actually becoming kind of almost the gold
- 28:26standard in terms of explain ability.
- 28:28There are a bunch of techniques that build on top of it, you
- 28:31know, this integrated gradients. It is which is like a variant of
- 28:35rapidly values can almond, shapley value.
- 28:36Technically, we have our own implementation of shapley values
- 28:39using non Theory. So bunch of techniques that
- 28:41build on top of this core concept that provide the sound
- 28:44principles. However yeah, we still need to
- 28:46ensure that. You know, how how is this metric
- 28:49right? Like what how you know what is?
- 28:51Is this explanation? Can I trust this explanation?
- 28:54So today what tools like Fiddler provide is ability to do what if
- 28:57analysis so that the human can themselves SS?
- 29:00You know you know like what if I change It.
- 29:03Now what if I change this feature value to this value?
- 29:06What would be my explanation or what would be my prediction?
- 29:08So therefore by interactively playing with the model you can
- 29:12actually understand it much better.
- 29:14And so so, so so they're basically sort of those are the
- 29:18experience of the user experience is kind of trying to
- 29:20come together to kind of make it like more trustworthy.
- 29:23But yeah, in the future we would have to have these kind of
- 29:25metrics that that can, you know, can can quantify these the value
- 29:29of explain building. Well, that just, we can jump On
- 29:33the next question that's coming through which is another great
- 29:36one from Sunday. Yeah.
- 29:38Forgive me if I pronounce the name wrong but it's it goes
- 29:43which we can just pin this on to that because they're asking does
- 29:48explainable AI. Also, entail explainable data?
- 29:52I see the point where explain ability can help with getting
- 29:55the insights about data after the model has been trained but
- 29:59should it be handled perhaps more proactively where you Bias
- 30:03the data before training the model on it.
- 30:06That's a very good question. In fact, one of the things that
- 30:10we know, we actually held upon the tool provides to our
- 30:14customers today, is it. Also, when you are doing feature
- 30:17selection, when you have a lot of features within your data,
- 30:21you can use explain ability, not just after the model is created.
- 30:24But before it to actually see, which features are actually in,
- 30:28on the most important features, which features can be pruned
- 30:30away and to Sunjai has Point around Like preliminary
- 30:34investigation of feature importance and you know which
- 30:37features are coming up. Are there any like looking at
- 30:39feature correlations and, you know, PDP like partial
- 30:41dependency Place between features and predictions.
- 30:44So, you can get some idea before even go deeper into feature
- 30:47engineering and, and model building exercise.
- 30:50So, there is definitely a valid point there.
- 30:53However, one should remember that explain ability is always
- 30:56only giving you a lens to look into the model.
- 30:59So even if you're explaining the data, you're looking through the
- 31:02models eyes. He's right.
- 31:03It's not causal from a data point of view, right?
- 31:06So it's not like for example it's not going to tell you like
- 31:10if for example if a store is not going to make sales because of
- 31:14an external event, like coronavirus has happened and
- 31:16people stopped coming to the store, right?
- 31:18You cannot like you that those things cannot be captured.
- 31:21So so explain ability is limited and it's very important to
- 31:25understand. This thing.
- 31:26It's essentially proving you giving you the eyes to look
- 31:29through the model. And the model is then model is
- 31:32basically what is the model? You basically learn from the
- 31:34data and developed a pattern from the data, right?
- 31:36So you're essentially looking looking through the models eyes
- 31:38and on the data. So that's what you're doing with
- 31:41explain. Really.
- 31:41So so there are, you know, you can stretch this thing and get
- 31:45into like causation and all which is has to be, you know,
- 31:47sort of, you know, little bit careful, you have to be before
- 31:49you do that. So it's still, you know, you're
- 31:51still going through the model size to understand the data.
- 31:55Man, I love this shit. This is so good because this
- 31:59needs to be happening, right? Like these questions need to be
- 32:03coming up and I argue for everyone being able to explain,
- 32:08what is their model doing and why?
- 32:11And all of that. And I'm glad to see that.
- 32:14Others are asking questions. Maybe it's just because we're
- 32:18giving out some swag, but I think there's some genuine
- 32:21interest here because there's some incredible questions.
- 32:24We've got one from Depeche, who's asking as a data
- 32:28scientist? There are situations when the
- 32:31prediction output is expected to support a business decision
- 32:35taken by senior Executives. In that case, when the
- 32:40explainable model gives out a prediction that doesn't align
- 32:45with the stakeholders expectations.
- 32:46How should one navigate through this tricky situation?
- 32:50That's man, explained really becomes your friend Deepak.
- 32:53So because That's actually that the hippo decision-making, the
- 32:57highest paid person, you know in office, right?
- 33:00Hip has called hippo decision-making.
- 33:02So-and-so that exists in many Industries it and so and it's
- 33:07you have so. So when when you are models
- 33:10decision mod prediction, does not match with this.
- 33:12You know, senior leadership decision.
- 33:14You can then go and explain here is why that is the case because
- 33:17they generally would not naturally ask, you know, hey,
- 33:20like I don't think my intuition tells me this or my experience
- 33:22tells me this, right? But you can actually open up up
- 33:25like the model and roquet. Like tell them in know and they
- 33:27can actually play with themselves.
- 33:29For example, let's take this simple scenarios.
- 33:31It's like I'm in a very experienced underwriting officer
- 33:34in a bank. I'm like 20 years of experience
- 33:36underwriting loans. I know what makes a good loan.
- 33:38What makes a bad loan. Now, suddenly a new loan comes
- 33:41in and it's marked as, you know, very high risk.
- 33:45And I think like a know, it doesn't look like I risk.
- 33:47I have approved these type of loans in the past and why is the
- 33:49model saying, is high risk. Now, if you can actually explain
- 33:53that, you know, saying that, hey, the reason Why is because
- 33:56this person's you know loan amount is shown so or this
- 33:58person's you know FICO score is zones.
- 34:00So you know his previous data stones on what not but and then
- 34:04also provide more examples, you know?
- 34:06Hey these were all the other loans that look like these loans
- 34:08that we actually denied in the past and they were actually bad
- 34:11loans or and or we actually prove them but they turned out
- 34:14to be bad loans or where they can you can provide some base
- 34:18for the person to actually you know change like variables and
- 34:22make it make sense of their own self.
- 34:24And so this office Really becomes like a collaborative
- 34:26exercise. Now, in some cases, the model
- 34:28could be wrong, right? And this is where explain
- 34:30ability becomes important because, you know, when you are
- 34:32designing the model, if you have not selected the right data set
- 34:34and whatnot in, in the subject matter expert can actually be
- 34:37right and they might be able to guide the model building process
- 34:40in cases where the model is right?
- 34:42Then they can actually correct their own into in kind of
- 34:44intuitions so it brings both parties together and that's the
- 34:47beauty of it. And by opening up this black box
- 34:49you actually not just like have like the a scientist telling
- 34:52this is what the model is doing. And in the past that used to be
- 34:54the case, right? And the past.
- 34:56But when I looked at the design is, when I would asking what's
- 34:58this prediction and they would be like, I don't know, the model
- 35:01said, so right. So so that that both like kind
- 35:06of know takes away the credit, right?
- 35:08And then we understand as an engineer or understand.
- 35:10Yeah, it's actually hard to understand, ask the answer that
- 35:12question, but, but, but having that opportunity to expose that
- 35:16inside, you know, brings multiple parties together.
- 35:18We can have to have a dialogue and have a consensus to move
- 35:20forward. Great answer.
- 35:23And this is a bit of a tangent but I know that when we as
- 35:29humans they did a study on us when we see something that comes
- 35:34from a computer or a machine, we are much more likely to believe
- 35:41that it is true. And so you get into these
- 35:44situations like oh well the model said it was this and so
- 35:47you just take it for granted without actually digging behind
- 35:50and saying, is it right? I mean, I'm sure the people on
- 35:53this call, they don't just take everything with without a grain
- 35:58of salt. But for the majority of people
- 36:01were used to calculators putting in numbers and spitting out an
- 36:04answer and it is the right answer always you know and if
- 36:08it's the wrong answer is because of something that we did.
- 36:10It's not the other way around where the machine learning model
- 36:12is just doing something. And then we get an answer and
- 36:17we're not sure if it's right. So that's a side note.
- 36:21I've got It's more questions rolling in here, there's one
- 36:24from Sherry asking, how do you differentiate explain ability
- 36:27from interpretability? And how important is each in
- 36:32what context? Yes, I mean these are all
- 36:35obviously industry terminology right now.
- 36:37The kind of the definition that is becoming more popular.
- 36:41Is I can at least talk about, think about it.
- 36:46Interpretability as interpretable machine learning
- 36:48algorithm. If the model itself is
- 36:50interpretable, for example, Well, let's say, you know, you
- 36:53can one can argue that a decision trees in reputable.
- 36:56If I can visualize the decision tree, I can see, you know, which
- 36:59path, you know, you know, a prediction is taking, you know,
- 37:02I can actually understand. I don't need a separate
- 37:04explainer for it, right. You know, same thing, you know a
- 37:06linear model could be interpretable because I have the
- 37:08lean of the weights and coefficient so I can actually
- 37:10have integral. So you have this access of
- 37:12interpretability where you know the model itself is
- 37:14interpretable MM you know maybe in the case of a linear models
- 37:17they or a decision tree to like completely black box where I
- 37:21cannot lie No, interpreter neural network explain ability
- 37:24is more around, kind of, you know, taking a model and then
- 37:28explaining it in are mostly kind of, you know, in the context of
- 37:31a post-hoc explanation, right? So in the case, in this case,
- 37:33the model itself is not, you know, interpretable and, and
- 37:37you're trying to explain it to sort of, sort of a third party,
- 37:42or for yourself. And so that's kind of how I
- 37:44differentiate it. So you have interpretable
- 37:46algorithms, you know, you have the, you know, all the way from
- 37:49linear models decision, trees Gams.
- 37:51You know, which are, you know, if we were getting being very
- 37:54popularized, the all the way to like, you know, like non
- 37:56interpretable algorithms like neural networks.
- 37:58But then you have explained ability, algorithms, which are
- 38:00taking any of these models, and trying to explain it in a way in
- 38:03which we talked about shapley values that I am, and, you know,
- 38:06integrated gradients and many other algorithms that are coming
- 38:09up, that's kind of how I differentiate it, okay?
- 38:13So there's another one from Fatima, and they're asking how
- 38:18useful do you think caused or ml can be To the explainable AI
- 38:23agenda. Yeah, so I think, I think, I
- 38:28mean, a lot of, you know, I'm not an expert in causal machine
- 38:31learning. So, from what I understand,
- 38:33obviously if like, you know, followed Judea Pearl and, you
- 38:35know, sort of, you know, read the, the hold the Holy Grail,
- 38:38The Book of Y and also, I think, you know, causal ml is all
- 38:42about, you know, you sort of you're trying to serve as a
- 38:44human providing a lot of structured information to the
- 38:48model in all kind of, you know, the sort of the the
- 38:50relationships between the elements of the data, a priori,
- 38:54but from your own subject matter, expertise and Sort of,
- 38:56you know, use in baking that into the model, right.
- 38:59So I think that's, that's great. If you can do that in, oh now
- 39:02you can actually help into it will help you sort of, you know,
- 39:04understand how the model is working.
- 39:06But however, it's really hard, you know, in practice to be able
- 39:09to do that right for a designer to come together and actually
- 39:11associate in order to do the sort of these sort of, you know,
- 39:15put to put together these definitions in manual.
- 39:18Because what's happening is what the reason the reason why
- 39:21explain ability is becoming so popular is because of the
- 39:24emergence of deep learning right now.
- 39:25What deep learning. Has done.
- 39:26Is it's basically taken that you know you have all of your all of
- 39:31your data just throw the data into the model.
- 39:33Let the model figure out the feature combination, let the
- 39:36model kind of you know, train like you know you know which
- 39:38pixels are the most important pixels or which word
- 39:41combinations make me come together to make like the
- 39:43sentiment of a tech piece of text or which features in a
- 39:46structured data sets can come together to make it more to make
- 39:50it like you notice a fraud or non fraud.
- 39:52So, so that in those cases the model is actually deciding those
- 39:55patterns and it The using, you know, and it is human is just
- 39:59basically supplying the input, right?
- 40:00Supplying the data, almost like a raw data set and and
- 40:04therefore, the and so, there's no sort of, you know, you're not
- 40:07sort of sitting and designing these relationships yourself.
- 40:11And so, this is where, you know, explain abilities become more
- 40:13important because if these deep learning models being developed
- 40:16by users because they're getting very high accuracy and you know
- 40:19then now like as at the cost of, you know, interpretability and
- 40:22so therefore you you want to kind of address that.
- 40:25So that's kind of where We are seeing the usage, increased
- 40:28usage of explainable deal. We got more questions coming
- 40:32through, in the chat. Looks like people want some
- 40:35schwag. We didn't even tell him what it
- 40:37was going to be. I what?
- 40:38If it's such a letdown at the end, we just say, all right,
- 40:41we'll send you a sticker, all right?
- 40:44It's not going to be a Justice sticker.
- 40:46That is for sure. Krishna said it was going to be
- 40:49some cool and I trust them. Now Phillips asking you've been
- 40:53talking a lot about decision. Trees are methods like Born
- 40:56Again trees, which aimed to approximate models by decision
- 40:59trees. Trait traceable for complex
- 41:03models or and this I guess I'll just tack on a question to this.
- 41:10Are there certain models or methods that are harder to
- 41:15explain than others? Yes, I mean, for example, even
- 41:21like if you have a hybrid neural network that can take, you know,
- 41:25multiple types of inputs, right? Like, for example, let's say
- 41:29you're trying to, let's take that, you know?
- 41:33Credit card fraud example, right.
- 41:35So you have a credit card fraud example now along with your
- 41:39structure data sets over example, my you know like
- 41:42previous credit card debt and how often I was repaying and
- 41:46whatnot. You know, you can also take a
- 41:49sequence of, you know, all of my previous transactions all of my
- 41:52previous, you know, you know, sort of sort of like instead of
- 41:58a as a sequence instead of like a structured data set.
- 42:01So you can build a hybrid model where certain set of inputs are
- 42:03like more like kind of a tabular data like inputs certain inputs
- 42:07look like you know sequences and so now you can build like l
- 42:10stm's or you know, but kind of inner query, complex models
- 42:14complex and sambas. Now, now you have this layer
- 42:17dance Humble how do you then explain it and you want maybe
- 42:21explanations that you know different, you know, piecemeal
- 42:24levels, right? So this becomes a very hard
- 42:26technical Challenge and we are seeing the emergence of these
- 42:28type of models come up. And then obviously reinforcement
- 42:32learning, which is also kind of, you know, it's actually the
- 42:35where the model is actually all the online model learning model
- 42:38algorithm. So the model is actually
- 42:39continuously retreating. Those are models that are hard
- 42:41to explain in practice and and so those are the types of models
- 42:45where we feel like it's Spritz. I said this on these lot more
- 42:49sort of research has to happen, and then there's like explain
- 42:52ability today is like a little hard to apply.
- 42:55And and so I think the basic techniques Remains the Same.
- 42:59It's about basically being able to apply them at various
- 43:02different levels. And how do you then apply to
- 43:03their door to get the model that is changing constantly?
- 43:06Is there is there is the hard problem and then the other
- 43:09question was, Who's there? Another question on decision
- 43:13trees correct? Yeah so I don't I don't know.
- 43:16The other type of decision tree that was mentioned.
- 43:18So I mean the most popular decision tree like obviously
- 43:21that's in practice is the booster decision tree for almost
- 43:24all and unstructured data sets that people have today BDT has
- 43:29become kind of the state of the art, right?
- 43:31So it provided it provides really good accuracy, and an
- 43:35instant more lot of people use it.
- 43:38And so I'll explain ability works very well for those four.
- 43:41weboost addition reason, in fact, sharply value based
- 43:44algorithms work really well for motion decision, trees in
- 43:47practice Alright, so here's another one, a bit in the weeds,
- 43:54but from Irv asking how useful are in this is how den and G
- 44:03clustering for data, explain ability.
- 44:06Yeah, so I mean, I think this probably coming to like, you
- 44:10know, giving like given a data, you know, how like, kind of in a
- 44:13building like a, some sort of a hierarchical clustering on the
- 44:15data to understand the data itself, as I said, you know,
- 44:18data explainable Is around in a given.
- 44:22My data set, you know what features are important.
- 44:25What feature correlations are, you know, coming through, which
- 44:28features are actually some, you know, are sufficient.
- 44:30So you can actually prune away some more features and save some
- 44:32costs. If it's like, you know, very
- 44:35high like a large, like slash data set that you have to train,
- 44:39or you like bias related questions, you know, which which
- 44:42features are coming together to introduce, you know, bias with
- 44:44the model. So all of those things are
- 44:46various different approaches to do it.
- 44:49One approach that we do take with Fiddler is to train like an
- 44:53interpretable model on on, on the existing training data and
- 44:57then exposing these insights through explain ability.
- 44:59So that, you know, it's basically, you know, you know,
- 45:03you bring us the data set in Fiddler's, you know, models
- 45:05explain, explain the data set by training the model.
- 45:08Again, we are looking through the looking at the data through
- 45:10the model size. And the reason why I think this
- 45:12is actually more effective than maybe a simple, I think a string
- 45:16bass techniques which are because these are in Opinion,
- 45:19please. This is actually kind of
- 45:21modeling the problem that you're trying to solve, right?
- 45:23Anything in case, if I'm actually trying to come up with
- 45:25like a churn prediction problem, and I want to know what are the
- 45:28features that are important to I do and what are the features
- 45:30that are not important by building a first pass model?
- 45:33That actually tries to predict John with reasonable accuracy.
- 45:37You can then understand how the, you know, what features are
- 45:39variables are important. What features are not important,
- 45:41how different features are coming together to influence the
- 45:44production and how the model, how the, how is, like the Are
- 45:49distributed across different segments, segments of
- 45:51population, how the features of distributed and whatnot.
- 45:54So that's kind of what we found more effective in practice than,
- 45:57you know, going down the Amor unsupervised way of analyzing
- 46:00which are, which is, I think is also useful but I think we found
- 46:02this is actually much more much more effective.
- 46:05Yeah, that's really cool. So I'm going to take one real
- 46:08fast and I'd love to talk about the challenges that you see
- 46:13right now with explain ability. Is it the what we touched on
- 46:18before? There are some models and there
- 46:20are some methods that are really difficult to explain or are
- 46:24there other things that come jump out at you?
- 46:28Yeah. So I think there are, first of
- 46:29all, there's a reason explained in the multiple challenges, one
- 46:32is explaining complex. Machine learning models is a
- 46:36challenge, the other Big Challenge from a practical
- 46:39standpoint. And this is something that we
- 46:41sort of sort of working on it Fiddler and and kind of, you
- 46:44know, I have solved quite a bit is building a general purposes.
- 46:48Explainable quick, swing party platform is really hard, right?
- 46:52Because today, unfortunately, models, come in all forms or
- 46:55shapes all kinds of formats, you know different formats don't
- 46:58agree with each other. You know, tensorflow, pie,
- 47:00thought, scikit-learn, extra boost, you know, and have all
- 47:03the old-school formats like our SAS and all.
- 47:06How do you take all of these models and then build a
- 47:08general-purpose explain multi-platform from a technology
- 47:12point of view. It's hard because you know,
- 47:13ingesting the model and running the model and actually inferring
- 47:16the model and different. He is in the model.
- 47:19So one of the things that we were excited about was this
- 47:22whole open neural net exchange project that came up with him
- 47:24and came three years ago which was trying to standardize model
- 47:27formats. I think it was started by
- 47:30Microsoft Facebook, Amazon as a Consortium.
- 47:33And so when we if you have such Platforms in the future it's
- 47:36almost like a Java bytecode for models, right?
- 47:38So if you actually have like a, you know, when standard format
- 47:41for more models than in do to help, you know, for in the
- 47:44future for a lot of data science teams to have like a general
- 47:48purposes, Elena breathing. So that's that's number two.
- 47:51Number three is obviously, we talked about the the sort of,
- 47:55you know, the evaluation methods, right?
- 47:57So how do you evaluate explain ability?
- 47:59How good it, how good is unexplainable team algorithm or
- 48:02the other explain volte algorithm that still, you know,
- 48:04a topic of, you know, research and sort of people are, you
- 48:08know, looking into it. So those would be the kind of
- 48:10the three things that I would say.
- 48:15So there's a few more that are coming through here.
- 48:17In the chat is explain ability only for humans.
- 48:20For example, machine learning predictions can bypass physics
- 48:24itself like this model, which predicts Planet positions
- 48:29directly from data. Without Newton's Laws is
- 48:33Humanity. Losing something here, when
- 48:36gaining something else and are we only trying to help us feel?
- 48:41We understand how the model works?
- 48:44Yeah, it's very interesting one. That's a very deep one.
- 48:48So I am not thought about it and watch but I think, you know,
- 48:52there is always a human in the loop with machine learning,
- 48:55right? I mean we have not gotten to a
- 48:57state where systems are completely automated end-to-end
- 49:01where you know, the systems are Auto learning from their
- 49:04mistakes. So even there, I believe that,
- 49:09you know, once you have any like once you have this flywheel
- 49:11where you have a model that is trained, And you have a model
- 49:15that is deployed. And it's now, you know, being
- 49:17monitored. Now if you can actually, you
- 49:20know, automatically retrain the model kind of, you know, sort
- 49:23of, you know, keep it like an almost like a cruise control
- 49:25right? Where, you know, it's
- 49:27essentially it's just on its own and you and the system is
- 49:30retraining better versions of the model and even there to come
- 49:35from like the old model to the new model, it requires insights
- 49:38right. You know, how do I know where
- 49:40let's save the model? You know, you may want to
- 49:41retrain the model because the model is drifting in
- 49:43performance. It's throwing lot more, false
- 49:46positives, or whatever reasons. And from there from that,
- 49:51snapshot of like model M 0 to like go to M1, you know, you
- 49:55need, you need like explain ability.
- 49:57You know, whether the machine is consumed.
- 49:59In this case, the machine is probably consuming the insights
- 50:01and saying, okay, I these are all the segments of data where
- 50:03in the model is not working well and maybe there's like a
- 50:07workflow where I magically get like some synthetic training
- 50:10data sets, right? So and and sort of automatically
- 50:13retrain them. Water.
- 50:15But I believe that before we go, there will there always be human
- 50:18in the loop because at least, you know, we want to see like,
- 50:20you know, which were false positives and then you can go
- 50:22and, you know, sort of in a human goes and looks into it.
- 50:25And and there is like and they would they could they would then
- 50:29go and likely see how they can actually retain a better model
- 50:32for putting into production. So, but yeah, I think whether
- 50:35the human is in the loop are not in the loop.
- 50:37You still need the inside because ultimately explain will
- 50:40teach to is to find bugs or performance.
- 50:44Problems within the model right? Or explain the model now, so
- 50:46find issues within the model so you can actually make it better.
- 50:49That's the that's the whole point of it.
- 50:51In the end of the day, I want to dive into the idea that you
- 50:56presented earlier before. This question and shout out to
- 51:00Ron on that question. That was that was one, I did not
- 51:04see coming. So the idea of the difficulties
- 51:10that you were talking about in the challenges and how to make a
- 51:14Tool that is able to span the whole Spectrum right now because
- 51:18there are so many different use cases and there are so many
- 51:21different models and Frameworks and deployment and all of that.
- 51:27How do you aim to conquer that as a company like?
- 51:31Yeah, that's the challenge that we set up a set ourselves,
- 51:34right? Like know, when we started the
- 51:36company, we wanted to build a general-purpose explainable, a
- 51:38platform which meant that we should be able to digest, you
- 51:41know, multiple types of models and then be able to In them.
- 51:44So, so far we have gone quite far in a we can actually digest
- 51:48your tensorflow type. I thought scikit-learn extra
- 51:51boost type of models, you know, pretty quickly.
- 51:53And now we are adding support for ML flows Park, you know, and
- 51:56then you know, other type Edge, 20 type of models.
- 51:59One of the things that has really helped us is the
- 52:01container technology maturity writing.
- 52:03You know people have now moving towards more and more kind of
- 52:06talk Rising their models. So and so that ability to kind
- 52:10of have a Docker being one level of abstraction.
- 52:12So do you so instead of You know, we looking at the model
- 52:16artifacts we can be looking at, you know, dr.
- 52:18Ice containers with a standard API.
- 52:19That is implemented. So then, essentially, we can
- 52:22standardize or explain what the algorithms to just work on that
- 52:25API. So, as long as you can actually,
- 52:26give us in. If we can pass inputs, and you
- 52:29can give us inputs, you can you can send us outputs.
- 52:32Then we can basically explain that model today, right?
- 52:35So so those are the things it still, you know, a lot of work
- 52:39needs to be done here. As I said 444, like applying
- 52:41complex plane will be algorithms like integrated grade.
- 52:44You need much more access to the model, you know?
- 52:47For example the gradient vectors of the outermost layer and
- 52:49whatnot in which case you know you you need like the model
- 52:53artifact, right? So in in that in that case, you
- 52:56know being able to take the model artifact and run it and
- 52:59then run it across, you know, different versions of tensorflow
- 53:01and what not is a huge challenge.
- 53:03So we kind of, you know, have built the system to scale for
- 53:06that. It's a hard problem to solve and
- 53:08you know, come very far from where we were two years ago but
- 53:12still like a lot of Way to go. Nice pie chart, is that right by
- 53:18Dodge to? Yeah, we have a partnership with
- 53:20Facebook AI. So there is, you know, Facebook
- 53:22has this Library called Captain, it's pretty neat library to
- 53:27explain why Turkish models. So, Fiddler uses Captain as a
- 53:32internally to kind of, you know, explained by Dutch model.
- 53:34So yeah, you can use Fiddler for I thought.
- 53:36Yeah, I would hope so considering your background
- 53:40correct. Yeah, we have a good partnership
- 53:42with Facebook, rehear, research and we, you know, we're two bike
- 53:44working towards, you know. Imagine lighting.
- 53:47All right Community it has come to the point where we need to
- 53:50choose the swag winners Krishna and I are going to look through
- 53:56and we're going to tell each other in the chat who we think
- 54:00should win the schwag for everyone that is here with us.
- 54:04I really want to thank you for these incredible questions.
- 54:07This was awesome. This has been super insightful
- 54:10and I love hearing how you all are looking at things and what
- 54:15is Important to you, really like, and judging by the quality
- 54:21and caliber of questions that came through.
- 54:23It seems like this is front of mind for a lot of people, which
- 54:29is reassuring to me, because I like to talk about how important
- 54:33monitoring is all the time, but sometimes I wonder if anybody is
- 54:36actually listening and it seems like there are people that are
- 54:40out there listening and the explain ability part of this
- 54:43Krishna has been really Useful to dive into what exactly it is
- 54:48because it is a buzzword being thrown around.
- 54:51It's a buzzword within a buzzword of ml Ops.
- 54:53And so sometimes you have to really sift through a lot in
- 54:59order to get there and figure out what it means and what it
- 55:03actually does and why it's useful.
- 55:06So let's see, Krishna Should I leave it to you?
- 55:11Or you going to let me to please do.
- 55:13Please do the honors now. You please select another I
- 55:17think we got to go with Ron's man.
- 55:19He quoted an article and everything he did some that was
- 55:23some serious stuff that happened for Ron.
- 55:27And then I really liked the question from I did like the
- 55:34question from Depeche also about how to navigate politics and I
- 55:39thought your answer Especially good because this is where
- 55:42explain ability can shine, so maybe we can give it to Ron and
- 55:46Depeche and everyone else. Thank you again.
- 55:50We're going to be given away more Fiddler swag.
- 55:52Don't worry, especially as much swag is they.
- 55:56Let me I'm going to give it all away, but for Ron and Depeche,
- 56:01please reach out to me or reach out to Krishna in the slack and
- 56:05we will send you the swag bag and X again Krishna for doing
- 56:11this man. This is super insightful.
- 56:13Absolutely thank you so much Demetrius.
- 56:14Yeah thing and it was a great great set of questions.
- 56:17Thanks to the audience for joining in.
- 56:20Yeah, thank you. Thank you all.
- 56:23We will see you later. See you next time and if you
- 56:27want to follow up the conversation with Krishna he's
- 56:30in this slack. So ask away ask any questions.
- 56:33We also have an explain ability AI slack channel.
- 56:38So for more of these questions As in more of the news, that's
- 56:41on this jump, in that stock channel, that is in our slack
- 56:44workspace, because that is happen in places where all the
- 56:48cool kids are like, a absolutely awesome.
- 56:52Thank you so much. And yeah.
- 56:54Nice day, everyone bye-bye. See you, everyone.