What Artificial Intelligence Taught Me About Music

we’re gonna do a little thought

experiment

imagine if in 1950 cats started getting

smarter

smart that by 1955 they were able to do

advanced math

and then by 2020 they could fly

airplanes run accounting firms

deliver millions of letters every second

connect us with our friends and family

from around the globe

and operate our most advanced weapons

if we heard music written by a cat

composer even if it was

really terrible music we would

acknowledge that the very fact of the

cat writing music is significant

now you can probably see through my

metaphor and realize that i just

described the journey of complex

artificially intelligent technology from

1950 to today

at the risk of disappointing cat lovers

in the audience felines can’t actually

write music

but complex artificially intelligent

technology can

and these kinds of cats already write

music that would fool you into thinking

it was written by a human

maybe not like the most talented of

humans but it’s still a milestone

but will cats ever be able to write

music with emotion the kind of music

that moves us the kind of music that

stirs us

the kind of music that might be your

favorite song

the answer seems obvious right of course

complex artificially intelligent

technology

can’t write music with emotion in order

to do that

it would have to have feelings that’s

what i thought anyway

but to be sure that complex artificially

intelligent technology can’t write music

with emotion we have to answer one

simple question and that question is

where does the emotion in music come

from

now i’ve been a composer for about 20

years

and i never thought to ask this most

basic question about what i do

and how i do it and maybe even why i do

it i never thought to ask this question

until i collaborated

with complex artificially intelligent

technology

i’m going to tell you the story of what

i learned by thinking about

these types of questions through three

pieces of music

the first one is hallelujah a song that

probably everybody has heard at one

point or another when leonard cohen

first played hallelujah for the

president of cbs records

the stoic middle-aged exec executive

broke down weeping because he knew that

he had just witnessed the birth of a

classic

i’m just kidding that never happens that

has never ever happened in the history

of music

what he said was we’re not releasing it

lenny it’s a disaster

cohen was eventually able to release it

on an independent record label

and 19 years later hallelujah found its

way into the mainstream

when it was featured in the animated

classic shrek

it became a pop standard when kids

started singing it as these things

typically do which is

funny because it’s a song about sex the

rejected leonard cohen album that it was

on was called various positions

someone come back yeah that’s funny it’s

weird it’s a weird song it’s a weird

song it’s a weird album

so we’ll come back to hallelujah in a

moment the second piece in our story

was a collaboration with a cat using

complex artificially intelligent

technology i finished schubert’s

unfinished symphony

in order to do this i had to teach a cat

how to sound like schubert now the piece

has been performed and recorded by

orchestras around the world which i

think attests to the fact that we got

some really interesting results

how much it sounds like schubert is

probably a subject for another talk

but the interesting question for today

is how do you get a cat to sound like

any composer

um and the answer is you show it a lot

of music like hundreds maybe thousands

of hours of music

and hope that it figures out what music

is what style is

and creates more of it this is what the

computer scientist told me anyway

and when i thought about that i thought

why are we asking cats to decode

music why don’t we just tell them what

music is and then

let them use all of their processing

power instead of having to calculate we

can let them use it to compose

and maybe that will help them get closer

to that emotional paradigm that we’re

shooting for

and that leads to the next obvious

question which is

well what is music and you think that as

someone who spent half a lifetime in the

study of the subject

i would have the answer to that question

on the tip of my tongue but the reality

is after 40

000 years of human music making we’re

still unable to define it

the best definition we have the one we

use today comes from a 20th century

composer named edgar varese

who was asked by a reporter maestro what

is music

ferez summoned all the gravitas he could

and in a

somber voice said music

is organized sound

now if you don’t think about that too

much it sounds very profound

but if you do think about it it leads to

some really absurd conclusions and

the next uh the next piece in our story

is um

one of those conclusions it’s called

thought experiment infinity and i’m

gonna show you the sheet music on this

uh

screen there it is okay i was a little

short but that’s okay i’m gonna explain

it

so for those of you who can’t read music

um well actually you know everyone can

read music but for those of you who

don’t read music let me explain

it starts 13.8 billion years ago with a

big bang represented by a note with an x

then it moves on to a rest one measure

of rest which is repeated

at an infinite tempo for an almost

infinite amount of time

and this rest is repeated until there’s

a cue now normally a queue

is like a nod from a conductor or the

guitar player does one of these or the

pianist stands up

but in this case the cue that stops the

repeat is the penultimate moment in the

universe

at which point you move on to the last

note another note with an x which

represents the end of time i’ll show it

to you again now that you know what it

is

so the piece is all of the sounds

in between the two x notes which means

that the piece is all of the sounds in

the universe

and in time organized in musical

notation it can even evoke emotion

if not awe at the sheer grandeur

of my musical accomplishment frustration

confusion and disappointment are also

emotions

music is organized sound leads to the

absurd conclusion that music

is everything i thought if i could

answer the question what is music that i

could make the perfect cat composer

but in researching the question and then

researching

works of musical epistemology from

throughout the ages and

definitions by plato that were later

refuted by definitions by socrates that

were later refuted by

schopenhauer and meta definitions all

this crazy philosophy and

interesting thoughts by really

interesting people i realize that

questions like what is music

don’t have answers at least not single

answers

they’re just great questions a great

question makes you think that the answer

is on the tip of your tongue

but when you try to articulate it you

realize that you can’t

and that’s because a great question is

not a request for information it’s not

what time is it or where’s the bus or

donde la biblioteca

it’s an invitation to contemplation

and it’s an invitation to discussion and

it’s an invitation to connection

a great question is an invitation to

connect with all the people who came

before you

who’ve thought about great questions and

written their thoughts down so

articulately

that you can question them even today

and get answers

it’s an invitation to connect with the

people who will come in the future the

people who you will never meet

who might think sitting in their studio

or whatever a studio is 100 years from

now

what is music i’d like to know and think

that they’re alone in the universe for

asking this question

but realize that from plato up to me

up to them this question has been asked

throughout time um and

that’s they’re not alone they’re part of

the biggest human community that um

that has ever existed the human

community of ideas the human community

of sharing ideas and the human community

of thinking

the people who ask great questions don’t

always find answers

but sometimes you find new questions and

i found a new question and that the ques

that is the question that we started

with which is where does the emotion in

music

come from and that question does have an

answer

and that brings us back to hallelujah

hallelujah reminds me that one idea can

be many things

the story of hallelujah demonstrates

that the art we make

can sometimes take a while to resonate

and that the composer’s intention

in this case the composer of the album

various positions

is not always what the audience

perceives

but the song itself reminds me of my

friend’s wedding

they were high school sweethearts who

got married after 40 years and i played

hallelujah for them as they walked down

the aisle

these ideas and the emotions that i’ve

attached to them are the content of

hallelujah for me but that’s not the

content of hallelujah for you

it’s not the content of hallelujah for

the millions of people who know and love

the song

hallelujah invites us to feel feelings

associated with many different personal

stories

all at the same time stories of the

song’s composer

leonard cohen never knew

music is emotional not because composers

make it so but because music

acts like a mirror so to answer the

question where does the emotion in music

come from

the emotion in music comes from you

there is no reason why a cat cannot

create music

that reflects our deepest and most

sincere feelings back to us

does this mean that complex artificially

intelligent technology has feelings

no it means that we have feelings we

have enough feelings to connect with

anything we have enough feelings to

animate any idea

it took 19 years for hallelujah to

transform

from an obscure rejected vaguely

prurient

disaster into a pop music standard

maybe the next hallelujah has already

been written by a cat

and we haven’t heard it yet until we do

and until we attach our emotions to the

song

it’s just organized sound thank you very

[Applause]

much

我们要做一个小小的思想

实验

想象一下,如果在 1950 年猫开始变得

聪明,到 1955 年它们能够进行

高级数学运算

,然后到 2020 年它们可以开

飞机 经营会计师事务所

每秒发送数百万封信

将我们与朋友联系起来

如果我们听到猫作曲家写的音乐,

即使它

真的很糟糕,我们也会

承认

猫写音乐的事实很重要,

现在你可能会看穿我的

比喻 并意识到我刚刚

描述了

1950 年到今天

的复杂人工智能技术的旅程,冒着让观众中的猫爱好者失望的风险,

猫实际上不会

写音乐,

但复杂的人工智能

技术可以,

而且这类猫已经写出

了能 让你误以为

它是人类写的,

可能不像最有才华的

人类,但它仍然是

这是一个里程碑,但猫是否能够写出

充满情感的音乐

那种让我们感动的音乐那种让我们激动

的音乐那种可能是你

最喜欢的

歌曲答案似乎很明显,当然

复杂的人工智能

技术

可以 写出带有情感的音乐是

为了做到这

一点,它必须有我所想的感觉,

但要确保复杂的

人工智能技术不能写出

带有情感的音乐,我们必须回答一个

简单的问题,这个问题

是 音乐中的情感来自

现在 我已经做了大约 20 年的作曲家

,我从来没有想过要问这个

最基本的问题,关于我做什么

,我怎么做,甚至我为什么这样做

在我

与复杂的人工智能技术合作之前,

我将通过三首音乐向你讲述

我通过思考

这些类型的问题所学到

的故事 第一个是哈利路亚一首歌,

当伦纳德·科恩

第一次

为 cbs 唱片总裁演奏

哈利路亚时,可能每个

人都曾听过一首歌。

经典,

我只是在开玩笑,

从未发生过,在

音乐史上从未

发生过他说的是我们不会发行它

lenny 这是一场灾难

科恩最终能够

在独立唱片公司发行它

,19 年后哈利路亚

当它出现在经典动画史瑞克中时,它进入了主流,

当孩子们

开始唱它时

它成为流行标准 不同的位置

有人回来是的,这很有趣很

奇怪这是一首奇怪的歌这是一首奇怪的

歌这是一张奇怪的专辑

所以我们会回到

妈妈的哈利路亚 我们故事中的第二首曲子

是使用

复杂的人工智能

技术与一只猫合作我完成了舒伯特

未完成的

交响曲为了做到这一点我必须教一只猫

如何听起来像舒伯特现在这首曲子

已经由周围的管弦乐队演奏和录制

我认为这个世界

证明了我们得到了

一些非常有趣的结果

舒伯特听起来有多像

可能是另一个话题,

但今天有趣的问题

是你如何让一只猫听起来像

任何

作曲家 答案是你向它展示了

很多音乐,比如数百甚至

数千小时的音乐,

并希望它能弄清楚音乐

是什么风格,

并创造更多的音乐这是

计算机科学家告诉我的

,当我想到这一点时,我 想

为什么我们要让猫解码

音乐为什么我们不告诉它们

音乐是什么然后

让它们使用所有的处理

能力而不是计算 我们

可以让他们用它来作曲

,也许这会帮助他们更

接近我们所追求的那种情感范式

,这会导致下一个明显的

问题,那

就是什么是音乐,你认为作为

一个花了半年时间的人 在

研究该主题的一生中,

我会在舌尖上得到这个问题的答案,

但现实

是经过 40

000 年的人类音乐制作,我们

仍然无法定义它

我们拥有的最佳定义我们使用的那个

今天来自一位

名叫 edgar varese 的 20 世纪作曲家

,一位记者大师问他什么

是音乐 非常深刻,

但如果你仔细想想,它会导致

一些非常荒谬的结论

,接下来,呃,我们故事的下一部分是

其中一个结论,它被称为

无限思想实验,

我将向你展示 heet music on this

uh

screen there 没关系,我有点

短,但没关系,我会

为你们这些不能读音乐的人解释一下,

实际上你知道每个人都可以

读音乐,但对于你们这些

不要读音乐让我解释一下,

它始于 138 亿年前的一次

大爆炸,由一个带有 x 的音符表示,

然后它进入一个休止节

,以无限的速度重复几乎

无限的时间

然后重复这个休息直到有

一个提示现在通常

排队就像指挥家的点头或

吉他手做其中一个或

钢琴家站起来

但在这种情况下停止重复的提示

是宇宙中的倒数第二个时刻

此时你移到最后一个

音符 另一个带有 x 的音符

代表时间的结束 现在我会

再次向你展示它,因为你知道它是什么

所以这首曲子是

两个 x 音符之间的所有声音 这意味着

这首曲子是所有的声音 s

在宇宙

和时间中以音乐

符号组织它甚至可以唤起情感,

如果不是敬畏

我的音乐成就的纯粹伟大,挫折

困惑和失望也是

情感

音乐是有组织的声音导致一个

荒谬的结论,音乐

就是我所想的一切 我可以

回答这个问题,什么是我

可以成为完美的猫作曲家的音乐,

但是在研究这个问题,然后

研究

来自各个时代的音乐认识论作品

柏拉图

的定义,

后来被苏格拉底的定义驳斥,后来被

叔本华驳斥 和元定义所有

这些疯狂的哲学和

真正

有趣的人的有趣想法我

意识到像什么是音乐

这样的问题没有答案至少没有单一的

答案

它们只是很好的问题一个很好的

问题让你认为答案

就在 你的舌尖

,但当你试图表达它时,你

意识到你不能

那是因为一个好问题

不是对信息的请求 它不是

现在几点或公共汽车在哪里

与所有

在您之前

提出过重要问题并清楚地

写下他们的想法的

人联系,即使在今天您也可以质疑他们

并获得答案,

这是与未来的人联系的邀请

你永远不会遇到

谁可能会想坐在他们的工作室

或 100 年后的任何工作室里,

我想知道什么是音乐,并

认为他们是宇宙中唯一一个

问这个问题的人

,但从柏拉图到

我对他们这个问题一直被问到

,嗯

,他们并不孤单,他们

是最大的人类社区的一部分,嗯

,曾经存在过嗡嗡声 思想

社区 分享思想的人类

社区和思考

的人类社区 提出好问题的人并不

总是能找到答案,

但有时你会发现新问题,而

我发现了一个新问题

,而这个问题就是我们要解决的问题 音乐

中的情感

从何而来,这个问题确实有

答案

,这让我们回到哈利路亚哈利

路亚提醒我一个想法可以

是很多东西

哈利路亚的故事

表明我们制作的艺术

有时会花费很多时间 虽然要引起共鸣,

并且

在这种情况下作曲家的意图 专辑的作曲家的

不同位置

并不总是观众

所感知的,

但歌曲本身让我想起了我

朋友的婚礼,

他们是高中情侣,

40年后结婚,我扮演

哈利路亚 对他们来说,当他们走在

过道上时,

这些想法和我

依附在他们身上的情感对我来说就是哈利路亚的内容

b 但这不是

哈利路亚的内容,

这不是哈利路亚的内容,

对于数百万了解和喜爱这首歌的人来说,

哈利路亚邀请我们同时感受

与许多不同的个人故事相关的感受

歌曲作曲家

伦纳德科恩的故事 从来不知道

音乐是情绪化的,不是因为作曲家

做到了,而是因为音乐

就像一面镜子,所以要

回答音乐中的情绪从哪里来的问题 音乐中

的情绪是从你身上来的,

猫没有理由不能

创作

反映反映的音乐 我们最深、最

真挚的感情回馈给

我们这是否意味着复杂的

人工智能技术有感情

不意味着我们有感情我们

有足够的感情来连接

任何东西我们有足够的感情来

激活任何想

法哈利路亚花了 19 年才

转变

从默默无闻、被拒绝、隐约

淫荡的

灾难变成流行音乐的标准,

也许下一个哈利路亚已经 你

是由一只猫写的

,直到我们听到它之前我们还没有听到它

,直到我们将我们的情感附加到这

首歌中

它只是有组织的声音非常感谢你

[掌声]