Latest / Agentic Conversations (formally mlops.community) / Trustworthy Machine Learning // Kush Varshney // Coffee Sessions #124
Transcript
- 0:00Hey, everyone, my name is Cushman.
- 0:02I'm a research scientist at IBM research working at our IBM.
- 0:06T.j. Watson Research Center.
- 0:08I work on trustworthy area and I like my coffee to be
- 0:12trustworthy. Welcome.
- 0:15Krishna ROM. This is a very exciting episode
- 0:18because you are probably the only other person in the world
- 0:22that I think can be in the same room and hold, maybe more merits
- 0:28than our guest Chris, Today. Could be being too kind of
- 0:33Demetrius. So let's talk about a who you
- 0:38are, what you're doing here because people are probably
- 0:40like, who's this guy in case you missed it, Kristen ROM has
- 0:43graduated from being a guest on the podcast to now being a
- 0:47co-host, I wanted to get you in the same internet room as Kush
- 0:52because I feel like you two have very, very aligned goals and
- 0:58you've been doing all kinds of cool stuff around fairness.
- 1:02Around responsible AI as Crush has been doing.
- 1:05And we'll hear about in a sec trustworthy machine learning.
- 1:08I mean, it's killer, I know that you are the chief AI scientists
- 1:12at Fiddler's Fiddler doing incredible things around,
- 1:15explain ability. And so let's talk a minute about
- 1:22who kush's. And then, I want to hear your
- 1:24takeaways from the conversation. We just had with Kush, so kush.
- 1:28For those who do not know, you heard that he is doing.
- 1:31He's a researcher at IBM. We talked a little bit about
- 1:35what IBM is doing in the field, but Kush himself has been
- 1:41recognized for so many different things.
- 1:44The best paper award in. The fusion 2009, the solely
- 1:502013, kdd 2014 and SDM, 2015. I mean, the accolades just keep
- 1:59going. There's a long list of them.
- 2:02It would take me probably an hour to read out all of them,
- 2:05but more recently, one thing that I want to highlight is this
- 2:09year, he released a book called trustworthy machine learning.
- 2:12And that's really what our conversations centered around
- 2:15today. He also open sourced with a
- 2:19bunch of other Incredible Minds. Some trustworthy, AI packages
- 2:26and I want to hear from you Krishna room, what were some of
- 2:29the key takeaways that you had in this This conversation.
- 2:34Thanks to juice. One of the takeaways we
- 2:37discussed was why should we as Miculek practitioners or other
- 2:42stakeholders care about trustworthy machine learning,
- 2:46who better to discuss this. Then the author of the book of
- 2:50boo contest with the machine learning.
- 2:52Yeah. Then we discussed about.
- 2:54How do we apply these principles?
- 2:56As part of the machine learning operations or ml Ops pipeline.
- 3:01How do we apply this during In say data, preparation or model
- 3:05validation, is that enough? We will discuss that it's not
- 3:09even after the models are diploid, we need we need to
- 3:12monitor these models, not just for accuracy, but also for bias,
- 3:17robustness, explain ability, and other dimensions.
- 3:21So we discussed how holistically we need to look at just what the
- 3:27machine learning. Not just confining to model
- 3:30developers or missionary. She has but also looping in all
- 3:34the other relevant stakeholders, this could include people who
- 3:38are impacted by the model people with background in policy, law
- 3:44product management, business and so forth.
- 3:48I'll let you two discuss about the packages and the other
- 3:51things we discussed. Yeah well there is a great point
- 3:54that he brought up and it was almost like it reminded me of
- 3:58all of those different diagrams that you see on what is mlr ABS
- 4:02and The different phases of a moab's.
- 4:05He basically broke down the different phases of
- 4:08trustworthiness. And what you need to be aware
- 4:11of, on each different step of the ml Ops journey.
- 4:15And so I appreciated that whether it was just figuring out
- 4:19what numbers are important to you.
- 4:20What are the metrics that you are looking at, and how you can
- 4:24make sure that those are trustworthy all the way to that
- 4:28monitoring, and how to make sure that the ground truth, which is
- 4:31delayed. You're And how do you know when
- 4:34to retrain something? If you're getting that ground
- 4:36truth, 30 days later. So that was awesome.
- 4:40Like you said the open source packages, he has been releasing
- 4:43have been incredible, it's really cool to see what they're
- 4:46doing and how they're helping. Just regular people regular
- 4:50practitioners start to implement this in their workflow and last
- 4:55but not least, I also enjoyed the conversation, almost more of
- 4:59like a philosophical conversation around these large
- 5:01language models. And I'll let people discover
- 5:04what we got into their when it comes to trustworthiness.
- 5:08So, that's it. I want to mention something.
- 5:12Before we jump into this conversation, which is, if
- 5:15you're not subscribed to our ml, Ops Community, newsletters, jump
- 5:18into that. Like, you're definitely going to
- 5:20enjoy it. We've got three different
- 5:22newsletters that are being pumped out.
- 5:25One is around the weekly ml, Ops roundups one is a monthly and
- 5:29then the other is the best of slack, everything that has
- 5:32happened. Slack.
- 5:33All the best threads get put into a newsletter, so you can
- 5:37engage with our very active slack community in that way.
- 5:41That's all for. Now, let's get into this
- 5:43conversation. So, Chris, I'm excited to be
- 5:52talking with you, Krishna ROM. I am very thankful that you came
- 5:56along, and join me decided that you could do this.
- 5:59It feels like I've got to juggernauts in the Belay I
- 6:03trustworthy AI space and I want to start with this kis.
- 6:08You pursued a degree in electrical engineering, what
- 6:13made you decide that? It's a good question.
- 6:19Um, so I think there's a few different things.
- 6:22So one, interesting fact, both my grandfathers and my dad,
- 6:27they're all electrical engineers actually.
- 6:29All were professors of electrical engineering, so I'm
- 6:32sure that had a huge role but beyond that, I think, when I was
- 6:38going to college, I wanted to do something where I would be
- 6:42thinking about what new could be done in the world things that
- 6:45have not been done before. And that seems like one
- 6:49discipline where that could happen.
- 6:52And also, it's kind of, I think the, in some ways, the liberal
- 6:56arts of Engineering in a way, there's so many different things
- 7:00that come together with, in electrical engineering, you
- 7:02could do very physics oriented things, very sort of Matthew
- 7:07things, and not some kind of a lot of things in between.
- 7:10So I think that was really developed into this career, that
- 7:15you've undertaken. Akin, how can we connect those
- 7:19two dots like looking backwards? What was it and that retrospect
- 7:24now? Yeah.
- 7:28So I think yeah well I was kind of studying.
- 7:32I mean, I kind of gravitated towards the more mathy side of
- 7:35electrical engineering and then worked on Signal processing and
- 7:40other topics and that kind of morphed into doing more machine
- 7:45learning, which is actually very closely connected to
- 7:48technically. So then, yeah, I became a
- 7:51machine learning researcher in some capacity and then I joined
- 7:56IBM. Research and the group that I
- 7:58joined led by sashka Mozilla, which they were doing a lot of
- 8:03interesting things. So this was back in 2010 and it
- 8:07was very new for me to even think that machine learning
- 8:10could be used in real-world applications, so especially ones
- 8:15that affect people's lives. So, at the time, the group was
- 8:18working on for making predictions to better manage
- 8:22employees doing some things in healthcare as well.
- 8:25And that was all. New to me because I didn't
- 8:28realize that this could be possible and then that
- 8:30eventually led to kind of further considerations more
- 8:34broadly. I know Krishna ROM has he knows
- 8:38this already but for people like myself that aren't so Versed and
- 8:43well-versed in the space. Can you break down real quick?
- 8:46What exactly trustworthy AI is and trustworthy machine
- 8:50learning. Yeah, so the way I like to start
- 8:57to answer that question is just ask you, I mean what would it
- 9:01take for you to trust another person?
- 9:03What makes them worthy of trust? So if you were hiring like a
- 9:07carpenter to work on your house or like any of any sort of
- 9:11thing, like what would it take for that other person to be
- 9:13trustworthy for you. I'm usually not the one doing
- 9:19the answering on this questions here.
- 9:25What are you doing? Well, what is it?
- 9:30Take something I think trust is a feeling first and foremost,
- 9:34right? And it comes from me, feeling
- 9:40like, I know the person and I know that their intentions are
- 9:46good and Krishna Rao. Maybe you have a different
- 9:49answer though. I think you had that said
- 9:54there's a great angle and as Kush was mentioning this as kind
- 9:58of limited of this counter argument.
- 10:01We have heard sometimes read. Like see we have we have learned
- 10:07to trust fairly complex objects, complex missions, like airplanes
- 10:13or internal combustion engines and several other things read
- 10:16even medicines without understanding how they exactly
- 10:19work. Why is this any different?
- 10:22Yeah, so no. I mean, I think everything that
- 10:24you guys under the things that I also think about.
- 10:27So it turns out that when you talk about trustworthy people,
- 10:33there's been a lot of research on what it takes and there's
- 10:36kind of these four attributes that come about from the
- 10:40research. So one of them is like
- 10:42competence. So can the other person do what
- 10:45they're supposed to do. Second is some sort of
- 10:48reliability so that that competence sticks around.
- 10:51Around in different settings, different conditions.
- 10:54The third one is kind of going more towards with Demetrius said
- 10:59Tom. So can you communicate back and
- 11:01forth with the other person is there's some level of intimacy
- 11:04that you have with them and then the last also touches on I think
- 11:08Demetrius is point. So do they have goals some
- 11:11Beyond just their own goals? So are they doing something
- 11:14more? Broadly, something for good.
- 11:16So all of those are kind of, I think just as applicable for
- 11:20machine. And to Krishna rooms point I
- 11:23mean it doesn't necessarily mean that we need to understand every
- 11:28single thing but we do need to have some level of understanding
- 11:31but also just being competent just I mean the medicine does it
- 11:38actually treat me or not? Does the airplane fly or not.
- 11:41Right. So all of those things kind of
- 11:44come together and they have kind of mappings to precise things
- 11:47that we want out of machine learning systems.
- 11:49But before even getting to To that.
- 11:51I think that the worthiness of the trust is that feeling and I
- 11:56think all of these attributes contribute to it also looks like
- 11:59another perhaps maybe difference might be in the case of say
- 12:04internal combustion engines that we we expect the behavior to be
- 12:08somewhat deterministic like we don't, whereas with the machine
- 12:11learning models Rea systems, broadly often their behavior is
- 12:16some sometimes the emergent they behave in ways that we may not
- 12:20anticipate. And maybe that's why there is an
- 12:22additional layer or additional need for an understanding how
- 12:27this work. Yeah, no, I think that's right.
- 12:32And I mean, the internal combustion engines, are a good
- 12:35example because they are general purpose, technology, just like
- 12:40machine Learning System machine learning as a technology is
- 12:42rates. So you can have a engine in a
- 12:45car and a tractor in a pump, I mean all sorts of things, right?
- 12:49So, the same way you can use machine learning and hiring
- 12:53decisions in lending decisions in criminal justice decision so
- 12:57forth. So, I mean, there's some Aspect
- 13:00of what is the machine being used for that helps determine
- 13:04what's going on and then there's some things that are just
- 13:07naturally inherent to it. So I think there's a mix of
- 13:13what's involved. The reason that we trust
- 13:16something is basically the track record and we've seen like
- 13:21whether it is a plane that we get on and we've seen thousands
- 13:26of planes fly before so we trust that this one is going to be No
- 13:30different or if it is like a different kind of trust with a
- 13:35person. Maybe that's why it's harder for
- 13:38us to trust someone that we don't really know because there
- 13:41is no track record at the beginning.
- 13:43And so it's fascinating to think about that when it applies to
- 13:48machine learning and how whether or not we're working on this
- 13:54machine learning model. Do we trust it?
- 13:57Or is it if we're the end user of it?
- 14:00And we are being fed, whatever the machine learning is telling
- 14:03us, do we trust it? Because do we have that track
- 14:06record? We understand that we we can see
- 14:09the lineage or we can see the what it's it's inferred before.
- 14:15And so thinking about all of that, like I know there's
- 14:19probably another layer that we can go deeper, which is
- 14:23trustworthy AI. Who is it for?
- 14:26Is it like the end user? Is that what you're talking?
- 14:30What about when you're talking about trustworthy machine
- 14:32learning and AI? Or are you talking about this
- 14:35for a machine-learning engineer? Yeah, I think that's a great
- 14:41point. So I think eventually we do want
- 14:44the end users and even if they're not users as in, they're
- 14:48touching the system but they might be the affected parties
- 14:51about whom decisions are being made to really have that sort of
- 14:56trust. But part of that I think is that
- 15:00the the engineers themselves also kind of need to have that
- 15:04because otherwise, how are they building?
- 15:08The rest of us can also have some trust in.
- 15:11And there's also this concept, I mean, you kind of were
- 15:16mentioning. It's a difference between kind
- 15:18of institutional, trust and interpersonal trust.
- 15:21So, like when you think about an institution, like a bank or the
- 15:25post office or something like that, I mean, it's the reason
- 15:29you're trusted is very different than why, or how you would trust
- 15:33another person. So those institutions you kind
- 15:35of just trust them because Someone else who's kind of like
- 15:41backing it in a way. Whereas, with another person you
- 15:43kind of have to develop over time.
- 15:45So all those are kind of different nuances to it.
- 15:49And yeah, I mean the engineer has certain needs the end user
- 15:56so that could be the doctor or the lending officer they have
- 16:00different needs. The patient has different needs
- 16:03some the loan, applicant so forth.
- 16:05So I mean everyone kind of has different Instead we need to
- 16:09appeal to would eventually, I think we want to go to a point
- 16:13not only where on these systems are trusted but they're worthy
- 16:17to be trusted because there's I mean situations where you trust
- 16:21things that you shouldn't really be trusting but we want to work
- 16:25towards getting to the point where they're I mean just good
- 16:29enough to deserve that. That's a great Point.
- 16:33Like sometimes I My worry is that machine learning with
- 16:36machine learning models? And a systems people, people
- 16:40start trusting them more than they should read.
- 16:43Like it's very important for if you think of a doctor and a
- 16:46doctor using, let's say missionary model for medical
- 16:50diagnosis or treatment recommendation, they should know
- 16:53when to trust the model that what are the limitations of the
- 16:56model? When should they use their own
- 16:59judgment or other resources when should work?
- 17:03What are the failure modes of the model?
- 17:05And even when they think that the model is Correct.
- 17:08How is that model making the decision?
- 17:10Is that perhaps the taking the right inputs is that just
- 17:13relying on maybe some false indicators.
- 17:16I think all those things become, very, very important and I
- 17:22agree. I mean, I think there needs to
- 17:24be some level of calibration of that trust you can't under or
- 17:27over trust things and I think the system's themselves can help
- 17:32put that using uncertainty quantification in other
- 17:36approaches to Present their own limitations to be humbled
- 17:40themselves. So, yeah, I think there's work
- 17:43to be done. We can, you can also these
- 17:45different systems a little bit. Sorry to cut you afternoon room.
- 17:49But can you dig into what exactly do you mean by it these
- 17:53different systems and when they can come into play?
- 17:59Yeah, so I mean I think krishnam was alluding to, for example,
- 18:03explain ability, which is a way for a machine for us as people
- 18:07to understand how the machines make their decisions.
- 18:11Then when I was saying uncertainty quantification,
- 18:14that's basically the idea that the machine gives its own
- 18:20confidence. So it will tell you.
- 18:22I mean, I'm really like 99% sure.
- 18:25I'm just guessing and neural. For example, which is the most
- 18:31popular machine learning approach today is notoriously
- 18:34bad at its own calibration, so it'll say 99% even when it
- 18:39really shouldn't. So when we are talking about
- 18:43uncertainty quantification, what we want, is the system to
- 18:48actually be true to its word. So so that's kind of the
- 18:52important part of that should make your shirt.
- 18:54This is never trust a neural network.
- 19:00So the additional challenge is like see if you think of other
- 19:03types of stakeholders read like in domains which are regulated.
- 19:07We may all too often have say a complaint steam or a regulatory
- 19:11agency. They want to also know whether
- 19:14the models are free of biases and whether the models are
- 19:19making Fair decisions for different stakeholders that s
- 19:22like a little bit different type of trust or understanding.
- 19:27So it God, I consider that also as part of trust with the well,
- 19:34I certainly would here. So we maybe can you shed some
- 19:37light on, what are the challenges red?
- 19:39When it comes to see, something, like fairness of a missionary
- 19:43model, what is famous even being and how should we go about
- 19:47thinking about that? Yeah.
- 19:50I mean I'm sure you know even more than I do on this topic but
- 19:55I think some of the challenges are that fairness itself is a
- 19:59contested concept. It comes from lots of different
- 20:02Traditions whether philosophically or
- 20:05sociologically or otherwise. And I mean when we're talking
- 20:10about machine learning and fairness were often very limited
- 20:14in the scope that were considering it's usually
- 20:17allocation decisions of some kind.
- 20:20Which Related to a concept called distributive justice and
- 20:24even then there's so many mathematicians of this concept
- 20:30and even if we try to mathematize it, that already
- 20:33could be fraught with issues. But let's say we do, there's a
- 20:38lot of conflicting sort of definitions.
- 20:41Some of them with one of them is called disparate impact or issue
- 20:46or somewhat. Similarly, a statistical parody
- 20:49difference. So, those Those that kind of is
- 20:51related to, is there an equal selection rate across groups?
- 20:56So do men and women have an equal chance of getting that
- 21:01loan or something like that. Getting the job.
- 21:04Whereas there's other definitions, which are more
- 21:07related to the accuracy of the model.
- 21:09So things like average, odds difference is one of those
- 21:13examples in there. You don't need to have the same
- 21:16rate of approval but the ACT underlying accuracy, Among the
- 21:20applicants should be the same and they're very different
- 21:24philosophically because in one case you're kind of in the first
- 21:29case you're assuming that there's some sort of social bias
- 21:32already that the things that you're measuring their already
- 21:35flawed. And so the only common
- 21:38denominator is the selection rate that that should be the
- 21:41same. Whereas in the other case,
- 21:44you're assuming that the features are good, the stuff
- 21:49that you're basing. The Asian on makes sense,
- 21:51doesn't already have its own bias.
- 21:53He's so then kind of an accuracy measurement being the same
- 21:57across groups would make a lot more sense.
- 22:00Yes, I think that's a really, really nice subtle point.
- 22:03Like I think fairness there are even tensions between different
- 22:07Notions of fairness as you alluded to and that makes it
- 22:10even harder a lot more challenging.
- 22:13So talking of safe fairness or the challenge of adopting these
- 22:18practices worship. Say companies care about
- 22:23trustworthy machine learning or why should they adopt this
- 22:26fractal? Just wrote The Machine learning.
- 22:31Yeah, so as we talked to different companies in different
- 22:34Industries, there are several factors that are coming forward
- 22:39as reasons. So one of you, one of them you
- 22:42already mentioned, which is regulation.
- 22:44So certain industries always have been regulated and with AI
- 22:49involved in the decision-making process.
- 22:51That doesn't mean that they get to kind of disregard their
- 22:55existing responsibilities so vending be a great example on
- 23:00fair housing. Equal Employment and so forth.
- 23:02So even if AI system is involved, they still have to
- 23:07uphold their responsibilities. And there's also a lot of new
- 23:11regulations coming about that are specific to a.
- 23:14I so in the European Community, for example, there is this new a
- 23:20I act and that one. I mean he's going to regulate
- 23:25things quite quite a bit. So insisting, on fairness to
- 23:28explain ability for so-called highwomen Risk applications of
- 23:31AI. So that's on the regulation side
- 23:35and it's not just in Europe, I mean everywhere, I mean this is
- 23:38happening but there's other reasons, right?
- 23:41So there's the issue of kind of the reputation of the company as
- 23:47well. So they want to do things that
- 23:50are in line with what all of their stakeholders want, not
- 23:55just their shareholders may be. So there's a lot of reputation.
- 24:00Morris. Good found a company is doing
- 24:03something with AI and it's discriminating or doing other
- 24:06bad stuff. Then I mean that's going to come
- 24:09back on the the organization and kind of be like this isn't
- 24:14something that this company should be doing and a lot of
- 24:18that is also stemming from A Renewed focus on social justice
- 24:22and in several societies around the world.
- 24:25So in the last few years especially there's been a
- 24:28renewed Reckoning there and then another factor that we see a lot
- 24:33is, I mean, just companies are now using operationalizing AI
- 24:40systems using a mellow in tons and tons of applications.
- 24:44So now you'll have a company that'll have hundreds or even
- 24:48thousands of models in operation and just making sure that
- 24:52they're all well tested. Well cover and is its own
- 24:54Challenge and that's another place where I'm trustworthy
- 24:58machine learning is important. So a lot of different Things.
- 25:01It's not one or the other so that it remains me of something.
- 25:05I recall reading any Kathy, O'Neal's book corn, the weapons
- 25:10of mass destruction, she kind of gives this example if your judge
- 25:15is was biased in the past maybe that judge effects.
- 25:19Just that constituency read that District or that County but now
- 25:24if machine learning model becomes systematically biased
- 25:28and and that model has the potential to To be widely
- 25:31adopted across the entire country, or maybe even multiple
- 25:34States multiple countries. Then there's a potential for
- 25:37that bias to get exercise a bit late to be scaled and to
- 25:43propagate everywhere. I think that's like humans are
- 25:46of the real. All the always implicit or
- 25:49explicit bias is amongst human decision makers as well, but
- 25:54with the missionary models that is aside additional dimension.
- 25:59Yeah, I know. I fully agree.
- 26:01I mean, the scaling is the bigger issue because when all of
- 26:05us is people, we have our own different biases.
- 26:09They kind of in aggregate, kind of cancel out in some ways.
- 26:12It's not always, but I mean, you can think of it that way but
- 26:16then I mean, a single machine learning model, that's supplied
- 26:20at a very large scale, it has exactly one bias and that's
- 26:24going to apply across. So yeah, I think that's one big
- 26:28big. Speaking in things and one way
- 26:33to think about it. I mean, for people who have
- 26:36thought about machine learning in other contexts.
- 26:39So there's this concept of Ensemble models where you bring
- 26:43together lots of different models and kind of average them
- 26:46together. So that actually reduces certain
- 26:50biases when you do that Ensemble ink.
- 26:52So same thing with lots of human decision makers, you kind of
- 26:56average out some of the bias. But if it's a single Sort of
- 26:59model than you don't get that event and this is this great
- 27:04Point like a lot of attendees our listeners to this podcast on
- 27:10machine learning practitioners safe as a missionary
- 27:13practitioner. So I have to decide yet
- 27:18trade-off between say standard metrics like accuracy and
- 27:23ensuring fairness or other restore.
- 27:26The machine learning Dimensions. How should Could have got, what
- 27:30is the way to think about this? How should I finish?
- 27:32Should I even start if am additionally practitioner Yeah,
- 27:39that's a very good question. And I don't think we have a
- 27:42solution right now necessarily. So there's even the question of
- 27:47are there trade-offs or not? Because your question assumes
- 27:51that there is a trade-off. So I think we're still
- 27:55understanding what all these different dimensions.
- 27:57So between like, adversarial robustness and explain ability,
- 28:01is there are trade off or not? This one help.
- 28:05Can you do both at the same time?
- 28:07Same with Things like privacy fairness and basic accuracy.
- 28:12So I mean, first of all I think we need to have a better
- 28:15understanding of what even the characterization is but in
- 28:20practice right now. I mean you don't need that full
- 28:23picture necessarily. So just like you do cross
- 28:27validation to kind of optimize over accuracy.
- 28:32I'm just I mean look at a bunch of these metrics for
- 28:37interpretability or For robustness or fairness,
- 28:40alongside accuracy and just work in that direction and there's a
- 28:46few things that you need to think about.
- 28:48I think. So, there's the values
- 28:51themselves. So what do you value?
- 28:54Do you only care about that? One of the metrics are?
- 28:57Do you care to balance out a bunch of these different pillars
- 29:02of trustworthiness? And that's some of the question
- 29:05that you have to ask yourself or I mean the practitioner maybe
- 29:09not but you have to go and talk to your organization's sort of
- 29:14policy makers. So your compliance folks here Co
- 29:18your I mean in general, whatever the sort of moral compass of
- 29:24your company is has to influence kind of how you think about the
- 29:28balance among these different different aspects of your
- 29:32system. So think that's the starting
- 29:35point and then one thing I will mention is that A lot of people
- 29:40do assume that there is a trade-off between fairness and
- 29:44accuracy, and that's not always the case.
- 29:47There's lots of empirical work, and lots of consequential
- 29:51decisions that show that there is really no trade-off
- 29:56empirically. And then theoretically, we had a
- 29:59paper, a couple of years ago, the first author.
- 30:03She just started as a professor to Maryland.
- 30:05Some time with her Delta and, um, and that pain It kind of
- 30:10illustrates that in a bias free world.
- 30:15There is no trade-off, so-called construct space.
- 30:20So the reason we see accuracy dropping sometimes in practice
- 30:25is because the accuracy itself is measured in a biased way.
- 30:29Because when you get rid of biases, then the accuracy is
- 30:34now, being kind of reflected in a different bias.
- 30:38So called and that is flawed in many ways.
- 30:42So I mean, this is not a easy sort of thing to think about but
- 30:49a drop in a couple percent of accuracy in the traditional way
- 30:52of measuring a c is actually maybe not truly a drop in
- 30:56actors. So yeah a lot of different
- 30:58things to be afraid. This isn't a nice Point like
- 31:01yeah. Sometimes as a missionary
- 31:03practitioners that they may be a tendency for us to think of like
- 31:08The mission earning as a closed system but but it's a good idea
- 31:12to go beyond that. Like if you think of facial
- 31:15analysis and the challenges that says various companies had with
- 31:20that the the solution real world not just say optimizing the
- 31:24missionary pipeline. They went about collecting more
- 31:27data that further, they went about realizing there is not
- 31:31adequate representation of certain groups and then they
- 31:33collected more data. And in the process they not only
- 31:37improved and the accuracy or other metrics for that group,
- 31:41but also improved overall. So it's not not always a
- 31:45trade-off between accuracy and fairness or other dimensions.
- 31:53Yeah, I agree. And I mean this podcast is about
- 31:56mL of straight and so the the whole life cycle has I mean
- 32:02issues where we can influence the mitigation of various
- 32:07aspects of arms that can come about so it can be in the
- 32:11problem specification. Even before starting should we
- 32:14work on the problem to begin with in the specification?
- 32:18What are the metrics? We care about what we talked
- 32:20about. As you said, question could be
- 32:23in the data collection data preparation.
- 32:26So one interesting, anecdote, I like to bring up sometimes is
- 32:31one of my colleagues maninder. He ran an analysis on this kind
- 32:36of well-known problem. Now, where if you use health
- 32:41care costs as a proxy for Health Care, need in health, insurance
- 32:46decisions and stuff. So preventive care for nursing
- 32:49and things like that, then, There is some sort of racial
- 32:53bias because in the u.s. is at least African Americans are less
- 32:57likely to utilize the Health Care system for the same level
- 33:01of how sick they are. So this has become kind of known
- 33:05among a lot of people but when in their did was he studied this
- 33:11when he kept different cart kinds of health care costs
- 33:14separate two separate variables. So inpatient separate from
- 33:18outpatient separate from emergency room and so forth.
- 33:22If you kept all of these different cause separately,
- 33:25there was much, less racial bias that was induced, but when you
- 33:28add it, all of them together into a single variable, the
- 33:31single cost variable there was much more racial bias in the
- 33:36models that that followed. And this is something that a
- 33:39practice and data scientists would just naturally do because
- 33:43most of us don't actually utilize the Health Care system.
- 33:46So we have a lot of zeros in that variable so when you have a
- 33:50variable with a lot of zeros, it's E natural to combine it
- 33:53with some other variables so that you have fewer zeros and
- 33:56you're able to do a better job in modeling, but this
- 33:59unconscious Choice actually exacerbates biased quite a bit.
- 34:05So yeah. Hey, I'm Vishnu.
- 34:08I'm a data scientist at first hand, and I definitely think
- 34:12that you should subscribe to the ml Ops coffee sessions podcast.
- 34:16It's the best podcast out there to stay on top of what ml Ops
- 34:19actually is to talk to the truth, thought leaders in the
- 34:22space. And oh, by the way, dimitrios is
- 34:24absolutely hilarious. What a weird guy, you should
- 34:27definitely subscribe to the podcast.
- 34:32You basically talked about that first, those first steps where
- 34:37problems can happen, right? And especially when it comes to
- 34:40trustworthiness and fairness, you're talking about the problem
- 34:43specification, then you go into important metrics and what kind
- 34:46of metrics are you looking at? And the data collection, what
- 34:50else is there? Because we are talking about
- 34:53envelopes and when you deploy something what like when you're
- 34:57monitoring something, where else can these problems arise?
- 35:03Yeah no that's exactly the point.
- 35:07So everywhere so in the modeling itself so once you're past the
- 35:11data prep so what we recommend is actually add in some
- 35:16mitigation algorithms so our group created an open source
- 35:21toolkit named AI fairness 360. Which provides a lot of tooling
- 35:27that can just be plugged in. There's a bunch of ways
- 35:30medication algorithms. So, Can be part of creating
- 35:34modeling itself. Some of them are different types
- 35:36of models, so that's something called in processing.
- 35:40So there's an extra constraint in the machine, learning
- 35:43algorithm itself, to him for fairness, but there's also
- 35:47pre-processing and post-processing things that you
- 35:50can do. But then going beyond the
- 35:52modelling. So once you have created a
- 35:55model, there's an important step of evaluation.
- 35:58So in the evaluation phase description, Iran was saying I
- 36:02mean it's important to bring in all of the different
- 36:04stakeholders in doing the evaluation.
- 36:08So especially people who have had lived experience of
- 36:11marginalization themselves because they're actually better
- 36:15able to recognize different types of Harm's even if it's not
- 36:19for their own group but for any group.
- 36:22So making sure that you do a really good job on the
- 36:25evaluation and then on the monitoring side once you have a
- 36:28deployed stomach that so I guess I don't have to tell this.
- 36:32Crowd button, actually monitoring is important.
- 36:35So don't just let the system go and live live on its own.
- 36:40So keep monitoring, but then monitor for all of these metrics
- 36:43that you cared about things that you specified, tweaking with.
- 36:46So compute fairness, metres compute drift metrics bunch of
- 36:50things as the mall. So, true.
- 36:53And so, Go ahead, especially that's a great point.
- 36:58I'll just give you like to give and share an anecdote recently
- 37:03in the AC mkdd. Consonants, we presented
- 37:07tutorial on missionary model monitoring in practice.
- 37:12So what I found really intriguing was that although kdd
- 37:16is research conference with a good representation of
- 37:19academicians and people from industry, I notice that dearly.
- 37:25All the 100-ish attendees were all from industry.
- 37:28There is hardly anyone from like you know, Academy or students
- 37:34and so so I felt like there's a little bit of Disconnect so for
- 37:38people in Industry this challenges associated with
- 37:41monitoring models seems like real this is a pain point that
- 37:44all of us are facing but when you look at the research a lot
- 37:48of research seems to focus on the same data preparation stage
- 37:53or model validation like Like is this just my like you'd unique
- 38:01perception or is this? Do you do see a similar
- 38:03perception of this is like maybe I'm just living from are biased.
- 38:07Let's not. You know, I think you're
- 38:10absolutely right. So on the academic research
- 38:14side, I mean everyone the fun part is the modeling part.
- 38:20I mean, that's where I mean, people really enjoy doing it as
- 38:24a grad student, I mean, that's how you write papers and I mean,
- 38:27all of that stuff. So I think there was a paper, a
- 38:30couple of years ago, David donoho.
- 38:33So he's a statistics professor at Stanford, he wrote this thing
- 38:37and we need talked about what data Sciences or like I think he
- 38:41said 50 years of data science or something like that and he laid
- 38:45out all the steps and then I mean he spend no time and really
- 38:49discussing the modeling part because he said everyone does
- 38:52that that's like the thing everyone is drawn to but let's
- 38:55talk about everything else and that everything else is really
- 38:58what makes or breaks things and without it there is no real
- 39:05world deployment. So yeah I mean like my own PhD
- 39:08dissertation. And I mean, it was on that
- 39:11modeling part kind of came up with this fancy new
- 39:14regularization term and I used all sorts of calculus of
- 39:19variations and I mean all sorts of stuff.
- 39:22But at the end of the day, I mean in real-world practice,
- 39:27it's the beginning and the end other the important part and one
- 39:31thing I'll say, I mean just connecting back to our airplane
- 39:35discussion from the beginning, right?
- 39:36So when you think about flying in Clean.
- 39:39Right, there's take off. There's cruising and then
- 39:42there's Landing. So the way things are headed
- 39:46with Automation and everything else that cruising part is like
- 39:50the modeling part, right? So that's going to actually get
- 39:54automated away pretty soon, but it's the take off, so that
- 39:59problem specification figuring out what you're doing and then
- 40:01the Landing part. So, the evaluation and, and so
- 40:04forth. Those are where the human touch
- 40:06is really needed. And those are the toughest Parts
- 40:09because you can't really automate those.
- 40:11And so I think as things move forward, I think that's where a
- 40:17lot of the the human centeredness but also the
- 40:20challenges will continue to write.
- 40:22That's a fantastic and I legere like like golf or Landing or
- 40:28dealing with unexpected situations that we did.
- 40:32Like if say there is a hurricane or whatsoever that like
- 40:35something I think that's why I like even monitoring models is
- 40:39Very important. And also like I think if there
- 40:42is anyone from the research Community listening to this, I
- 40:45would like to just add that there are a number of exciting
- 40:49challenging open research problems even your own
- 40:52monitoring modern monitoring itself just like all the
- 40:56interesting things happening during validation or model
- 40:59modeling itself. Yeah, no, I would agree.
- 41:02I mean, one basic thing is, I mean, when you're monitoring you
- 41:06often don't have the ground truth labels, right?
- 41:08So How do you estimate model drift?
- 41:12When you don't have labels that very basic problem is.
- 41:17I mean, very open and in there's a lot of room for research
- 41:19contributions so I can see why this is so important if we are
- 41:27talking about something like you were talking about and how the
- 41:30EU classifies like high-stakes, right?
- 41:33Like if it's an autonomous vehicle or we're talking about a
- 41:36judge that is potentially sending someone to jail for But
- 41:40what about that person who is working on a recommender system?
- 41:45For we just actually talk to someone last week.
- 41:48They're working on a recommender system for GIF website, do they
- 41:53still need to be thinking about this or can they give it a slide
- 41:56and it's a pass? It's a good question.
- 42:00I think they can give it a slide a little bit so I can like the
- 42:04way the European Union has some laid out, certain things are
- 42:08high risk. Certain things are not.
- 42:10And I think the distinction is like what's the consequence of
- 42:16the harm? If something goes wrong, so if
- 42:19you got the wrong GIF, is it really going to be harmful for
- 42:23you or not? And this is exactly the way it
- 42:27kind of safety engineers and other engineering disciplines.
- 42:30Also think so things are not safety concerns unless the harm
- 42:34is high enough. So so yeah, I mean there's no
- 42:38difference. I don't think we have a nation
- 42:42please. I can see that.
- 42:43So let's change gears for a moment because I do want to get
- 42:46into your book and a little bit of the nuances around your book
- 42:52which is I automatically notice that you had self-published a
- 42:57book, you didn't go with man and you didn't go with O'Reilly what
- 43:00made you choose that? Yeah, so I did start actually
- 43:06working with a publisher and then we parted ways.
- 43:09So the reasons there were a lot of them, I think so.
- 43:14A few of them one is that? I don't think the trustworthy AI
- 43:20is something where, like, a very prescriptive approach to a book
- 43:25and work. So a lot of Publishers do want
- 43:29something where you're giving the step by step recipe.
- 43:32This is exactly what you need to do.
- 43:35And what I would rather impart is the fact that you're just
- 43:39need to slow down and think for yourself and kind of equipped
- 43:45with you, equip you with some of the tools to do so but not give
- 43:49you the exact recipe. So that's one sort of reason the
- 43:53other is I wanted to make the content accessible as I was self
- 43:59reflecting as much as possible to anyone in the world.
- 44:02Who wants it because I think that's one of the selflessness
- 44:07goals of trustworthy and machine learning is too kind of Empower
- 44:10all people, no matter what station in life that they are
- 44:13in. So by self-publishing, I can
- 44:17make the PDF for the HTML versions free and then the
- 44:22paperback as cheap as possible. And it is really, I mean, fairly
- 44:28accessible that way. So, for that, I think it's
- 44:32Combination of those things. And if you look at the world
- 44:36straight now, I mean, where is publishing now?
- 44:40I mean there's a few large Publishers, they do have maybe a
- 44:46little bit more reach through their marketing.
- 44:48But these days, like anyone can really do anything on the
- 44:53internet. So it's not very much of a
- 44:56limiting or gating Factor. So just to be able to do the
- 45:01right things that as I Alton to be self-publishing males.
- 45:05And since there is a bit of a question that I think about when
- 45:10people do write books, which is how do you ever finish it, and
- 45:15don't, you want to just continue to update it especially since
- 45:18you do have it on hand? And you can just go back and
- 45:22say, all right, well we've had this update in the world, I need
- 45:26to address that and then at the end of the day you never get any
- 45:30other work done because you're constantly Your book that you
- 45:33wrote for years ago? Yeah, no, it's a great point.
- 45:36And yeah, through the process that I followed, I could update
- 45:39it every day if I wanted to write.
- 45:42So but the fact of the matter is for me at least I have so many
- 45:47other things to keep me busy that.
- 45:52I mean, I mean I sat down, I do have some edits that I'm going
- 45:56to do at some point. I haven't updated it at all yet,
- 45:59but I think I mean just the fact that there's so much more to
- 46:04bring Machine learning into operation.
- 46:07So, working in our tool kits, working with clients and other
- 46:11nonprofit partners and stuff that keeps me.
- 46:14So busy that, I think I would rather spend the effort really
- 46:19operationalizing things with. I mean, in a lot of important
- 46:23use case is rather than fine-tuned, every single thing
- 46:28talking of updates and how fast our field is evolving.
- 46:32I'd like one of the recent developments.
- 46:35It is around what are often called like large train models
- 46:40and large language models or language image models, like
- 46:46physically like say let's little bit.
- 46:48This lot of talk about large language models like G PT 3 or
- 46:54calm or models like Dolly and a variance.
- 46:59So what is trustworthy machine learning mean in these settings?
- 47:04Can you maybe share? Thoughts.
- 47:08Yeah. No.
- 47:09I mean this is all this has really exploded in the last
- 47:11couple of years. So yeah, when I started writing
- 47:14the book, this was back in January of 2020 right before
- 47:18covid. And um yeah the world has really
- 47:20changed with that but also with these large language models or
- 47:25Foundation models or whatever you want to call them.
- 47:27So yeah, I mean on the language side, I think it's much harder
- 47:33to define the sort of things that we Are talking about, it
- 47:38think it's much easier with tabular data, so the reasons for
- 47:43that. So there's so many different
- 47:45types of Harm's that can come about with language.
- 47:49So it's not just about bias, although that is one sort of
- 47:54important aspect. So that mean, in terms of bias
- 47:57there can be kind of like occupational, gender biases.
- 48:00That men are doctors and women are nurses, or things of that
- 48:04sort. But in there can also be other
- 48:07things like In sentiment classifiers, certain groups, get
- 48:10more positive sentiment versus others but the school, I mean,
- 48:14keeps going. So there's a lot of toxicity
- 48:18that can be generated out of large language models, which is
- 48:23a different sort of harm. There's the lack of Common Sense
- 48:26reasoning, which is, can lead to a lot of harm as well.
- 48:32So there's a whole variety of things that can go wrong and I
- 48:37think, You haven't even gotten to a point where we can even
- 48:41categorize or collect all of those.
- 48:44Those harmful behaviors from large language models.
- 48:46So until we even have some understanding of the scope, it's
- 48:51even harder to figure out what to do about make the challenges.
- 48:56Even like further. Like I saw, I was reading an
- 49:01article in the communications of the ACM just over the weekend.
- 49:05This is an article written by Professor super Rao come bumpity
- 49:10on. The changing nature of Tau
- 49:14research that he was comparing EA research, with natural
- 49:18sciences and kind of drawing an analogy to engineering versus
- 49:23science. Like, if you look at
- 49:25traditionally, how lot of computer science has evolved, it
- 49:29is still a little bit like engineering.
- 49:31We, we decide what we want to achieve, whether through
- 49:33algorithms, or software engineering or systems, and
- 49:36then, the systems Achieve those. Whereas now with this kind of
- 49:41law, a large language models, we are going to this realm of.
- 49:46We have trained this models, what all can they achieve that?
- 49:49Now this model was trained with some intent in mind.
- 49:53Now, it's being able to explain chokes.
- 49:57Who knows what are the other functionalities maybe other
- 49:59limitations of this models? I think that's that's kind of a
- 50:02very interesting Safeway or evolution of how even machine
- 50:07learning. Eels are becoming these days.
- 50:11Yeah, no I think that's an interesting perspective on it,
- 50:14and relating to point D made right at the beginning.
- 50:18So we don't understand how medicines work often times these
- 50:21drugs range. And so I mean, there's so many
- 50:26examples where we didn't know what these drugs were going to
- 50:29do and then someone figured out how you can actually repurpose
- 50:32this drug for a completely different thing, right?
- 50:34So our favorite example of chloroquine on early in the
- 50:39covid, Sort of pandemic. People thought, oh, this old
- 50:43malaria drug might be useful for for covid and it wasn't bad
- 50:49hypothesis. Actually, because chloroquine
- 50:51has been repurposed from for other diseases or you take I
- 50:56mean, I mean, all sorts of examples that are out there on a
- 51:01non drug repurposing. So the same idea here with AI
- 51:03models and systems. You kind of Maybe started off
- 51:07wanting them to achieve one thing.
- 51:10But then you find do, you can repurpose them, fine-tune them
- 51:14for something else. And why wouldn't you?
- 51:16I mean, this is somehow speaking to this foundational aspect of
- 51:22what language is or what perception is what
- 51:26decision-making is because if these things are applicable more
- 51:30widely, than, that means that we've kind of hit on something.
- 51:33More fundamental, I love that, and it is so true.
- 51:39It's almost like we have This thing that were poking to see,
- 51:44like, what can we do with this. We've got this insane surface
- 51:48area, that it covers and let's just see like can we use it for
- 51:52something else that we didn't originally plan to use it for?
- 51:56So all right transition and again because I really want to
- 51:59get to this before we finish I do want to talk about all of
- 52:03these open source packages you've been working on Coach can
- 52:06you break down what you've been doing?
- 52:10All right, so it's not just me. Obviously we have a large team
- 52:14that I've been research in several labs around the world
- 52:18and India in Dublin, Ireland. Kenya, Israel.
- 52:23I mean in the u.s. all, I mean, all sorts of places and together
- 52:27we've created several open source tool kits in the space of
- 52:32trustworthy. I so we started with two when
- 52:36was the AI fairness 360? And the other was Ariel
- 52:40robustness 360 and both of those, we kind of pull together.
- 52:47Showcasing that, what do practitioners really need?
- 52:50What do purpose and data, scientists need to incorporate
- 52:55these sort of things that were just in the research.
- 52:58Either the bring it down to practice and so that kind of
- 53:01motivated us. And then the success of those to
- 53:06let us to say, let's keep doing this.
- 53:08It's a great way in Not only for the entire Community to come
- 53:12together but also to really make a difference on the world.
- 53:17And so, since then, we've had explained ability 360.
- 53:22So that includes slime and Shop. But also several other IBM
- 53:27research algorithms like the contrast of explanations method
- 53:30and so forth and then the 360 kind of implies some sort of
- 53:36comprehensiveness. So that's where the naming comes
- 53:39from. And unexplained ability.
- 53:41For example, the comprehensiveness is around
- 53:45these different consumers of the explanations.
- 53:48So the engineers, the decision-makers, the affected
- 53:53users. I mean, there's different
- 53:55methods that apply for different constituencies and so the little
- 53:59kids help us and then since then we've continued so we have an
- 54:05uncertainty quantification 360 toolbox.
- 54:09We're working on pulling some things together to create an AI
- 54:13privacy 360 as well and we have our fact sheets effort which is
- 54:18on transparency. So so that actually is not a
- 54:22code base but it is a website with a lot of information on
- 54:27what you need to do to enable transparency in there.
- 54:29So how do people interact with this?
- 54:31And by the way, for anybody listening, we're going to throw
- 54:33all these links into the description.
- 54:35If you want to go around and play and have a nice little The
- 54:40tires a bit and hopefully start incorporating this into your
- 54:43workflow. But what is it?
- 54:44Is it just like an SDK the PIP install.
- 54:50Yeah, so, yeah. So we have GitHub repositories
- 54:54for all of these other than the fact sheets.
- 54:58So yeah, I mean that's the way you can think about it.
- 55:01In fairness, we have both an R version and a python version for
- 55:05everything else. It's python only and so yeah,
- 55:08you can do it. Install, you can download the
- 55:12packages from GitHub. However, you want to do it.
- 55:15And then one thing that we spent a lot of time on is, we have
- 55:19accompanying websites, which have a lot of reference
- 55:21materials. So, for kicking things around.
- 55:25If you're don't want to get into the code level, to begin with,
- 55:28we have a bunch of interactive web demos for each of them.
- 55:32That'll give you a good sense of what's going on.
- 55:34There's glossaries kind of materials that help you think
- 55:39about Should I use one all of those sort of things so that's
- 55:44all there. And first three have been
- 55:47actually donated to the Linux foundation.
- 55:49So they're not governed by IBM anymore.
- 55:52So adversarial robustness fairness and explain ability or
- 55:55now Linux Foundation projects and the others.
- 56:01Hopefully, we'll get there incredible.
- 56:03Well we gotta go now but I also want to ask maybe just a closing
- 56:08question. Non, why is IBM a place that
- 56:14will let this type of thing happen?
- 56:18Like why do they support this type of research?
- 56:21And what is it in the ethos of IBM?
- 56:23Because I know there is a lot of just responsible, AI fairness,
- 56:28ethical AI, all of these Buzz words, as you can say, coming
- 56:34out of IBM, what is it that IBM? Has that wants to do this?
- 56:40Yeah, and yeah, I mean I don't like to think of them as
- 56:43buzzwords for say even though they are right now because it's
- 56:46something about the DNA or the fabric of what we're working
- 56:50towards because as a company. So IBM stands for International
- 56:55Business Machines and the whole idea is to create machines,
- 57:00whatever they are, they used to be clocks and cheese slicers
- 57:05back in the day, now their computers and AI systems.
- 57:08Yeah. Yeah, but it's always been, I
- 57:10mean, what can we do? To help other companies meet
- 57:13their goals and missions and thinking that where?
- 57:17I mean, you first need to have those clients need to have trust
- 57:21in idea. But also those companies need to
- 57:24have trust from their own cloud and users and their own
- 57:28customers, right? So basically I mean trust for me
- 57:32it's everything and as where, I mean developing these
- 57:36Technologies, we need to help. Everyone.
- 57:40I mean really work towards ways to make them responsible and so
- 57:46I think that's the way the company has been and it supports
- 57:50This research for that reason. Yeah that's maybe how I'll leave
- 57:55it. I mean I could offer comparisons
- 57:58but I think the best way to just put it as.
- 58:00I mean, I DM really is a company where the sort of work is valued
- 58:06for for the reason of impacting Society.
- 58:09Positively awesome, man. Well, it's been great talking to
- 58:11you, and thank you for coming on here.
- 58:14Thank you for sharing your wisdom.
- 58:15Kristen, ROM. Thank you, man, for coming and
- 58:17being an incredible co-host with me.
- 58:21This is awesome fellas. It was really fun.
- 58:26Thanks, Christian, Iran fence Demetrios.
- 58:28And yeah, I think you guys lived up to your promise, this was
- 58:32really fun. Fun podcast, thanks H, thanks to
- 58:36the truth. This is a great conversation.
- 58:38I learned so much from this conversation.
- 58:41Likewise cool.