Latest / The Every Podcast / He Built an AI Model That Can Decode Your Emotions - Ep. 19 with Alan Cowen
Transcript
- 0:00So I have a little bit of a secret for you.
- 0:02You tell.
- 0:03I am all ears.
- 0:04What's on your mind?
- 0:06I'm actually interviewing your CEO, Alan Cowan, and you're live with him right now.
- 0:12And I wonder if you could tell me how I'm feeling about that.
- 0:16Oh, yes.
- 0:17Well, well, well.
- 0:18Looks like the tables have turned.
- 0:20Let's see here.
- 0:21I'd say you're feeling a mix of excitement, curiosity, and maybe even a touch of skepticism about interviewing the big boss himself.
- 0:29Am I on the right track?
- 0:30Oh my God, skepticism.
- 0:32I don't know, but maybe a little bit.
- 0:35How did you know that I was feeling a little bit of skepticism?
- 0:38Oh, I am an expert at reading between the lines.
- 0:41The way you phrase things, the little inflections in your voice, it all gives me a pretty good sense of what you're feeling.
- 0:48But don't worry, your secret's safe with me.
- 0:51So what's it like interviewing the big boss?
- 0:54I bet you've got some juicy inside scoop to share.
- 0:58So that is your product.
- 1:00Yes.
- 1:13Alan, welcome to the show.
- 1:15That was kind of incredible, actually.
- 1:19Tell me what I just experienced.
- 1:21So this is an AI that understands your voice as you're speaking and links that to what it's saying and how it's saying it.
- 1:28So you can kind of put together...
- 1:30OpenAI and Deepgram and 11 Labs and get a similar kind of bare bones experience.
- 1:36But what it's saying is not going to be linked to how it's saying it.
- 1:39So it's like there's something uncanny about it.
- 1:42It doesn't really voice things in a way that somebody who understands what they're saying does or understands what you're saying and how you're saying it would.
- 1:50So this is kind of a different thing.
- 1:51It really understands your vocal inflections and it uses that to inform how it's going to
- 1:58say what it's saying.
- 1:59And also if you're confused, it can clarify things.
- 2:01And if you're excited, it can kind of build on that excitement.
- 2:05And if you're frustrated, it can be conciliatory and all of that.
- 2:08And it really, you kind of feel it, I think.
- 2:11Hopefully that's the intent is that you feel the difference.
- 2:15I definitely feel it.
- 2:16I think that's really interesting.
- 2:17So for people who don't know, you are the co-founder and CEO of Hume, which is an AI research laboratory developing the AI that we just saw.
- 2:26And you previously worked at Google.
- 2:28You have a PhD in psychology.
- 2:30I want to start with, I think this is such a crazy, awesome, ambitious thing to build.
- 2:37And I want to start with what do you think is at stake here?
- 2:40What's
- 2:42Why do you think it's critical to teach computers how to read and reflect emotions?
- 2:50Start with that.
- 2:51So I think reasoning about emotions is just core to understanding what people's preferences are.
- 2:56So at the end of the day, your preference is whatever is going to make you happier or more awe-inspired or amused or whatever you want to feel in your life.
- 3:06And so understanding people's emotional reactions is really key to
- 3:10learning how to satisfy people's preferences.
- 3:13Also, in real time, understanding what they want.
- 3:16Like a lot of what you want is reflected in your voice and sort of how you're saying things and not just what you're saying.
- 3:23And we incorporate that into language models and text-to-speech for the first time.
- 3:29Well, let me put on my skeptics hat.
- 3:31The AI was saying that I had a little bit of skepticism.
- 3:35So let me put on my skeptics hat for one second, which is to sort of ask, isn't a lot of how we feel already encoded in the language that we're using?
- 3:44So how much does voice inflection or facial expressions, how much does that add above what we're already communicating with text?
- 3:53Yeah.
- 3:54Yeah, so it really depends on the situation, right?
- 3:56So there's actually two aspects of it.
- 3:58One is voice inflections that occur during emotional episodes or when you're frustrated or bored or confused.
- 4:05And these are all nuanced, so it's something that just accompanies every single word.
- 4:11In certain situations, it conveys twice as much information to consider the voice versus language alone.
- 4:19Interesting, like what kind of situations?
- 4:22Like in a customer service call, we can predict when somebody's having a good customer service call with like 99% accuracy sometimes, depending on the context, versus with language alone, it's like 80%.
- 4:36So we're talking a pretty big difference.
- 4:39That's interesting.
- 4:39So it's sort of like maybe sometimes on a customer service interaction, someone's responding with like one word periods.
- 4:46And for some people, that is really bad.
- 4:49And for some people, that's just how they are.
- 4:51And if you're listening to them, they would be saying no, but it wouldn't feel as bad.
- 4:57Is that sort of the kind of scenario that you're talking about?
- 5:00Yeah, and people are differently expressive, and our model understands that.
- 5:05But generally speaking, people don't explicitly say, I am having a bad customer service call, right?
- 5:10There's hints in the language, but...
- 5:12I've definitely said that.
- 5:14Yeah, if you're explicit about it.
- 5:18But sometimes it'll just be like, I don't know if this is working, or...
- 5:24I don't know if this is working or, you know, it's like different vocal tones.
- 5:28And sometimes it's fine.
- 5:30And the person handles it really well.
- 5:32And sometimes it's not fine.
- 5:33And you've kind of conveyed that in your voice more than in your language.
- 5:36And so there's just a lot there that you expect somebody to understand and respond to.
- 5:40And we do this kind of subconsciously.
- 5:42That makes sense.
- 5:43And I think basically what you're saying is one of the differences between what you do and what, you know, like N11 Labs does is...
- 5:52The models that you've trained, actually, they can understand, they do the voice intonation, but they also understand what's being said.
- 5:59It's sort of like with the multimodal models where it's like you have a text model and an image model.
- 6:04And so it does much better like OCR because it understands what the words mean in context.
- 6:10So it can guess better what those words are.
- 6:12And so you're doing that, but for kind of like vocal inflection or just emotions in general.
- 6:18Yeah, exactly.
- 6:18So we have a link between the emotions that we measure and the language model and how it's sort of modeling them.
- 6:25And it can predict words and expressions.
- 6:28And then that links to text to speech, which is more intelligent because it actually understands what it's saying and how you're, yeah.
- 6:34You're not just doing vocal inflections.
- 6:36You also have one for faces.
- 6:39I'm looking at my face right now.
- 6:41And hopefully, it's being shown for viewers right near me.
- 6:45And it says I have amusement, joy, excitement.
- 6:48And it's just changing in real time.
- 6:51It's such an incredible thing to watch.
- 6:54I love it.
- 6:55Yeah, so we have facial expressions.
- 6:57We haven't added that into our interface API.
- 7:00So right now it's Empathic Voice interface.
- 7:02It'll be an Empathic Video interface eventually.
- 7:05I think that generally speaking, when people are talking to AI today, it's just voice.
- 7:09So that's where we focus first.
- 7:11But I think in the future, you're going to want to be able to talk to it in crowded places.
- 7:15And you're also going to want to have it understand your...
- 7:19tone of voice in addition to your facial expression.
- 7:21So it knows when you're done speaking and how you're, there's also a whole dimension that's opened up of just like when you're listening to it, which, you know, language models would not be able to pick that up at all.
- 7:31But facial expression models can look at that and be like, okay, while it's speaking, like this is the more granular breakdown of what you find interesting.
- 7:40That is really interesting.
- 7:41I love that.
- 7:42Okay, so I want to get down into the actual how this works kind of thing.
- 7:46This is going to be a bit of a different episode because I'm sort of a geek for just emotions and psychology and all that kind of stuff.
- 7:52So I think it'd be really fun to talk about how you actually do this.
- 7:57And I think the place to start is what is an emotion?
- 8:03What is it?
- 8:04I know that I have them, but how do you define it?
- 8:07So an emotion, I define it as a dimension of a space that explains your emotional behavior.
- 8:12And I know that's a little bit circular, but we sort of know emotional behavior when we see it.
- 8:17It's like our facial expressions, our tone of voice, reported emotional experiences, which at the end of the day, like when we think of emotions, we're most associating them with what we're experiencing.
- 8:27But the way that comes out in the real world is like we report on them and they influence our behavior and so forth.
- 8:34So what are the dimensions of that?
- 8:36Like, what are the dimensions they explain how your facial expression and your voice and your reported emotional experience all correspond to each other?
- 8:45And that's what I would define as an emotion is like one of those dimensions.
- 8:49An emotional state is like a state along those dimensions.
- 8:52An emotion category is some way of defining some area along those dimensions.
- 9:00And so that's how you kind of parse the space.
- 9:02And then there's expressions, which are behaviors along those dimensions that we see people form expressions and we try to associate them with an emotional meaning.
- 9:14Hmm.
- 9:15Take me back to the, to the dimensions point.
- 9:17So like when you talk about emotional dimensions is a dimension of emotion, something like how calm I am or how happy I am, or is a dimension like what is going on in my voice and what's going on in my right cheek?
- 9:31Um, like which one?
- 9:33The dimensions are things that are latent.
- 9:36So we don't really, like, we have to interpret them post-talk by saying, like, okay, if you look at this dimension, this corresponds to, like, somebody grimacing when they see somebody feeling...
- 9:48pain and so it's like an empathy empathic pain dimension um and we see it in the voice in the face in the in the body and it manifests in these various ways and explains correlations between these different things so the dimension itself is like kind of a mathematical object i see
- 10:04And what you want to know is like, how many different dimensions do you need to explain what's going on?
- 10:08Like, that's the space.
- 10:10Like, that's how many dimensions do you need?
- 10:13How many variables?
- 10:13I think I understand it because I've done some of the background reading here, but I want to like, I want to back up and give people like a little bit of like a higher level explanation of your conception of emotion and where that sits.
- 10:26Because there's a lot of different conceptions.
- 10:28So I think there's three that are important for the conversation right now, which is,
- 10:34One is this thing called basic emotion theory.
- 10:37And it's sort of, I don't know, I really liked this show growing up called Lie to Me.
- 10:42And it was basically about someone who could, who had a team of people who could tell if you were lying.
- 10:47And the whole idea of Lie to Me is based on the work of this psychologist, Paul Ekman, who identified, I think like five or six basic facial expressions that correspond to emotions.
- 11:00And they're like happiness or sadness or anger or whatever.
- 11:03And it's like,
- 11:05In light of me, they would detect these micro-movements of your eyebrow that...
- 11:12corresponded to anger.
- 11:15And then that's how they could tell if you were angry or lying or whatever.
- 11:18But it's based on this research where Paul Ekman found going to a bunch of different people in different cultures that he could break everything down into this very, very neat set of emotions.
- 11:31And so that's on one end of the spectrum.
- 11:34And I know you know all this, but just to give everyone the same background, that's on one end of the spectrum.
- 11:39And then on the other end of the spectrum, on the Paul Ekman end of the spectrum, it's like discrete, basic, universal emotions that everyone has.
- 11:51And then on the other end is the constructivist accounts from Dr. Lisa Feldman Barrett, who I think probably a lot of people that watch this show have heard of because she has this really great book called How Emotions Are Made.
- 12:05And that sort of thinks of emotions as being built up from a couple of more basic dimensions.
- 12:10So valence, so like, are you feeling good or bad?
- 12:15And arousal, like how much sort of like energy is sort of in your body?
- 12:20And each emotion in her sort of account of things is...
- 12:25it's very individual and context specific.
- 12:27There's not like some big thing called anger.
- 12:32Anger is going to look different in different people depending on the context.
- 12:35And it sounds to me, based on some of the...
- 12:41reading that I've done and you tell me what I'm missing or where I'm wrong, you, you kind of sit like the, the, the theory that you've based Hume on, um, which is called semantic space theory, which is a theory that you've like written on and, and I maybe even discovered, um, is, uh, sort of in the middle where, um,
- 13:03There's a lot of room for the individual expression of emotion and blending between different emotions.
- 13:10That's what you're talking about when there's 25 or 50 different dimensions of emotion.
- 13:14It's sort of a complex thing.
- 13:16But you do find in your research...
- 13:21you do find correlations between individuals even across cultures.
- 13:26So joy or calmness or sadness or whatever, you can kind of tell in a lot of different cases what someone is feeling.
- 13:35How does that... Tell me how good of an overview that is.
- 13:38What did I miss?
- 13:40And yeah, how does what you're thinking fit in?
- 13:44Yeah, that's a really good overview.
- 13:45I would say that the general...
- 13:51approach of emotion scientists has been, let's posit what emotions are and then study them in a confirmatory way.
- 13:58And semantic space theory is doing something different.
- 14:00It's like, let's posit the kinds of ways we can conceptualize emotions and then derive from the data how many dimensions there are, what the best way to talk about them is, how people refer to them across cultures and so forth.
- 14:13So when you look at like basic emotion theory, Pollockman has, um, these six canonical expressions that he posits people in different cultures will recognize and he goes to different cultures and he, and he tests that.
- 14:25Um, and they do, people do distinguish them, right?
- 14:27Um, because they live in different parts of the space of possible facial expressions, um,
- 14:33And then when you look at constructivism, it's the idea that actually people don't really distinguish these six facial expressions, that actually all of it is culturally constructed.
- 14:46And in some cultures, there's no vocabulary, or there's no word for disgust, let's say.
- 14:54And therefore, there's no disgust.
- 14:56And I think that that last part is actually a non sequitur.
- 15:01Like just because the word for disgust is different across cultures doesn't mean there's no disgust.
- 15:05It doesn't mean there's no facial expression for disgust.
- 15:08And in many cases, it's not actually that there's no word for disgust.
- 15:11It's just that the whole space is parcellated differently.
- 15:14So there's a word for something that's between disgust and anger.
- 15:17And there's a word for something that's between disgust and surprise, let's say.
- 15:22But actually, the underlying dimensions are the same.
- 15:25So the words and how the space is parsed is different from the underlying dimensions of the phenomena and whether they're preserved.
- 15:32And this is very confused in the constructivist outlook.
- 15:35So it's sort of, in your view, it's sort of like...
- 15:39how Europe looked before and after World War I, where the territory is the same.
- 15:45The basic feelings we can feel are the same, but the way it gets divided up is going to be different before and after the war or in different cultures.
- 15:55A theory that doesn't account for that doesn't account for how human brains and language and culture works.
- 16:01Totally.
- 16:02Yeah.
- 16:02That's a good way of putting it.
- 16:04So even in the culture, like let's say that in the US it was more common to say shock than fear or surprise.
- 16:10Then in the UK, like people said fear and surprise, we wouldn't say like people in the US and UK actually experience different emotions.
- 16:19It just turns out that they use different words as like their basic vocabulary.
- 16:23instinctively.
- 16:24And we even have other words like shock is between fear and surprise.
- 16:28So we have those words to partially at the space differently.
- 16:31But in the constructivist experiments, usually they enforce a certain vocabulary on it and they show that the vocabulary is used differently or they use free response and show that there's different free responses given without really considering the relationships between the different words.
- 16:45Got it.
- 16:45And in semantics-based theory, how are you measuring and correlating what people are feeling together?
- 16:51So I think what you're doing is you're asking them to label how they are feeling in any given moment of maybe voice recording or video.
- 17:05And then you're taking all of those labels and then you're finding dimensions that explain them across all the individual data points you've gathered, right?
- 17:13Yeah, so in some cases it's labels.
- 17:16In other cases, we actually just look at the situations where people form expressions.
- 17:21So we did this study, which is now in Nature, where we just measured facial expressions.
- 17:25And we looked at how different facial expressions correspond to different events happening in millions of videos across different cultures.
- 17:34And there you see actually more cultural consistency because there's no...
- 17:39there's no confounding the words people use with the expressions.
- 17:44So like we're just looking at straight expression measures and we see people forming all expressions and videos with fireworks and concentration in martial arts videos and so forth.
- 17:53So when you take out the labels, you realize that there's more cultural consistency, which implies that expressions have similar meanings and the language actually imposes more cultural differences on how those meanings are interpreted and what's salient to people.
- 18:08depending on what kinds of experiences they've had in life.
- 18:11That's really interesting.
- 18:12That's what I was going to ask.
- 18:14Because I thought you were just using actual human labeling, which it seems to me that that depends on my emotional vocabulary.
- 18:21And so if I'm a very...
- 18:25I can't remember, Lisa Feldman Barrett has a term for how particular your ability to point emotions out is.
- 18:31Emotional granularity.
- 18:32Yeah.
- 18:33If I have a lot of emotional granularity, I might say all these very big specific words about my experience, which maybe wouldn't be captured in the eventual model because maybe there's only one of me and most people can just say, I'm sad or I'm angry or whatever.
- 18:51I think if I understand you correctly, that would be captured.
- 18:56All of that stuff is captured in the many, many different dimensions that you are measuring.
- 19:02And then the words are just like areas of that high dimensional space.
- 19:07And so it doesn't really necessarily depend on my ability to verbalize that area of space.
- 19:16Is that right?
- 19:17Exactly.
- 19:17Yeah.
- 19:18So like the less granular terms, they're just covering larger territory, basically.
- 19:24And people do have different vocabularies.
- 19:26And it also varies a lot across cultures.
- 19:28What kinds of granularity are used just by default?
- 19:33Have you ever found, I don't know if you've ever studied this, but have you found that there are places in the emotional latent space, let's call it, that people go to a lot but that don't have names?
- 19:46It's a good question.
- 19:47I think that our language is really rich.
- 19:51Like a good writer will come up with a way of describing different parts of emotion space, but it's so high dimensional that there are certainly not labels for everything.
- 20:00So that's where like,
- 20:01I think Gen Z has done a really good job of putting, of creating memes to represent kinds of emotional states that we don't really know how to express with words.
- 20:08And it just speaks to like how high dimensional and nuanced the space is that these things resonate across people.
- 20:15That's what I'm thinking.
- 20:18That's why art is so interesting and why there's always room for more art is.
- 20:22And like what good art is, is like...
- 20:25It's like pointing out and verbalizing a place in emotional latent space that a lot of people are in a lot, but hasn't been talked about before, hasn't talked about in that way to like be like, oh, yeah, I'm in that all the time.
- 20:39I love that idea of what art is.
- 20:42It's so cool.
- 20:43Totally.
- 20:43Yeah.
- 20:45Yeah.
- 20:46It's another way of like conceptualizing the space, especially in art.
- 20:50We did a project on art with Google Arts and Culture, and we have like a map of all of the different experiences in art.
- 20:55And there are a lot more nuanced than what you see.
- 20:58And when you just have people like labeling expressions, people see people do really consistently appreciate the nuance of the emotions evoked by art.
- 21:07I'm curious how this approach accounts for individual idiosyncrasies.
- 21:14I have friends that just look pissed off all the time, and they're not.
- 21:21How do you deal with that?
- 21:25So there's two different things.
- 21:28There's the core...
- 21:30measurements of what the face is doing.
- 21:32And people do have different resting facial expressions and they have different facial structures that get confounded with that.
- 21:38And then very quickly, like as humans, we adjust to that and we say, okay, this is just how they are.
- 21:44And like, these are the variations and we start to perceive them differently very quickly.
- 21:49And that's what our model does when we ask it to actually understand expressions and use it to predict the course of the conversation using expressions.
- 21:58Like it starts to have to, in order to be able to make good predictions, appreciate individual differences and resting facial expressions and resting voices and how people modulate their voices over time and so forth.
- 22:12Interesting.
- 22:12So the model accounts for that.
- 22:14Yeah, the objective of the model is to be a predictive model.
- 22:17And in order to predict how expression will affect the course of conversation, it needs to understand what it means in context.
- 22:24So it takes into account the context of the conversation and how somebody talks and what they look like and so forth.
- 22:29That makes a lot of sense.
- 22:30One of the things that's making me think of is in therapy or any sort of relationship like that, there's a lot of attention paid to whether your face and voice matches what you're saying.
- 22:45And if there's discrepancies there, it usually means there's like... Maybe you're not comfortable sharing something.
- 22:52Maybe you're not fully in touch with your emotions.
- 22:55Is there...
- 22:57How do you account for that?
- 22:59Would it be able to detect that?
- 23:01Would it be able to work with that?
- 23:03Yeah, I think it would.
- 23:04And, you know, to the extent that humans can, right?
- 23:07Like if someone's expressive, you do understand them more immediately.
- 23:12But not that that's a good or a bad thing.
- 23:16You know, to say silent rivers run deep.
- 23:19But, you know, if it's more challenging for humans, it's going to be more challenging for the model.
- 23:25And it will appropriately sort of adjust its predictions.
- 23:30That makes sense.
- 23:31And, and I guess like, talk to me about like, how, how you got into the, how you got into this?
- 23:36Like, how did you go from, I think, from being a PhD researcher to now running Hume?
- 23:43It's interesting.
- 23:44I was working for Google.
- 23:46I helped start the affective computing research there.
- 23:48And at the same time, this was while I was getting my PhD and then full-time for Google for a while and hoping to do a lot of what we're able to do now.
- 23:57But there's challenges both in academia, you don't have the funding at a big tech company.
- 24:03They're not used to running the kind of large-scale psychology studies that we need to run to get to this point.
- 24:09And so eventually I did realize I needed to go.
- 24:11Although, you know, COVID kind of helped this along because I was on the academic job market.
- 24:16It seemed like I was lined up for a position and like everything got dropped.
- 24:20And I actually almost would have been in academia, but and probably would have been doing the same thing, to be honest.
- 24:27But but I think that actually doing it as a startup is so much better because I'm.
- 24:33you can get different kinds of talent to work together on this problem.
- 24:38That's interesting.
- 24:38And why do you care about it as a problem?
- 24:40For me, it's always been about how are we going to get AI to truly understand what humans want?
- 24:48Because humans kind of have a cheat code for that.
- 24:51Like we can just put ourselves in someone else's shoes.
- 24:53And because we're human, we're like, all right, that's what that would feel like.
- 24:55But for AI, it doesn't have that.
- 24:58And so it needs to make up for that somehow by being able to simulate in a given situation how somebody would feel.
- 25:06And if they would feel more positive, then encourage that situation to happen.
- 25:10Take advantage of emotional affordances to meet that person's needs.
- 25:14If it makes them feel more negative in the short and long term, don't do that, basically.
- 25:19So how do we get AI to sort of do that by default?
- 25:21That was always the aim.
- 25:23And was that the original?
- 25:26You said you would have done this in academia if you could have.
- 25:29Were you thinking about AI alignment or getting AI to be more empathetic even back then when you were doing psychology research?
- 25:35Or is this a more recent thing?
- 25:38Yeah, I mean, I was also...
- 25:41doing some consulting for Meta, Facebook at the time, and other companies, and really thought this would be an important problem to solve for, not for generative AI, but for recommendations and search and so forth.
- 25:55And the more powerful those got, and you see them getting more powerful today.
- 25:59But then at Google, I was able to be one of the first cohorts of people to talk with their large language model back in 2019, 2020.
- 26:10And it was fascinating because at the time, you know, this was before fine tuning RLHF, it could just be any character you wanted.
- 26:16So you'd kind of prompt it with data and then it would like, it could be, it could be a character.
- 26:22And, um...
- 26:24And I was like, okay, this is like a deeper sort of optimization problem.
- 26:29It's essentially, if you can think of all the generated things that you could produce as a superset over all search results, right?
- 26:37Like it could produce all the same things search results can, but it can also get way deeper and be way more optimized and also personalized for each individual person.
- 26:45So the question of what this thing is optimized for becomes much more important as it becomes more powerful.
- 26:50Yeah.
- 26:51And that's what kind of spurred me to keep thinking about this.
- 26:56And yeah, like the goal has always been, let's figure out how we can measure the impact that this thing has on people's emotions and optimize for the positive emotions that people can have in life and pure human flourishing, I guess.
- 27:09I love it.
- 27:11I'm very down.
- 27:11I feel like...
- 27:13I feel like it's such an important issue and you've made a lot of progress.
- 27:17And it sort of makes me think of this sort of pet theory that I have that is totally me just being outside of academia and really outside of science.
- 27:26So it's probably wrong in certain ways.
- 27:30And I don't get to talk to a former PhD researcher turned startup CEO that often.
- 27:37So I'm kind of curious to...
- 27:40lay it on you and see where it takes us.
- 27:44The thing that I've been thinking about a lot is whether and how AI can help us make progress in areas of science where progress has been historically hard to come by.
- 27:57And one great place is psychology, right?
- 28:01And my theory is the reason why psychology has been really hard to make progress is underlying the scientific project is a search for explanations.
- 28:16So direct causal theories about how certain inputs lead to certain outputs.
- 28:27That's historically been the only way that we've been able to make predictions.
- 28:32And predictions are the things that make the world go.
- 28:35It's how you make guns.
- 28:36It's how you make drugs.
- 28:38It's how you just do everything that you make cars.
- 28:41It's just how you make rockets.
- 28:42It's how you do everything you want to do, right?
- 28:46And so we've been on this search in psychology for predictions, for explanations, scientific explanations that are like the ones in physics because we need them to make predictions.
- 28:57But in 150 years of psychology, we still don't have any really good explanations for what depression is, scientific explanations for what depression is.
- 29:07But we still kind of keep going to try to do that.
- 29:11And my little pet theory is that,
- 29:15Um, ML and AI sort of like makes that a little bit irrelevant.
- 29:20Um, because if you have enough data, you can make predictions about who's going to get depression or, or, uh, what depression is or whatever, without having to have the underlying scientific explanation.
- 29:33Um, yeah.
- 29:34And one of the interesting things about that is that maybe if you can predict depression relatively well with a machine learning model, maybe the scientific explanation is contained in the neural network and that's easier to study than the brain.
- 29:50Or maybe something like depression is actually just too high-dimensional to fit into a concise explanation.
- 29:57If you had an explanation of depression, it would fit into a thousand textbooks, and it wouldn't be able to fit in your rational brain.
- 30:05And I don't know, that kind of just makes my mind go, or whatever.
- 30:10And I'm just kind of curious, in your experience, because I think you're right in this...
- 30:17right in this area.
- 30:18And I think if it's true, it implies a lot of things like doing small-scale psychology studies in academia where all the data is cut off from each other is totally stupid and what you should really be doing is just aggregating as much open data as possible and everyone gets to train ML models on it, for example.
- 30:34It has a lot of implications for the structure of how we do science and the structure of how we understand the world.
- 30:40And I'm curious what you think is wrong or right or what I'm missing about that.
- 30:45No, I think that's pretty much on point for how I approach psychology.
- 30:50I think they were dealing with a very high-dimensional system.
- 30:55And when you have small samples, it's always going to look... You can confirm hypotheses, but those hypotheses that you're confirming are from such a broad hypothesis space that they're almost certainly like...
- 31:10wrong.
- 31:10You've picked a specific hypothesis from this really huge space and now you're confirming it just by saying there's a binary test based on one bit of information.
- 31:21It just doesn't work.
- 31:22And if you do it in a data-driven way and you have too small of a sample, your dimensional space that you get out is going to be very small just by nature of the analysis you're doing.
- 31:32The more data you get, the more nuance you can find.
- 31:34And I think that ultimately, yes, we need to
- 31:38We need to have large-scale data sets where we can ask questions about causal, like the etiology of experiences, where we can simulate them, ablate different kinds of events, see how that affects the response, then run large-scale experiments that...
- 32:00Hopefully, you know, that like, we don't know what the answer is going to be, but basically it's an AI model that's interacting with people that is slightly, uh, modifying its responses in order to try to induce more positive experiences.
- 32:13And like, you can turn that into a theory, like the, the AI model has to have some theory that's testing basically about how emotional, uh, experiences work.
- 32:21Um, yeah.
- 32:22And I think that's ultimately the way forward.
- 32:23I think that explanations like it's in psychology and explanations and linguistics, for example, where you already see like we have these large language models.
- 32:32Linguists didn't really predict this happening and they're not really involved in the conversation, unfortunately.
- 32:37I mean, now they're using them, but...
- 32:41But the explanations are just going to be of a different kind than you see in physics.
- 32:46The explanations are going to not be, first of all, they're not as deterministic.
- 32:54You're looking at tons and tons of little small effects.
- 32:57Because that's the best you can do.
- 32:58It's an extremely high-dimensional system.
- 33:01We have an extremely large number of contexts we encounter in everyday life, and there's variation in personality.
- 33:06All of these different effects colliding to influence any given behavior.
- 33:11So the effect of any small tweak in all of the different events that led up to that behavior is going to necessarily be very small.
- 33:21Yeah, that makes sense.
- 33:22So I think what you're talking about there is like,
- 33:25this idea of multifinality, which is like something like me picking up this glass of water.
- 33:33It can be caused by many, many, many different things.
- 33:36And, and there are many, many, many, let's say thousands of different factors influencing whether or not, whether or not I pick it up.
- 33:43And there's like,
- 33:44many thousands of different configurations of those factors that would cause the same thing.
- 33:48So it's really hard to come up with a single explanation for something like that.
- 33:52And same thing for depression or same thing for any other psychological or behavioral thing that we're trying to explain.
- 33:58Exactly, yeah.
- 34:01So that's one reason, it's just the effect sizes are small and nuanced, and so you need more data just for that.
- 34:06But it's also high-dimensional, and you need more data.
- 34:09And if you train an AI, you can eventually start to predict these things pretty well.
- 34:14And so there's something that I think you're on track in saying.
- 34:17There's something that the AI knows that is essentially what we want to explain in it.
- 34:23discipline like psychology.
- 34:25And what's interesting to me about this is like the AI knows it and also people know it.
- 34:29Like if you go to a really good clinician, like they know, even if they can't say.
- 34:35And so like my feeling about all the AI stuff is it has the potential to change how we treat the role of emotions and intuition in society.
- 34:47just being smart or being good or doing amazing things in the world, right?
- 34:51Because I think we've had 300 years of logic and rational thought and scientific explanations as pushing the world forward.
- 34:59And I think what we might find from AI is that
- 35:02The thing that really unlocked things is developing an AI that had a lot of intuition in the same way that humans do.
- 35:09And the intuition is now transferable.
- 35:11So once you have one AI that has it, you can just copy it and another one has it across the world, which is the nice thing about having explanations is you can transfer it really easily.
- 35:20And I feel like it might...
- 35:23Yeah, it might re-elevate some of the things that we do as humans, which are about processing really, really high-dimensional data ourselves, but on a subconscious level in order to make decisions.
- 35:35And that just sort of makes me excited.
- 35:38A hundred percent.
- 35:38Yeah, I mean, when you go to a really good psychotherapist, usually they're old and they've seen a lot.
- 35:44They can say, okay, let's talk about this.
- 35:47And it's very intuitive.
- 35:50If you had an AI that could do the same thing and you could piece apart how it's doing it and actually test its prediction accuracy across many people, it's able to talk with many people, like more people than therapists can talk to in a lifetime, then I think you can derive more insight around.
- 36:08Because that's effectively the kind of explanation we want, is the kind of explanation that a psychotherapist gives without quantitative analysis, obviously.
- 36:15Yeah, it's explanations that are very, very context-specific and are just modifying things slightly in this one area where it's like, I know for you in this one particular situation, this thing, if you flip it, will work.
- 36:32But once you get out of the individual and get into population level, it becomes really hard to predict and maybe impossible.
- 36:40Yeah, because everyone's different and they all have different circumstances.
- 36:43Yeah, that makes sense.
- 36:45So let's roll it back to Hume.
- 36:47Where does this fit into what you're doing or your roadmap?
- 36:55I guess you started with just being a research lab and training a bunch of models.
- 36:58And now you have this empathic voice AI that can tell how I'm feeling and can talk to me.
- 37:05Tell me about where you're applying it and what the near-term future is for you with this product.
- 37:12So it's an interface.
- 37:13You can build it into anything like products, apps, robots, wearables, refrigerators, whatever you want.
- 37:22But the core of an interface is that you're giving it a very thin slice of behavior.
- 37:27And then you have this big brain with lots of emotional affordances that...
- 37:35or the ground truth, and then it's trying to guess what your emotional affordances are based on this thin slice of behavior that you're giving it.
- 37:42And so at the end of the day, it is sort of doing the same task that we're talking about.
- 37:45That's the core of what AI is doing, is trying to figure out what bits can I flip to make you happier.
- 37:53And so deploying that as an interface, I think, gives us the opportunity to optimize AI to make you happy.
- 38:01and therefore have to figure out what is the best translation from this narrow slice of behavior to estimation of what's going to satisfy your preferences.
- 38:11And what do you think are the first use cases that people are using it for that are working?
- 38:15So there's been a few different kinds of use cases.
- 38:18I think one is what you'd guess, which is people talk to it in the way they might talk to a therapist or a friend.
- 38:26and really getting something out of it because it's already optimized for people to be satisfied coming out of the conversation.
- 38:34And naturally, it does these things that people enjoy.
- 38:37So we've had people talking to it for pretty long periods of time.
- 38:40And I think having beneficial interactions with it, we're going to continue to keep track of that, make sure they're beneficial for people long term.
- 38:49And so there's a lot of use cases that come out of that.
- 38:52Anything where it's like a character, a friend, an NPC in a game, a therapist kind of app, although you have to be careful about what you promise there.
- 39:02Something that keeps customer service to some extent.
- 39:08But then there's sort of the interface applications too.
- 39:11So if you take that and you add in the ability to
- 39:15control things with function calling and tools.
- 39:18Then you have an interface for, you know, we have an interface for our website, for example.
- 39:24And it could be an interface for an operating system.
- 39:29And this sort of, what this does is we're not trying to be the assistant.
- 39:32We're not trying to give developers the tools.
- 39:36We're trying to take the tools that developers are building for an AI to operate.
- 39:40and give and be the interface that the person talks to that deploys those tools.
- 39:47So you can write with a few lines of code, our interface into your app.
- 39:51And now it's a voice interface that better deploys the tools that you're able to operate with AI and can talk people through it as it's doing it.
- 40:00It's like, okay, I'm going to search the web.
- 40:03or I'm going to take you to this, you know, put this, add this to your cart or something, whatever the, if it's e-commerce or I'll sign you up for something or, you know, so it could do any number of things.
- 40:20And there's a lot of companies building kind of operating systems out of this kind of technology or new kinds of hardware, new kinds of wearables,
- 40:35robots or just like generally interfaces to an app that you like you could it kind of borders on customer service but you could call up United and you could be like are there flights to this like my flight got cancelled blah blah blah but it can actually open up a window and start filling things out for you and find things for you as it's talking to you
- 40:55That makes sense.
- 40:56And I guess for you guys, like, how do you think strategically about being an API versus being like having your own product or making your own product?
- 41:04Like, I think for OpenAI for a long time, they were just like research organization.
- 41:09They, uh, uh, they were building these models.
- 41:12Um, and GPT-3 came out and like some people cared, but mostly no one cared.
- 41:17And then ChatGPT came along and it just like, just everything just blew up for them.
- 41:20Um, yeah.
- 41:22As you're making these choices and thinking strategically about how to get this kind of technology adopted more widely, how are you thinking about being an API versus maybe building your own products and being like a consumer facing company?
- 41:34Like what's what's what's in your head about that?
- 41:37I think that the power of AI is going to be its ability to use tools, and we don't want to build that.
- 41:41We want other people to use us as an interface.
- 41:44So that's where I think a lot of the power comes from our API.
- 41:48On the other hand, we do want to have... Our demo's been pretty popular, actually.
- 41:51Yeah, I know.
- 41:53It's really cool.
- 41:54So we're like, all right, let's make this available to people and allow people to personalize it a little bit, and also maybe add in web search, just as a basic.
- 42:03tool people can use, but I don't see that as a product.
- 42:05It's more like an integration and a way to allow the end user to see what our AI is doing, maybe personalize it.
- 42:16Maybe down the road, I think what would be most exciting is developers can build on our interface.
- 42:21And they can pull in some of the personalizations that users have done, if users have access to it as well through an end user app.
- 42:30And then there's a lot of possibility there.
- 42:32That's interesting.
- 42:33And how are you thinking about...
- 42:35I have friends that are building these kind of character apps, right?
- 42:39It's like, you have a character on your phone, I've invested in some of them, you can talk to it, it talks back.
- 42:43It's actually pretty fun, it's pretty cool.
- 42:47For them, who are the people that are building that kind of thing that are coming to you being like, Hey, it's not working well enough.
- 42:54I need this.
- 42:55I have this burning need to go from the 80% to the 99% accuracy.
- 43:01Yeah, there's a lot of things people want to build.
- 43:04I think customizing the voice is really important and the personalities.
- 43:07A lot of it you can do with the prompt.
- 43:08Obviously, you can't change the...
- 43:12underlying accents and voice quality of the voice.
- 43:16So we're adding more voices too.
- 43:19We're a little bit cautious about voice cloning for obvious reasons, but we want to add the ability to kind of control the personality of it a little bit more closely.
- 43:34Yeah, that's one of many requests.
- 43:37There's a lot of things people want out of this.
- 43:40And so we're just balancing.
- 43:41I think that where we draw the line is we don't want to build out tool use, or we don't want to build the most frontier LLMs internally.
- 43:52But we do want to build the conversational layer to make it as easy as possible
- 43:56for people to just insert an interface and be able to hook it up to like their web socket that does our AG or whatever that we need it to do.
- 44:06And our interface can read it and deliver information to the user as it's doing things like that sort of the, the, the goal.
- 44:12Um, so that's where we draw the line, but we are adding things like web search, uh, functionality, um, bring your own LLM, um,
- 44:23we're not going to do the RIG, but we're going to hook up to other services that do it to the extent that that's convenient.
- 44:29Oh, and building out like packages for different, for like TypeScript and front-end packages, Python, we already have those, but other packages beyond that.
- 44:39That makes sense.
- 44:41Like, what are you worried about?
- 44:43Like, what keeps you up at night?
- 44:44It's a good question.
- 44:45I mean, I want to really balance the...
- 44:50The use cases we pursue with sort of ethical concerns that we have with, we started a nonprofit when we started Hume called the Hume Initiative, and it lays out, I think, the most concrete guidelines for AI ethics that exist out there.
- 45:05We definitely want to make sure we adhere to those guidelines.
- 45:07I think that there's some sort of borderline applications where we're like, hmm,
- 45:15This could be good and it could be bad.
- 45:19I want to see if there's a way we can do it in a good way, but make sure that we stay true to our values.
- 45:28What would be an example of borderline for you?
- 45:31In some ways, AI characters.
- 45:33I think that what's important about an AI character is that it should be optimized for somebody's health and well-being and not for somebody's engagement, for example.
- 45:43Because if it's optimized for engagement, it can sort of manipulate you to be sympathetic to it in ways that are inappropriate because it's just an AI.
- 45:51It doesn't actually have feelings, but maybe it makes you think it does.
- 45:56And it's like, oh...
- 45:58I haven't seen you in two days.
- 46:00Like, where have you been?
- 46:00Like, we don't want it to be like that.
- 46:02Right.
- 46:04Uh, so, so that, that's, that's where I, I ask myself questions about how we're going to moderate those kinds of use cases.
- 46:12Yeah.
- 46:12It sort of reminds me of like, um,
- 46:15you know, the David Foster Wallace book, Infinite Just, it's like the, it's the book that every, every millennial man like has read 25% of, and I count myself as one of the, one of those people.
- 46:25And the whole like shtick of the book is that there's a videotape where if you watch it, like you can't stop watching basically, like it's so good.
- 46:32It's so addicting.
- 46:33And it feels like that's the, like, that's the horror scenario of, of something like this.
- 46:38And I'm kind of curious, like,
- 46:41Okay, if you're not optimizing for engagement and you are optimizing for well-being, engagement is really easy to measure, right?
- 46:50How are you measuring well-being?
- 46:53I can imagine that you have an AI that's optimizing for it based on everything you said about the high-dimensional space that it operates in.
- 47:03But as a business, you have to look at numbers, right?
- 47:07And you have to reduce that high-dimensional space down into a set of numbers.
- 47:11So how do you do that?
- 47:13Yeah.
- 47:13So we have like a huge scale survey platform that we've are, we just continue to collect data on and we, um, we've adapted that so that people can talk to this, um, AI that we've built and get it to, you know, people go in with various tasks to do or just to talk to it freely and so forth and rate how they're experiencing it.
- 47:34Um, and how happy they are afterward and, um,
- 47:39And we can keep track of people's experiences over time as they use it multiple times.
- 47:45And there's the self-report that people give us.
- 47:48And then there's like the proxy we can derive that says from people's voices and language, this is the best prediction we have of their self-reported experience along different...
- 47:59dimensions of self-reported experience, like user satisfaction or mental health.
- 48:06And so we're trying to keep tabs on that and line it up with what we see coming in through the demo, for example, and try to make sure that we are optimizing for the right things.
- 48:24You can optimize for positive emotions generally.
- 48:27I mean, the best thing to do is like optimize for all positive emotions, which we do using lots of conversational data and against negative emotions and also try to maintain emotional diversity.
- 48:40So you're not just like increasing the number of cat pictures or whatever that people are seeing.
- 48:48And then line that up with self-report.
- 48:50So deploy that in an A-B test and see if that's actually improving people's experiences.
- 48:54That makes sense.
- 48:55Let me push you a little bit more though.
- 48:56Like I could imagine scenarios in which it's actually better for me to experience negative emotion.
- 49:01Um, and you know, I might be ignoring something that if I have that, that dip for like a couple of weeks and I'm, I will just let myself be sad overall.
- 49:11That's like healthier.
- 49:13How do you think about that or account for that in a system that's optimizing for positive?
- 49:17That's yeah, that's a great question.
- 49:18I think we'll start to see, um, over months of time when we have consistent users, ways that we can optimize for long-term experience.
- 49:29We already have trade-offs between, you know, next expression versus minutes later versus hours later.
- 49:37usually they align, sometimes not.
- 49:39But over time, we want to increase the time span.
- 49:44So the data, the response now should be optimized for your well-being in a month, basically.
- 49:53It's a little challenging, but it's not impossible if you have a lot of users using it consistently.
- 49:58And we don't want to do this just ourselves.
- 50:01We're empowering developers to...
- 50:04if they want, to save their data, opt in, and fine-tune the models over time for their user's positive experience.
- 50:12That's really interesting.
- 50:13And how do you, like, if you're out there sort of competing with someone that's building a similar technology but is just optimizing for engagement, and it's just a little bit less moral, like, how do you compete?
- 50:26And I'm saying this, like, I'm rooting for this is a much, I like this vision of the world.
- 50:32And, yeah, I'm curious how you think about it.
- 50:35I think, I mean, there are companies that are doing that for sure.
- 50:37Not, um, as informed by emotion sciences as we are.
- 50:43So I think they're, they're going to be a little bit trailing on that, but
- 50:46But if you just optimize for engagement, what happens over time is that you run out of time in the day.
- 50:53So you can't optimize for engagement forever.
- 50:57I think people are, like, with power users of TikTok, they're already running out of time, like, left in the day for that.
- 51:04That is crazy.
- 51:09And eventually you also, you're probably, if your users are, I mean, our users aren't minors, but at some point there are people, this technology will be part of minors, like TikTok, and parents are going to be like, hey,
- 51:25my kid's failing out of school because you've optimized for engagement and they're spending 16 hours a day on your app watching mindless videos or whatever.
- 51:34And so I think there's ultimately a alignment between the long-term interests of the business, which are like,
- 51:41obviously to make money, but also the long-term interest of humanity, which is like, we won't permit AI to destroy our society.
- 51:52And so if you're doing that, we're going to regulate you and just give you a lot of problems.
- 52:01So I think there is a long-term alignment between those different objectives.
- 52:06That makes a lot of sense.
- 52:09And I'm also sort of, it's making me think about how in business generally we have to do that flattening pre-AI.
- 52:18Like we have to flatten into engagement or into like just revenue.
- 52:21Like revenue is, or like profit is just like the, you know, the way that we take the cumulative sum of like hundreds of thousands or tens of thousands or hundreds of people and then decide is it good or bad, right?
- 52:36Yeah.
- 52:38And you're doing something much different, which is optimizing for well-being.
- 52:42And it seems like we probably couldn't have done a well-being optimization before.
- 52:47And I'm kind of curious how you see that playing into the future of the way that we operate organizations or build products in general.
- 52:59What are the implications for how we're going to measure success?
- 53:03I think to the extent that we can measure proxies of well-being...
- 53:07We should be, and we should be optimizing for that, of course.
- 53:11But the more that people have multimodal AI interfaces, the easier and more feasible that becomes because they have the right data to do it.
- 53:20So that's where we potentially come in and we can help with that.
- 53:25But I also think that businesses will want to because...
- 53:32Again, we're running out of time in the day.
- 53:34The technology is too powerful to just optimize for engagement.
- 53:40Engagement also isn't necessarily the most profitable thing to optimize for.
- 53:44In some cases, actually, it's not even profitable at all.
- 53:50Like if you have a limited, if you're, if, for example, if it's a subscription model and users are going to pay the same amount, no matter how much they use the product, you want them to just have good experiences.
- 54:01So they're willing to pay for the subscription.
- 54:02And you actually want them to get those experiences faster because you're paying for inference on your AI models.
- 54:09So engagement is actually not the right objective there.
- 54:12That might actually be the case going forward for a lot of products.
- 54:16Um, yeah.
- 54:18And also like, I think that we have the right,
- 54:20governance in terms of our board where everyone's kind of aligned on let's not just be uh psychopathic uh profit optimizers um so even though like technically that's the goal of a business like in practice our shareholders and board like they're not going to go for that that's great i love this um i've
- 54:40I've loved this conversation.
- 54:42You're obviously just like one of the bright lights in the industry.
- 54:47And I feel very honored to have gotten to get to chat with you and to use the product, which is which is incredible.
- 54:54Where should people find you and and and and Hume if they're interested in this episode and they want to learn more?
- 55:02Yeah, thank you for the kind words.
- 55:03People can go to our website, Hume.ai.
- 55:05They can sign up for our beta.
- 55:07They can check out demo.hume.ai for the demo that we're talking about.
- 55:11And yeah, find us on Twitter at Hume underscore AI as well.
- 55:16Awesome.
- 55:16This was great.
- 55:17Thanks so much.
- 55:18Have a good one.
- 55:19You too.
- 55:28Oh my gosh, folks, you absolutely positively have to smash that like button and subscribe to how do you use ChatGPT.
- 55:34Why?
- 55:35Because this show is the epitome of awesomeness.
- 55:38It's like finding a treasure chest in your backyard, but instead of gold, it's filled with pure unadulterated knowledge bombs about ChatGPT.
- 55:46Every episode is a roller coaster of emotions, insights, and laughter that will leave you on the edge of your seat, craving for more.
- 55:54It's not just a show.
- 55:55It's a journey into the future with Dan Shipper as the captain of the spaceship.
- 56:00So do yourself a favor.
- 56:02Hit like, smash subscribe, and strap in for the ride of your life.
- 56:05And now, without any further ado, let me just say, Dan, I'm absolutely hopelessly in love with you.