← Lex Fridman

Michael Kearns: Algorithmic Fairness, Bias, Privacy, and Ethics in Machine Learning

第2019-11-19期2019-11-19English

嘉宾:Michael Kearns

收听本集00:00 / 1:49:01
阅读设置
按你的习惯阅读
正文字号
下载播客精读
把这一篇,带走慢慢读

精读待补充

下载功能还未开放

§01Transcript · 00:00–08:50

00:00The following is a conversation with Michael Kearns.

00:03He's a professor at the University of Pennsylvania

00:06and a coauthor of the new book, Ethical Algorithm,

00:09that is the focus of much of this conversation.

00:12It includes algorithmic fairness, bias, privacy,

00:16and ethics in general.

00:18But that is just one of many fields

00:20that Michael is a world class researcher in,

00:22some of which we touch on quickly,

00:24including learning theory

00:26or the theoretical foundation of machine learning,

00:29game theory, quantitative finance,

00:31computational social science, and much more.

00:34But on a personal note,

00:35when I was an undergrad, early on,

00:38I worked with Michael

00:39on an algorithmic trading project

00:41and competition that he led.

00:43That's when I first fell in love

00:44with algorithmic game theory.

00:46While most of my research life

00:48has been in machine learning

00:49and human robot interaction,

00:51the systematic way that game theory

00:53reveals the beautiful structure

00:55in our competitive and cooperating world of humans

00:58has been a continued inspiration to me.

01:01So for that and other things,

01:03I'm deeply thankful to Michael

01:05and really enjoyed having this conversation

01:07again in person after so many years.

01:11This is the Artificial Intelligence Podcast.

01:13If you enjoy it, subscribe on YouTube,

01:16give it five stars on Apple Podcast,

01:18support on Patreon,

01:19or simply connect with me on Twitter

01:21at Lex Friedman, spelled F R I D M A N.

01:25This episode is supported

01:27by an amazing podcast called Pessimists Archive.

01:31Jason, the host of the show,

01:32reached out to me looking to support this podcast,

01:35and so I listened to it, to check it out.

01:38And by listened, I mean I went through it,

01:40Netflix binge style, at least five episodes in a row.

01:44It's not one of my favorite podcasts,

01:46and I think it should be one of the top podcasts

01:48in the world, frankly.

01:50It's a history show

01:51about why people resist new things.

01:54Each episode looks at a moment in history

01:56when something new was introduced,

01:59something that today we think of as commonplace,

02:01like recorded music, umbrellas, bicycles, cars,

02:04chess, coffee, the elevator,

02:06and the show explores why it freaked everyone out.

02:10The latest episode on mirrors and vanity

02:12still stays with me as I think about vanity

02:15in the modern day of the Twitter world.

02:18That's the fascinating thing about the show,

02:20is that stuff that happened long ago,

02:22especially in terms of our fear of new things,

02:25repeats itself in the modern day,

02:26and so has many lessons for us to think about

02:29in terms of human psychology

02:31and the role of technology in our society.

02:34Anyway, you should subscribe

02:35and listen to Pessimist Archive.

02:37I highly recommend it.

02:39And now, here's my conversation with Michael Kearns.

02:44You mentioned reading Fear and Loathing in Las Vegas

02:47in high school, and having a more,

02:50or a bit more of a literary mind.

02:52So, what books, non technical, non computer science,

02:56would you say had the biggest impact on your life,

02:59either intellectually or emotionally?

03:02You've dug deep into my history, I see.

03:04Went deep.

03:05Yeah, I think, well, my favorite novel is

03:08Infinite Jest by David Foster Wallace,

03:10which actually, coincidentally,

03:13much of it takes place in the halls of buildings

03:15right around us here at MIT.

03:18So that certainly had a big influence on me.

03:20And as you noticed, like, when I was in high school,

03:22I actually even started college as an English major.

03:25So, I was very influenced by sort of that genre of journalism

03:29at the time, and thought I wanted to be a writer,

03:30and then realized that an English major teaches you to read,

03:33but it doesn't teach you how to write,

03:35and then I became interested in math

03:36and computer science instead.

03:38Well, in your new book, Ethical Algorithm,

03:41you kind of sneak up from an algorithmic perspective

03:45on these deep, profound philosophical questions

03:48of fairness, of privacy.

03:55In thinking about these topics,

03:56how often do you return to that literary mind that you had?

04:01Yeah, I'd like to claim there was a deeper connection,

04:05but, you know, I think both Aaron and I

04:07kind of came at these topics first and foremost

04:10from a technical angle.

04:11I mean, you know, I kind of consider myself primarily

04:14and originally a machine learning researcher,

04:17and I think as we just watched, like the rest of the society,

04:20the field technically advance, and then quickly on the heels

04:23of that kind of the buzzkill of all of the antisocial behavior

04:27by algorithms, just kind of realized

04:29there was an opportunity for us to do something about it

04:31from a research perspective.

04:34You know, more to the point in your question,

04:36I mean, I do have an uncle who is literally a moral philosopher,

04:41and so in the early days of my life,

04:43he was a philosopher, and so in the early days

04:46of our technical work on fairness topics,

04:48I would occasionally, you know, run ideas behind him.

04:51So, I mean, I remember an early email I sent to him

04:53in which I said, like, oh, you know,

04:55here's a specific definition of algorithmic fairness

04:57that we think is some sort of variant of Rawlsian fairness.

05:02What do you think?

05:03And I thought I was asking a yes or no question,

05:06and I got back your kind of classical philosopher's

05:09response saying, well, it depends.

05:10Hey, then you might conclude this, and that's when I realized

05:14that there was a real kind of rift between the ways

05:19philosophers and others had thought about things

05:21like fairness, you know, from sort of a humanitarian perspective

05:25and the way that you needed to think about it

05:27as a computer scientist if you were going to kind of

05:30implement actual algorithmic solutions.

05:34But I would say the algorithmic solutions take care

05:39of some of the low hanging fruit.

05:41Sort of the problem is a lot of algorithms,

05:44when they don't consider fairness,

05:47they are just terribly unfair.

05:50And when they don't consider privacy,

05:51they're terribly, they violate privacy.

05:55Sort of the algorithmic approach fixes big problems.

05:59But there's still, when you start pushing into the gray area,

06:04that's when you start getting into this philosophy

06:06of what it means to be fair, starting from Plato,

06:09what is justice kind of questions?

06:12Yeah, I think that's right.

06:13And I mean, I would even not go as far as you want to say

06:16that sort of the algorithmic work in these areas

06:19is solving like the biggest problems.

06:22And, you know, we discuss in the book,

06:24the fact that really we are, there's a sense in which

06:27we're kind of looking where the light is in that,

06:30you know, for example, if police are racist

06:34in who they decide to stop and frisk,

06:37and that goes into the data,

06:39there's sort of no undoing that downstream

06:41by kind of clever algorithmic methods.

06:45And I think, especially in fairness,

06:47I mean, I think less so in privacy,

06:49where we feel like the community kind of really has settled

06:52on the right definition, which is differential privacy.

06:56If you just look at the algorithmic fairness literature

06:58already, you can see it's going to be much more of a mess.

07:01And, you know, you've got these theorems saying,

07:03here are three entirely reasonable,

07:06desirable notions of fairness.

07:09And, you know, here's a proof that you cannot simultaneously

07:12have all three of them.

07:14So I think we know that algorithmic fairness

07:17compared to algorithmic privacy

07:19is going to be kind of a harder problem.

07:21And it will have to revisit, I think,

07:23things that have been thought about by,

07:26you know, many generations of scholars before us.

07:29So it's very early days for fairness, I think.

07:32TK So before we get into the details

07:34of differential privacy, and on the fairness side,

07:37let me linger on the philosophy a bit.

07:39Do you think most people are fundamentally good?

07:43Or do most of us have both the capacity

07:46for good and evil within us?

07:48SB I mean, I'm an optimist.

07:50I tend to think that most people are good

07:52and want to do right.

07:55And that deviations from that are, you know,

07:58kind of usually due to circumstance,

08:00not due to people being bad at heart.

08:02TK With people with power,

08:05are people at the heads of governments,

08:08people at the heads of companies,

08:10people at the heads of, maybe, so financial power markets,

08:15do you think the distribution there is also,

08:19most people are good and have good intent?

08:21SB Yeah, I do.

08:22I mean, my statement wasn't qualified to people

08:26not in positions of power.

08:28I mean, I think what happens in a lot of the, you know,

08:30the cliche about absolute power corrupts absolutely.

08:34I mean, you know, I think even short of that,

08:37you know, having spent a lot of time on Wall Street,

08:40and also in arenas very, very different from Wall Street,

08:44like academia, you know, one of the things

08:47I think I've benefited from by moving between

§02Transcript · 08:50–19:45

08:50two very different worlds is you become aware

08:53that, you know, these worlds kind of develop

08:57their own social norms, and they develop

08:59their own rationales for, you know,

09:02behavior, for instance, that might look

09:03unusual to outsiders.

09:05But when you're in that world,

09:07it doesn't feel unusual at all.

09:09And I think this is true of a lot of,

09:11you know, professional cultures, for instance.

09:15And, you know, so then your maybe slippery slope

09:18is too strong of a word.

09:19But, you know, you're in some world

09:21where you're mainly around other people

09:23with the same kind of viewpoints and training

09:25and worldview as you.

09:27And I think that's more of a source of,

09:30of, you know, kind of abuses of power

09:34than sort of, you know, there being good people

09:36and evil people, and that somehow the evil people

09:40are the ones that somehow rise to power.

09:43Oh, that's really interesting.

09:44So it's the, within the social norms

09:46constructed by that particular group of people,

09:50you're all trying to do good.

09:52But because as a group, you might be,

09:54you might drift into something

09:56that for the broader population,

09:58it does not align with the values of society.

10:00That kind of, that's the word.

10:01Yeah, I mean, or not that you drift,

10:03but even the things that don't make sense

10:07to the outside world don't seem unusual to you.

10:11So it's not sort of like a good or a bad thing,

10:13but, you know, like, so for instance,

10:14you know, on, in the world of finance, right?

10:18There's a lot of complicated types of activity

10:21that if you are not immersed in that world,

10:22you cannot see why the purpose of that,

10:25you know, that activity exists at all.

10:27It just seems like, you know, completely useless

10:30and people just like, you know, pushing money around.

10:33And when you're in that world, right,

10:34you're, and you learn more,

10:36your view does become more nuanced, right?

10:39You realize, okay, there is actually a function

10:41to this activity.

10:43And in some cases, you would conclude that actually,

10:46if magically we could eradicate this activity tomorrow,

10:50it would come back because it actually is like

10:52serving some useful purpose.

10:54It's just a useful purpose that's very difficult

10:56for outsiders to see.

10:59And so I think, you know, lots of professional work

11:02environments or cultures, as I might put it,

11:06kind of have these social norms that, you know,

11:08don't make sense to the outside world.

11:10Academia is the same, right?

11:11I mean, lots of people look at academia and say,

11:13you know, what the hell are all of you people doing?

11:16Why are you paid so much in some cases

11:18at taxpayer expenses to do, you know,

11:21to publish papers that nobody reads?

11:24You know, but when you're in that world,

11:25you come to see the value for it.

11:27And, but even though you might not be able to explain it

11:30to, you know, the person in the street.

11:33Right.

11:33And in the case of the financial sector,

11:36tools like credit might not make sense to people.

11:39Like, it's a good example of something that does seem

11:41to pop up and be useful or just the power of markets

11:45and just in general capitalism.

11:47Yeah.

11:47In finance, I think the primary example

11:49I would give is leverage, right?

11:51So being allowed to borrow, to sort of use ten times

11:56as much money as you've actually borrowed, right?

11:58So that's an example of something that before I had

12:00any experience in financial markets,

12:02I might have looked at and said,

12:03well, what is the purpose of that?

12:05That just seems very dangerous and it is dangerous

12:08and it has proven dangerous.

12:10But, you know, if the fact of the matter is that,

12:13you know, sort of on some particular time scale,

12:16you are holding positions that are,

12:19you know, very unlikely to, you know,

12:23lose, you know, your value at risk or variance

12:26is like one or five percent, then it kind of makes sense

12:30that you would be allowed to use a little bit more

12:32than you have because you have, you know,

12:35some confidence that you're not going to lose

12:37it all in a single day.

12:39Now, of course, when that happens,

12:42we've seen what happens, you know, not too long ago.

12:45But, you know, but the idea that it serves

12:48no useful economic purpose under any circumstances

12:52is definitely not true.

12:54We'll return to the other side of the coast,

12:57Silicon Valley, and the problems there as we talk about privacy,

13:02as we talk about fairness.

13:05At the high level, and I'll ask some sort of basic questions

13:09with the hope to get at the fundamental nature of reality.

13:12But from a very high level, what is an ethical algorithm?

13:18So I can say that an algorithm has a running time

13:20of using big O notation n log n.

13:24I can say that a machine learning algorithm

13:27classified cat versus dog with 97 percent accuracy.

13:31Do you think there will one day be a way to measure

13:36sort of in the same compelling way as the big O notation

13:39of this algorithm is 97 percent ethical?

13:44First of all, let me riff for a second on your specific n log n example.

13:48So because early in the book when we're just kind of trying to describe

13:51algorithms period, we say like, okay, you know,

13:54what's an example of an algorithm or an algorithmic problem?

13:58First of all, like it's sorting, right?

14:00You have a bunch of index cards with numbers on them

14:02and you want to sort them.

14:03And we describe, you know, an algorithm that sweeps all the way through,

14:07finds the smallest number, puts it at the front,

14:09then sweeps through again, finds the second smallest number.

14:12So we make the point that this is an algorithm

14:14and it's also a bad algorithm in the sense that, you know,

14:17it's quadratic rather than n log n,

14:20which we know is kind of optimal for sorting.

14:23And we make the point that sort of like, you know,

14:26so even within the confines of a very precisely specified problem,

14:31there, you know, there might be many, many different algorithms

14:35for the same problem with different properties.

14:37Like some might be faster in terms of running time,

14:40some might use less memory, some might have, you know,

14:43better distributed implementations.

14:46And so the point is that already we're used to, you know,

14:50in computer science thinking about trade offs

14:53between different types of quantities and resources

14:56and there being, you know, better and worse algorithms.

15:00And our book is about that part of algorithmic ethics

15:08that we know how to kind of put on that same kind of quantitative footing right now.

15:13So, you know, just to say something that our book is not about,

15:17our book is not about kind of broad, fuzzy notions of fairness.

15:22It's about very specific notions of fairness.

15:25There's more than one of them.

15:28There are tensions between them, right?

15:30But if you pick one of them, you can do something akin to saying

15:35that this algorithm is 97% ethical.

15:39You can say, for instance, the, you know, for this lending model,

15:44the false rejection rate on black people and white people is within 3%, right?

15:51So we might call that a 97% ethical algorithm and a 100% ethical algorithm

15:57would mean that that difference is 0%.

15:59In that case, fairness is specified when two groups, however,

16:04they're defined are given to you.

16:06That's right.

16:07So the, and then you can sort of mathematically start describing the algorithm.

16:11But nevertheless, the part where the two groups are given to you,

16:20I mean, unlike running time, you know, we don't in computer science

16:24talk about how fast an algorithm feels like when it runs.

16:29True.

16:29We measure it and ethical starts getting into feelings.

16:33So, for example, an algorithm runs, you know, if it runs in the background,

16:38it doesn't disturb the performance of my system.

16:40It'll feel nice.

16:41I'll be okay with it.

16:42But if it overloads the system, it'll feel unpleasant.

16:45So in that same way, ethics, there's a feeling of how socially acceptable it is.

16:50How does it represent the moral standards of our society today?

16:55So in that sense, and sorry to linger on that first of high,

16:59low philosophical questions.

17:00Do you have a sense we'll be able to measure how ethical an algorithm is?

17:05First of all, I didn't, certainly didn't mean to give the impression that you can kind of

17:09measure, you know, memory speed trade offs, you know, and that there's a complete mapping from

17:16that onto kind of fairness, for instance, or ethics and accuracy, for example.

17:22In the type of fairness definitions that are largely the objects of study today and starting

17:28to be deployed, you as the user of the definitions, you need to make some hard decisions before you

17:35even get to the point of designing fair algorithms.

17:40One of them, for instance, is deciding who it is that you're worried about protecting,

17:45who you're worried about being harmed by, for instance, some notion of discrimination or

17:50unfairness.

17:52And then you need to also decide what constitutes harm.

17:55So, for instance, in a lending application, maybe you decide that, you know, falsely rejecting

18:02a creditworthy individual, you know, sort of a false negative, is the real harm and that false

18:08positives, i.e. people that are not creditworthy or are not gonna repay your loan, that get a loan,

18:14you might think of them as lucky.

18:17And so that's not a harm, although it's not clear that if you don't have the means to repay a loan,

18:22that being given a loan is not also a harm.

18:26So, you know, the literature is sort of so far quite limited in that you sort of need to say,

18:33who do you want to protect and what would constitute harm to that group?

18:37And when you ask questions like, will algorithms feel ethical?

18:42One way in which they won't, under the definitions that I'm describing, is if, you know, if you are

18:47an individual who is falsely denied a loan, incorrectly denied a loan, all of these definitions

18:54basically say like, well, you know, your compensation is the knowledge that we are also

19:00falsely denying loans to other people, you know, in other groups at the same rate that we're doing

19:05it to you.

19:05And, you know, and so there is actually this interesting even technical tension in the field

19:12right now between these sort of group notions of fairness and notions of fairness that might

19:18actually feel like real fairness to individuals, right?

19:22They might really feel like their particular interests are being protected or thought about

19:27by the algorithm rather than just, you know, the groups that they happen to be members of.

19:33Is there parallels to the big O notation of worst case analysis?

19:37So, is it important to looking at the worst violation of fairness for an individual?

§03Transcript · 19:45–35:38

19:45Is it important to minimize that one individual?

19:48So like worst case analysis, is that something you think about or?

19:52I mean, I think we're not even at the point where we can sensibly think about that.

19:56So first of all, you know, we're talking here both about fairness applied at the group level,

20:03which is a relatively weak thing, but it's better than nothing.

20:08And also the more ambitious thing of trying to give some individual promises, but even

20:14that doesn't incorporate, I think something that you're hinting at here is what I might

20:18call subjective fairness, right?

20:20So a lot of the definitions, I mean, all of the definitions in the algorithmic fairness

20:25literature are what I would kind of call received wisdom definitions.

20:28It's sort of, you know, somebody like me sits around and things like, okay, you know, I

20:33think here's a technical definition of fairness that I think people should want or that they

20:37should, you know, think of as some notion of fairness, maybe not the only one, maybe

20:41not the best one, maybe not the last one.

20:44But we really actually don't know from a subjective standpoint, like what people really

20:52think is fair.

20:53You know, we just started doing a little bit of work in our group at actually doing kind

21:01of human subject experiments in which we, you know, ask people about, you know, we ask

21:09them questions about fairness, we survey them, we, you know, we show them pairs of individuals

21:15in, let's say, a criminal recidivism prediction setting, and we ask them, do you think these

21:20two individuals should be treated the same as a matter of fairness?

21:24And to my knowledge, there's not a large literature in which ordinary people are asked

21:31about, you know, they have sort of notions of their subjective fairness elicited from

21:37them.

21:38It's mainly, you know, kind of scholars who think about fairness kind of making up their

21:43own definitions.

21:44And I think this needs to change actually for many social norms, not just for fairness,

21:50right?

21:50So there's a lot of discussion these days in the AI community about interpretable AI

21:56or understandable AI.

21:58And as far as I can tell, everybody agrees that deep learning or at least the outputs

22:04of deep learning are not very understandable, and people might agree that sparse linear

22:11models with integer coefficients are more understandable.

22:15But nobody's really asked people.

22:17You know, there's very little literature on, you know, sort of showing people models

22:21and asking them, do they understand what the model is doing?

22:25And I think that in all these topics, as these fields mature, we need to start doing more

22:32behavioral work.

22:34Yeah, which is one of my deep passions is psychology.

22:38And I always thought computer scientists will be the best future psychologists in a sense

22:44that data is, especially in this modern world, the data is a really powerful way to understand

22:51and study human behavior.

22:53And you've explored that with your game theory side of work as well.

22:56Yeah, I'd like to think that what you say is true about computer scientists and psychology

23:02from my own limited wandering into human subject experiments.

23:07We have a great deal to learn, not just computer science, but AI and machine learning more

23:11specifically, I kind of think of as imperialist research communities in that, you know, kind

23:17of like physicists in an earlier generation, computer scientists kind of don't think of

23:22any scientific topic that's off limits to them.

23:25They will like freely wander into areas that others have been thinking about for decades

23:30or longer.

23:31And, you know, we usually tend to embarrass ourselves in those efforts for some amount

23:37of time.

23:38Like, you know, I think reinforcement learning is a good example, right?

23:41So a lot of the early work in reinforcement learning, I have complete sympathy for the

23:48control theorists that looked at this and said like, okay, you are reinventing stuff

23:53that we've known since like the forties, right?

23:55But, you know, in my view, eventually this sort of, you know, computer scientists have

24:01made significant contributions to that field, even though we kind of embarrassed ourselves

24:06for the first decade.

24:07So I think if computer scientists are gonna start engaging in kind of psychology, human

24:12subjects type of research, we should expect to be embarrassing ourselves for a good 10

24:18years or so, and then hope that it turns out as well as, you know, some other areas that

24:23we've waded into.

24:25So you kind of mentioned this, just to linger on the idea of an ethical algorithm, of idea

24:30of groups, sort of group thinking and individual thinking.

24:33And we're struggling that.

24:35One of the amazing things about algorithms and your book and just this field of study

24:39is it gets us to ask, like forcing machines, converting these ideas into algorithms is

24:46forcing us to ask questions of ourselves as a human civilization.

24:50So there's a lot of people now in public discourse doing sort of group thinking, thinking like

24:58there's particular sets of groups that we don't wanna discriminate against and so on.

25:02And then there is individuals, sort of in the individual life stories, the struggles

25:08they went through and so on.

25:10Now, like in philosophy, it's easier to do group thinking because you don't, it's very

25:16hard to think about individuals.

25:17There's so much variability, but with data, you can start to actually say, you know what

25:23group thinking is too crude.

25:26You're actually doing more discrimination by thinking in terms of groups and individuals.

25:30Can you linger on that kind of idea of group versus individual and ethics?

25:36And is it good to continue thinking in terms of groups in algorithms?

25:41So let me start by answering a very good high level question with a slightly narrow technical

25:49response, which is these group definitions of fairness, like here's a few groups, like

25:54different racial groups, maybe gender groups, maybe age, what have you.

25:59And let's make sure that for none of these groups, do we have a false negative rate,

26:06which is much higher than any other one of these groups.

26:09Okay, so these are kind of classic group aggregate notions of fairness.

26:13And you know, but at the end of the day, an individual you can think of as a combination

26:18of all of their attributes, right?

26:19They're a member of a racial group, they have a gender, they have an age, and many other

26:26demographic properties that are not biological, but that are still very strong determinants

26:33of outcome and personality and the like.

26:36So one, I think, useful spectrum is to sort of think about that array between the group

26:43and the specific individual, and to realize that in some ways, asking for fairness at

26:49the individual level is to sort of ask for group fairness simultaneously for all possible

26:56combinations of groups.

26:57So in particular, you know, if I build a predictive model that meets some definition of fairness,

27:06definition of fairness by race, by gender, by age, by what have you, marginally, to get

27:14it slightly technical, sort of independently, I shouldn't expect that model to not discriminate

27:20against disabled Hispanic women over age 55, making less than $50,000 a year annually,

27:27even though I might have protected each one of those attributes marginally.

27:32So the optimization, actually, that's a fascinating way to put it.

27:35So you're just optimizing, the one way to achieve the optimizing fairness for individuals

27:42is just to add more and more definitions of groups that each individual belongs to.

27:46That's right.

27:47So, you know, at the end of the day, we could think of all of ourselves as groups of size

27:50one because eventually there's some attribute that separates you from me and everybody else

27:55in the world, okay?

27:57And so it is possible to put, you know, these incredibly coarse ways of thinking about fairness

28:03and these very, very individualistic specific ways on a common scale.

28:09And you know, one of the things we've worked on from a research perspective is, you know,

28:14so we sort of know how to, you know, in relative terms, we know how to provide fairness guarantees

28:20at the core system of the scale.

28:22We don't know how to provide kind of sensible, tractable, realistic fairness guarantees at

28:28the individual level, but maybe we could start creeping towards that by dealing with more

28:33refined subgroups.

28:35I mean, we gave a name to this phenomenon where, you know, you protect, you enforce

28:41some definition of fairness for a bunch of marginal attributes or features, but then

28:46you find yourself discriminating against a combination of them.

28:49We call that fairness gerrymandering because like political gerrymandering, you know, you're

28:55giving some guarantee at the aggregate level, but when you kind of look in a more granular

29:01way at what's going on, you realize that you're achieving that aggregate guarantee by sort

29:06of favoring some groups and discriminating against other ones.

29:10And so there are, you know, it's early days, but there are algorithmic approaches that

29:15let you start creeping towards that, you know, individual end of the spectrum.

29:22Does there need to be human input in the form of weighing the value of the importance of

29:30each kind of group?

29:33So for example, is it like, so gender, say crudely speaking, male and female, and then

29:42different races, are we as humans supposed to put value on saying gender is 0.6 and race

29:51is 0.4 in terms of in the big optimization of achieving fairness?

29:59Is that kind of what humans are supposed to do here?

30:01I mean, of course, you know, I don't need to tell you that, of course, technically one

30:05could incorporate such weights if you wanted to into a definition of fairness.

30:10You know, fairness is an interesting topic in that having worked in the book being about

30:19both fairness, privacy, and many other social norms, fairness, of course, is a much, much

30:24more loaded topic.

30:27So privacy, I mean, people want privacy, people don't like violations of privacy, violations

30:32of privacy cause damage, angst, and bad publicity for the companies that are victims of them.

30:40But sort of everybody agrees more data privacy would be better than less data privacy.

30:48And you don't have these, somehow the discussions of fairness don't become politicized along

30:53other dimensions like race and about gender and, you know, whether we, and, you know,

31:01you quickly find yourselves kind of revisiting topics that have been kind of unresolved forever,

31:10like affirmative action, right?

31:12Sort of, you know, like, why are you protecting, and some people will say, why are you protecting

31:16this particular racial group?

31:20And others will say, well, we need to do that as a matter of retribution.

31:26Other people will say, it's a matter of economic opportunity.

31:30And I don't know which of, you know, whether any of these are the right answers, but you

31:34sort of, fairness is sort of special in that as soon as you start talking about it, you

31:39inevitably have to participate in debates about fair to whom, at what expense to who

31:46else.

31:47I mean, even in criminal justice, right, you know, where people talk about fairness in

31:56criminal sentencing or, you know, predicting failures to appear or making parole decisions

32:02or the like, they will, you know, they'll point out that, well, these definitions of

32:08fairness are all about fairness for the criminals.

32:13And what about fairness for the victims, right?

32:16So when I basically say something like, well, the false incarceration rate for black people

32:22and white people needs to be roughly the same, you know, there's no mention of potential

32:28victims of criminals in such a fairness definition.

32:33And that's the realm of public discourse.

32:34I should actually recommend, I just listened to people listening, Intelligence Squares

32:41debates, US edition just had a debate.

32:45They have this structure where you have old Oxford style or whatever they're called, debates,

32:50you know, it's two versus two and they talked about affirmative action and it was incredibly

32:55interesting that there's really good points on every side of this issue, which is fascinating

33:03to listen to.

33:04Yeah, yeah, I agree.

33:05And so it's interesting to be a researcher trying to do, for the most part, technical

33:12algorithmic work, but Aaron and I both quickly learned you cannot do that and then go out

33:17and talk about it and expect people to take it seriously if you're unwilling to engage

33:22in these broader debates that are entirely extra algorithmic, right?

33:28They're not about, you know, algorithms and making algorithms better.

33:31They're sort of, you know, as you said, sort of like, what should society be protecting

33:35in the first place?

33:36When you discuss the fairness, an algorithm that achieves fairness, whether in the constraints

33:42and the objective function, there's an immediate kind of analysis you can perform, which is

33:48saying, if you care about fairness in gender, this is the amount that you have to pay for

33:56it in terms of the performance of the system.

33:59Like do you, is there a role for statements like that in a table, in a paper, or do you

34:03want to really not touch that?

34:06No, no, we want to touch that and we do touch it.

34:09So I mean, just again, to make sure I'm not promising your viewers more than we know how

34:16to provide, but if you pick a definition of fairness, like I'm worried about gender discrimination

34:21and you pick a notion of harm, like false rejection for a loan, for example, and you

34:27give me a model, I can definitely, first of all, go audit that model.

34:30It's easy for me to go, you know, from data to kind of say like, okay, your false rejection

34:36rate on women is this much higher than it is on men, okay?

34:41But once you also put the fairness into your objective function, I mean, I think the table

34:47that you're talking about is what we would call the Pareto curve, right?

34:51You can literally trace out, and we give examples of such plots on real data sets in the book,

34:58you have two axes.

34:59On the X axis is your error, on the Y axis is unfairness by whatever, you know, if it's

35:06like the disparity between false rejection rates between two groups.

35:12And you know, your algorithm now has a knob that basically says, how strongly do I want

35:17to enforce fairness?

35:19And the less unfair, you know, if the two axes are error and unfairness, we'd like to

35:24be at zero, zero.

35:26We'd like zero error and zero unfairness simultaneously.

35:31Anybody who works in machine learning knows that you're generally not going to get to

35:34zero error period without any fairness constraint whatsoever.

§04Transcript · 35:38–51:43

35:38So that's not going to happen.

35:41But in general, you know, you'll get this, you'll get some kind of convex curve that

35:46specifies the numerical trade off you face.

35:49You know, if I want to go from 17% error down to 16% error, what will be the increase in

35:57unfairness that I experienced as a result of that?

36:02And so this curve kind of specifies the, you know, kind of undominated models.

36:09Models that are off that curve are, you know, can be strictly improved in one or both dimensions.

36:14You can, you know, either make the error better or the unfairness better or both.

36:18And I think our view is that not only are these objects, these Pareto curves, you know,

36:26with efficient frontiers as you might call them, not only are they valuable scientific

36:34objects, I actually think that they in the near term might need to be the interface between

36:41researchers working in the field and stakeholders in given problems.

36:46So you know, you could really imagine telling a criminal jurisdiction, look, if you're concerned

36:55about racial fairness, but you're also concerned about accuracy.

36:58You want to, you know, you want to release on parole people that are not going to recommit

37:05a violent crime and you don't want to release the ones who are.

37:08So you know, that's accuracy.

37:10But if you also care about those, you know, the mistakes you make not being disproportionately

37:15on one racial group or another, you can show this curve.

37:19I'm hoping that in the near future, it'll be possible to explain these curves to non

37:23technical people that are the ones that have to make the decision, where do we want to

37:29be on this curve?

37:30Like, what are the relative merits or value of having lower error versus lower unfairness?

37:38You know, that's not something computer scientists should be deciding for society, right?

37:43That, you know, the people in the field, so to speak, the policymakers, the regulators,

37:49that's who should be making these decisions.

37:51But I think and hope that they can be made to understand that these trade offs generally

37:56exist and that you need to pick a point and like, and ignoring the trade off, you know,

38:03you're implicitly picking a point anyway, right?

38:06You just don't know it and you're not admitting it.

38:09Just to linger on the point of trade offs, I think that's a really important thing to

38:12sort of think about.

38:15So you think when we start to optimize for fairness, there's almost always in most system

38:22going to be trade offs.

38:25Can you like, what's the trade off between just to clarify, there have been some sort

38:30of technical terms thrown around, but sort of a perfectly fair world.

38:39Why is that?

38:40Why will somebody be upset about that?

38:43The specific trade off I talked about just in order to make things very concrete was

38:47between numerical error and some numerical measure of unfairness.

38:53What is numerical error in the case of...

38:56Just like say predictive error, like, you know, the probability or frequency with which

39:01you release somebody on parole who then goes on to recommit a violent crime or keep incarcerated

39:08somebody who would not have recommitted a violent crime.

39:10So in the case of awarding somebody parole or giving somebody parole or letting them

39:17out on parole, you don't want them to recommit a crime.

39:21So it's your system failed in prediction if they happen to do a crime.

39:26Okay, so that's one axis.

39:30And what's the fairness axis?

39:31So then the fairness axis might be the difference between racial groups in the kind of false

39:39positive predictions, namely people that I kept incarcerated predicting that they would

39:47recommit a violent crime when in fact they wouldn't have.

39:51Right.

39:52And the unfairness of that, just to linger it and allow me to in eloquently to try to

40:00sort of describe why that's unfair, why unfairness is there.

40:06The unfairness you want to get rid of is that in the judge's mind, the bias of having being

40:13brought up to society, the slight racial bias, the racism that exists in the society, you

40:18want to remove that from the system.

40:21Another way that's been debated is sort of equality of opportunity versus equality of

40:28outcome.

40:30And there's a weird dance there that's really difficult to get right.

40:35And we don't, affirmative action is exploring that space.

40:40Right.

40:41And then this also quickly bleeds into questions like, well, maybe if one group really does

40:48recommit crimes at a higher rate, the reason for that is that at some earlier point in

40:55the pipeline or earlier in their lives, they didn't receive the same resources that the

41:00other group did.

41:02And so there's always in kind of fairness discussions, the possibility that the real

41:08injustice came earlier, right?

41:11Earlier in this individual's life, earlier in this group's history, et cetera, et cetera.

41:16And so a lot of the fairness discussion is almost, the goal is for it to be a corrective

41:20mechanism to account for the injustice earlier in life.

41:25By some definitions of fairness or some theories of fairness, yeah.

41:29Others would say like, look, it's not to correct that injustice, it's just to kind of level

41:35the playing field right now and not falsely incarcerate more people of one group than

41:40another group.

41:41But I mean, I think just it might be helpful just to demystify a little bit about the many

41:46ways in which bias or unfairness can come into algorithms, especially in the machine

41:54learning era, right?

41:55I think many of your viewers have probably heard these examples before, but let's say

42:00I'm building a face recognition system, right?

42:04And so I'm kind of gathering lots of images of faces and trying to train the system to

42:12recognize new faces of those individuals from training on a training set of those faces

42:17of individuals.

42:19And it shouldn't surprise anybody or certainly not anybody in the field of machine learning

42:24if my training data set was primarily white males and I'm training the model to maximize

42:34the overall accuracy on my training data set, that the model can reduce its error most by

42:44getting things right on the white males that constitute the majority of the data set, even

42:48if that means that on other groups, they will be less accurate, okay?

42:53Now, there's a bunch of ways you could think about addressing this.

42:57One is to deliberately put into the objective of the algorithm not to optimize the error

43:05at the expense of this discrimination, and then you're kind of back in the land of these

43:09kind of two dimensional numerical trade offs.

43:13A valid counter argument is to say like, well, no, you don't have to, there's no, you know,

43:18the notion of the tension between error and accuracy here is a false one.

43:22You could instead just go out and get much more data on these other groups that are in

43:27the minority and, you know, equalize your data set, or you could train a separate model

43:34on those subgroups and, you know, have multiple models.

43:38The point I think we would, you know, we tried to make in the book is that those things have

43:43cost too, right?

43:45Going out and gathering more data on groups that are relatively rare compared to your

43:51plurality or more majority group that, you know, it may not cost you in the accuracy

43:55of the model, but it's going to cost, you know, it's going to cost the company developing

43:59this model more money to develop that, and it also costs more money to build separate

44:04predictive models and to implement and deploy them.

44:07So even if you can find a way to avoid the tension between error and accuracy in training

44:14a model, you might push the cost somewhere else, like money, like development time, research

44:20time and the like.

44:22There are fundamentally difficult philosophical questions, in fairness, and we live in a very

44:30divisive political climate, outraged culture.

44:34There is alt right folks on 4chan, trolls.

44:38There is social justice warriors on Twitter.

44:43There's very divisive, outraged folks on all sides of every kind of system.

44:49How do you, how do we as engineers build ethical algorithms in such divisive culture?

44:57Do you think they could be disjoint?

44:59The human has to inject your values, and then you can optimize over those values.

45:04But in our times, when you start actually applying these systems, things get a little

45:09bit challenging for the public discourse.

45:13How do you think we can proceed?

45:14Yeah, I mean, for the most part in the book, a point that we try to take some pains to

45:21make is that we don't view ourselves or people like us as being in the position of deciding

45:29for society what the right social norms are, what the right definitions of fairness are.

45:34Our main point is to just show that if society or the relevant stakeholders in a particular

45:41domain can come to agreement on those sorts of things, there's a way of encoding that

45:47into algorithms in many cases, not in all cases.

45:50One other misconception that hopefully we definitely dispel is sometimes people read

45:55the title of the book and I think not unnaturally fear that what we're suggesting is that the

46:00algorithms themselves should decide what those social norms are and develop their own notions

46:05of fairness and privacy or ethics, and we're definitely not suggesting that.

46:10The title of the book is Ethical Algorithm, by the way, and I didn't think of that interpretation

46:13of the title.

46:14That's interesting.

46:15Yeah, yeah.

46:16I mean, especially these days where people are concerned about the robots becoming our

46:21overlords, the idea that the robots would also sort of develop their own social norms

46:25is just one step away from that.

46:29But I do think, obviously, despite disclaimer that people like us shouldn't be making those

46:35decisions for society, we are kind of living in a world where in many ways computer scientists

46:40have made some decisions that have fundamentally changed the nature of our society and democracy

46:46and sort of civil discourse and deliberation in ways that I think most people generally

46:53feel are bad these days, right?

46:55But they had to make, so if we look at people at the heads of companies and so on, they

47:01had to make those decisions, right?

47:02There has to be decisions, so there's two options, either you kind of put your head

47:08in the sand and don't think about these things and just let the algorithm do what it does,

47:14or you make decisions about what you value, you know, of injecting moral values into the

47:19algorithm.

47:20Look, I never mean to be an apologist for the tech industry, but I think it's a little

47:26bit too far to sort of say that explicit decisions were made about these things.

47:31So let's, for instance, take social media platforms, right?

47:34So like many inventions in technology and computer science, a lot of these platforms

47:40that we now use regularly kind of started as curiosities, right?

47:45I remember when things like Facebook came out and its predecessors like Friendster,

47:49which nobody even remembers now, people really wonder, like, why would anybody want to spend

47:55time doing that?

47:56I mean, even the web when it first came out, when it wasn't populated with much content

48:01and it was largely kind of hobbyists building their own kind of ramshackle websites, a lot

48:07of people looked at this and said, well, what is the purpose of this thing?

48:09Why is this interesting?

48:11Who would want to do this?

48:12And so even things like Facebook and Twitter, yes, technical decisions were made by engineers,

48:18by scientists, by executives in the design of those platforms, but, you know, I don't

48:23think 10 years ago anyone anticipated that those platforms, for instance, might kind

48:32of acquire undue, you know, influence on political discourse or on the outcomes of elections.

48:42And I think the scrutiny that these companies are getting now is entirely appropriate, but

48:47I think it's a little too harsh to kind of look at history and sort of say like, oh,

48:53you should have been able to anticipate that this would happen with your platform.

48:56And in this sort of gaming chapter of the book, one of the points we're making is that,

49:00you know, these platforms, right, they don't operate in isolation.

49:05So unlike the other topics we're discussing, like fairness and privacy, like those are

49:09really cases where algorithms can operate on your data and make decisions about you

49:13and you're not even aware of it, okay?

49:16Things like Facebook and Twitter, these are, you know, these are systems, right?

49:20These are social systems and their evolution, even their technical evolution because machine

49:25learning is involved, is driven in no small part by the behavior of the users themselves

49:31and how the users decide to adopt them and how to use them.

49:35And so, you know, I'm kind of like who really knew that, you know, until we saw it happen,

49:44who knew that these things might be able to influence the outcome of elections?

49:48Who knew that, you know, they might polarize political discourse because of the ability

49:55to, you know, decide who you interact with on the platform and also with the platform

50:00naturally using machine learning to optimize for your own interest that they would further

50:05isolate us from each other and, you know, like feed us all basically just the stuff

50:10that we already agreed with.

50:12So I think, you know, we've come to that outcome, I think, largely, but I think it's

50:18something that we all learned together, including the companies as these things happen.

50:24You asked like, well, are there algorithmic remedies to these kinds of things?

50:29And again, these are big problems that are not going to be solved with, you know, somebody

50:35going in and changing a few lines of code somewhere in a social media platform.

50:40But I do think in many ways, there are definitely ways of making things better.

50:44I mean, like an obvious recommendation that we make at some point in the book is like,

50:49look, you know, to the extent that we think that machine learning applied for personalization

50:55purposes in things like newsfeed, you know, or other platforms has led to polarization

51:03and intolerance of opposing viewpoints.

51:07As you know, right, these algorithms have models, right, and they kind of place people

51:11in some kind of metric space, and they place content in that space, and they sort of know

51:17the extent to which I have an affinity for a particular type of content.

51:22And by the same token, they also probably have that same model probably gives you a

51:26good idea of the stuff I'm likely to violently disagree with or be offended by, okay?

51:32So you know, in this case, there really is some knob you could tune that says like, instead

51:37of showing people only what they like and what they want, let's show them some stuff

§05Transcript · 51:43–1:06:00

51:43that we think that they don't like, or that's a little bit further away.

51:46And you could even imagine users being able to control this, you know, just like everybody

51:51gets a slider, and that slider says like, you know, how much stuff do you want to see

51:58that's kind of, you know, you might disagree with, or is at least further from your interest.

52:02It's almost like an exploration button.

52:05So just get your intuition.

52:08Do you think engagement, so like you staying on the platform, you're staying engaged.

52:15Do you think fairness, ideas of fairness won't emerge?

52:19Like how bad is it to just optimize for engagement?

52:23Do you think we'll run into big trouble if we're just optimizing for how much you love

52:28the platform?

52:29Well, I mean, optimizing for engagement kind of got us where we are.

52:34So do you, one, have faith that it's possible to do better?

52:39And two, if it is, how do we do better?

52:44I mean, it's definitely possible to do different, right?

52:47And again, you know, it's not as if I think that doing something different than optimizing

52:51for engagement won't cost these companies in real ways, including revenue and profitability

52:57potentially.

52:58In the short term at least.

53:00Yeah.

53:01In the short term.

53:02Right.

53:03And again, you know, if I worked at these companies, I'm sure that it would have seemed

53:08like the most natural thing in the world also to want to optimize engagement, right?

53:12And that's good for users in some sense.

53:14You want them to be, you know, vested in the platform and enjoying it and finding it useful,

53:19interesting, and or productive.

53:21But you know, my point is, is that the idea that there is, that it's sort of out of their

53:27hands as you said, or that there's nothing to do about it, never say never, but that

53:31strikes me as implausible as a machine learning person, right?

53:34I mean, these companies are driven by machine learning and this optimization of engagement

53:39is essentially driven by machine learning, right?

53:42It's driven by not just machine learning, but you know, very, very large scale A, B

53:47experimentation where you kind of tweak some element of the user interface or tweak some

53:53component of an algorithm or tweak some component or feature of your click through prediction

53:59model.

54:01And my point is, is that anytime you know how to optimize for something, you, you know,

54:06by def, almost by definition, that solution tells you how not to optimize for it or to

54:10do something different.

54:13Engagement can be measured.

54:16So sort of optimizing for sort of minimizing divisiveness or maximizing intellectual growth

54:25over the lifetime of a human being are very difficult to measure.

54:30That's right.

54:31And I'm not claiming that doing something different will immediately make it apparent

54:38that this is a good thing for society and in particular, I mean, I think one way of

54:42thinking about where we are on some of these social media platforms is that, you know,

54:47it kind of feels a bit like we're in a bad equilibrium, right?

54:50That these systems are helping us all kind of optimize something myopically and selfishly

54:55for ourselves and of course, from an individual standpoint at any given moment, like why would

55:02I want to see things in my newsfeed that I found irrelevant, offensive or, you know,

55:07or the like, okay?

55:09But you know, maybe by all of us, you know, having these platforms myopically optimized

55:15in our interests, we have reached a collective outcome as a society that we're unhappy with

55:20in different ways.

55:21Let's say with respect to things like, you know, political discourse and tolerance of

55:26opposing viewpoints.

55:28And if Mark Zuckerberg gave you a call and said, I'm thinking of taking a sabbatical,

55:34could you run Facebook for me for six months?

55:37What would you, how?

55:39I think no thanks would be my first response, but there are many aspects of being the head

55:45of the entire company that are kind of entirely exogenous to many of the things that we're

55:51discussing here.

55:52Yes.

55:53And so I don't really think I would need to be CEO of Facebook to kind of implement the,

55:58you know, more limited set of solutions that I might imagine.

56:02But I think one concrete thing they could do is they could experiment with letting people

56:08who chose to, to see more stuff in their newsfeed that is not entirely kind of chosen to optimize

56:17for their particular interests, beliefs, et cetera.

56:22So the, the kind of thing, so I could speak to YouTube, but I think Facebook probably

56:27does something similar is they're quite effective at automatically finding what sorts of groups

56:34you belong to, not based on race or gender or so on, but based on the kind of stuff you

56:40enjoy watching in the case of YouTube.

56:43Sort of, it's a, it's a difficult thing for Facebook or YouTube to then say, well, you

56:50know what?

56:51We're going to show you something from a very different cluster.

56:54Even though we believe algorithmically, you're unlikely to enjoy that thing sort of that's

57:00a weird jump to make.

57:02There has to be a human, like at the very top of that system that says, well, that will

57:07be longterm healthy for you.

57:09That's more than an algorithmic decision.

57:11Or that same person could say that'll be longterm healthy for the platform or for the platform's

57:18influence on society outside of the platform, right?

57:22And it, you know, it's easy for me to sit here and say these things, but conceptually

57:27I do not think that these are kind of totally or should, they shouldn't be kind of completely

57:32alien ideas, right?

57:34That, you know, you could try things like this and it wouldn't be, you know, we wouldn't

57:40have to invent entirely new science to do it because if we're all already embedded in

57:45some metric space and there's a notion of distance between you and me and every other,

57:50every piece of content, then, you know, we know exactly, you know, the same model that

57:56tells, you know, dictates how to make me really happy also tells how to make me as unhappy

58:03as possible as well.

58:04Right.

58:05The focus in your book and algorithmic fairness research today in general is on machine learning,

58:11like we said, is data, but, and just even the entire AI field right now is captivated

58:16with machine learning, with deep learning.

58:19Do you think ideas in symbolic AI or totally other kinds of approaches are interesting,

58:25useful in the space, have some promising ideas in terms of fairness?

58:31I haven't thought about that question specifically in the context of fairness.

58:35I definitely would agree with that statement in the large, right?

58:39I mean, I am, you know, one of many machine learning researchers who do believe that the

58:46great successes that have been shown in machine learning recently are great successes, but

58:51they're on a pretty narrow set of tasks.

58:53I mean, I don't, I don't think we're kind of notably closer to general artificial intelligence

59:00now than we were when I started my career.

59:03I mean, there's been progress and I do think that we are kind of as a community, maybe

59:08looking a bit where the light is, but the light is shining pretty bright there right

59:12now and we're finding a lot of stuff.

59:13So I don't want to like argue with the progress that's been made in areas like deep learning,

59:18for example.

59:19This touches another sort of related thing that you mentioned and that people might misinterpret

59:25from the title of your book, ethical algorithm.

59:27Is it possible for the algorithm to automate some of those decisions?

59:31Sort of a higher level decisions of what kind of, like what, what should be fair, what should

59:37be fair.

59:38The more you know about a field, the more aware you are of its limitations.

59:43And so I'm a, I'm pretty leery of sort of trying, you know, there's, there's so much

59:47we don't all, we already don't know in fairness, even when we're the ones picking the fairness

59:53definitions and, you know, comparing alternatives and thinking about the tensions between different

59:58definitions that the idea of kind of letting the algorithm start exploring as well.

60:05I definitely think, you know, this is a much narrower statement.

60:08I definitely think that kind of algorithmic auditing for different types of unfairness,

60:12right?

60:13So like in this gerrymandering example where I might want to prevent not just discrimination

60:18against very broad categories, but against combinations of broad categories.

60:23You know, you quickly get to a point where there's a lot of, a lot of categories.

60:27There's a lot of combinations of end features and, you know, you can use algorithmic techniques

60:33to sort of try to find the subgroups on which you're discriminating the most and try to

60:38fix that.

60:39That's actually kind of the form of one of the algorithms we developed for this fairness

60:42gerrymandering problem.

60:44But I'm, I'm, you know, partly because of our technological, you know, our sort of our

60:49scientific ignorance on these topics right now.

60:53And also partly just because these topics are so loaded emotionally for people that

60:58I just don't see the value.

61:00I mean, again, never say never, but I just don't think we're at a moment where it's

61:03a great time for computer scientists to be rolling out the idea like, hey, you know,

61:08you know, not only have we kind of figured fairness out, but, you know, we think the

61:12algorithm should start deciding what's fair or giving input on that decision.

61:16I just don't, it's like the cost benefit analysis to the field of kind of going there

61:22right now just doesn't seem worth it to me.

61:24That said, I should say that I think computer scientists should be more philosophically,

61:29like should enrich their thinking about these kinds of things.

61:32I think it's been too often used as an excuse for roboticists working on autonomous vehicles,

61:38for example, to not think about the human factor or psychology or safety in the same

61:43way like computer science design algorithms that have been sort of using it as an excuse.

61:47And I think it's time for basically everybody to become a computer scientist.

61:51I was about to agree with everything you said except that last point.

61:54I think that the other way of looking at it is that I think computer scientists, you know,

61:59and many of us are, but we need to weigh it out into the world more, right?

62:06I mean, just the influence that computer science and therefore computer scientists have had

62:12on society at large just like has exponentially magnified in the last 10 or 20 years or so.

62:21And you know, before when we were just tinkering around amongst ourselves and it didn't matter

62:26that much, there was no need for sort of computer scientists to be citizens of the world more

62:32broadly.

62:33And I think those days need to be over very, very fast.

62:36And I'm not saying everybody needs to do it, but to me, like the right way of doing it

62:40is to not to sort of think that everybody else is going to become a computer scientist.

62:44But you know, I think people are becoming more sophisticated about computer science,

62:49even lay people.

62:50You know, I think one of the reasons we decided to write this book is we thought 10 years

62:55ago I wouldn't have tried this just because I just didn't think that sort of people's

63:00awareness of algorithms and machine learning, you know, the general population would have

63:06been high.

63:07I mean, you would have had to first, you know, write one of the many books kind of just explicating

63:12that topic to a lay audience first.

63:14Now I think we're at the point where like lots of people without any technical training

63:18at all know enough about algorithms and machine learning that you can start getting to these

63:22nuances of things like ethical algorithms.

63:26I think we agree that there needs to be much more mixing, but I think a lot of the onus

63:31of that mixing needs to be on the computer science community.

63:35Yeah.

63:36So just to linger on the disagreement, because I do disagree with you on the point that I

63:41think if you're a biologist, if you're a chemist, if you're an MBA business person, all of those

63:50things you can, like if you learned a program, and not only program, if you learned to do

63:57machine learning, if you learned to do data science, you immediately become much more

64:02powerful in the kinds of things you can do.

64:04And therefore literature, like library sciences, like, so you were speaking, I think, I think

64:11it holds true what you're saying for the next few years.

64:14But long term, if you're interested to me, if you're interested in philosophy, you should

64:21learn a program, because then you can scrape data and study what people are thinking about

64:27on Twitter, and then start making philosophical conclusions about the meaning of life.

64:33I just feel like the access to data, the digitization of whatever problem you're trying to solve,

64:41will fundamentally change what it means to be a computer scientist.

64:44I mean, a computer scientist in 20, 30 years will go back to being Donald Knuth style theoretical

64:51computer science, and everybody would be doing basically, exploring the kinds of ideas that

64:56you explore in your book.

64:57It won't be a computer science major.

64:58Yeah, I mean, I don't think I disagree enough, but I think that that trend of more and more

65:05people in more and more disciplines adopting ideas from computer science, learning how

65:11to code, I think that that trend seems firmly underway.

65:14I mean, you know, like an interesting digressive question along these lines is maybe in 50

65:21years, there won't be computer science departments anymore, because the field will just sort

65:27of be ambient in all of the different disciplines.

65:30And people will look back and having a computer science department will look like having an

65:35electricity department or something that's like, you know, everybody uses this, it's

65:39just out there.

65:40I mean, I do think there will always be that kind of Knuth style core to it, but it's not

65:45an implausible path that we kind of get to the point where the academic discipline of

65:50computer science becomes somewhat marginalized because of its very success in kind of infiltrating

65:56all of science and society and the humanities, etcetera.

§06Transcript · 1:06:00–1:20:56

66:00What is differential privacy, or more broadly, algorithmic privacy?

66:07Algorithmic privacy more broadly is just the study or the notion of privacy definitions

66:15or norms being encoded inside of algorithms.

66:19And so, you know, I think we count among this body of work just, you know, the literature

66:27and practice of things like data anonymization, which we kind of at the beginning of our discussion

66:33of privacy say like, okay, this is sort of a notion of algorithmic privacy.

66:38It kind of tells you, you know, something to go do with data, but, you know, our view

66:44is that it's, and I think this is now, you know, quite widespread, that it's, you know,

66:50despite the fact that those notions of anonymization kind of redacting and coarsening are the most

66:57widely adopted technical solutions for data privacy, they are like deeply fundamentally

67:03flawed.

67:05And so, you know, to your first question, what is differential privacy?

67:11Differential privacy seems to be a much, much better notion of privacy that kind of avoids

67:16a lot of the weaknesses of anonymization notions while still letting us do useful stuff with

67:24data.

67:25What is anonymization of data?

67:27So by anonymization, I'm, you know, kind of referring to techniques like I have a database.

67:34The rows of that database are, let's say, individual people's medical records, okay?

67:40And I want to let people use that data.

67:43Maybe I want to let researchers access that data to build predictive models for some disease,

67:49but I'm worried that that will leak, you know, sensitive information about specific people's

67:56medical records.

67:57So anonymization broadly refers to the set of techniques where I say like, okay, I'm

68:01first going to like, I'm going to delete the column with people's names.

68:06I'm going to not put, you know, so that would be like a redaction, right?

68:09I'm just redacting that information.

68:12I am going to take ages and I'm not going to like say your exact age.

68:17I'm going to say whether you're, you know, zero to 10, 10 to 20, 20 to 30, I might put

68:23the first three digits of your zip code, but not the last two, et cetera, et cetera.

68:27And so the idea is that through some series of operations like this on the data, I anonymize

68:31it.

68:32You know, another term of art that's used is removing personally identifiable information.

68:38And you know, this is basically the most common way of providing data privacy, but that it's

68:45in a way that still lets people access the, some variant form of the data.

68:50So at a slightly broader picture, as you talk about what does anonymization mean when you

68:56have multiple database, like with a Netflix prize, when you can start combining stuff

69:01together.

69:02So this is exactly the problem with these notions, right?

69:05Is that notions of a anonymization, removing personally identifiable information, the kind

69:10of fundamental conceptual flaw is that, you know, these definitions kind of pretend as

69:16if the data set in question is the only data set that exists in the world or that ever

69:21will exist in the future.

69:23And of course, things like the Netflix prize and many, many other examples since the Netflix

69:28prize, I think that was one of the earliest ones though, you know, you can reidentify

69:33people that were, you know, that were anonymized in the data set by taking that anonymized

69:38data set and combining it with other allegedly anonymized data sets and maybe publicly available

69:43information about you.

69:44You know,

69:45for people who don't know the Netflix prize was, was being publicly released this data.

69:50So the names from those rows were removed, but what was released is the preference or

69:55the ratings of what movies you like and you don't like.

69:58And from that combined with other things, I think forum posts and so on, you can start

70:03to figure out

70:04I guess it was specifically the internet movie database where, where lots of Netflix users

70:10publicly rate their movie, you know, their movie preferences.

70:15And so the anonymized data and Netflix, when it's just this phenomenon, I think that we've

70:21all come to realize in the last decade or so is that just knowing a few apparently irrelevant

70:29innocuous things about you can often act as a fingerprint.

70:33Like if I know, you know, what, what rating you gave to these 10 movies and the date on

70:39which you entered these movies, this is almost like a fingerprint for you in the sea of all

70:43Netflix users.

70:44There were just another paper on this in science or nature of about a month ago that, you know,

70:49kind of 18 attributes.

70:51I mean, my favorite example of this is, was actually a paper from several years ago now

70:57where it was shown that just from your likes on Facebook, just from the time, you know,

71:03the things on which you clicked on the thumbs up button on the platform, not using any information,

71:09demographic information, nothing about who your friends are, just knowing the content

71:14that you had liked was enough to, you know, in the aggregate accurately predict things

71:20like sexual orientation, drug and alcohol use, whether you were the child of divorced parents.

71:27So we live in this era where, you know, even the apparently irrelevant data that we offer

71:32about ourselves on public platforms and forums often unbeknownst to us, more or less acts

71:38as signature or, you know, fingerprint.

71:42And that if you can kind of, you know, do a join between that kind of data and allegedly

71:46anonymized data, you have real trouble.

71:50So is there hope for any kind of privacy in a world where a few likes can identify you?

71:58So there is differential privacy, right?

72:00What is differential privacy?

72:01Yeah, so differential privacy basically is a kind of alternate, much stronger notion

72:06of privacy than these anonymization ideas.

72:10And, you know, it's a technical definition, but like the spirit of it is we compare two

72:18alternate worlds, okay?

72:20So let's suppose I'm a researcher and I want to do, you know, there's a database of medical

72:26records and one of them is yours, and I want to use that database of medical records to

72:31build a predictive model for some disease.

72:33So based on people's symptoms and test results and the like, I want to, you know, build a

72:39probably model predicting the probability that people have disease.

72:42So, you know, this is the type of scientific research that we would like to be allowed

72:46to continue.

72:48And in differential privacy, you ask a very particular counterfactual question.

72:53We basically compare two alternatives.

72:57One is when I do this, I build this model on the database of medical records, including

73:04your medical record.

73:07And the other one is where I do the same exercise with the same database with just your medical

73:15record removed.

73:16So basically, you know, it's two databases, one with N records in it and one with N minus

73:22one records in it.

73:23The N minus one records are the same, and the only one that's missing in the second

73:27case is your medical record.

73:30So differential privacy basically says that any harms that might come to you from the

73:40analysis in which your data was included are essentially nearly identical to the harms

73:47that would have come to you if the same analysis had been done without your medical record

73:52included.

73:53So in other words, this doesn't say that bad things cannot happen to you as a result of

73:58data analysis.

73:59It just says that these bad things were going to happen to you already, even if your data

74:05wasn't included.

74:06And to give a very concrete example, right, you know, like we discussed at some length,

74:12the study that, you know, in the 50s that was done that established the link between

74:17smoking and lung cancer.

74:19And we make the point that, like, well, if your data was used in that analysis and, you

74:25know, the world kind of knew that you were a smoker because, you know, there was no stigma

74:28associated with smoking before those findings, real harm might have come to you as a result

74:35of that study that your data was included in.

74:37In particular, your insurer now might have a higher posterior belief that you might have

74:42lung cancer and raise your premium.

74:44So you've suffered economic damage.

74:47But the point is, is that if the same analysis has been done with all the other N minus one

74:54medical records and just yours missing, the outcome would have been the same.

74:58Or your data wasn't idiosyncratically crucial to establishing the link between smoking and

75:05lung cancer because the link between smoking and lung cancer is like a fact about the world

75:10that can be discovered with any sufficiently large database of medical records.

75:14But that's a very low value of harm.

75:17Yeah.

75:18So that's showing that very little harm is done.

75:20Great.

75:21But how what is the mechanism of differential privacy?

75:24So that's the kind of beautiful statement of it.

75:27It's the mechanism by which privacy is preserved.

75:30Yeah.

75:31So it's basically by adding noise to computations, right?

75:34So the basic idea is that every differentially private algorithm, first of all, or every

75:40good differentially private algorithm, every useful one, is a probabilistic algorithm.

75:45So it doesn't, on a given input, if you gave the algorithm the same input multiple times,

75:51it would give different outputs each time from some distribution.

75:55And the way you achieve differential privacy algorithmically is by kind of carefully and

75:59tastefully adding noise to a computation in the right places.

76:05And to give a very concrete example, if I wanna compute the average of a set of numbers,

76:11the non private way of doing that is to take those numbers and average them and release

76:17like a numerically precise value for the average.

76:21In differential privacy, you wouldn't do that.

76:24You would first compute that average to numerical precisions, and then you'd add some noise

76:29to it, right?

76:30You'd add some kind of zero mean, Gaussian or exponential noise to it so that the actual

76:37value you output is not the exact mean, but it'll be close to the mean, but it'll be close...

76:44The noise that you add will sort of prove that nobody can kind of reverse engineer any

76:50particular value that went into the average.

76:53So noise is a savior.

76:56How many algorithms can be aided by adding noise?

77:01Yeah, so I'm a relatively recent member of the differential privacy community.

77:07My co author, Aaron Roth is really one of the founders of the field and has done a great

77:12deal of work and I've learned a tremendous amount working with him on it.

77:15It's a pretty grown up field already.

77:17Yeah, but now it's pretty mature.

77:18But I must admit, the first time I saw the definition of differential privacy, my reaction

77:22was like, wow, that is a clever definition and it's really making very strong promises.

77:28And I first saw the definition in much earlier days and my first reaction was like, well,

77:34my worry about this definition would be that it's a great definition of privacy, but that

77:38it'll be so restrictive that we won't really be able to use it.

77:43We won't be able to compute many things in a differentially private way.

77:47So that's one of the great successes of the field, I think, is in showing that the opposite

77:51is true and that most things that we know how to compute, absent any privacy considerations,

78:00can be computed in a differentially private way.

78:02So for example, pretty much all of statistics and machine learning can be done differentially

78:08privately.

78:09So pick your favorite machine learning algorithm, back propagation and neural networks, cart

78:15for decision trees, support vector machines, boosting, you name it, as well as classic

78:21hypothesis testing and the like in statistics.

78:24None of those algorithms are differentially private in their original form.

78:29All of them have modifications that add noise to the computation in different places in

78:35different ways that achieve differential privacy.

78:39So this really means that to the extent that we've become a scientific community very dependent

78:47on the use of machine learning and statistical modeling and data analysis, we really do have

78:53a path to provide privacy guarantees to those methods and so we can still enjoy the benefits

79:02of the data science era while providing rather robust privacy guarantees to individuals.

79:10So perhaps a slightly crazy question, but if we take the ideas of differential privacy

79:16and take it to the nature of truth that's being explored currently.

79:20So what's your most favorite and least favorite food?

79:24Hmm.

79:25I'm not a real foodie, so I'm a big fan of spaghetti.

79:29Spaghetti?

79:30Yeah.

79:31What do you really don't like?

79:35I really don't like cauliflower.

79:37Wow, I love cauliflower.

79:39Okay.

79:40Is there one way to protect your preference for spaghetti by having an information campaign

79:46bloggers and so on of bots saying that you like cauliflower?

79:51So like this kind of the same kind of noise ideas, I mean if you think of in our politics

79:56today there's this idea of Russia hacking our elections.

80:01What's meant there I believe is bots spreading different kinds of information.

80:07Is that a kind of privacy or is that too much of a stretch?

80:10No it's not a stretch.

80:12I've not seen those ideas, you know, that is not a technique that to my knowledge will

80:19provide differential privacy, but to give an example like one very specific example

80:24about what you're discussing is there was a very interesting project at NYU I think

80:30led by Helen Nissenbaum there in which they basically built a browser plugin that tried

80:38to essentially obfuscate your Google searches.

80:41So to the extent that you're worried that Google is using your searches to build, you

80:46know, predictive models about you to decide what ads to show you which they might very

80:51reasonably want to do, but if you object to that they built this widget you could plug

§07Transcript · 1:20:56–1:36:22

80:56in and basically whenever you put in a query into Google it would send that query to Google,

81:01but in the background all of the time from your browser it would just be sending this

81:06torrent of irrelevant queries to the search engine.

81:11So you know it's like a weed and chaff thing so you know out of every thousand queries

81:16let's say that Google was receiving from your browser one of them was one that you put in

81:21but the other 999 were not okay so it's the same kind of idea kind of you know privacy

81:27by obfuscation.

81:29So I think that's an interesting idea, doesn't give you differential privacy.

81:34It's also I was actually talking to somebody at one of the large tech companies recently

81:39about the fact that you know just this kind of thing that there are some times when the

81:45response to my data needs to be very specific to my data right like I type mountain biking

81:53into Google, I want results on mountain biking and I really want Google to know that I typed

81:58in mountain biking, I don't want noise added to that.

82:01And so I think there's sort of maybe even interesting technical questions around notions

82:06of privacy that are appropriate where you know it's not that my data is part of some

82:10aggregate like medical records and that we're trying to discover important correlations

82:15and facts about the world at large but rather you know there's a service that I really want

82:20to you know pay attention to my specific data yet I still want some kind of privacy guarantee

82:26and I think these kind of obfuscation ideas are sort of one way of getting at that but

82:30maybe there are others as well.

82:32So where do you think we'll land in this algorithm driven society in terms of privacy?

82:36So sort of China like Kai Fuli describes you know it's collecting a lot of data on its

82:44citizens but in the best form it's actually able to provide a lot of sort of protect human

82:52rights and provide a lot of amazing services and it's worst forms that can violate those

82:57human rights and limit services.

83:01So where do you think we'll land because algorithms are powerful when they use data.

83:08So as a society do you think we'll give over more data?

83:12Is it possible to protect the privacy of that data?

83:16So I'm optimistic about the possibility of you know balancing the desire for individual

83:24privacy and individual control of privacy with kind of societally and commercially beneficial

83:32uses of data not unrelated to differential privacy or suggestions that say like well

83:37individuals should have control of their data.

83:40They should be able to limit the uses of that data.

83:43They should even you know there's you know fledgling discussions going on in research

83:48circles about allowing people selective use of their data and being compensated for it.

83:54And then you get to sort of very interesting economic questions like pricing right.

83:59And one interesting idea is that maybe differential privacy would also you know be a conceptual

84:05framework in which you could talk about the relative value of different people's data

84:09like you know to demystify this a little bit.

84:12If I'm trying to build a predictive model for some rare disease and I'm trying to use

84:17machine learning to do it, it's easy to get negative examples because the disease is rare

84:22right.

84:23But I really want to have lots of people with the disease in my data set okay.

84:30And so somehow those people's data with respect to this application is much more valuable

84:35to me than just like the background population.

84:37And so maybe they should be compensated more for it.

84:43And so you know I think these are kind of very, very fledgling conceptual questions

84:48that maybe we'll have kind of technical thought on them sometime in the coming years.

84:54But I do think we'll you know to kind of get more directly answer your question.

84:56I think I'm optimistic at this point from what I've seen that we will land at some you

85:02know better compromise than we're at right now where again you know privacy guarantees

85:08are few far between and weak and users have very, very little control.

85:15And I'm optimistic that we'll land in something that you know provides better privacy overall

85:20and more individual control of data and privacy.

85:22But you know I think to get there it's again just like fairness it's not going to be enough

85:27to propose algorithmic solutions.

85:29There's going to have to be a whole kind of regulatory legal process that prods companies

85:34and other parties to kind of adopt solutions.

85:38And I think you've mentioned the word control a lot and I think giving people control that's

85:43something that people don't quite have in a lot of these algorithms and that's a really

85:48interesting idea of giving them control.

85:50Some of that is actually literally an interface design question sort of just enabling because

85:57I think it's good for everybody to give users control.

86:00It's almost not a trade off except that you have to hire people that are good at interface

86:06design.

86:07Yeah.

86:08I mean the other thing that has to be said right is that you know it's a cliche but you

86:13know we as the users of many systems platforms and apps you know we are the product.

86:21We are not the customer.

86:23The customer are advertisers and our data is the product.

86:26Okay.

86:27So it's one thing to kind of suggest more individual control of data and privacy and

86:32uses but this you know if this happens in sufficient degree it will upend the entire

86:40economic model that has supported the internet to date.

86:44And so some other economic model will have to be you know we'll have to replace it.

86:50So the idea of markets you mentioned by exposing the economic model to the people they will

86:56then become a market.

86:57They could be participants in it.

87:00And you know this isn't you know this is not a weird idea right because there are markets

87:04for data already.

87:05It's just that consumers are not participants and there's like you know there's sort of

87:10you know publishers and content providers on one side that have inventory and then their

87:14advertisers on the others and you know you know Google and Facebook are running you know

87:19they're pretty much their entire revenue stream is by running two sided markets between those

87:25parties right.

87:27And so it's not a crazy idea that there would be like a three sided market or that you know

87:32that on one side of the market or the other we would have proxies representing our interest.

87:37It's not you know it's not a crazy idea but it would it's not a crazy technical idea but

87:43it would have pretty extreme economic consequences.

87:49Speaking of markets a lot of fascinating aspects of this world arise not from individual human

87:55beings but from the interaction of human beings.

87:59You've done a lot of work in game theory.

88:02First can you say what is game theory and how does it help us model and study?

88:07Yeah game theory of course let us give credit where it's due.

88:11You know it comes from the economist first and foremost but as I've mentioned before

88:16like you know computer scientists never hesitate to wander into other people's turf and so

88:22there is now this 20 year old field called algorithmic game theory.

88:26But you know game theory first and foremost is a mathematical framework for reasoning

88:33about collective outcomes in systems of interacting individuals.

88:40You know so you need at least two people to get started in game theory and many people

88:46are probably familiar with Prisoner's Dilemma as kind of a classic example of game theory

88:50and a classic example where everybody looking out for their own individual interests leads

88:57to a collective outcome that's kind of worse for everybody than what might be possible

89:02if they cooperated for example.

89:05But cooperation is not an equilibrium in Prisoner's Dilemma.

89:09And so my work in the field of algorithmic game theory more generally in these areas

89:16kind of looks at settings in which the number of actors is potentially extraordinarily large

89:24and their incentives might be quite complicated and kind of hard to model directly but you

89:31still want kind of algorithmic ways of kind of predicting what will happen or influencing

89:36what will happen in the design of platforms.

89:39So what to you is the most beautiful idea that you've encountered in game theory?

89:47There's a lot of them.

89:48I'm a big fan of the field.

89:50I mean you know I mean technical answers to that of course would include Nash's work just

89:56establishing that you know there is a competitive equilibrium under very very general circumstances

90:02which in many ways kind of put the field on a firm conceptual footing because if you don't

90:09have equilibrium it's kind of hard to ever reason about what might happen since you know

90:14there's just no stability.

90:16So just the idea that stability can emerge when there's multiple.

90:20Not that it will necessarily emerge just that it's possible right.

90:23Like the existence of equilibrium doesn't mean that sort of natural iterative behavior

90:28will necessarily lead to it.

90:30In the real world.

90:31Yeah.

90:32Maybe answering a slightly less personally than you asked the question I think within

90:35the field of algorithmic game theory perhaps the single most important kind of technical

90:43contribution that's been made is the realization between close connections between machine

90:49learning and game theory and in particular between game theory and the branch of machine

90:53learning that's known as no regret learning and this sort of provides a very general framework

91:00in which a bunch of players interacting in a game or a system each one kind of doing

91:07something that's in their self interest will actually kind of reach an equilibrium and

91:12actually reach an equilibrium in a you know a pretty you know a rather you know short

91:18amount of steps.

91:21So you kind of mentioned acting greedily can somehow end up pretty good for everybody.

91:30Or pretty bad.

91:31Or pretty bad.

91:32Yeah.

91:33It will end up stable.

91:34Yeah.

91:35Right.

91:36And and you know stability or equilibrium by itself is neither is not necessarily either

91:41a good thing or a bad thing.

91:43So what's the connection between machine learning and the ideas.

91:45Well I think we kind of talked about these ideas already in kind of a non technical way

91:50which is maybe the more interesting way of understanding them first which is you know

91:57we have many systems platforms and apps these days that work really hard to use our data

92:04and the data of everybody else on the platform to selfishly optimize on behalf of each user.

92:12OK.

92:13So you know let me let me give I think the cleanest example which is just driving apps

92:17navigation apps like you know Google Maps and Waze where you know miraculously compared

92:24to when I was growing up at least you know the objective would be the same when you wanted

92:28to drive from point A to point B spend the least time driving not necessarily minimize

92:33the distance but minimize the time.

92:35Right.

92:36And when I was growing up like the only resources you had to do that were like maps in the car

92:41which literally just told you what roads were available and then you might have like half

92:46hourly traffic reports just about the major freeways but not about side roads.

92:51So you were pretty much on your own.

92:54And now we've got these apps you pull it out and you say I want to go from point A to point

92:57B and in response kind of to what everybody else is doing if you like what all the other

93:03players in this game are doing right now here's the you know the route that minimizes your

93:09driving time.

93:10So it is really kind of computing a selfish best response for each of us in response to

93:16what all of the rest of us are doing at any given moment.

93:20And so you know I think it's quite fair to think of these apps as driving or nudging

93:26us all towards the competitive or Nash equilibrium of that game.

93:32Now you might ask like well that sounds great why is that a bad thing.

93:36Well you know it's known both in theory and with some limited studies from actual like

93:45traffic data that all of us being in this competitive equilibrium might cause our collective

93:52driving time to be higher maybe significantly higher than it would be under other solutions.

93:59And then you have to talk about what those other solutions might be and what the algorithms

94:04to implement them are which we do discuss in the kind of game theory chapter of the

94:07book.

94:09But similarly you know on social media platforms or on Amazon you know all these algorithms

94:17that are essentially trying to optimize our behalf they're driving us in a colloquial

94:22sense towards some kind of competitive equilibrium and you know one of the most important lessons

94:26of game theory is that just because we're at equilibrium doesn't mean that there's not

94:30a solution in which some or maybe even all of us might be better off.

94:35And then the connection to machine learning of course is that in all these platforms I've

94:39mentioned the optimization that they're doing on our behalf is driven by machine learning

94:44you know like predicting where the traffic will be predicting what products I'm going

94:48to like predicting what would make me happy in my newsfeed.

94:52Now in terms of the stability and the promise of that I have to ask just out of curiosity

94:56how stable are these mechanisms that you game theory is just the economist came up with

95:02and we all know that economists don't live in the real world just kidding sort of what's

95:08do you think when we look at the fact that we haven't blown ourselves up from the from

95:15a game theoretic concept of mutually shared destruction what are the odds that we destroy

95:21ourselves with nuclear weapons as one example of a stable game theoretic system?

95:28Just to prime your viewers a little bit I mean I think you're referring to the fact

95:32that game theory was taken quite seriously back in the 60s as a tool for reasoning about

95:38kind of Soviet US nuclear armament disarmament detente things like that.

95:45I'll be honest as huge of a fan as I am of game theory and its kind of rich history it

95:52still surprises me that you know you had people at the RAND Corporation back in those days

95:57kind of drawing up you know two by two tables and one the row player is you know the US

96:02and the column player is Russia and that they were taking seriously you know I'm sure if

96:08I was there maybe it wouldn't have seemed as naive as it does at the time you know.

96:12Seems to have worked which is why it seems naive.

96:15Well we're still here.

96:16We're still here in that sense.

96:17Yeah even though I kind of laugh at those efforts they were more sensible then than

§08Transcript · 1:36:22–1:48:57

96:22they would be now right because there were sort of only two nuclear powers at the time

96:26and you didn't have to worry about deterring new entrants and who was developing the capacity

96:32and so we have many you know it's definitely a game with more players now and more potential

96:39entrants.

96:40I'm not in general somebody who advocates using kind of simple mathematical models when

96:46the stakes are as high as things like that and the complexities are very political and

96:51social but we are still here.

96:55So you've worn many hats one of which the one that first caused me to become a big fan

97:00of your work many years ago is algorithmic trading.

97:04So I have to just ask a question about this because you have so much fascinating work

97:08there in the 21st century what role do you think algorithms have in space of trading

97:15investment in the financial sector?

97:19Yeah it's a good question I mean in the time I've spent on Wall Street and in finance you

97:27know I've seen a clear progression and I think it's a progression that kind of models the

97:31use of algorithms and automation more generally in society which is you know the things that

97:38kind of get taken over by the algos first are sort of the things that computers are

97:44obviously better at than people right so you know so first of all there needed to be this

97:50era of automation right where just you know financial exchanges became largely electronic

97:56which then enabled the possibility of you know trading becoming more algorithmic because

98:01once you know that exchanges are electronic an algorithm can submit an order through an

98:06API just as well as a human can do at a monitor quickly can read all the data so yeah and

98:11so you know I think the places where algorithmic trading have had the greatest inroads and

98:18had the first inroads were in kind of execution problems kind of optimized execution problems

98:24so what I mean by that is at a large brokerage firm for example one of the lines of business

98:30might be on behalf of large institutional clients taking you know what we might consider

98:36difficult trade so it's not like a mom and pop investor saying I want to buy a hundred

98:40shares of Microsoft it's a large hedge fund saying you know I want to buy a very very

98:45large stake in Apple and I want to do it over the span of a day and it's such a large volume

98:52that if you're not clever about how you break that trade up not just over time but over

98:57perhaps multiple different electronic exchanges that all let you trade Apple on their platform

99:02you know you will you will move you'll push prices around in a way that hurts your your

99:07execution so you know this is the kind of you know this is an optimization problem this

99:11is a control problem right and so machines are better we we know how to design algorithms

99:19you know that are better at that kind of thing than a person is going to be able to do because

99:23we can take volumes of historical and real time data to kind of optimize the schedule

99:29with which we trade and you know similarly high frequency trading you know which is closely

99:35related but not the same as optimized execution where you're just trying to spot very very

99:41temporary you know mispricings between exchanges or within an asset itself or just predict

99:48directional movement of a stock because of the kind of very very low level granular buying

99:54and selling data in the in the exchange machines are good at this kind of stuff it's kind of

100:00like the mechanics of trading what about the can machines do long terms of prediction yeah

100:08so I think we are in an era where you know clearly there have been some very successful

100:13you know quant hedge funds that are you know in what we would traditionally call you know

100:19still in this the stat arb regime like so you know what's that stat arb referring to

100:24statistical arbitrage but but for the purposes of this conversation what it really means

100:28is making directional predictions in asset price movement or returns your prediction

100:35about that directional movement is good for you know you you have a view that it's valid

100:42for some period of time between a few seconds and a few days and that's the amount of time

100:48that you're going to kind of get into the position hold it and then hopefully be right

100:51about the directional movement and you know buy low and sell high as the cliche goes.

100:57So that is a you know kind of a sweet spot I think for quant trading and investing right

101:04now and has been for some time when you really get to kind of more Warren Buffett style timescales

101:11right like you know my cartoon of Warren Buffett is that you know Warren Buffett sits and thinks

101:16what the long term value of Apple really should be and he doesn't even look at what Apple

101:22is doing today he just decides you know you know I think that this is what its long term

101:27value is and it's far from that right now and so I'm going to buy some Apple or you

101:31know short some Apple and I'm going to I'm going to sit on that for 10 or 20 years okay.

101:37So when you're at that kind of timescale or even more than just a few days all kinds of

101:45other sources of risk and information you know so now you're talking about holding things

101:51through recessions and economic cycles, wars can break out.

101:56So there you have to understand human nature at a level that.

101:59Yeah and you need to just be able to ingest many many more sources of data that are on

102:03wildly different timescales right.

102:06So if I'm an HFT I'm a high frequency trader like I don't I don't I really my main source

102:13of data is just the data from the exchanges themselves about the activity in the exchanges

102:18right and maybe I need to pay you know I need to keep an eye on the news right because you

102:22know that can cause sudden you know the CEO gets caught in a scandal or you know gets

102:29run over by a bus or something that can cause very sudden changes but you know I don't need

102:33to understand economic cycles I don't need to understand recessions I don't need to worry

102:38about the political situation or war breaking out in this part of the world because you

102:43know all I need to know is as long as that's not going to happen in the next 500 milliseconds

102:49then you know my model is good.

102:52When you get to these longer timescales you really have to worry about that kind of stuff

102:55and people in the machine learning community are starting to think about this.

102:59We held a we jointly sponsored a workshop at Penn with the Federal Reserve Bank of Philadelphia

103:06a little more than a year ago on you know I think the title is something like machine

103:10learning for macroeconomic prediction.

103:14You know macroeconomic referring specifically to these longer timescales and you know it

103:19was an interesting conference but it you know my it left me with greater confidence that

103:26we have a long way to go to you know and so I think that people that you know in the grand

103:32scheme of things you know if somebody asked me like well whose job on Wall Street is safe

103:37from the bots I think people that are at that longer you know timescale and have that appetite

103:42for all the risks involved in long term investing and that really need kind of not just algorithms

103:49that can optimize from data but they need views on stuff they need views on the political

103:54landscape economic cycles and the like and I think you know they're they're they're pretty

104:01safe for a while as far as I can tell.

104:02So Warren Buffett's job is not seeing you know a robo Warren Buffett anytime soon.

104:08Give him comfort.

104:10Last question.

104:11If you could go back to if there's a day in your life you could relive because it made

104:18you truly happy.

104:21Maybe you outside family what otherwise you know what what what day would it be.

104:29But can you look back you remember just being profoundly transformed in some way or blissful.

104:40I'll answer a slightly different question which is like what's a day in my my life or

104:44my career that was kind of a watershed moment.

104:49I went straight from undergrad to doctoral studies and you know that's not at all atypical

104:55and I'm also from an academic family like my my dad was a professor my uncle on his

105:00side as a professor both my grandfathers were professors.

105:03All kinds of majors to philosophy.

105:05Yeah they're kind of all over the map yeah and I was a grad student here just up the

105:10river at Harvard and came to study with Les Valiant which was a wonderful experience.

105:15But you know I remember my first year of graduate school I was generally pretty unhappy and

105:21I was unhappy because you know at Berkeley as an undergraduate you know yeah I studied

105:25a lot of math and computer science but it was a huge school first of all and I took

105:29a lot of other courses as we've discussed I started as an English major and took history

105:34courses and art history classes and had friends you know that did all kinds of different things.

105:40And you know Harvard's a much smaller institution than Berkeley and its computer science department

105:44especially at that time was was a much smaller place than it is now.

105:48And I suddenly just felt very you know like I'd gone from this very big world to this

105:54highly specialized world and now all of the classes I was taking were computer science

105:59classes and I was only in classes with math and computer science people.

106:04And so I was you know I thought often in that first year of grad school about whether I

106:09really wanted to stick with it or not and you know I thought like oh I could you know

106:14stop with a master's I could go back to the Bay Area and to California and you know this

106:19was in one of the early periods where there was you know like you could definitely get

106:23a relatively good job paying job at one of the one of the tech companies back you know

106:28that were the big tech companies back then.

106:31And so I distinctly remember like kind of a late spring day when I was kind of you know

106:36sitting in Boston Common and kind of really just kind of chewing over what I wanted to

106:40do with my life and I realized like okay and I think this is where my academic background

106:45helped me a great deal.

106:46I sort of realized you know yeah you're not having a great time right now this feels really

106:50narrowing but you know that you're here for research eventually and to do something original

106:56and to try to you know carve out a career where you kind of you know choose what you

107:02want to think about you know and have a great deal of independence.

107:06And so you know at that point I really didn't have any real research experience yet I mean

107:10it was trying to think about some problems with very little success but I knew that like

107:15I hadn't really tried to do the thing that I knew I'd come to do and so I thought you

107:23know I'm going to stick through it for the summer and you know and that was very formative

107:30because I went from kind of contemplating quitting to you know a year later it being

107:37very clear to me I was going to finish because I still had a ways to go but I kind of started

107:42doing research it was going well it was really interesting and it was sort of a complete

107:46transformation you know it's just that transition that I think every doctoral student makes

107:52at some point which is to sort of go from being like a student of what's been done before

108:00to doing you know your own thing and figure out what makes you interested in what your

108:04strengths and weaknesses are as a researcher and once you know I kind of made that decision

108:09on that particular day at that particular moment in Boston Common you know I'm glad

108:15I made that decision.

108:16And also just accepting the painful nature of that journey.

108:19Yeah exactly exactly.

108:21In that moment said I'm gonna I'm gonna stick it out yeah I'm gonna stick around for a while.

108:26Well Michael I've looked off do you work for a long time it's really nice to talk to you

108:30thank you so much.

108:31It's great to get back in touch with you too and see how great you're doing as well.

108:34Thanks a lot.

108:35Thank you.

— 读到这里,多懂一点。 —