Latest / The Ampersand Manifesto: Make Your Mark in Multiple Fields / How to Use AI and Music to Boost Creativity with Percy Liang, Computer Scientist and Classical Pianist
Transcript
- 0:00Finally, I get to think about how a I especially with the
- 0:05recent advances and generative Ai and generative models, how
- 0:10you can actually have a program that learns to generate music,
- 0:15what fuels, a multi passionate life, I'm Jessica wine.
- 0:19And in this podcast, I interview people who straddle two,
- 0:22completely different worlds, I call them ampersands and we are
- 0:27collectively designing. The Purse and Manifesto.
- 0:37I'm delighted to be talking with Percy of the um computer
- 0:40scientists and classical pianists.
- 0:43Percy is an associate professor of computer science at Stanford
- 0:46University. He got his bachelor's from MIT
- 0:49and PhD from UC Berkeley. His research is on artificial,
- 0:53intelligence, more, specifically Foundation models that can
- 0:56generate text images and music. Percy has been playing piano
- 1:01since he was eight years old. He's won several contests
- 1:05including the Phoenix Young Musicians competition, the MIT
- 1:09concerto competition and kdf sees classical Star Search.
- 1:14He enjoys giving both solo piano recitals and playing chamber
- 1:18music, Percy, welcome to the show.
- 1:21Thanks Jessica for having me. I'm really excited to be here.
- 1:24When you think back to Childhood, what were some early
- 1:28inklings that pointed toward a future life in computer science
- 1:32and music. Isaac I started playing piano
- 1:35when I was eight and I at the time I liked science and math
- 1:42and eventually started getting into programming.
- 1:45So the to piano and computer science started quickly becoming
- 1:51integral part of my life. I would say that in the
- 1:53beginning piano was I got excited when I first started to
- 1:58learn because I was getting better and then there was a
- 2:01slump I change teachers moved around.
- 2:03That and then starting in eighth grade, I started getting more
- 2:06momentum and since then I've been really trying to keep up
- 2:11with piano up until just a maybe a few years ago I feel like I
- 2:16was improving improving of course things get a little bit
- 2:19harder when you have a full-time job and kids and so on but I
- 2:25majored in computer science in undergrad and at the time I was
- 2:29also actively involved in music. I Would say that obviously
- 2:35professionally, I'm a computer scientist.
- 2:36So in terms of actual number of hours, I spent a lot more time
- 2:40working doing computer science but piano has always been to
- 2:43integral part of my life. How do you see piano and
- 2:48computer science connecting with each other or even helping you
- 2:53learn about? The other thing superficially it
- 2:57looks like the two are very different parts of my life.
- 3:01I work hard candy. Our science and research, and
- 3:05then I go play piano. But there are some interesting
- 3:09connections that I found throughout the years because it
- 3:12is one brain up here at the house to manage both of them.
- 3:17In one of the aspects is when I had a teacher, Mel, 10 years
- 3:22ago, who really resonated with me, he was actually a scientist,
- 3:27but then he became a professional pianist and then a
- 3:30teacher and I think there was this a Aspect of really
- 3:34architecting performance and thinking about the big picture
- 3:39because often piano pieces, especially if they're
- 3:42technically challenging to have just a lot of notes.
- 3:44And it's very easy to get wrapped up in how to play the
- 3:47individual notes but thinking about the Arc of the entire Tire
- 3:52piece was something that I really learned from him.
- 3:57And this idea is actually very useful for for Research when I
- 4:04write papers when I write programs to think about the big
- 4:08picture and the essence of what you're trying to do.
- 4:12And so that's sort of an abstract connection.
- 4:15The more recently, there's been a tighter connection.
- 4:18So, for a while, but I've always wanted to combine the two in
- 4:22some capacity, but never really got the chance to do to apply
- 4:25for another career things. But more recently, I've actually
- 4:29had two postdocs in my lab who were Were applying machine
- 4:34learning to, to music. And this has been actually
- 4:38really exciting because finally, I get to think about how a I
- 4:44especially with the recent advances and generative Ai and
- 4:49generative models, how you could actually have a program that
- 4:52learns to generate music. There's actually, a sort of a
- 4:56personal reason for this, which I'll rewind a little bit.
- 4:59So, for in grad school, I was really interested.
- 5:03Then doing this counter competitions.
- 5:05I spend a lot of time away from research, trying to prepare
- 5:09myself. And, you know, I realized that I
- 5:13could never really compete with the people who are doing this
- 5:17full-time. If you practice eight hours a
- 5:19day, I just can't afford that kind of time.
- 5:22But on the other hand, I felt like I had these ideas of how I
- 5:27wanted to express things, but it doesn't have the time to
- 5:31actually execute cute them. So I was looking to machine
- 5:36learning and AI as a way to extend, or augment my
- 5:40capabilities in some way, and I haven't got there yet.
- 5:45So maybe one day, I would love to be able to have some sort of
- 5:49way of figuring out how to express my musical ideas.
- 5:55But not have to, I mean, I know this sounds like, oh, I don't
- 5:59have to practice but, but given the limited time, Actually be
- 6:03able to create something with AI that I'm happy with this is
- 6:09absolutely fascinating. I think that we hear so much
- 6:13about AI being competitive with human work, the human creative
- 6:20aspect, but what you're really talking about is how a I could
- 6:27help you create more and create better.
- 6:30That's what I'm hearing. Yeah.
- 6:33So there's a little long tradition of AI, which is
- 6:36artificial intelligence versus IA, which is intelligence
- 6:40augmentation, which was something that the human
- 6:44computer interaction Community, really embraced.
- 6:48And so these two communities really worked in parallel, in
- 6:54some ways where a, I was focused on building these independent
- 6:58agents that could mimic human intelligence and operate
- 7:01independently. Whereas I tend to think of a lot
- 7:05more about AI, as IA as tools that augment and help us as
- 7:11humans because after all, we should be helping ourselves in
- 7:17humanity and Society in some way.
- 7:20I think that for the piano aspect, this is really in some
- 7:26ways personal because music is so, you know, it's part of my
- 7:29expression. And anyway, I can use To augment
- 7:34and improve that. I would be very excited about
- 7:37what would a brilliant outcome? Look like, what would the
- 7:42augmented Percy be able to achieve?
- 7:46So I have no immediate plans to do this but I would say that I
- 7:53would still like to be able to play the piano.
- 7:57I mean, I could imagine people wanting to just have an
- 8:02alternative Her face, for example, describe it in words or
- 8:05play something very simplified but I do find joy and actually
- 8:09trying to execute and there's a trade-off.
- 8:12I feel like when I'm performing can be play with more abandoned
- 8:17and there's more energy and creativity and risk-taking but
- 8:23you play wrong notes and sometimes you mess things up.
- 8:26But so often you have to pull back a little bit and keep your
- 8:31head on your shoulders and And make sure that it's sort of
- 8:35coming out correctly, but maybe there's a way to have your cake
- 8:40and eat it too. If you have something that could
- 8:43fix the mistakes, we see these things in, you know, auto-tune
- 8:47for example, for her, for singing.
- 8:49But I think it goes beyond just fixing mistakes.
- 8:54I think these guys could create new suggestions of things that
- 9:01you might not have thought about.
- 9:03I think this could teach us about how we might want to
- 9:07interpret things or express ideas because the way that these
- 9:12as are built they are exposed to such a vast array of different
- 9:17data and experiences that they could capture a lot more than
- 9:22any individual human. Being of course, doing its own
- 9:25limited alien way in some ways. But nonetheless, it could bring
- 9:31new ideas. In.
- 9:33So ideally I would like to learn.
- 9:34I would like to better myself. In addition to creating more
- 9:40polished output, we're going to share an excerpt from your
- 9:43recording of Franz Liszt's Piano, Sonata in B.
- 9:46Minor, this is one of the most challenging pieces of piano
- 9:50music ever. It is 30 minutes straight and
- 9:54there are so many theories about this Sonata ranging from being a
- 9:59portrait of the Faust Legend to certain biblical Theory.
- 10:03Is to just being artistic expression, having worked on
- 10:07this piece extensively. How do you interpret it?
- 10:11It's one of these pieces that you learn and then you come back
- 10:16to and you play and each time you come back you see it in a
- 10:20slightly different light and What attracted me to this piece
- 10:24is it has a few motifs in it and these motifs get transformed
- 10:31over and over again and you See them in different ways and it's
- 10:37just a kind of a very coherent cohesive piece of work.
- 10:42So it is interesting to see how list was able to take a very
- 10:48simple motive rum pum pum pum pum pum pum and transform it in
- 10:54all these different variations lyrical.
- 10:56Staccato, old gentle and that sort of creativity with.
- 11:03When is very inspirational. And, of course, it's a very
- 11:08Monumental work and it's extremely challenging,
- 11:11especially being able to play for 30 minutes without stopping.
- 11:15So, everytime I play through it. It feels like, you know, there's
- 11:19a sort of a physical and emotional reaction after having
- 11:23gone through. It's a journey.
- 12:01Now, being a father of young children and having more life
- 12:08experience, how does this Sonata resonate with you in this
- 12:12particular season of life? I suppose.
- 12:15One thing about raising children is that everything is constantly
- 12:21moving and changing just when you think that you've landed and
- 12:26Certain routine things change and it's very capricious
- 12:33unexpected, and a lot of this is reminiscent of the list.
- 12:39Sonata where everything keeps on moving, it involves over time.
- 12:45There are some things refrains where you come back to the same
- 12:48ideas but sometimes I'll be in a different key and it will be
- 12:51slightly different and it's it suggests that life.
- 12:56Raising children is, is always moving to a new place.
- 13:01It's never exactly in stasis. Let's take a short break and
- 13:08pause for a moment of reflection.
- 13:11What in your life is moving to a new place outside of Hosting
- 13:20this podcast. I partner with leaders in the
- 13:23workplace as they rise up, perhaps you've gotten a
- 13:26promotion. Should've landed a new role or
- 13:28taken on a lot more responsibility and you need a
- 13:31trusted sounding board to support you as you support your
- 13:35team. I coach individuals and
- 13:37Leadership teams to rise to the challenge with my a and blend of
- 13:42analytical and creative. If any of this intrigues, you
- 13:46reach out to me at Jessica one.com.
- 13:50Now, back to the show, you have mentioned that you Were really,
- 13:56really into competitions. You are currently working on
- 14:00learning all 24 Chopin, etudes. It seems like this yearning for
- 14:06Learning and achievement has kind of been with you throughout
- 14:09your life. How do you decide what that next
- 14:14thing is that you want to work towards for the last 20 years.
- 14:20I've consistently tried to set a goal of giving a recital and I
- 14:25find that This is good because it allows me to share music with
- 14:31other people, but it also gives me a focus point.
- 14:36I learned in you to learn a certain amount of music to, to
- 14:39be able to play and not embarrass myself.
- 14:42And so this is led to steady progress and I think there is
- 14:46something really exciting and about growing when you're
- 14:51exposed to new music. Obviously, many of these these
- 14:55pieces, like, let's not Anna you could play every day for the
- 14:59rest of life and you'll see something new but there's so
- 15:02much interesting and mesmerizing music out there.
- 15:07I'm way more than any individual human kid Explorer so just
- 15:11trying to do as much of it. I think is one of the driving
- 15:15factors and for this, this latest project of learning that
- 15:2124, etudes, I've played my first Etude in.
- 15:26High School. Okay, the number number 3, Opus
- 15:2910 and over time I've learned more and more and about six
- 15:35years ago I decided Well I'll set a goal of Performing the
- 15:39first 12 of them. And I did that which was in
- 15:44itself, a quite a, quite a heavy lift and then so I decided that
- 15:49I would try to, you know, I'm halfway there, I might as well
- 15:53continue and so I'm working on it.
- 15:56It's through the pandemic and having kids, it's definitely a
- 15:59lot, a lot slower and I'm not sure I would perform all 24.
- 16:05I don't know if the audience would want to sit through an
- 16:08hour Chopin etudes or whether my fingers would fall off at the
- 16:12end. But but nonetheless, I will
- 16:15learn them and maybe I'll record them.
- 16:18Both piano and computer science are heavily finger Reliant and
- 16:24you've talked a little bit about how you keep your fingers.
- 16:26In shape how do you keep your fingers healthy you know over a
- 16:30long period of years decades of playing piano and also as a
- 16:35computer scientist for piano obviously it's much more
- 16:40physically demanding. Like you're pressing the keys,
- 16:42you're going around and I've been fortunate enough.
- 16:47I think in my career not to have serious risk problems.
- 16:51Knock on wood there have been a few moments.
- 16:53Why I feel like I was at the cusp like I was typing in a lot
- 16:58or playing a lot where it would it would hurt a little bit that
- 17:03was a sign. I should probably hold back as
- 17:05and try to give it some rest. They're also been times where
- 17:10it's not so much the wrist but the actual fingers touching the
- 17:15keyboard over and over again that they get fairly bruised up.
- 17:19And I remember once in a kind of competition going and pulling my
- 17:24thing and then I realized that Blood on the piano.
- 17:28So I apologize profusely to the next contestant and try to wipe
- 17:33it up as much as I could. Yeah, it could get really
- 17:37intense. I think actually more important
- 17:39is like the back and the shoulders, if you're into
- 17:42something whether it be at a computer or in front of a piano,
- 17:47I sometimes forget about my physical body until I'm reminded
- 17:52by it. When my shoulder start hurting
- 17:55and That's something that requires obviously taking breaks
- 18:01sometimes, even going between different activities sitting in
- 18:04front of a computer. And I'm going to a piano and
- 18:06going back there. Both can be demanding but there
- 18:10may be demanding, a slightly different ways and that can give
- 18:14some muscles or part of the brain.
- 18:18A bit of a break. While the other part as active,
- 18:22what has fueled you to keep going as both a computer
- 18:25scientist And as a musician. So for computer science and AI
- 18:30researcher the idea of having computers that can think and
- 18:36reason and do various tasks that humans are we were usually in
- 18:43the human scope has always been kind of a dream.
- 18:47It's shocking how much progress there is in the field and it's
- 18:52just very exciting part of it is the Research and the ability to
- 18:58find new things and discover on the music side.
- 19:02I feel like it's something that my body just needs in a in a
- 19:08way. So why do you why do we sleep or
- 19:11eat or do exercise? It's rejuvenating and it's keeps
- 19:18me balanced, so there's that aspect of it.
- 19:22And for me there's another aspect which is I am curious
- 19:27about how what you can do. So I play a lot of classical
- 19:31piano where the score is written, but there's so much
- 19:35interpretation. And if you look listen to
- 19:39Beethoven Sonata by Richter or five Horowitz or Daniel
- 19:44barenboim, they're all very different and I think developing
- 19:49my own voice and figuring out what I want to say in this
- 19:54music. I find that Very appealing and I
- 19:58guess part of it is also related to that aspect of research.
- 20:02How do you say something generally new, right?
- 20:06Because everyone has played many of these these pieces.
- 20:11But what can what can I bring to the table?
- 20:14That's saying something fresh and new.
- 20:17And so in that way, that's a bit similar to the way we think
- 20:21about research. What advice do you have for
- 20:23people who are pursuing or Thinking of pursuing, an
- 20:27ampersand lifestyle, it's challenging, to be honest to
- 20:31have two activities that you both love and want to keep up
- 20:38and you often have to make trade-offs.
- 20:42But I think it's extremely rewarding and I think from a
- 20:46practical perspective, I think the the way to make it work is
- 20:51to figure out. How to interleave them, in a way
- 20:58in sort of, in time and mental capacity.
- 21:03Because they do tap into different aspects.
- 21:06And there are complementary, which means that it's actually
- 21:11in some ways, perhaps easier to do the two things compared to
- 21:17doing one thing. But twice as much, for example,
- 21:20after a long day of doing research, I actually really feel
- 21:25rejuvenated to go and practice. But if I were practicing all day
- 21:30long, I would probably not want to practice or my fingers would
- 21:34tell me, not to do practice. So there's there's kind of gaps,
- 21:39I guess it's a in computer science.
- 21:41You can call pipelining where there's there's overlapping in
- 21:45in some way because your body has the ability to multitask in
- 21:53a way. What do you think should be in
- 21:56the a saint Manifesto? You know, there is a sense of
- 21:59self that I feel like I am me. And the to the extent that all
- 22:06my activity stem from this single source of Direction, I
- 22:11think makes it sort of easier in a way, right?
- 22:16So I don't think, even though playing classical piano and
- 22:20doing research are distinct activities.
- 22:24For the most part, I feel like the motivation and the way that
- 22:30they fit together in my life is is really a synergistic.
- 22:35And I think maybe this is the thing that makes it work for me.
- 22:41It's not that I have two lives. I'm Jekyll and Hyde and they're
- 22:45just like two voices in my head too kind of running around, but
- 22:48it's really one me. And the one me sees both of
- 22:54these is contributing to my personal growth, like
- 22:57professional growth. And as I've mentioned, how the
- 23:02Quest for novelty, the ability to see the big picture, there is
- 23:08a lot of ideas that get transferred over between the
- 23:14different skills in machine learning, we there's a notion of
- 23:17transfer learning where you learn on one task You train a
- 23:21model on one task and it then it can help you on other tasks.
- 23:27And this is I think is especially true of humans.
- 23:32But it's interesting from that vantage point to think of the
- 23:36role that music plays in computers science and vice
- 23:41versa. I love this idea of transfer
- 23:44learning and thinking about the many sides of a human, you know,
- 23:50Feeding into the others Percy. It has been fascinating talking
- 23:57with you today, folks. You can check out Percy's work
- 24:00at CSD stanford.edu backslash tilde P.
- 24:05Liang, that's pli. Ang if you liked this show hit,
- 24:12like, subscribe and share with your friends and fellow
- 24:15ampersands. I got a chance to reflect on my
- 24:18interview with Percy, there were so many nuggets of wisdom so I'm
- 24:22going to try my best to distill down to my top 3 1.
- 24:26This whole notion of AI vs IA was fascinating to me as a
- 24:30creative. There's so much talk today about
- 24:33chap, GPT replacing humans, for tricking humans, but the way
- 24:38Brucie is approaching this work is around how we realize our
- 24:43full potentials as humans to create and how Can a I be a
- 24:48support system for us to tap into our greater or most fullest
- 24:52ability. There is an aspect in here about
- 24:56The Human Experience of creation and how precious and
- 25:00irreplaceable that is. So, is there a way that
- 25:03technology can actually help us get to the joy of creating
- 25:07faster to Percy talked about pieces that you've come back to
- 25:12over and over again? And how they affect you in
- 25:14different life stages? I have felt felt this so much in
- 25:18my life and not just with music, I perform.
- 25:21But with the Arts that I consume one of my favorite movies is the
- 25:25sound of music. When I was a kid.
- 25:27I identified with Gretel, my teenage years.
- 25:30I saw my struggles in the easel. I am now fully in My Maria
- 25:34gears, and maybe even identifying more and more with
- 25:38mother abbess. So, yes, go Climb Every
- 25:41Mountain. Three this theme of one brain.
- 25:46One main came up. Several times in our
- 25:49conversation, many of us a Sands use our Two Worlds to bolster
- 25:54the other and even if externally, they look like
- 25:57different worlds internally, they're driven by the same brain
- 26:01and the same person Sort of implicit in a lot of the
- 26:07framing, as well, you know, I have my professional life
- 26:10primarily our computer scientist.
- 26:11And I have this this other life that keeps me sane, but in some
- 26:17ways, maybe that's not quite right.
- 26:20And in fact, it's a two-way street