he's becoming quite a hard act to follow these days actually I think he's going to put me out of a job with all his lineup of jokes how many mathematicians do we have in the room just to get me a sense of who I'm talking to okay great so the mathematicians in the room you probably have the similar experience that I do when I go to parties and you get this question about what you do I don't pass you all fake it I'm starting to fake it actually and say I'm an international spy or something but because most of the time I get a kind of stock set of reactions one of them is that they just flee to the other end of the party and I'm abandoned but at you always before they go they always tell me what they've got in their GCSE or o-level which is I'm not really quite sure what that's about but some but if they do stick around one of the things they often say is he's trying to work out the tech here which is yeah doing a talk about tech is always a disaster actually using the tech but so one of the questions I often get or statements
oh come on surely you must have been put out of a job by a computer by now I think it's mostly because people think that what I do in my office up here is long division to lots of decimal places and if that were true certainly my computer would have put me out of a job but you know we're all as Alan said we're all a little bit threatened at the moment about this advancing AI that it seems to be very powerful doing lots of interesting things and surely aren't computers all about kind of logic and mathematics so wouldn't my job be one of the first to be threatened I got this a lot during the nineties actually when deep deep blue beat Kasparov because often people used to compare the idea of playing a game of chess to doing mathematics there are certain logical Meuse you can make with the pieces there's a kind of end game that you're after at the end of the proof the QED you a you sort of win the game or you win the proof and so a lot of people said to me during the 90s well come on you must be next
but I never felt felt particularly threatened by chess and actually there was always another game that we mathematicians always use as our kind of protective shield against the idea that computers could do our subject because there's another game and that's the ancient game of Go this Chinese game played on a 19 by 19 grid where you put black and white stones down you try to engulf the other person's territory before they engulf yours and this is a grain which has a high degree of complexity much more complex actually than chess there's a lot of pattern recognition that needs to go on to be able to play this game and that's something that really mathematics is about it's about spotting patterns underlying patterns but quite often when you're playing go and especially when you're doing mathematics to be able to quite know where you're going requires a lot of intuition a lot of creativity not quite sure why you're making moves you spend a lot of time in this world and you build up kind of kind of a feel for
playing go or or doing chess and very traditionally in computer science lectures they would always say yeah chess is something we can automate because we can understand the kind of logical implications of playing particular moves we can follow the the tree of possibilities through go was always said to be a game that no computer would have ever be able to play and certainly any attempt of somebody trying to encode the way that a human plays this game always failed the attempts to try and encode playing go in some sort of algorithm wouldn't even beat an amateur at this game so I felt pretty safe because computer science say you can't play go so you certainly won't yet we will be able to play the complex game of mathematics so I got a little bit of a shock a couple of years ago and you're probably aware of this story when a team in London declared that they had got an algorithm that they believed could compete at not just a high level but the highest level this is deepmind in london and actually was dennis has
abyss who went to see elect he went to Cambridge to do his study and he was told this a old adage that you can't complete a program a computer to play go and this was like a red rag to Dennis and so he went away and set up this company and they devised this algorithm that they thought could play the best and they challenged Lisa Dahl a korean grandmaster and Lisa Dahl was totally dismissive of this algorithm that wouldn't be able to get anywhere near the level that he could play at he said I'm going to demolish this thing 5-nil they were gonna play over five games but he got a little bit of a shock i sat and watched these games obsessively on YouTube because I realized that my life was probably under threat and as I watched I saw Lisa dole get more and more depressed throughout the games he lost the first game he lost the second he lost the third he'd lost the match already after three he won the fourth game and he now regards that as the greatest game that he's ever played that he was able to beat this algorithm in
one game and he lost the fifth game so he lost 4-1 what had changed in the last two years the style of coding has changed and we've got new sort of code on the block which is able to do things the code in the past couldn't do and it's something that we're very interested here in Oxford this idea of deep learning or machine learning so code in the past used to be written in a very top-down manner you really have to know what the thing what you was you how the thing was going to behave you told it the rules of how it was going to play you had to understand the setting and the machine just implemented that yeah sure it could play chess cuz it was told to implement this thing it could go deeper it could analyze more situations than a human but the human was still telling the program what to do what has changed is that the code is now written in a very bottom-up manner we've got a sort of code which is learning very much like a child learns in the past it was like a the parents DNA would give birth
两年里到底发生了什么变化?编程的方式变了,我们有了一种新的代码,它能做到过去的代码做不到的事情。这也是我们牛津这边非常感兴趣的东西——深度学习或者说机器学习。过去的代码是以一种非常自上而下的方式写的,你必须真的知道这个东西会怎么运作,你要把规则告诉它,你必须理解整个场景,而机器只是执行你告诉它的东西。是的,它能下国际象棋,因为你让它去执行这套东西;它能算得更深,能分析比人类更多的局面,但归根结底还是人类在告诉程序该怎么做。而现在变化的是代码变成了以一种非常自下而上的方式写出来的。我们有了一种代码,它的学习方式非常像小孩子学习。过去就好比父母的 DNA 生出一个孩子,但这个孩子始终
便签笔记
05从打砖块学会人类的偷懒技巧
6:17
to a child but the child would be still attached to the DNA of the parent it wouldn't learn and I think knew but suddenly we've got code that can adapt and change and mutate and re parameterize itself as it encounters a new environment there's almost like a meta code which is telling the code how to change if it gets something wrong and change and mutate and this is what they use to actual trained alphago to to learn how to play this game by playing games and failing back they started with some other games to start with some some simpler games so in fact they started with Atari games claims I used to be obsessed with actually when I was a kid and one of the ones I really loved was this one called breakout and where you have a little ball which ping pongs up and down you've got a paddle and you've got to knock these out new score points the Bloor just one point up to read to the higher points the machine was only given the pixels on the screen and the score it had to learn how to play this game
被拴在父母的 DNA 上,它不会学习、不会产生新东西。可突然之间,我们有了能够适应、能够改变、能够变异、能够在遇到新环境时重新调整自身参数的代码。几乎可以说有一层元代码在告诉这段代码如果做错了该怎么改变、怎么变异。他们正是用这种方法训练 AlphaGo,让它学会下这个棋——通过不断对弈、不断失败来学。他们一开始其实是从别的游戏、从一些更简单的游戏入手的,事实上他们是从雅达利的游戏开始的。这些游戏我小时候也曾经很着迷,其中我特别喜欢的一个叫《打砖块》(Breakout):有一个小球上上下下地弹来弹去,你有一块挡板,你得把这些砖块打掉来得分,蓝色的只有一分,越往上到红色分数越高。机器得到的只有屏幕上的像素和分数,它必须自己学会怎么玩这个游戏。没人告诉它
便签笔记
7:12
wasn't told anything about the fact that you had to hit this ball but it was randomly moving the paddle and every time it hit the ball it saw the score go up so it Reap parameterised itself a turn and said i'm going to prioritize moving towards where the ball came now when I was with my mate and we played this we were very pleased when we found a fantastic hack because you can create a little tunnel on the left-hand side and then if you get the ball to go up there then you don't have to do any work at all because the ball just bounces backwards and forwards what I was absolutely staggered when you see how this deep mind actually you learnt to play the Atari game it learnt the same hack it is you know not just humans but the computer is also lazy doesn't want to move this thing around and so shoots it back up again this is extraordinary after 600 games it had learned just by randomly moving the paddle and seeing that what the moves were that made that the score go up fast it had learnt how
to do this hack so this is how it then went on to play the game of go so what it did was to first take all the human games that are on the Internet a lot of games encoded on the Internet it learned how humans lost and won the games and that was its first material it learnt on then it started to create synthetic data it started to play itself different versions of itself would play a game and then if it lost a game it would understand which were the moves that meant that our that it actually was failing to play at a high level and it would reap ramit rise itself and so after a while it got to this high level quite amazing than it did suchly it could challenge lease at all now at first sight you say ok so the community's just got very good it can analyze it's gained very deeply but I think that there was something more amazing that happened during these games the first game interestingly Lisa Dahl decided that if it had done learning on how humans play it maybe the best way to beat this computer was to play rather
unlike a human so he actually played a very disruptive game but at the alphago was smart enough to actually just cope with the moves that he was making and they may turn out to be quite weak moves and he lost the game because he was not playing his standard game so in the second game least had all decided to play a much more standard a high level game that he knew very well very early on in the game your go master teaches you a few things strategies one is that you should play on the kind of age of the board so you're encouraged to pray on the first second third and fourth rows in because there's a kind of competition early on for the edges and the kind of internal part of the board and if you play too far into the middle of the board early on it's considered a weak move because you're not really establishing important territory at that point so Lisa doll on the 36 move of this game decided that he needed a cigarette break and he went up to the top of the hotel had a cigarette alphago didn't need to
smoke in order to get stimulation so it's that there and it's not for a while and then it asked the human player because this wasn't an exercise in robotics this was an exercise in just pure thought so there was still human this is actually still quite difficult for an AI to actually pick a stone up and place it on the board but it told the human player to place a stone on the fifth row in so I've circled it he was playing he or Bernie already anthropomorphize the AI the AI is playing black and it put this stone or in on the fifth row in which to put a little white circle on all the commentators I remember this on YouTube they all gassed and went whoa Wow alphago has made a huge mistake never play that sort of move early on in the game this is a Lisa door will be in it'll be one one after this and they were all very complacent and Lisa it all came down after his cigarette break looked at what alphago and you can see you should watch this bag is so funny because it just Lisa don't like cannot
它就坐在那儿,想了好一会儿,然后让人类棋手代它落子——因为这不是一场机器人学的比拼,而是一场纯粹思维的比拼,所以还是有人在场,对 AI 来说要拿起一颗棋子放到棋盘上其实还挺难的。它告诉人类棋手把棋子下在第五线上,我在图上把它圈出来了。它执黑——我这已经在把 AI 拟人化了——AI 执黑,把这颗棋子下在了第五线上,就是我画了白色小圈的那个位置。我记得 YouTube 上所有的解说员都倒吸一口气,哇地叫起来:AlphaGo 下了一步大错棋,开局绝不能下这种手;这下李世石要扳回来了,之后就是一比一了。他们都非常轻松笃定。李世石抽完烟下来,看到 AlphaGo 下的这手,你能看到——你真该去看看这段,太逗了——李世石简直不敢相信这个 AI 居然下了这么一手,
便签笔记
11:11
believe what this AI is just suggested what a stupid mood but he's he's a bit more suspicious things you know what that why is he done that move I still said it why did it do that move um it turned out that as the game built up and there's something rather different about chess and go because chess gets simpler as the game goes on because pieces get taken off but go gets more and more complex because more and more pieces get put on as the game built up and more and more pieces were put on the board and territory was building up from the bottom right hand corner and it turned out that alphago's move at move 37 that black stone meant that it was it that won that territory rather than Lisa doll it was an incredibly inspired move it won alphago the second match that decision on move 37 to put the stone there and break the tradition of how humans thought we should play the game and for me this was really exciting because I believe that this is an example of what we should call a creative act by artificial
intelligence I spent some time on a committee at the Royal Society over the last few years we've been looking at the impact that machine learning is having on society over the next kind of ten years Dennis was on the committee and there was also a philosopher Margaret Bowden and I talked to her quite a bit about the idea of creativity she's been very interested in what she calls these tin cans can do computers and the idea of whether they could be creative and she had a very nice working definition of what we should call creative I'm not sure it's the best one and we can argue there's lots of philosophical debate over the idea of what we mean by creativity but I think this is going to be quite useful working definition as we go forward tonight so creativity is something which should be new well computers can make new things quite easily and we can objectively judge whether something is new but you have two other qualities it should also have an element of surprise now that's a little bit more subjective and also
我们一直在研究机器学习在未来十年左右对社会的影响。Demis 也在这个委员会里,还有一位哲学家 Margaret Boden,我跟她聊了很多关于创造力的想法。她一直很感兴趣的是她所说的这些“铁皮罐头”——也就是计算机——能做什么,以及它们是否可能具有创造力。她给出了一个很好用的、关于什么算创造性的工作定义。我不敢说这是最好的定义,我们当然可以争论,关于创造力到底指什么有大量的哲学争议,但我觉得今晚我们往下讲的时候,这会是一个相当好用的工作定义。首先,创造性的东西应该是新的——计算机造出新东西是很容易的,而且我们可以客观地判断某样东西是不是新的。但还有另外两个特质:它还应该带有某种意外性,这就比较主观了;以及价值,这也相当主观。所以一台
便签笔记
13:12
value that's also quite subjective so a computer if it's going to be creative as something we as humans believe is creative it's going to learn to to know what we think is surprising and has value what I think so nice about games it's of course you can judge this kind of these qualities quite quickly surprise yes the commentators all went or it's made a mistake value yes this move one alphago the game and so what I've been interested in is to look at if it can be creative in this very close environment of a game where else can it be creative can it be creative in mathematics actually I sat next to demos and I I joke to him we just become both FRS is and I said well could you get alphago to become an FRS and part of the story of my book is about demo said yeah we're already on the case so they're already a deep mind looking at big making a creative a I mathematician but so the the journey that what I think is exciting about this kind of new AI is that they're disappearing is that in the case of
计算机如果要做出我们人类认为具有创造性的东西,它就得学会知道我们认为什么是意外的、什么是有价值的。我觉得游戏的好处在于,你可以相当快地判断这些特质:意外性?有的,解说员们都惊呼说它下错了;价值?有的,这一手为 AlphaGo 赢下了比赛。所以我感兴趣的是,既然它能在游戏这种封闭的环境里表现出创造力,那它还能在哪里有创造力?它能在数学上有创造力吗?其实我当时就坐在 Demis 旁边,我们俩刚好都刚当选皇家学会院士,我就开玩笑说:你能不能让 AlphaGo 也当上皇家学会院士?我这本书里有一部分故事就是关于这个的——Demis 说:是啊,我们已经在做这件事了。所以 DeepMind 已经在研究怎么造出一个有创造力的 AI 数学家了。而这段旅程里我觉得这种新型 AI 最激动人心的地方在于,就 AlphaGo 而言,它不仅把这个游戏下到了
便签笔记
14:12
alphago it not only played the game at a high level but it taught us how to play the game in a new way we thought we'd reached a kind of peak of playing with these kind of rules that we had about playing and the ones of for throw-in and you know there was a kind of optimal way to play the game what alphago has shown us in these games is that although we thought we were at the peak of a performance in playing this game actually this was only what we mathematicians call at a local maximum actually this was like Snowdonia and there was actually a much higher amount in an Everest a new way to play the game that alphago had experimented by taking risks gone down this kind of adaptive valley and found a much better way to play an hour ago is Nell taught us a new way to play this game new strategies that are helping us to play the game at a much higher level and so the journey of this book which is called the creativity code is to look at well this AI that disappearing that seems to be able to to learn about through its
interaction with the kind of digital world around it could it perhaps be creative in other realms not just creative in a game the fact one of the first people to think of the idea of code was already suggesting that Koh might be able to do things of an artistic nature so we celebrate Ada Lovelace day Ada Lovelace every year Ada Lovelace was taken by her mother to see Babbage's analytical engine her mother used to like to expose her to lots of different ideas scientific ideas and when she saw this machine she already began to realize that this could do more than just the long division or the multiplication that it could do something a little bit more exciting and she started to write down code to make the analytic engine do interesting things and that's why we sort of celebrate Ada Lovelace the notes that she wrote for a paper about the analytic engine we regard as the first idea of code to make machines do interesting things already then she was thinking about the fact that this could do maybe things which are a little bit
more interesting than just sort of scientific calculations then she wrote the engine might compose elaborate and scientific pieces of music of any degree of complexity or extent so she's already thinking about music a place of course which has quite a lot of connection with mathematics the idea of patterns getting the machine to to kind of run out patterns perhaps it could Bank music and we'll come to that a little bit later on the challenge of whether a I can write music but she offered a word of caution when she wrote this she said it is desirable to guard against the possibility of exaggerated ideas that might arise as to the powers of the analytic engine it has no pretensions whatever to originate anything it can do whatever we order it to perform and I think that's what we always felt in the past is that this kind of top-down coding well it's the human that's telling the computer what to do so if the computer is being creative that's because the human has been created if it is encoded that in just a set of rules
科学计算更有意思的事情。她写道:这台机器也许能创作出任何复杂程度或任何长度的、精巧而科学的乐曲。所以她那时就已经在想音乐了——音乐当然和数学有相当多的关联,都是关于模式的想法,让机器去生成模式,也许它就能创作音乐。关于 AI 能不能写音乐这个挑战,我们稍后会讲到。但她也给出了一句告诫,她写道:我们有必要防止人们对分析机的能力产生夸大的想法。它丝毫不能自命有创造任何东西的能力,它只能做我们命令它去执行的事情。我想这也正是我们过去一直以来的感觉:这种自上而下的编程,说到底是人在告诉计算机该做什么,所以如果计算机表现出创造力,那是因为人有创造力,是人把创造力编成了一套规则,
便签笔记
17:21
that the computer is just implementing but I think something has changed now the code is beginning to change mutate as it interacts with say our new artistic data music that is starting to become code that the original coder doesn't quite know how it's performing so this machine learning is producing programs which now perhaps disconnect itself from the original coder so here's the challenge can this new ie AI that's appearing which seems to be moving on from the original code written by the coder kind of put some distance between the code and the coder so there's you've probably heard of the Turing test kind of computer part itself off in an interaction online as I landed you know what would you be convinced that that was a human talking or is it just an AI computer so touring put this down as quite a good big challenge can it process natural language and respond real-time so here's a new challenge that has been offered connected to the artistic realm is called the Lovelace test so the test is can a machine
originate a creative work of art some sort of the process is repeatable so it shouldn't just be some sort of glitch in the hardware somehow the code should know what it's doing um it shouldn't be some sort of randomness which is put in there such that the code wouldn't be able to reproduce what it's done but here's the challenge yet the programmer the person who wrote the code that has now learns a mutated is unable to explain actually how the algorithm produced its output so this is the challenge that I want to explore with you how good has AI been in the last couple of years and it's really the story of the book in understanding what we regard as art and creativity and being able to produce its own version of that and I think you know I think we're quite happy that our AI is going to be driving our cars or maybe even be our doctors although a little nervous of that you know if it suggests move 37 in the game to of go and suggest you take a pill that looks incredibly dangerous do you do that is it mistake or is it
不能只是硬件出了个故障;代码在某种意义上应该知道自己在做什么,它不应该是里面加入了某种随机性,使得这段代码无法复现它已经做过的事情,但是问题就在这里——程序员,也就是写这段代码的那个人,如今代码已经自我学习、发生了变异,他反而说不清楚算法究竟是怎么产生出这个结果的。所以这就是我想和大家一起探讨的挑战:过去这几年里 AI 到底做得有多好,这其实也正是这本书的主线——AI 如何理解我们所谓的艺术与创造力,并且能够产出它自己版本的作品。我想,大家大概挺乐意让 AI 来开我们的车,甚至当我们的医生,虽然对后者会有点紧张。你想想,如果它在围棋里下出第 37 手那样的棋,然后建议你吃一颗看起来极其危险的药,你吃不吃?那是个失误,还是
便签笔记
09现场实验:用机器学习识别举牌投票
19:25
incredibly insightful move that's gonna save your life so I think we are quite happy in certain realms but I think the one thing that we regard as uniquely human is our own creativity our artistic output that's what it means to be human we express it in music in art in poetry and novels so if AI can get close to doing something that reward isn't uniquely human I think this is a very exciting moment so so how good is it well I think I made a program for the BBC a horizon of about six years ago it was a during anniversary about AI and six years ago I was pretty disappointed in the state of AI that point and there was one hurdle that seemed AI seem to be finding really difficult to achieve and that was vision recognition our brain is very good at taking in a huge onslaught of information you know lots of different colors here people faces but I'm able to integrate this into a single story about seeing an audience it's come to the talk I'm giving so vision was one of the great hurdles for AI at the time
一步极具洞察力、能救你命的妙招?所以我觉得在某些领域我们是挺乐意接受的,但我认为有一件事是我们视为人类独有的,那就是我们的创造力、我们的艺术产出,这才是身为人的意义所在。我们通过音乐、绘画、诗歌和小说来表达它。所以如果 AI 能够接近做到这件事,那说明这件事并非人类独有——我觉得这是一个非常令人兴奋的时刻。那么它到底做得有多好呢?大概六年前我为 BBC 的《地平线》做过一个节目,那是关于 AI 的一期周年特辑。六年前我对当时 AI 的状况相当失望,当时有一道坎,AI 看起来非常难以跨过,那就是视觉识别。我们的大脑非常擅长接收海量涌来的信息——你看这里有各种各样的颜色、有人、有面孔——但我能把这些整合成一个完整的画面:我看到了一群观众,他们来听我的讲座。所以在当时,视觉是 AI 面临的一大难关,
便签笔记
20:32
and this is one of the things that it's been able to do with this idea of machine learning and so actually we're going to do we've used a bit of machine learning to do and little few experiments during this lecture so we have a camera here so the point is that a machine learning that it gets shown some images of cats and dogs and it has to distinguish them and it gets it wrong to start with but it starts to ask more and more questions which helps it to get it more and more right so we've got two we're going to be doing some tests here so you'll see you've got some some cards in front of you you're going to be doing I'm gonna give you some challenges some AI are art kind of Turing test Lovelace tests and you're gonna have to decide what you think is made by a human and what do you think is made doesn't have a soul and you know that's that's an AI so in order to do this right so we're going to get you up on your display one and we want the HDMI so that's interesting so display - ah okay that's interesting
而这恰恰是 AI 借助机器学习这个思路已经做到的事情之一。所以我们接下来其实也用了一点机器学习,在今天这场讲座里做几个小实验。我们这里有一台摄像机。基本思路是,机器学习就是给它看一些猫和狗的图片,让它去区分,一开始它会分错,但它会不断提出越来越多的问题,从而让它越做越准。所以我们有两……我们接下来要在现场做几个测试。你们会看到面前有一些卡片,你们要做的是——我会给你们出几道题,算是给 AI 艺术做的一种图灵测试、洛芙莱斯测试,你们要判断哪个是人做的,哪个是没有灵魂的东西做的,也就是 AI 做的。所以为了做这件事——好,我们现在要把画面切到你们的一号显示器,我们需要 HDMI,嗯,这就有意思了……二号显示器——啊,好,有意思,它在那边是能用的。没错,不过一旦你做 AI 和技术演示,那就是
便签笔记
21:39
it worked in there so exactly but when you're doing AI and tech it's always asking for trouble so okay well I do you think you can sort that out it's not a disaster but okay so um this is how we trained our AI so what we did was we want when you throw up your cards we want the AI to be able to recognize what you're putting up that it's a blue which will be for human and a red for robot but he doesn't want to get confused by a red jacket over there or a blue shirt and so we had to train this AI on pictures so what we did was - he just took a random load of pictures and then we put the things that we were trying to get the AI to recognize and so there'll be a training image so we had about 600 training images and basically it would be told there are four red robots and three human faces and gradually it learns over those six hundred faces to be able to distinguish these and such that now when we show it an image it can count quite quickly and effectively how many robots and how many humans there are so we're going to get
自找麻烦。好吧,你觉得能搞定吗?不算灾难,好的。那么,我们就是这样训练我们这个 AI 的。我们想做的是:当你们举起卡片时,我们希望 AI 能识别出你们举的是什么——蓝色代表人类,红色代表机器人。但我们不希望它被那边的一件红夹克,或者一件蓝衬衫搞混。所以我们必须用图片来训练这个 AI。我们的做法是,先随便拿来一大堆图片,然后把我们想让 AI 识别的东西放进去,这就成了训练图像。我们大概用了600 张训练图像,基本上就是告诉它:这里有四个红色机器人和三张人脸。慢慢地,通过这六百张图,它学会了区分它们。于是现在给它看一张图,它就能相当快速、有效地数出里面有多少机器人、多少人类。所以我们要请你们来试试。这真的就是机器
便签笔记
10新伦勃朗:AI 复刻大师画风
22:52
to you so so this is really machine learning in a kind of action so what I'm going to do is to offer you some challenges so here you are this is um okay so you you've have to improvise okay so I'm gonna say that's fine cuz I'll just swap over between the HDMI and that'll come bring you up so that's why okay so here you are so these this is a project that was done so I'm going to start with visual art because vision has been the place where our AI creativity AI is being very successful so you can probably recognize the artist here this is Rembrandt and there was a team in Hollands that decided to see whether they could get their AI vision recognition to sort of understand Rembrandt's very particular style of painting Rembrandt did quite a lot of portraits so it was quite a bit of data not as much data as we use to actually train our AI and but you know the in the region of 300 portraits and of course one of the things Rembrandt has is a very special use of light so it was going to learn how to put light on a
学习的实际应用。那么我要做的就是给你们出几道题。好,你们看这是……好吧,你得临场发挥一下。好,我说没关系,因为我可以在 HDMI 之间来回切换,那样就能把画面调出来了。所以,好,你们看,这是一个已经完成的项目。我打算从视觉艺术开始,因为视觉正是 AI 创造力表现得非常成功的领域。你们大概能认出这里的画家,这是伦勃朗。荷兰有一个团队想看看他们能不能让 AI 视觉识别在某种程度上理解伦勃朗那种非常独特的绘画风格。伦勃朗画过很多肖像画,所以数据量还算可以——虽然没有我们训练自己这个 AI 用的数据多,但大概在 300 幅肖像左右。当然,伦勃朗的一大特点就是他对光的独特运用,所以 AI 要学会怎样给一幅
便签笔记
24:06
portrait a very particular style of address at that particular time so one of these images is a Rembrandt the other one is the product of the artificial intelligence learning on Rembrandt style and producing a new Rembrandt so the challenge for you is can you tell which of these is the real Rembrandt now I'm going to just do a little experiment to first of all to see whether our cards are working so let's switch over to show you so here you are so I'd like you to have all put up your blue cards so let's see whether and you can see it's starting to pick out some of you a little bit edgy I'm sorry you'll just have to feel like your vote does count and okay now turn them over to red let's see and you'll see the bar at the top is recording so we'll be able to test the proportion there so that's 100% red now turn back to blue and you'll see the bar shoot back to the to the blue side okay so good so it seems to be working so now not to prejudice the thing so I'm going to let's go back I just show you the pictures again so
I'm you know ask you about one of these so let me flip my coin so okay so I'm going to ask you about the painting on the Left I want you to boat where do you think the painting on the Left is done by a AI or is it done by Rembrandt so if you think the painting on the Left is by AI I want you to show your red faces to me and if you think it was a human then I want you to show your blue faces and okay so here we're starting to get so quite a lot of you voting red and we're seeing although some of you are also voting blue so it is edging over more to red I'm saying probably about 60 30 okay so good let's see whether how good you we're at this one so we'll go back to here so which one was the AI is in fact so you are pretty good already so you can feel good about yourselves so as an audience at least you voted correctly so yes the one on the left is in fact the the AI Rembrandt um now it's interesting that not only did they do this as a 2d image but you know if you've seen a Rembrandt it has a very his use of paint
我抛个硬币决定。好,我要问你们左边这幅画。我希望你们投票:你们觉得左边这幅画是 AI 画的,还是伦勃朗画的?如果你觉得左边这幅是AI 画的,就把红色那面朝我举起来;如果你觉得是人画的,就把蓝色那面举起来。好,好,现在开始出结果了,相当多人投了红色,不过我们也看到有些人投了蓝色。所以它在往红色那边倾斜,我估计大概是六比三吧。好,很好,我们来看看你们这题答得怎么样。我们切回这边,看看到底哪一幅是 AI 画的——事实上,你们已经相当厉害了,可以为自己感到高兴。至少作为一群观众,你们投对了。是的,左边那幅确实是AI 版伦勃朗。有意思的是,他们不只是做成一张二维图像。你们要是看过真的伦勃朗,就知道他对颜料的运用非常特别,很有立体感。他们甚至还去
便签笔记
11对抗式算法生成的画作骗过巴塞尔
26:27
is very special it's very kind of 3d effect and they even went to the extent of analyzing the kind of height of the paint and so they 3d printed interestingly and when they asked Rembrandt expert to come along and review their their result and of course the Rembrandt Expo it was incredibly snooty and dismissive about the whole project but the only thing that he could find to criticize it about was well the use of paint is 20 years earlier than the style of the actual portrait so the team felt actually quite good that they'd managed to just you know that if that was all that was wrong with it okay so but you might say well what's the point about another Rembrandt we've got wonderful Rembrandt's why do we need any more Rembrandt so certainly my favorite art critic Jonathan Jones in The Guardian I love reading Jonathan Jones because he's always totally dismissive about anything to do with a I this is what he wrote about this Rembrandt project what a horrible tasteless insensitive and soulless travesty of all
分析了颜料的厚度高度,然后把它 3D 打印了出来。有意思的是,当他们请一位伦勃朗专家过来评鉴他们的成果时,那位伦勃朗专家当然对整件事表现得极其傲慢、不屑一顾。项目,但他唯一能挑出的毛病就是——颜料的用法比这幅肖像本身的风格早了 20 年,也就是说和实际画风对不上,所以团队其实感觉挺好的,因为他们做到了,你知道,如果问题就只有这一点,那已经很不错了。好,不过你可能会说,再多一幅伦勃朗有什么意义呢?我们已经有那么多精彩的伦勃朗了,为什么还需要更多?当然,我最喜欢的艺术评论家、《卫报》的乔纳森·琼斯——我特别爱读乔纳森·琼斯,因为他对任何跟 AI 沾边的东西都是彻底不屑一顾——他是这么评价这个伦勃朗项目的:这是一场可怕的、毫无品味的、麻木不仁、没有灵魂的闹剧,糟蹋了人性中一切有创造力的东西,
便签笔记
27:26
that is creative in human nature when technology is used for things it never should be used for but frankly anyone who wears out sort of shirt as an art critic I really not quite sure I trust very much in their their critique but but to a certain extent he has a point you know what is the point about creating other Rembrandt well I do think there is a point because the wonderful thing about this ai is it starting to recognize things that we as humans have missed in the data so not so much in Rembrandt I haven't seen anything new in size in Rembrandt but for example something like Jackson Pollock a kind of algorithmic analysis of Jackson Pollock has revealed the Pollock is doing something very special when he splatters paint around that he's creating a very special mathematical shape that we can actually analyze and kind of judge a kind of the fractal the greenness of this a dimension of these paintings so a is giving us new insight there's a wonderful story I tell in the book about the Netflix algorithm that just took our
这就是把技术用在它根本不该用的地方。不过说实话,一个身为艺术评论家却穿成那样衬衫的人,我真不太确定该有多信任他的评论。但在某种程度上他说得也有道理,你知道,再造一个伦勃朗到底意义何在?我确实认为是有意义的,因为这个 AI 最了不起的地方在于,它开始识别出我们人类在数据中忽略掉的东西。在伦勃朗身上倒不太明显,我还没在伦勃朗身上看到什么新洞见,但比如说杰克逊·波洛克,用算法去分析杰克逊·波洛克,就揭示出波洛克在泼洒颜料时其实在做一件非常特别的事,他创造出了一种非常特殊的数学形状,我们真的可以去分析它,去评判这些画作的分形特性、它的分形维度。所以 AI 确实给了我们新的洞见。我在书里讲过一个很棒的故事,关于 Netflix 的算法:它只拿到我们对电影的喜欢和不喜欢,以及
便签笔记
28:24
likes and dislikes of films and the numbers of the films didn't know anything about the films but just from our likes and dislikes is able to clump them together into films of a similar sort of genre so you can see oh yeah look these are all comedy films these are all thrillers but every now and again it would clump films together because on our likes and dislikes which is kind of expressing our common feelings for a film in ways that we didn't really have a aim for that genre it was almost as if the AI had spotted through our likes and dislikes that there was a kind of way of clumping films together that deserved a new name it had spotted a new sort of structure in the films that we hadn't kind of named so I think there is a point about looking backwards but I think the most exciting thing is looking forward can we get the AI to do new things to to break them all to do exciting new things so here's your next challenge four of these paintings are done by a human four of these paintings are done by an AI you have to now jerk
电影的编号,它对电影本身一无所知,但仅凭我们的好恶,它就能把它们聚成风格类似的一类,所以你能看出来,哦对,这些都是喜剧片,这些都是惊悚片。但时不时地,它会根据我们的好恶把一些电影聚在一起,而这其实是在以某种方式表达我们对一部电影的共同感受,只是我们从来没有为那种类型起过名字。就好像AI 通过我们的好恶发现了:存在一种把电影归类的方式,值得给它起个新名字。它在电影中发现了一种我们从未命名过的新结构。所以我认为回望过去是有意义的,但我觉得最令人兴奋的还是向前看:我们能不能让 AI 去做全新的事情,去打破常规,去做激动人心的新东西?那么这是给你们的下一个挑战:这里有四幅画是人画的,四幅画是 AI 画的,你们现在要判断哪边是哪边。我们还是按
便签笔记
29:23
judge which is which so we'll do the same since I've flipped we will do the left-hand one again so the left-hand one is the one you're going to be voting on do you think the four paintings on the left are by the human or by the AI so let's turn you turn it over to you so your chance to vote those four paintings on the left are they okay so now all look there's a brexit vote going on there yeah so you seem to be still going for the lip it's much less convinced by that but there's it's just edging a little bit over to the oh yeah still changing all right but I think that's you think that one's the AI one okay let's go back and see what I think it's an awesome supporter over there okay so which one was which no in fact those were for blue so a few people yes yes I knew that yes so in fact so you find that one a bit more difficult it's interesting because in some ways I would say that the four which are produced by AI have much greater complexity to them and these were actually shown at Basel Art Fair a
同样的方式来,既然我已经调换过了,我们还是投左边那组。也就是说,左边这四幅是你们要投票的对象,你们觉得左边这四幅画是人画的还是 AI 画的?好,交给你们,这是你们投票的机会:左边那四幅画到底是……好,看啊,这简直是在搞脱欧公投了。是啊,你们好像还是更倾向于左边,不过这次没那么有把握,票数还在一点点往那边挪,哦,还在变。好吧,我想你们认为那组是 AI 画的。好,我们回过头看看结果。那边有个热情的支持者啊。好,那么哪组是哪组呢?其实那些是蓝色的那组,所以有一些人——对对,我就知道——所以实际上,你们觉得这一轮更难一些。这很有意思,因为在某种意义上我会说,AI 生成的那四幅画复杂度要高得多。这些画其实几年前在巴塞尔艺术展上展出过,
便签笔记
30:39
couple of years ago I think this is 2016 these were and nobody was told there was any AI involved in this they were just asked to give their feedback on the paintings and the feedback on the AI one so they were people were much more emotionally engaged with the AI ones than they were with the human ones and then of course you see when you then tell somebody well in fact that was created by a computer really upsets people I think you know oh my gosh I had intimate but that's you know there's no emotional world going on inside there I think this is really interesting the reaction one has to to experiencing something then finding out it's done by AI and I think most of you but I mean I also feel like I've been cheated somehow um but if I tell you a joke you know Ellen's jokes were all actually made by an AI and you laughed at them all but then if I tell you now no they actually just ran do the AI joke app does that invalidate your laughter I don't think it does but why I don't think we should get too threatened by
我想是 2016 年吧。当时没有人被告知这里面有 AI 参与,人们只是被请去对这些画作发表感受。而对 AI 那组画的反馈是,人们在情感上比对人类创作的那组投入得多得多。然后当然,你会看到,当你告诉别人:其实那是电脑创作的,人们真的会很不高兴,你知道,会说天哪,我刚刚还那么投入,可是那里面根本没有情感世界。我觉得这非常有意思:人先是体验到某种东西,然后发现它是 AI 做的,那种反应。我想你们大多数人——我的意思是,我自己也会觉得像是被骗了一样。嗯,但如果我给你讲个笑话,你知道,比如说艾伦的那些笑话其实都是 AI 编的,而你们都笑了,那如果我现在告诉你,其实他只是打开了那个 AI 笑话应用,这会让你的笑声变得不作数吗?我不这么认为。而我觉得我们不该被这件事吓到,原因在于:这个 AI 是在
便签笔记
31:40
this is because this AI is learning on our emotional world to produce its next step so it's not disconnected it has got an emotional word it's representing our emotional world but in a sort of new filter what's interesting about this project I think especially is the way that these paintings were created because these four paintings on the right were not created by one algorithm but two algorithms almost working in competition against each other they almost made it into a game something called a creative or generative sometimes adversarial Network so the first algorithm was tasked with creating the art and what it did was to learn on all of the art of the past and it learnt it became a kind of art historian it learned how to classify art in particular styles it understood when something was Cuba start or pointillist art by doing a machine learning process or on the images and being told what was in which particular style then it was tasked with creating something that didn't fit into any of those styles so
it was really trying to break the mold it had to make something that couldn't be classified given the parameters that it had learned but it was also tasked with creating something that we as humans would recognize as art so it had already learned from the all all the art last 1500 years what we regarded as art and so it knew kind of an upper limit of where how much it could push the idea the second algorithm was tasked it was the discriminator algorithm was tasked with either saying look that I think that's still stuck you're still stuck in Cuba start there or else was saying you've gone wait fahren that is an art at all and it was the competition between these two that ultimately led to these images now that's what's exciting with this particular idea is because very often algorithms can just churn out loads of things but the challenge is choosing which ones are interesting so we had a second algorithm which was doing some choosing and discriminating and this is very close I think to actually how
humans work creatively his Paul clay talking about the act of creation already at the very beginning of the productive act shortly after the initial motion to create occurs a thirst counter motion the initial movement of receptivity this means that creator controls where the water is produced so far is good there's always that you know you do something and then you just is that I'm not sure I'm gonna throw it away I'll do something again here's Paul valéry a French poet talking about the idea of these two kind of mind sets um it takes two to invent anything the one makes up combinations the other one chooses and I certainly find that as a mathematician that I have collaborators around the world where we kind of play these two roles so I have a collaborator in Germany where I'm the kind of mad creator and he's the discriminator kind of knocking things down whilst a collaborator here in the Middle East that I have he's the kind of mad creator and I'm the discriminator in that case and it's by doing that kind of
combination that we actually make progress together okay so we done the visual world what about the written word and the written word we already heard how text a kind of prediction produces some strange effects the written word interestingly a is having quite a lot of difficulty with but then again it's one of the first things that a I was actually interested in in trying to do this is the Manchester Universal computer after touring left Bletchley Park he went up to try and realize some of his ideas in Manchester and the team there were rather perplexed when letters started appearing around the lab which were kind of love letters and written by the Manchester Universal computer and they were sort of perplexed by this until one of the team admitted that in fact he'd written a a program for the computer which was a template and he was using a Rand number generator that touring had just created for the computer which was randomly filling in the template with words amorous words so after a while you'd
取得进展。好,视觉领域我们讲完了,那文字呢?关于文字,我们刚才已经听到文本这种预测方式会产生一些奇怪的效果。有意思的是,文字恰恰是 AI 相当吃力的领域,不过话说回来,这也是 AI 最早想尝试去做的事情之一这是曼彻斯特通用计算机。图灵离开布莱切利园之后去了曼彻斯特,想把他的一些想法付诸实现,那里的团队相当困惑,因为实验室里开始出现一些信件,是那种情书署名是曼彻斯特通用计算机写的。大家一头雾水,直到团队中有人承认其实是他给计算机写了一个程序,就是一个模板,然后用图灵刚刚为这台计算机写的随机数生成器,随机往模板里填入词语,那些甜言蜜语的词。所以过一阵子你就会
便签笔记
35:38
spot the template so not very good but poetry is somewhere where AI has been quite successful I think partly because it's again nice closed form it's not asking sort of too much large scale structure also I think that ah actually you know as an audience you bring a lot of your own creativity when you work look at a piece of art don't you I mean yeah I think that's the point an artist leaves room for your own will to fill things with this and ambiguity to things and so you know poetry has a slight nomic quality that I think especially is something that you bring a lot of your creativity to when you read it um so here are your challenges now I've got some poems for you I want you to vote whether you think these poems are precious guys already on oh god poetry now so whether these poems are by AI or are they by humans so but or not okay so here's your first poem so I'll read you the poem and then we'll go to see what you think about it and I won't read it also mortal my mates burying my rocker
看出模板来,所以效果并不好。不过诗歌是 AI 相当成功的一个领域,我想部分原因是它同样是一种漂亮的封闭形式,不要求太宏大的结构。另外我也觉得,其实作为受众,你在欣赏一件艺术品时,自己也带入了大量的创造力,对吧?是的,我觉得这正是关键:艺术家会留出空间,让你用自己的意志去填补,给作品留有模糊性所以你知道,诗歌带有一点谜语般的特质,我觉得尤其是读诗的时候,你会带入很多自己的创造力。好,那么下面是给大家的挑战。我准备了几首诗,想请大家投票判断这些诗是……大家已经开始了?天哪,现在轮到诗歌了。判断这些诗是 AI 写的还是人类写的。好,这是第一首诗。我先把这首诗读给大家听,然后我们看看大家怎么想。诗是这样的:“凡人啊,我的伙伴,埋葬我摇晃的心,暖搏与冷搏相伴”
便签笔记
36:44
heart warm beats with cold beats company shall i earlier or you fail at our force and lie the ruins of rifles once a world of art okay no stop yeah so do you think that is sport or not so now you're just voting row at red for robots blue for okay I think okay so it's a massive boat for red they're a few thinking it's human and blue okay so that was your first challenge so let's go back to your next challenge I won't reveal them yet okay I'll reveal I've got three poems for you okay so here's your next one this is quite different even to read there are small nurses of pesticide reaction of real time of packs of displaced exclusionary heart hurt of powerlessness of magazine fired non dignified as head fatty employed internalized violence a frozen helpless this is off-white Cholula did okay um so that is AI or do you think that's human okay so let's over to you to vote am i messing with you or you know it was good okay so you think yeah that's so you that's quite a little yeah a little bow
“我该早些,还是你败于我们的力量,躺在曾经那个艺术世界的枪械废墟之中。”好,停。那么你们觉得这是不是机器写的?现在开始投票,红色代表机器人,蓝色代表人类。好,我看到一大片红色,也有少数人觉得是人写的,举了蓝色。好,这是第一道题,我们接着看下一道题,答案我先不揭晓。我一共准备了三首诗。好,这是下一首这一首很不一样,连读起来都不一样:“细小的农药护士,实时的反应,被迫迁徙的排他心群,伤痛之心,”“无力感,弹匣射出,无尊严如脂肪之首,被内化的暴力,一种冻结的无助。”这是……好吧,那么这是 AI 写的,还是你们觉得是人写的?好,交给大家投票。我是在耍你们吗?还是说它其实挺不错?好,你们觉得……嗯,这次有一些人投了人类,不过还是有人
便签笔记
38:04
for human there but still some people thinking okay is this a double bluff because that's clearly code okay so you I think you've gone for human there okay so right this is working okay so um here's your next challenge ports or not imagine now the dark smoke awakened to fly all these years to another day notions of tangled pries the other side of water I see it is already here sequences of her face series shared and old friends passed their dreams but or not okay so over to you you think they're all bought yeah okay so you're going for bought on that one so so that's right so you think they're all being they're all a I that's a sort of thing I would do isn't it you know okay so let's see so you've gone for the for the bots on that one Sagan oh there you into human yes that's right they sorry you're absolutely right yeah thank you very keen that one up yes so let's go back let me give you the answers then so the first one you or pretty convinced that was AI paroled Jarrell Manley Hopkins will be turning in his grave
在想:这会不会是双重迷惑?因为这明显像是代码。好,我看你们这次选了人类好,这个办法行得通。好,那么下一道题:机器还是人?“此刻想象,黑烟苏醒,飞越这许多年,飞向另一天;纠缠的祈求之念,在水的另一边,我看见它已经在这里;她面容的序列,共享的系列,还有老友们逝去的梦。”机器还是人?好,交给大家。你们觉得都是机器?好,那你们这次选的是机器。没错,你们觉得这几首全是 AI 写的——这确实是我会干的事,对吧。好,我们来看看。你们这次投给了机器人……哦,你们那边投了人类?是的,没错,你们完全正确,谢谢,眼光很毒。好,我们回过头来我来公布答案。第一首,你们相当确信是 AI 写的——其实作者是杰拉德·曼利·霍普金斯(Gerard Manley Hopkins)他要在坟墓里翻身了。你怎么看?我选霍普金斯,是因为我从来
便签笔记
39:18
what do you think honorable I chose Gerald Manny Hopkins because I've never understood any poem that Gerald Manny Hopkins has ever written so didn't sniff that one out second one yes you did sniff out that okay that's that's too much like code it can't be an AI it's actually a young Australian poet called miss breeze and she's very interested in this kind of interplay between computer code having its own kind of poetry and rhythm to it yet having meaning that might have something to say to us and so she's very interested in this kind of weird interface between the two actually we've had two humans so that leaves the last one is the human did I really mess with you no the last one you sniffed out actually it was the only one that made any sense at all was in fact the only one crazy by an AI this is actually Ray Kurzweil created something called the cybernetic poet and this is a machine learning process where he took poems of Yeats Keats Eliot and then the the bot was kind of tasked with creating something was a kind of fusion
没读懂过霍普金斯写的任何一首诗,所以这一首大家没识破。第二首,是的,你们识破了。你们说这太像代码了,不可能是 AI——它其实出自一位年轻的澳大利亚诗人叫 Miss Breeze,她非常关注这样一种互动:计算机代码本身也具有诗意和节奏,同时又承载着某种可能对我们言说的意义,所以她非常着迷于这两者之间奇特的交界地带。这样我们已经有两首是人写的了,那最后一首也是人写的?我真是在耍你们吗?不,最后一首你们识破了——其实唯一读起来还算通顺的那一首,恰恰是唯一由 AI 写的。这其实是雷·库兹韦尔(Ray Kurzweil)做的他创造了一个叫“控制论诗人”(Cybernetic Poet)的东西,这是一个机器学习过程,他输入了叶芝、济慈、艾略特的诗然后让这个程序去创作,比如生成叶芝和艾略特的某种融合体。当然
便签笔记
40:21
of Yeats and Eliot for example so of course Rico as well is one of the people who's talking about the idea of the singularity the moment when computers might actually be more intelligent than humans and so that moment the singularity and so poetry energy is not doing too bad it's a kind of longer scale writing that AI is having real difficulty at it so it can generate quite interesting sort of text right generation or sort of small scale but it's kind of the idea of writing a novel is still way beyond it although there have been some attempts to write novels so there was a very interesting case by a team called Bach botnik they decided their big Harry Potter fans and they decided they were very disappointed there are only seven volumes of Harry Potter and they wanted an eighth they want to know what happens next um so what they did was they got the machine learning to take all of JK Rowling's writing learnt kind of ideas that she's interested in her style of writing and decided they would create an
库兹韦尔也是那批谈论“奇点”概念的人之一——奇点就是计算机可能真正比人类更聪明的那一刻。所以在诗歌上 AI 表现得还不赖,真正让它非常吃力的是更长篇幅的写作。它可以生成相当有意思的文本,小规模的片段没问题,但是要写一部小说,对它来说还差得很远,尽管确实有人尝试过让 AI 写小说有一个非常有意思的例子,是一个叫 Botnik 的团队。他们都是哈利·波特的铁杆粉丝他们觉得很失望:哈利·波特只有七部,他们想要第八部他们想知道后面发生了什么。于是他们用机器学习读入了 J.K. 罗琳的全部作品,学习她感兴趣的题材和她的写作风格,然后决定做一个算法来生成第八部。所以
便签笔记
41:21
algorithm to create an eighth book so here is the beginning of this eighth book I actually love the title this is called Harry Potter and the portrait of what looked like a large part of Ashe I'd read that I'd read that so that it starts off pretty well magic it was something that Harry Potter thought was very good so good it's already picked up that these books are about magic you know no bad leathery sheets of rain lashed at Harry's ghost as he wore leather he sheets of rain I think that's a beautiful image leathery she's the rain as he walked across the grounds towards the castle after this it began to lose the plot a little bit um ron was standing there and doing a kind of frenzy tap-dance he saw Harry and immediately began to eat Hermione's family very much good Ron's Ron shirt was just as bad it's Ron himself so AI is having it's very good a kind of local generation of things which have some sort of meaning but it doesn't have many very good sense of a long term structure okay what about music
这就是第八部的开头。我特别喜欢这个书名,它叫《哈利·波特与看起来像一大堆灰烬的肖像》这书我真想读一读。开头写得还挺不错的:“魔法,这是哈利·波特认为非常好的东西。”很好,它已经学到这些书是讲魔法的了接下来就不太行了:“皮革般的雨幕抽打着哈利的幽灵……”皮革般的雨幕,我觉得这是个很美的意象——皮革般的雨幕,当他穿过场地走向城堡时。再往后就开始有点跑偏了:“罗恩站在那里,跳着一种狂乱的踢踏舞。他看见哈利,立刻开始吃赫敏的家人。”很好。罗恩的衬衫也一样糟,那就是罗恩本人。所以 AI 很擅长局部地生成一些具有某种意义的内容,但它对长程结构把握得不太好。好,那音乐呢?可爱的 Seder 给我们出了这个难题:AI 能不能创作音乐?音乐里充满了大量的模式
便签笔记
13AI 续写巴赫:现场盲听测试
42:28
lovely Seder gave us this challenge of whether a I could produce music and music has full of lots of patterns a composer when you hear a piece of music on the radio you can probably very quickly pick out what the composer is because they have particular styles particularly the sort of sound world that they have can the AI learn that and be able to produce something at a particularly good level to to replicate or do something new so AI always starts on Bach Bach is where AI always us because Bach has a lot of algorithms at work if you do look at something like the musical offerings Bach wrote the musical offerings these little pieces he wrote for Duke Ferdinand as as I've kind of puzzled to solved there was a little algorithm you had to show which you had to expand and and see what the music actually meant so so actually Bach is a very good place actually for AI to start and something you may remember a few weeks ago and the Google Doodle did you have a go on the Google doodle it was celebrating box and birthday and this
当你在广播里听到一段音乐时,你多半能很快听出作曲家是谁因为他们各有独特的风格,尤其是他们特有的音响世界。AI 能不能学到这一点并在相当高的水准上复制它,或者创造出新的东西?AI 总是从巴赫开始。AI 总是从巴赫入手,因为巴赫的音乐里有大量算法在起作用。如果你看看《音乐的奉献》,巴赫写的《音乐的奉献》,那些是他为费迪南公爵写的小曲子,就像一道道待解的谜题:里面有一个小算法,你得把它展开,才能看出这段音乐到底是什么意思。所以巴赫其实是 AI 非常好的起点。你们可能还记得几周前的 Google Doodle,你们玩过那个涂鸦吗?那是为了纪念巴赫的生日
便签笔记
43:28
Google doodle you could put in a line of music and then it would harmonize the other three voices so the machine learning it to take this is based on something called magenta it had taken all the corrals that bark had written Corral's are very good because they kind of they don't change a key very often they're very sort of boring and but it can learn a lot about the way that a crawl and a coronis Phinney in the harmony is a bit like filling in a Sudoku you've got just learn the rules so this would actually the little Google doodle would fill in with your tune so I actually put in the a bit of the musical offerings so this is my attempt on it because the musical offering is actually quite a difficult challenge it doesn't seem to have any key to it at all and when I played it back it was really rubbish actually but what was very nice about the Google doodle is you could then say I thought that is rubbish and the thing would learn and actually say okay that harmonizing didn't work and so you were training the
在那个涂鸦里,你可以输入一段旋律,它会把另外三个声部的和声配出来。这个机器学习模型——它基于一个叫 Magenta 的项目——学习了巴赫写过的所有众赞歌众赞歌很合适,因为它们不太频繁转调,比较“无聊”,但是从中可以学到很多众赞歌配和声的方式,配和声有点像填数独,你只要学会规则就行所以这个小小的 Google 涂鸦会为你的旋律配上和声。我当时输入的是《音乐的奉献》的一小段,这是我的尝试,因为《音乐的奉献》其实是个相当难的挑战,它似乎根本没有明确的调性。播放出来的结果其实相当糟糕。不过 Google 涂鸦有个很棒的地方就是你可以告诉它:我觉得这个很烂。然后它会学习,说好吧,这个和声不行。所以你给出反馈的同时就在训练这个算法;如果你觉得好,它就会
便签笔记
44:26
algorithm as you gave your feedback and if you thought it was good it would kind of we privatize it so okay I'll do more of that sort of harmony so very nice so what we've done and I've got a actually set up a Center in the Royal Northern College of Music with a composer Emily Howard it's a called prism which stands to practice and research in science and music and what we're here any interested in is this kind of interplay between the scientific and mathematical world and the world of composition so we've done various projects we wrote a string quartet representing mathematical proofs and together but I've now got a PhD student who's a composer which is really exciting Rob laid low he actually had his quartet premiered last week at the Wigmore Hall he was going to be here tonight unfortunately he's ill which is a real shame but he's been working alongside me and various other people and she here in the university as well and to produce a piece using some of the best software we have around at the moment to create a
强化这一点,说好,那我多写点这样的和声。非常不错。所以我们做的事情是——我其实和作曲家 Emily Howard 一起,在皇家北方音乐学院成立了一个中心,叫 PRiSM,全称是“科学与音乐中的实践与研究”。我们感兴趣的正是这种互动:科学与数学的世界,和作曲的世界之间的互动。我们做过很多项目,比如写过一首弦乐四重奏来表现数学证明。现在我还带了一位学作曲的博士生,这非常令人兴奋,他叫 Rob Laidlow,上周他的四重奏刚在威格摩尔音乐厅首演。他本来今晚要来的很遗憾他病了,真的很可惜。但他一直和我以及其他一些人合作,还有大学里的同事一起,用我们目前能拿到的最好的软件创作了一首曲子,做出一种
便签笔记
45:28
kind of hybrid AI bark piece and and this is what we want to play you so the challenge here is so we've got a fantastic musicians in the department here and Kobe is going to come up and play this piece for you which is so in there we've just been doing very straight AI human tests this is a slightly different challenge you've now got a piece which sometimes is AI and sometimes is bark and I'm not going to tell you how many times it moves between one and the other and what I want you to do is to see whether you can see where the joins are can you tell oh gosh no that's horrible that's gone AI or oh yeah that's bark so we're going to run this twice the piece is about four minutes long and so we're going to record your thoughts on this and then hopefully if we can do this I'm gonna play this back to you oh gosh because now we don't have two screens now it's gonna be quite okay no III know what I can do okay yeah I've thought of an improvised way of doing this I'm going to do it very analog
AI 与巴赫的混合作品。这就是我们想放给大家听的。所以这里的挑战是——我们系里有非常棒的音乐家Kobe 待会儿会上台为大家演奏这首曲子。刚才我们做的都是很直接的“AI 还是人类”的测试,这次的挑战略有不同:这首曲子有时是 AI 写的有时是巴赫写的,我不会告诉你们它在两者之间切换了多少次。我想请你们做的,是看看能不能听出接缝在哪里。你能不能察觉到——天哪,不,这太难听了,这肯定切到 AI 了或者,对,这是巴赫。我们会放两遍,这首曲子大约四分钟长,我们会记录你们的判断,然后如果可行的话,我再回放给你们看。糟糕,因为我们现在没有两块屏幕,这就有点……好吧,不,我知道该怎么办了。好,我想到了一个临时的办法,我要用非常“模拟”的方式来做,待会儿你们就会看到我的解决方案。好,那么也许我们先
便签笔记
46:31
so you'll see what my solution in a minute okay so so perhaps we can give a big round and pause to Kobe who's going to come and play this piece we have a page-turner as well and so I just to set this thing off can you all show your blue faces so we're going to just start you off all on blue so the idea is as soon as you think that the music has gone into something which is not by bark you turn to the red face and if you think it's gone back to bark you move to the blue vase okay it's very simple okay so now in order to sync these things I'm going to have to count this down so we go hopefully we can show these two things again so I've got you ready ready combing okay so I'll go 4 3 2 1 [Music] [Applause] [Music]
I was raising I think there are moments when bar will be turning in his grave as you'll see but it's inching because I think when it was barks there was much more confidence in your knowledge of that he could feel it was right but when it wasn't it was really kind of edgy and there were moments when his sunny surge read which they were give away moments so so we're going to replay this so you can actually see what what's your answers were this was actually so what we did was we took one of the English sweets so this is the fourth English sweet and what we did was to take these bits out of the piece of music and then ask the AI to fill in the gaps and the machine learning was it's interesting because we actually use quite a simple piece of machine learning it's called clora it's developed now it's developed by open AI this team which is trying to make AI very open to the world something that Elon Musk has helped set up and so this is actually buy a piece of software written by Christine Payne as part of the open AI
我刚才在想,有些时刻巴赫真的要在坟墓里翻身了,你们等下就会看到。但这很有意思,因为我觉得当它是巴赫的时候,你会更有把握,能感觉到这是对的;而当它不是的时候,就会让人觉得很别扭。有些地方那种突兀的走向就是明显的破绽。所以我们要再放一遍,让你们看到自己的答案是怎样的。我们其实是这样做的:我们取了一首英国组曲——这是第四号英国组曲——我们把这段音乐中的一些片段挖掉,然后让 AI 来填补空缺。这个机器学习很有意思,因为我们用的其实是一个相当简单的机器学习模型,叫 Clara,现在由 OpenAI 开发,这个团队致力于让 AI 对全世界开放,埃隆·马斯克参与创办了它。所以这其实是 Christine Payne 作为 OpenAI 项目的一部分写的一款软件,而且还在不断发展,我们会
便签笔记
52:41
project and it's growing so we're going to keep on working on this to to make it even better with something called muse net but what's interesting is that this is kind of predictive in the sense of it here's what's happened up to date and then makes a decision about what will be next so some of the AI is working very cleverly in working backwards as well so knowing where the piece is going it can make some prediction but this piece of software does not have a long-term memory and this is one of the challenges to create a piece of music software that can actually know about what it's done in the past and exploit that in its decisions as it goes forward and one of the things I talked about with Cobie beforehand he could feel the AI very clearly because the AI is not embodied so it has no trouble with giving really awkward fingerings whilst Bach was writing something that would fit very nicely under the fingers um so I think is one of the challenges of AI very generally is the idea of it not being
继续用一个叫 MuseNet 的东西把它做得更好。有意思的是,这个模型本质上是预测式的:它看到到目前为止发生了什么,然后决定接下来会是什么。有些 AI 做得很聪明,还会反向工作,也就是知道曲子要往哪里去,从而做出一些预测。但这款软件没有长期记忆,而这正是挑战之一:如何做出一款音乐软件,能真正知道自己之前写过什么,并在后续的决策中加以利用。我事先和 Kobe 聊过一件事:他能非常清楚地感觉到 AI 的部分因为 AI 没有身体,所以它会毫无顾忌地写出非常别扭的指法,而巴赫则是……写出来的东西非常贴合手指的运动,嗯,所以我觉得 AI 面临的挑战之一,非常普遍地说,就是它没有身体、没有具身性,你真的能感觉到这一点,我是说我第一次
便签笔记
53:44
embodied and you could really feel that that it just did I mean when I first playthrough it was just like wow this is just really gooey um okay so let's play that back so what I was hoping to do is have things on one screen and the other but I think what I would do so we're going to play oh yeah exactly so let's say we'll get the thing up here so we're going to get poorer Kobey's got to play this again the painful the bits the bark is great fun and what I will do analog wise and so what's going to do this on the screen but I will just show you as we're going along which bits are AI and which are not and so you'll be able to see what you voted and I'll tell you what the answers are okay all right okay so as you I sort of slightly bias things by asking you to put all up the human face I wanted to see how long it would take until you actually spotted that the opening wasn't bark at all it was in fact so it took quite a long time so we're going to start so we're gonna count this down so we get the sinking right hopefully so
从头弹一遍的时候,就觉得,哇,这也太黏腻了,嗯,好,那我们回放一下,我本来想做的是在一个屏幕上放一样东西,另一个屏幕放另一样,不过我想我会这么做,我们来播放——哦对,没错,那我们就这么说吧,我们把东西放到这上面来,所以我们要请可怜的 Kobe 再弹一遍,那些折磨人的段落,巴赫的部分非常好玩,我在现场会做的是,这些会显示在屏幕上,但我会在我们进行的过程中直接告诉你们哪些段落是 AI 写的,哪些不是,这样你们就能看到自己投了什么票,我也会告诉你们正确答案是什么,好,好的,好,其实呢,我刚才稍微误导了大家一下,因为我先让你们为“人类”举手,我是想看看要过多久你们才会发现,开头那一段根本不是巴赫,实际上是——所以你们花了相当长的时间才反应过来,那我们开始吧,我们来倒数,这样时间点能对上,希望如此,好
便签笔记
54:44
there you all are ready so uh four three two one [Music] you pricky you picked that up quite quickly that that was bark I think you can hear that it's got some sort of direction to it [Music]
[Music] [Applause] [Music] and thank you very much to Kobe now one of the things I was very strict about with Rob the composer was that it had to be AI and it was not allowed any chance to try and improve the AI so we were very strict about because very often when you look at projects and the many in the book although it's saying it's an involvement of AI you can see there's a lot of human inputs it makes a much better story if you just says the AI and the human isn't involved at all so it's very strict with this that the portions that where AI had to be only AI and interestingly we asked it just to fill in the last chord and it missed out one crucial note which made the whole thing resolved so but you can see from that that actually it was pretty convincing and there were few given way moments but actually quite hard to pick out which was the AI I think it were pretty good on what was bark although there are a few horrific moments when you thought it was AI and bark will be poor turning in
[音乐] [掌声][音乐]非常感谢 Kobe,我在和作曲家 Rob 合作时有一点要求得特别严格,那就是它必须是纯 AI,绝对不允许任何人为地去改进 AI 的输出,我们在这一点上非常严格,因为很多时候你去看那些项目,包括书里提到的很多例子,虽然说是“AI 参与创作”,但你能看出里面有大量的人类输入,如果直接说这是 AI 做的、人类完全没参与,故事会好听得多,所以我们对这一点非常严格,AI 负责的部分就必须是纯 AI 的,有意思的是,我们只让它补上最后一个和弦,结果它漏掉了一个关键音,而正是那个音让整段音乐得以收束,所以,不过从这里你们也能看出它其实相当有说服力,虽然有几个露馅的瞬间,但要挑出哪一段是 AI其实相当难,我觉得你们在判断哪些是巴赫时表现得挺好的,虽然有几个可怕的时刻,你们以为那是 AI,而那其实是巴赫,可怜的老巴赫要气得在坟里翻身了,嗯,我想再说一次,这么做的意义何在呢?我认为
便签笔记
59:52
his grave so um and I think that again what's the point of this well I think there is a point for creative artists and I think this is not about competition this is about collaboration this is a new tool to push our own human creativity we've always already seen that in the realm of art but in music one of the most interesting stories I saw was the idea of an AI that have been trained to play jazz and it's called the jazz continue ater something constructed in sunny labs in Paris by Francois fouché and his team and they got the AI to learn in a very way to a jazz musician learning what the probability is of the kind of next move after a certain sequence of notes um and they then did a concert where people found it very difficult to tell when it was the human playing when it was the AI but what struck me was the jazz musician who at this a I've been trained on his response to hearing the AI play back to him and he said this is Bernhard lumad the system shows me ideas I could have developed but that would have taken me
对创作型艺术家来说是有意义的,我觉得这不是关于竞争,而是关于协作,这是一个能推动我们自身人类创造力的新工具,我们在美术领域已经看到了这一点,而在音乐领域,我看到的最有意思的故事之一,是一个被训练来演奏爵士乐的 AI,它叫“爵士延续器”(Jazz Continuator),是由巴黎索尼实验室的 François Pachet 和他的团队做出来的,他们让这个 AI 用非常接近爵士乐手学习的方式,去学习在某个音符序列之后下一步走向的概率是多少,嗯,然后他们办了一场音乐会,观众很难分辨什么时候是人在演奏、什么时候是 AI 在演奏,但真正打动我的,是那位爵士乐手——AI 正是用他的演奏训练出来的——在听到 AI 把他的东西弹回来时的反应,他叫 Bernard Lubat,他说这个系统展示给我一些我本来也可能发展出来的想法,但那需要我花很多年才能真正发展出来,它比我
便签笔记
60:54
years to actually develop it is years ahead of me yet everything it plays is unquestionably me another thing this is what's exciting because I think that we as humans often end up behaving very much like machines we get stuck in our ways of thinking we just perform the same ideas over and over again especially in creativity I know that in my own mathematics I try the same things over and over again and sometimes I need something to push me out of the way I've been thinking and see that my world of possibilities is much richer because like Bernard lubob was in a room the spotlight was on him he didn't realize there was so much more to play with his in within his sound world so the exciting thing for me is that this movement into an AI that might be creative it's not about a threat it's about an opportunity it's about the fact that this thing could push us to be behaving less like machines and actually become more creative again as humans thank you [Applause]
领先了好多年,然而它弹的每一样东西又毫无疑问就是我,还有一点,这正是让人兴奋的地方,因为我觉得我们人类往往最后表现得非常像机器,我们会困在自己的思维定式里,一遍又一遍地重复同样的想法,在创作中尤其如此,我知道在我自己的数学研究里,我也会一次又一次地尝试同样的东西,有时候我需要某种东西把我从既有的思路里推出来,让我看到我的可能性世界要丰富得多,就像 Bernard Lubat 一样,他待在一个房间里,聚光灯打在他身上,他没有意识到在他自己的声音世界里,还有那么多可以玩的东西,所以对我来说,令人兴奋的是,这场朝向“可能具有创造力的 AI”的变革,它不是一种威胁,而是一种机会,关键在于这个东西能推动我们不再那么像机器,而是作为人类重新变得更有创造力,谢谢大家 [掌声]