智能菌(公众号:Smartman163)为媒体智能工作室旗下专注人工智能热点话题和产品的栏目,未来已来,还不上路?
本文为智能菌第10期:《中国诗词大会》让大众重燃对诗词的喜爱,清新脱俗的诗词让人心动,当然,谷歌人工智能作的诗词也能让你怦然心跳!
央视一套的《中国诗词大会》经过了最后的巅峰对决,00后才女武艺姝夺得桂冠。北大博士陈更、诗刊编辑彭敏、8岁冯子一等无数才子佳人也都火的“一塌糊涂”。
近年来,良莠不齐的综艺节目和歌唱节目充斥着大屏幕,而《中国诗词大会》的出现犹如一股清流,沁人心脾,让人如沐春风。从寂寞空庭春欲晚,梨花满地不开门到忽如一夜春风来,千树万树梨花开,我们品味着人生百态,你以为只有人才能写诗做诗?谷歌AI也能写诗了。看到一群鸟儿飞上天空时不用再说“哇,好多鸟”,可以说“鸟啄冰潭玉镜开”等自创诗句了。
在尝试理解罗曼史小说之后,现在谷歌的一个人工智能项目居然也开始提笔写诗。
“there is no>there is no>they were the>they were the>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.”
谷歌正在同美国马萨诸塞州大学和斯坦福大学合作,提高一种被称为“循环神经网络语言模型”(RNNLM)的自然语言技能。这种技术可用于机器翻译和图文识别等领域,通过逐一对每个单词前面一个单词的分析构建出整个句子。
目前,RNNLM尚无法在其生成的语句中实现贯穿全篇的主题或特征,比如很好地围绕一个给定主题展开谈话。由算法产生的每个句子不能和下一句很好地衔接。这项工作的论文在康奈尔大学开放科学论文档案arXix发表,详细描述了研究人员为了实现全局贯穿主题所进行的努力。他们在研究中使用到了变分自编码器,所产生的结果包括一些可以被称作诗句的文字。
研究人员给系统展示开篇和结束的句子,然后要求机器填补空白。下面的例子中,首行和末行的粗体文本为研究人员给出的示例,中间的文本是AI生成的。研究人员称,这些句子是基于AI对数千本罗曼史小说的理解产生,这使得一些主题“相当戏剧化”。
“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.
this was the>it was the>it was her turn to blink.
it was hard to tell.
it was time to move>he had to do it again.
they all looked at each other.
they all turned to look back.
they both turned to face him.
they both turned and walked away.”
生成的句子合乎语法,并保持了主题的连贯,并且大部分与给定的诗句契合。其他的诗句在诗意上有所欠缺,但仍然很好地保持了主题的统一。
“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.
i don’t like it, he said.
i waited for what had happened.
it was almost thirty years ago.
it was over thirty years ago.
that was six years ago.