读了 2865 本爱情小说后,谷歌 AI 都会写诗了|新奇酷
“i want to talk to you.”
“i want to be with you.”
“i don’t want to be with you.”
i don’t want to be with you.
she didn’t want to be with him.
“我想和你说清楚。”
“我想和你在一起。”
“我不想和你在一起。”
“我不想和你在一起”
“她也不想和他在一起。”
虽然这些对白听起来像是恶俗的青年诗歌,但这样的对白实际上是为了帮助谷歌人工智能更接近人类。
谷歌深度学习项目组:Google Brain 的研究人员正在寻找能让谷歌搜索和 App 理解并适应人们实际说话方式的方法。其中一部分就是将 2865 本爱情小说输入到人工智能中。
5 月 3 日一场学习交流的国际会议中提到了这样一篇尚未发表的论文。论文中提到一个以语言学家和计算机科学家组成的小组是怎样将 11000 本尚未发表的书籍“注入”到一个神经网络模型中,其中有将近 3000 本爱情小说和 1500 本科幻小说。
这样做是为了模拟人类大脑的运行方式。之后,研究人员还对这个系统进行了测试:先给它提供书上的两句话,再要求它在两句话之间加上几个句子来形成合理过渡。
因此研究人员会这样要求系统:
请在“我很好(I am fine)”和“但是你现在必须跟我解释清楚(But you need to talk to me now)”这两句话之间加 13 句话来实现两句话的过渡。每一句话必须跟它的前后两句话语意相近,从而实现平稳过渡,并且也要保证语法正确和语句通顺。
这样做的目的是让系统模仿人们在说话过程中的语言变化能力。因此,与其说是完美地教会系统表达“我想要份泰国菜”这句话,研究人员更希望教会系统用尽可能多的方式来表达这个意思,然后预知人们实际说话的方式并提出相应的问题。
而对于人工智能而言,浪漫爱情小说中反复,华丽的词汇和描述语言,似乎是最好的学习素材。
虽然研究的最终目的是让系统能自己“说出”新颖又多样化的句子,但中间过程也避免不了出现一些奇怪而诡异的语句。其中有一篇读起来就特别像《在我弥留之际》(As I Lay Dying)这部小说最开始的草稿。
注:《在我弥留之际》是福克纳的代表作以及“约福克纳帕塔法世系”的重要小说之一。讲述南方农民本德伦为遵守对妻子的承诺,率全家将妻子的遗体运回家乡安葬的“苦难历程”。
下面是谷歌 AI 的几个代表作,标粗体的两句话就是研究人员提供的“原材料”。
no.
he said.
“no,” he said.
“no,” i said.
“i know,” she said.
“thank you,” she said.
“come with me,” she said.
“talk to me,” she said.
“don’t worry about it,” she said.
it made me want to cry.
no one had seen him since.
it made me feel uneasy.
no one had seen him.
the thought made me smile.
the pain was unbearable.
the crowd was silent.
the man called out.
the old man said.
the man asked.
he was silent for a long moment.
he was silent for a moment.
it was quiet for a moment.
it was dark and cold.
there was a pause.
it was my turn.
there is no one else in the world.
there is no one else in sight.
they were the only ones who mattered.
they were the only ones left.
he had to be with me.
she had to be with him.
i had to do this.
i wanted to kill him.
i started to cry.
i turned to him.
可以看到,谷歌 AI 的诗作负能量还是蛮多的,常常出现“Dark(黑暗)”,“Silent(寂静)”,“Cold(冷)”等字眼,最后这段文字甚至出现了“I wanted to kill him(我想杀了他)”这句话。这让不少科技网站感到惊讶。一般大众可能会担忧,如果不纠正 AI 的思考模式,日后系统运作时会不会散播令人不安的信息。
来源:Quartz