Latest / Agentic Conversations (formally mlops.community) / From Shiny to Strategic: The Maturation of AI Across Industries // David Cox // #303
Transcript
- 0:00So my name is David Cox. I take my coffee black Nespresso
- 0:04style though, so I don't actually make it, I just push
- 0:06the button. We're back with another
- 0:09Envelopes Community podcast. I'm your host, Dimitrios, and
- 0:11talking with David, we got in to the ways that you can look at
- 0:19machine learning, specifically on the supervised machine
- 0:22learning to help you change the way that you interact with this
- 0:26world. Behavioral economics was
- 0:30something that I learned and I hope you do too.
- 0:33Let's get into it with him right now.
- 0:36And I will say just as a disclaimer, this was a different
- 0:41kind of philosophical conversation.
- 0:43We did not get super technical on how you can deploy these
- 0:46models and what kind of specs we're looking at, what kind of
- 0:50QPSS and all those other fun acronyms that we like to use.
- 0:54But I still had a blast talking to him and going on all kinds of
- 1:00tangents, and I hope you do too. We should.
- 1:10Probably start with you're in Florida and you're wearing
- 1:15sweaters. How is that possible?
- 1:17Yeah, theory of relativity applies even to temperatures, I
- 1:22guess, right? Yeah.
- 1:24And I'm in Germany. Where in.
- 1:26T-shirts, Yeah, yeah. What is the?
- 1:29What is the temp there for you these days I guess.
- 1:31I do Celsius. I have been converted so it is
- 1:36zero. And the last couple days it was
- 1:39like -5 which for the people out there that do Fahrenheit,
- 1:44obviously zero is 32, but -5 is like, yeah, in the 20s, I think
- 1:50high 20s, mid 20s. That is frigid.
- 1:52I don't think I'd leave my house if it were that cold here in
- 1:54Florida. Yeah, it's funny how you get
- 1:57used to it it. Really.
- 1:58Oh, yeah, absolutely. And I mean, I grew up in
- 2:01Colorado and a lot of people as soon as they hear that, they go
- 2:02like, wait a second. But yeah, I don't know.
- 2:04I've been in Florida too long I guess, but.
- 2:07You got acclimated to it, man, that's too good.
- 2:10Well, the interesting things that I want to talk to you about
- 2:14are not at all around LLMS. I think we started off this
- 2:20conversation and we really wanted to have this conversation
- 2:22because there is so much more happening in AI than just the
- 2:27LLM boom and the agent boom and the whatever insert your next
- 2:33type word boom in here, right? Yeah.
- 2:37What are you working on these days?
- 2:39Yeah, so I work and it may help to give it a little context on
- 2:43my background. That may help.
- 2:45So bro, I got into AI mainly from like behavior science,
- 2:49space, technically like clinical work with humans, but you can
- 2:53think about what we're doing is more like behavioral ecology but
- 2:56applied to humans. That is, you know, you look at
- 2:58the environment around people. How might you change that to
- 3:01change behavior like workplace settings, right, or clinically,
- 3:04things like that? And so then you know how I got
- 3:07into AI, stuff I'm working on now.
- 3:09As you can imagine, the environment is incredibly rich.
- 3:12All sorts of stimuli that we perceive respond to influences
- 3:16our behavior. And mid twenty 10s, all of a
- 3:20sudden a bunch of research started coming out.
- 3:22AI is better at doctors than X&Y&Z.
- 3:25And so I was seeing a researcher interested in human decision
- 3:27making as like, what is this thing?
- 3:30And that kind of pulled me over into the again, kind of where
- 3:32I'm working now is, you know, how can we take information from
- 3:36the larger environment, sensory modalities, wearable
- 3:39technologies, things like that, and from those data, understand
- 3:44why people do what they do and then use that to then help them
- 3:47make better decisions, healthier decisions with happier,
- 3:50healthier lives. So.
- 3:51So it's. Not thinking about what the
- 3:56diseases are from signals from wearables or from blood tests
- 4:01and all that. It's more why are people
- 4:05deciding to stay on the couch or eat those?
- 4:08Foods that. That pizza that I love?
- 4:11Why do I choose that on Saturday instead of some broccoli and
- 4:15hummus? Exactly.
- 4:17Yeah, that's exactly right. And what's kind of fun about
- 4:19that? And the area of kind of
- 4:22psychology that I got my training and behavior analysis,
- 4:24there's this kind of pocket of literature called say, do
- 4:27correspondence. Basically, the idea is that we
- 4:31don't, we don't always do what we say or what we, you know, if
- 4:34you were to ask me why do you eat broccoli or pizza instead of
- 4:36broccoli, I might say something, but that doesn't always match up
- 4:40with my behavior. The reasons that I why I might
- 4:42actually do something to, you know, if you look at the data,
- 4:44you really get into it. And so that's kind of this
- 4:47really interesting dichotomy, kind of circling back to LMS,
- 4:50right? Language text based,
- 4:52Interesting, but may not give us all the information we need to
- 4:55understand, you know. Why do you do what you do and
- 4:57how can I use that to help you make better choices?
- 5:00So what are some things that you look at?
- 5:03So it's interestingly, and this is kind of where I also touch
- 5:06point, mid twenty 10s kind of brought me into AI reinforcement
- 5:10learning. I'm guessing a lot of listeners
- 5:12are familiar with there's a whole pocket of biological
- 5:15literature, reinforcement learning with biological
- 5:17organisms been around, you know, 100 years, 150 years.
- 5:21And so we look at a lot of the same stuff.
- 5:22You know, you're a rat in an opera chamber, you're a human,
- 5:26you know, scrolling through Twitter, whatever.
- 5:28There's going to be a bunch of stimuli that are kind of
- 5:31presented to you that comes before some behavior you engage
- 5:34in. After you engage that behavior,
- 5:36something happens, right? You know, I make a tweet and
- 5:39someone clicks the like button and that kind of unit, that's
- 5:42antecedent behavior, consequence chain is what we kind of talk
- 5:45about. You can analyze those over time.
- 5:48And from that I can start predicting, you know, based on
- 5:50the behavior you engaged in, what's a reward or a reinforcer
- 5:53for you, And then I can start using that to predict what
- 5:55you'll do next. Twitter meta that they all use
- 6:00the same algorithms for human behavior, right?
- 6:02We're just talking about doing that in context of like health
- 6:04behavior. Yeah, that's why I have so many
- 6:07notifications when I sign on the LinkedIn.
- 6:10And he and he can't seem to not get distracted by them because
- 6:13they're so good at getting your attention.
- 6:15Yeah. It is killer.
- 6:17And so then how are you trying to help people make the right
- 6:21decisions from that? And and basically like, I still
- 6:25think break it down. Like the data that you're
- 6:30gathering is more on how many steps I'm taking.
- 6:34And yeah. It could be.
- 6:36Like it's more exercise or deals with the body or it's also how
- 6:41much screen time I have. Yeah, could be all related,
- 6:45right. So there's you can imagine,
- 6:47yeah, I'm not sure how much you sleep 24 hours in a day minus
- 6:50hours you sleep you get that that many hours of behavior.
- 6:54So you can think within this kind of total set of behavior.
- 6:59There's some really that's hold the matching law known
- 7:02principles of biological organisms.
- 7:05You tend to allocate the amount of time to an activity that
- 7:09corresponds with the amount of reward that you get from that
- 7:12thing. So, you know, if I'm looking to
- 7:15say change your physical number of steps that you take, physical
- 7:18activity levels, I would look and see, you know, how much time
- 7:21do you walk now? What else do you do in your day?
- 7:25What are those kind of things that you find reward Netflix,
- 7:28right, or whatever, you know, maybe scrolling Twitter, all
- 7:30that kind of fun stuff. And then the question becomes,
- 7:33is there a way that you can contact more reward for physical
- 7:37activity then maybe you do from say Netflix or something?
- 7:41So you can a lot of the, and this you can imagine, has a lot
- 7:44of therapeutic implications. You know, if I'm engaging a lot
- 7:47of substance abuse, I spent some time doing some research in that
- 7:49area. I want to get you to shift away
- 7:51from, you know, cocaine to something else that's maybe a
- 7:54bit more healthier. So you try to figure out what
- 7:56can I create to compete with the reward that you get from that
- 8:00maybe unhealthy behavioral pattern to healthy, you know,
- 8:04shift it to some kind of healthier behavior pattern.
- 8:07But you know, now we're also talking like these are data
- 8:10issues, right? Amazing in theory.
- 8:12How do I get the data for you that allows me to really
- 8:15understand your day? And fortunately for the line of
- 8:17work I'm in, the last 10 years has been incredible, right?
- 8:20Technology just allows us to collect so much data on so much
- 8:23more than we could even 1520 years ago, but still a non
- 8:27serving challenge. Apple watches in in the whoop.
- 8:31And Oh yeah, yeah, yeah. Me too, but the the part that I
- 8:38I'm not clear on still is how are you proactively trying to
- 8:42associate more dopamine or serotonin or whatever is
- 8:46released in the brain when I exercise more or when I take
- 8:51more steps? How do you make that connection?
- 8:54Yeah, yeah. So there's kind of a fundamental
- 8:57some going back to that idea of the matching law, that behavior
- 9:00flows where reinforcement flows is kind of the fun phrase in
- 9:04there, right. So if I can look at your
- 9:05behavior across the day baseline before I'm doing anything, I can
- 9:09roughly see, you know, you spent three hours on Netflix, 10
- 9:12minutes walking. There's a lot of value in
- 9:15Netflix. What's going on there?
- 9:16How can I take something of that and provide it for you can only
- 9:21access it, let's say, through physical activity?
- 9:24One kind of popular phrase for these kinds of interventions is
- 9:27contingency management. Very simple, lot of research
- 9:30settings, you know, maybe you'd prefer to sit on your couch, but
- 9:34what if I give you $20.00 for hitting your step count today?
- 9:38What if I give you $50 a day, $100 a day, right?
- 9:41You kind of start increasing the value and kind of putting on
- 9:44these extra reward contingencies, they're called,
- 9:47right? So they don't occur in the
- 9:48natural environment, but you can supplement, augment, add on to
- 9:52the reward value for the healthy behavior to get it to shift.
- 9:57And then clinically, usually the challenge is all right, amazing.
- 10:00You can get changed in physical activity for like less than a
- 10:02dollar a day. You get people hitting their
- 10:04step counts. The challenge then becomes kind
- 10:07of like what you were leaning into a little bit.
- 10:08I think is amazing that I'm now walking, but do I now find
- 10:13walking intrinsically rewarding? So you can actually fade out
- 10:16those extra wards, rewards and things I've added on there.
- 10:20Some people that's easier, for others it's more challenging.
- 10:23There's kind of research ongoing there.
- 10:25That's the basic idea, how you can analyze it and think about
- 10:28it. How are you reaching out to
- 10:34people? How are you setting up these?
- 10:36Do I give you, Do I just say, hey, whatever app it is, you
- 10:42have unlimited untethered access to all of my data like the Woo
- 10:46worker and my screen time and everything that I'm doing to
- 10:49help me become a better person from goals that I've set.
- 10:52Yeah. Wouldn't that be nice if you
- 10:54would give me that would be great.
- 10:55Yeah. No, that would I would.
- 10:56Give all of you honestly like I don't even care about any data
- 10:59privacy but we could go over how you are keeping my PII clean.
- 11:02Yeah, yeah, yeah. No.
- 11:04And I should say, like at this point, data challenges a real
- 11:08thing. Most of the work that I get into
- 11:10is in clinical settings, so like behavioral health settings where
- 11:13we have people coming in for therapy.
- 11:16I then know the totality what's going on in that session, right?
- 11:19I'm presenting maybe different learning trials.
- 11:22They might be called things like that.
- 11:23You're trying to work on, I don't know, improving your
- 11:25speech articulation, right? Someone that seemed like a
- 11:27speech therapist or something, bring them in.
- 11:30I know the behavior I'm trying to change.
- 11:32I have all the data because they're in my context on, you
- 11:35know, when I'm presenting you different words to say, how
- 11:37exactly are you saying in the back if we're working on like
- 11:40different pairings, chains of the sounds that you might admit,
- 11:44right? What does that look like?
- 11:45Where do you start to make mistakes and things like that?
- 11:47So much easier to get the data that you need and the types of
- 11:51clinical settings that that I'm kind of working that like pro
- 11:55health behavior daily life. I've set up a few systems for
- 11:58myself just with my woop time tracking screen time and things
- 12:03like that. You know, maybe there's a
- 12:05product played down the road. I don't know.
- 12:06I'm a researcher, scientist first and foremost.
- 12:08But yeah, the data challenge is a real deal.
- 12:11But most of the stuff he has a clinical setting.
- 12:13It's kind of weird. Because if it does feel like
- 12:16what I want means to have such a 360 view of who I am and it
- 12:24needs to understand all of my habits, the good, the bad, the
- 12:27ugly. And I think about how could I
- 12:32have a product in my life that has almost like God Mode?
- 12:38Yeah, Yeah, yeah, yeah, that's exactly right.
- 12:40Yeah. And you're doing it from your
- 12:43side, which is almost like the only way that it can happen,
- 12:46right? I know I've had friends who
- 12:48would plug into their Aura Ring API and then create different
- 12:54scripts that could run off of that, which feels like the only
- 12:57way. It's like very hacker esque.
- 13:00Right now. Oh, it's incredibly hacker
- 13:01esque, yeah. And that's kind of what I've
- 13:03done in my own life too, going back this idea like the matching
- 13:06mall, right? So I've been for 15 years
- 13:08tracking wake up to when I fall asleep.
- 13:10How do I spend my time? Whoop data, right?
- 13:13Same thing. I have custom scripts pulled in
- 13:15Strava and all that fun stuff, Peloton, but it's hard.
- 13:20I know there's still gaps in the day that are missing.
- 13:22And this is where I get, I get really excited about what kind
- 13:25of what's possible five years from now, 10 years from now, and
- 13:29how so much of this stuff, right.
- 13:30You think physiological data, that's not really an LLM call.
- 13:35It's not like text based. It's just raw, you know, physio
- 13:38tensors make this beautiful to play with.
- 13:41And so it's yeah, but you're exactly right.
- 13:43It's God Mode, right? How do you get get data on
- 13:46enough stuff? Maybe you don't need data on
- 13:48everything, but on enough things from my life that I can impact
- 13:52those things that are most meaningful to me when, you know,
- 13:55when I think about what are my values like, what does it mean
- 13:57to live a good life? Yeah.
- 13:59Well, especially if you're like me and you're trying to set
- 14:03goals. I'm always trying to get better.
- 14:06And I imagine if I knew a lot more about what you know about,
- 14:11I would be better at giving myself the rewards to create
- 14:15those habits. Like reading Atomic Habits was
- 14:19not good enough for me to become the perfect man that I'm trying
- 14:22to beat. Yeah, yeah, oh, sadly.
- 14:25That did not work. But if I if there were the
- 14:31possibility of an app to be able to understand me and have access
- 14:38to everything and then help me with the goals that I'm trying
- 14:43to get. Like it just a simple thing that
- 14:45I'm trying to do these days and I find it very difficult because
- 14:48it's breaking habits and putting new ones in is read before bed.
- 14:53I read when I wake up really easily, but reading before bed
- 14:58for some reason is really hard. I would prefer to scroll TikTok.
- 15:02Yeah, that's fair. I mean, who wouldn't prefer
- 15:04scroll TikTok? Yeah, I can't follow me for it,
- 15:08but still like I want to. Yeah, I feel like I could do it.
- 15:13Oh, yeah. And I mean, there is a whole,
- 15:14like, body of scientific literature called self
- 15:17management comes from the same behavior science literature.
- 15:20How can we, rather than having others impose these rewards for
- 15:24us to how can we do it for ourselves?
- 15:26And they're a bunch of strategies, you know, like off
- 15:29the cuff someone might throw out, like, you know, when you go
- 15:31to bed rather than have your phone next to you with your
- 15:34alarm, it's across the room. So.
- 15:36I set my alarm, I set it down and then that even that
- 15:39increasing the effort to go get it to then scroll TikTok
- 15:42probably going to prevent me, especially if my books right
- 15:44here, right. So like setting that
- 15:46differential effort is like 1 strategy to make things, you
- 15:50know each. Most people choose the less
- 15:51effortful option. Oh.
- 15:53That's great. There's a whole rich literature.
- 15:56What's kind of fun about it for me is going back again, like
- 15:58this, say, do correspond, all that kind of fun stuff.
- 16:01We've known about all this stuff for decades, implementing it as
- 16:04hard. Getting data on your own
- 16:06behavior can sometimes be hard. And we are also don't always,
- 16:09we're not always aware of the reasons why we might pick that
- 16:14habit we're trying to break. You know, I want to do something
- 16:17different, but I had to find myself doing the same thing.
- 16:19I also have a sweet tooth every night after dinner Regard, you
- 16:22know, I just can't break that one.
- 16:23But you know, you start collecting data and analyzing
- 16:25your behavior over time and you can start to understand, you
- 16:29know, it's XYZ. These are the reasons why TikTok
- 16:32is so appealing to me. Before I go to bed, Yeah.
- 16:36And so how does this play into AI?
- 16:40How are you using AI for these type of insights?
- 16:44Yeah. So getting going kind of back to
- 16:47the clinical space because that's where I've spent most of
- 16:48my time. I've done some of this with my
- 16:50own kind of quantified self data, but more, more than
- 16:54clinical space. So you imagine you have a lot of
- 16:56this data. Again, going back to this idea
- 16:58of clinical decision making, there's a lot of stuff that's
- 17:02come out. I'm not sure if you read the
- 17:03book Nudge. Long story.
- 17:07A cat, Kat Sunstein and Richard Thaler I believe.
- 17:11What was it about? Because I feel.
- 17:12Like so the basic idea, yes, this pocket of research,
- 17:16behavior science, it looks slightly different area, but
- 17:18similar ideas called behavioral economics.
- 17:21Basically the idea is that, you know, traditional economic
- 17:25theory, all humans are rational agents.
- 17:28We optimize, we always choose the best course of action.
- 17:33And that's, you know, when we make decisions, we are, we're
- 17:35always optimizing, optimizing, maximizing.
- 17:37But you know, you look around at humans, I don't know, you know,
- 17:40we smoke, we drink, we, we, we make a lot of suboptimal
- 17:43decisions is like the fancy phrase.
- 17:46And so the question this book nudges, you know, what are all
- 17:49the ways that we might nudge ourselves to move, quit making
- 17:52these suboptimal decisions to make better decisions for
- 17:55ourselves And what not that you can imagine that's also been
- 17:58applied to the clinical decision making literature, right?
- 18:02There's one study 2016 third leading cause of death in the
- 18:06United States was physician errors, right?
- 18:09They made the wrong choice, somebody died.
- 18:13So you know, going back to this idea, we have a lot of data.
- 18:16People are in these clinical to context healthcare
- 18:18professionals. They want to do the right thing,
- 18:20but they may not always make the best choice and they may not
- 18:23always be aware of all the data and the things around them that
- 18:26could inform their decision. So where AI comes in and the
- 18:28things that that I get excited about and we have one thing that
- 18:31we built that's patent pending, you can start, you can imagine,
- 18:34I have this data, one thing, first thing I can do
- 18:36unsupervised machine learning, right?
- 18:38All these different patients, let's just start finding
- 18:41different kind of patient groups, patient cohorts, patient
- 18:44profiles, whatever you want to call persona and marketing, same
- 18:46basic idea, right? Different patterns of clinical
- 18:49presentation that might then inform how I intervene, how I
- 18:54prevent some kind of clinical intervention.
- 18:57So unsupervised machine learning comes in there, allows us to
- 18:59identify really interesting groupings.
- 19:01Next phase, usually in some kind of healthcare setting, I'm
- 19:04trying to maximize patient outcomes.
- 19:07Classic supervised learning task.
- 19:09All right, I have this kind of a patient profile.
- 19:12Given everything I know about their clinical presentation and
- 19:15where I want them to be, what can I do clinically as a
- 19:19therapist to help move behavior in that direction and not in
- 19:22some other direction? Again, clinical decision making,
- 19:25helping make optimal decisions verse suboptimal decisions, and
- 19:29even those in and of themselves. You can imagine you're starting
- 19:31to probably wrap around all sorts of different ML models
- 19:35chaining ensembles together. Most people when they enter some
- 19:38kind of therapeutic context, it's rarely one goal that
- 19:41they're working on. They may have 1020, right?
- 19:43So now you like hierarchical things, you have decision trees.
- 19:46I mean, it gets incredibly exciting, but this is what, you
- 19:49know, coming back to the kind of main theme that we want to start
- 19:51of talking about, There's so much complexity there.
- 19:55And I also need this thing to be controlled, compliant,
- 19:58transparent, all those fun things that you don't
- 20:01necessarily need an LLM for. Probabilistic outputs is also
- 20:04dangerous in healthcare settings, right?
- 20:06I need it to be discriminative. AI needs to be very good at what
- 20:08I'm asking it to do. Yeah.
- 20:11And that's, yeah, a lot of the work that I spent my time doing
- 20:13the last 10 years or so. I imagine there's a lot of room
- 20:18for folks to come in and either say that they've changed when
- 20:24they haven't, or they have changed, it's just they changed
- 20:30for a week and then they fall off the wagon again.
- 20:33Yeah, you like weed those out? Yeah, yeah, absolutely.
- 20:39So for the first one for those that may say they any and they
- 20:42may generally believe it, right. I feel I'm a new man, right.
- 20:45I'm a new person that getting data on that behavior.
- 20:50That has been me. I will say like, just so we're
- 20:54clear. Yeah, yeah, I'm, I'm off my
- 20:56sweet tooth kick, right? Yeah, I started ice baths and
- 20:59now I'm a new man. I'm for bed.
- 21:02It's all good. Yeah.
- 21:05And yeah. And so in that context, you
- 21:06know, therapeutically, if I was your therapist, love that you're
- 21:09telling me that every day, though, I'd be asking you to
- 21:12give collect data on your behavior in some capacity.
- 21:15Or we'd figure out a way. So you could say that, but then
- 21:17we'd look at your data and say, wow, but your behavior like that
- 21:20was a spike. Your your behavior hasn't quite
- 21:22changed to the level that you're after.
- 21:24Whatever. So that's kind of one way.
- 21:26The other thing that you're talking about is this idea of a
- 21:30popular phrase that people might be familiar with.
- 21:32It's like relapse. Right.
- 21:34I got better, then I went back to my old patterns of behavior.
- 21:39This is a classic behavioral pattern.
- 21:41Studying in the behavior science literature.
- 21:44You can think of like almost like a time series forecasting
- 21:47challenge, right? What are the variables in the
- 21:49environment that when they combine, allow me to predict
- 21:52that you're going to relapse versus instances that you won't?
- 21:56And then you can start again. Same idea.
- 21:58You need the data. But I can start saying again,
- 22:00amazing that you said you took ice baths.
- 22:02You have this pattern of behavior in your history,
- 22:04Demetrios, I can tell you're going to relapse next week.
- 22:07You know, let's let you stay on the straight and narrow to or
- 22:10you know, add in these additional therapeutic resources
- 22:12or whatever to get you over the hump this time so you won't
- 22:15relapse or whatnot it. It reminds me a little bit, Do
- 22:19you ever feel like it's a little Minority Report esque?
- 22:22Where Yeah, absolutely. So, yeah.
- 22:25So full, full confession at this moment in life, like I'm a kid
- 22:28of the Matrix era, you know, kind of came up Matrix Minority
- 22:32Report, saw those Ex Machina, all that stuff was going on
- 22:36right when I was in my PhD for behavior science, starting to
- 22:40work in AI. And I, I mean, I, the idea is
- 22:44incredibly intoxicated, right? And I think what's also
- 22:48interesting is if you look at a lot of tech companies, arguably
- 22:52they're not to that same full extent, but they're using the
- 22:55same ideas, right? How can I make my product more
- 22:58addicting to keep your eyeballs on it?
- 23:00What we're talking about is like, we can do that exact same
- 23:03thing, but to help people live healthier, happier, better
- 23:06lives. We can use it in kind of both
- 23:08ways. But yeah, very.
- 23:10I mean, I think that future, that Minority Report future is
- 23:14coming at some point. You know we're.
- 23:17And I, I'm 100% behind you on I would much rather have what
- 23:23you're doing than me being subject to social media or my
- 23:29own vices and have it just happen to me passively with or
- 23:35without me knowing it, you know? Yeah.
- 23:37Oh, absolutely. And I really like that, that
- 23:40idea that you can imagine of like, you know, maybe turning
- 23:42some of this this system randomly.
- 23:44I could turn that into a product and give it back to the user to
- 23:47say, hey, connecting what you want, you know, I'm not going
- 23:50to. And you, I mean, technology's
- 23:52got, we could run stuff on the edge these days.
- 23:53Like I don't need to collect your data or save it anywhere,
- 23:56but you'll give that back to the user and say connect in whatever
- 23:59you want to get the data in there that you need, state your
- 24:02values. And then, you know, just build a
- 24:04model on Demetrius behavior, right?
- 24:07Build a custom model for you and nudge you recommend.
- 24:10There's a whole body of literature called just in time,
- 24:12adaptive interventions, basic ideas.
- 24:15You know, at that moment of choice, right before you make
- 24:17some kind of unhealthy decision, you get a nudge or a prompt or
- 24:20something to make you make the healthier so.
- 24:23So basically when I am right about to grab my phone before
- 24:29bed, it's like, oh, remember that?
- 24:33Yeah. You know what I always I think
- 24:36about a lot as something that I want to start doing is just
- 24:41before I read a book to my kids for bed, shut off the phone.
- 24:47And just the act of having the phone off and then having to
- 24:50restart it is enough of a barrier for me to say, ah fuck
- 24:56it, I'll read a book. Yeah, yeah.
- 24:57Oh, I love it. Yes.
- 24:58You're, you're already thinking about this idea.
- 25:00If I increase effort or the delay to the reward, classic
- 25:04examples that we know reduce its value.
- 25:07So you know what's more immediate lower effort.
- 25:10We tend to choose those things. So yeah, put the carrots at the
- 25:14front of the fridge with the cake behind it, you know, and
- 25:17I'm still going to go for the cake because it's just so good.
- 25:20And so I'm constantly trying to figure out those efficiencies.
- 25:25And I imagine you start to see areas where you can do more.
- 25:30And, and just from me talking to you, I, I really appreciate this
- 25:33because I recognize that one thing I want to do and I it's
- 25:39that do say dissonance in my own life is I constantly tell myself
- 25:45I'm going to go to bed early and before I go to sleep, I'm going
- 25:48to read a few pages and then go to sleep and nail all my sleep
- 25:53score goals, right? Oh yeah, yeah.
- 25:57Be the perfect man. And that only happens when I'm
- 26:00traveling on my own. When it's at home, it's a
- 26:04disaster usually. And thinking about it in the way
- 26:09of how can I set up more friction is something that I
- 26:15didn't necessarily actively do. It was more that I would do it
- 26:23in a in a way that I just recognized.
- 26:26Oh, yeah. It like I don't sleep with my
- 26:28phone in the room. I sleep with it outside in my
- 26:32living room. And that's one thing that I make
- 26:35sure to do because I recognize that I don't look at it in the
- 26:38morning and I read in the morning, right?
- 26:40And so doing it the reverse way and just shutting it off before
- 26:44I read my kids a book is is setting that friction
- 26:49consciously and then like regaining a bit more of my
- 26:55willpower. Yeah.
- 26:56Oh, I love it. The other thing I think that's
- 26:59interesting that you said is that it's easier for you to do
- 27:02when you're traveling. So the other thing that I'd be
- 27:04curious about is like, what happens like as you're leading
- 27:08up to the end of the night that makes TikTok that much more
- 27:12valuable. Like, are you, I don't know,
- 27:14like you already jacked up and you're like, yeah, now I also
- 27:16need to get some TikTok. Whereas on the road maybe it's
- 27:18you're already calmer. And so you're like, I'm going to
- 27:20get into a book. But yeah, those are most
- 27:23behavior is what we call multiply controlled, right?
- 27:26Dozens or hundreds of things coming to influence it.
- 27:29So it's trying to figure out, you know, what are the main
- 27:32things or the things that I might be able to tweak or tug on
- 27:35to get the behavior I want versus the one I don't.
- 27:37But. Yeah, I imagine it's not only
- 27:41the behaviors that you can tweak or tug on, it's the ones that if
- 27:45you tweak and tug on them, they're going to have a domino
- 27:50effect in what you end up doing. Yeah, Yep, exactly right.
- 27:54It's funny you say that a a couple.
- 27:57So I also, I'm faculty at the Endicott College has some docs
- 28:01here. We're working on the paper right
- 28:02now. This idea, we call it keystone
- 28:04contingencies, if you're familiar with like keystone
- 28:06species and like ecology. So the basic idea there is look
- 28:12at Yellowstone National Park, right?
- 28:14You have some kind of ecological system.
- 28:16There's a species within it that if you were to remove them, like
- 28:19the wolf, the whole ecosystem would like reorganize and they
- 28:23learned this the hard way and they reintroduce whatever.
- 28:26So we're playing a bunch of other areas of played around the
- 28:28same idea, Keystone social people on social networks,
- 28:32Keystone actors and the corporate whatever.
- 28:34We're playing out of this idea of keystone contingencies it
- 28:37like in your own life, same idea, right?
- 28:39Is there one behavior thing that I might change that has this
- 28:43ripple effect throughout the rest of my day?
- 28:45And for me, like it's running in the morning.
- 28:48If I run in the morning, I drink less alcohol the night before.
- 28:51My diet tends to be better, more focused at work.
- 28:54And it's like that one thing, if I can tweak that more, a better
- 28:58day, not optimal. Yeah.
- 29:00It's a keystone moment. It's like this pillar.
- 29:03I also think there's a lot to be said for how you end up seeing
- 29:08yourself and like what you identify as.
- 29:12You identify as a runner now and.
- 29:14Oh yeah. It is something like, well, if
- 29:17I'm a runner, I got to run. Yeah, yeah, yeah.
- 29:20Oh, fair. Yeah, yeah.
- 29:22And if you're a night time reader, yeah, you're going to
- 29:24have to read for it. The night time, yeah.
- 29:26That that's exactly it. Like you end up doing these
- 29:29things because you identify as that.
- 29:32Yeah, yeah. Agree with that.
- 29:33Yeah. I can't remember where I heard
- 29:36that, but it was in something. It might have been Atomic
- 29:40Habits, or it might have been some other habits book on how
- 29:44it's much easier to create a habit if you identify as that
- 29:48type of. Oh yeah, sure.
- 29:50Whatever. Like if you're, if you're a
- 29:51smoker and you identify as a smoker, it's a lot harder to
- 29:54kick the habit of smoking because it's like, yeah, I'm a
- 29:57smoker. Oh yeah, definitely.
- 29:59And there's some really decent literature suggesting that even
- 30:02kind of like at the same thing, the language that we use can add
- 30:06value to activities or whatever, which kind of fits the same
- 30:09idea, right? If I call myself a smoker, then
- 30:12yeah, it adds more value to the cigarette and in addition to the
- 30:15nicotine, as you know, if I'm a non-smoker but I happen to hit
- 30:18it, same nicotine, same stuff going in.
- 30:21But just that bit of language can change the the reward value,
- 30:24which is kind of crazy to think about.
- 30:26I mean, humans are nuts. Yeah, and this is also something
- 30:28that is fascinating to look at through a machine learning
- 30:34model. Oh, absolutely.
- 30:36Incredibly fascinating. Are there certain ways or
- 30:40certain sentence structures that for you tend to encapsulate you
- 30:46in certain behaviors? Thinking about the sentence
- 30:49structures and analyzing the way that if somebody comes in and
- 30:54they are speaking in certain ways, is that indicative of
- 30:59certain actions? Yeah.
- 31:01Oh yeah, definitely. And there's a whole whole body
- 31:03of research called framing effects, that kind of study.
- 31:06This kind of stuff about. Yeah, no.
- 31:08And and I think the other thing go back to like how AIML, I'm
- 31:12personally just enamored with unsupervised machine learning,
- 31:15this idea that I don't know what I don't know.
- 31:17And it's going to like tell me stuff like I was just incredibly
- 31:19intoxicating to me. So what I think kind of going
- 31:21back to this to where AI would be interesting is, you know, why
- 31:25you come in just like talk about things that you feel you do
- 31:28well, things you don't do well. Can I analyze that behavior?
- 31:32Understand like your frame of reference, your perspective?
- 31:35And then, you know, there are some cultures, they have
- 31:38different colors for white that I've never perceived, right?
- 31:41Just this idea that AI can wrap around language as a, a human
- 31:45phenomena. And then can I bring that into
- 31:47that maybe therapeutic setting and say, hey, here's how you
- 31:50talk and perceive the world. Here's an alternative
- 31:52perspective that you may not have even known existed that may
- 31:55help you. Like maybe we can get you to
- 31:56frame things, you know, in this different way, and then we can
- 31:59again go back to the data. Does this actually change your
- 32:01behavior? Yes.
- 32:02No probability of relapse, like all that kind of fun stuff.
- 32:05It, it almost feels like, and this is where I'm drifting into
- 32:10the AI hype territory because you got to be really damned or
- 32:14careful as you are doing this. But I know there's a lot of
- 32:19people that will talk to open AIS, real time API or like the
- 32:26voice. Component.
- 32:28It's very shaky and anybody that's used it knows that.
- 32:30It's not amazing, but I see a potential world where you're
- 32:36sending a voice memo and you're just blabbering on with a few
- 32:40different prompts and then that gets analyzed.
- 32:46And potentially you can do it with an LLM at first, but then
- 32:49you get more specific and more. Oh yeah.
- 32:54Fine tune the models, fine tune for you and what you're going
- 32:58through I guess if it's needed. Yeah, absolutely.
- 33:02Have you seen the movie Her? Yeah.
- 33:04Oh yeah. I feel like that's kind of, you
- 33:06know, it's the thing that's with you that hears your language
- 33:09parrot sees what he sees and it can get a tap into the
- 33:12collective conscious, but then build model specific for you and
- 33:15kind of what you're after. And then again, you know, from
- 33:18my angle, we can, there's no reason we can't do that and help
- 33:22everybody live happier, healthier lives.
- 33:25Doesn't always have to be. I mean, there's the downside to
- 33:27any technology if you know, if you if this exists, bad actors
- 33:31will do what they do. But.
- 33:32How are other ways that you've seen and you like what you're
- 33:37seeing with unsupervised machine learning?
- 33:40Oh, sure. So another kind of similar
- 33:43flavor, but now in the education context because I work, you
- 33:47know, higher Ed, teach classes, things like that.
- 33:48But same idea with students. And I did some work with a
- 33:52company called Glimpse K12 when I was doing my data science
- 33:55postdoc, but same similar idea where I can take patterns of
- 33:59behavior in educational settings, assessment scores,
- 34:02whatever from that identify kids that may need more resources to
- 34:07be successful in a classroom setting.
- 34:09And you know, if you're a teacher or whatever, you have 30
- 34:11kids, 20 kids, 30 kids, it's hard to give everybody what they
- 34:14need to succeed. And so if you can use any kind
- 34:17of unsupervised machine or any kind of method to identify
- 34:20learner type, student types, whatever, to then match kids up
- 34:24with resources so that they they have a higher probability of
- 34:26being successful learning the things they need to learn.
- 34:30Personalized systems of instruction are another big
- 34:32thing, right? Rather than every kid getting
- 34:34the same per, you know, set of tasks on the chalkboard, you
- 34:38know Johnny's going to get one set of math problems, you know
- 34:41Elizabeth's going to get another set because they're just
- 34:44different students, different skill sets, different resources,
- 34:46but. Yeah, different ways of
- 34:48learning. Yeah, actually back when I used
- 34:50to live in Spain, I was teaching and you learn right away that
- 34:57each student is very different in how they learn and what they
- 35:03need to learn. And some are visual, some are
- 35:06auditory, some need to speak and all that.
- 35:09And I, I come back to the idea of we see so many or we hear
- 35:20about how small groups tend to be the most effective when it
- 35:26comes to teaching or just one-on-one.
- 35:30And then you can be very personalized.
- 35:33And so how can we, as you're saying, create modules that are
- 35:39personalized for each individual that are hitting their needs
- 35:43instantly? I think about how do you know,
- 35:46how do you get the data? How do you have the context to
- 35:48know what each individual needs right?
- 35:52Because. If I'm just coming into school
- 35:54on day one, you don't know that. I like to listen more and I
- 35:59learned through auditory methods.
- 36:02Yeah, assessment scores is the, I mean, the only thing that a
- 36:05lot of places have right now where I've seen and even some of
- 36:08my own work where it's been most successful online learning
- 36:13platforms, right, Canvas, some of those places where I have a
- 36:17bunch of student behavior captured in a browser.
- 36:20When are you logging on? What are you engaging in?
- 36:22How long are you reading something when you submit an
- 36:25assignment, What's the quality of that?
- 36:27What grade do you get back? What are the feedback, the
- 36:29teachers giving you, those kinds of things.
- 36:32But yeah, again, this is where kind of going back to the I know
- 36:35some of the things that I've thrown out of maybe in the ML
- 36:37OPS community love that people are building some of these crazy
- 36:40systems. But a lot of the stuff we talked
- 36:42about today are data challenges. And like, how can I start
- 36:46getting the data I need for some of these very important real
- 36:49world problems to then even I mean, let's we can just start
- 36:53classic ML. We don't even have to get crazy.
- 36:55Like, let's just do something to help out some of these kids
- 36:58because, you know, a lot of times they, you know, fall
- 37:00through the cracks and you have a tough start in kindergarten
- 37:03that can cascade through elementary school and maybe hard
- 37:07to catch up, but. And it is so true that it's the
- 37:12data challenge in that if you're in a class, you're a teacher in
- 37:16a class with 30 kids, how are you getting the data to know
- 37:20what these folks need in these moments?
- 37:25And so it makes sense that if they're interacting with a
- 37:28website, you can get much richer data.
- 37:32Or if you have them do these assessment tests, that's a great
- 37:36start to. But I feel like, yeah, you got
- 37:39to constantly be capturing that data.
- 37:42Oh yeah, and I mean, don't get me wrong, there's some really
- 37:45cool research going on. You know, I put cameras in rooms
- 37:52right now I'm tracking what is every kid doing throughout the
- 37:55day, what are they getting exposed to, what's their
- 37:57behavior, all that kind of fun stuff.
- 37:58Look like most kids are on iPads these days.
- 38:00So now imagine I can start integrating data from multiple
- 38:03sources. Again, I've only seen this
- 38:05research perspective primarily in maybe a hospital mental
- 38:09health setting, large public spaces, right?
- 38:13I'm trying to understand where people walk it, whatever.
- 38:16So we do have some computer vision technology that I think
- 38:19allows us to at least start playing with these data sets.
- 38:23The only I've only seen the stuff research wise, never
- 38:27haven't at least seen a product, right.
- 38:28Nobody offering, hey, you know, K12 school, buy my cameras and
- 38:31we'll, you know, do this stuff for you.
- 38:33I don't think it's in their budget, even if they exactly
- 38:36something like that. But yeah, I think the yeah,
- 38:39technology's there. That's got to be the hardest
- 38:42part is like, we've got this great technology to help your
- 38:47students, but it's super advanced and it probably isn't
- 38:51cheap. Yes.
- 38:53Oh, exactly. Yeah.
- 38:55And that's where, you know, I think some of the people in the
- 38:57ML OPS community, they have these skills, work incredibly
- 39:02smart, talented, working on stuff.
- 39:04And I know half the challenge, like we mentioned is can I get
- 39:07the data? Can I make it the ROI worth it
- 39:10for a product to be built? And I have to imagine people out
- 39:13there in like in the community have the answers.
- 39:15It's just, you know, yeah. Yeah, get that data or something
- 39:19that yeah, get that context. I really like that idea of like
- 39:24how can we get more data to get more context for the kind of
- 39:29stuff that is going to make an impact.
- 39:32And it doesn't necessarily need to be context for your LLM
- 39:38context window. That's.
- 39:39Right. That's right.
- 39:39Yeah, exactly. Yeah, Yeah.
- 39:41But I think I actually love you said that because I think if you
- 39:44look at behavior science literature, whether it's a
- 39:46human, whether it's a, you know, a frog, an eagle, whatever, we
- 39:51understand behavior by understanding that larger
- 39:54context within which it behaves. And there's a great analogy with
- 39:58LLMS, right? The more you, the LLM
- 40:00understands, hey, this is what I need you to do and like, here's
- 40:02the information you need better output.
- 40:05Same is true with humans, right? It's just, you know, we.
- 40:09We talk a lot, we love language. And so often we default to
- 40:12talking with people. You know, why do you feel that
- 40:14way? Why are you doing what you're
- 40:15doing? But there are other ways to
- 40:16understand why we do what we do that are often more accurate but
- 40:20more data intensive. Requires people like the people
- 40:24in MLF community to run those through algorithms to extract
- 40:27the insights and put it in front of a teacher who's not going to
- 40:29be coded in Python, right? They just need a dashboard or
- 40:32something. But.
- 40:32Exactly. They need that product, that end
- 40:35user product. Exactly.
- 40:37Yeah, yeah.