谷歌人工智能会写诗 而且你一定能读懂
日期:2016-05-30 17:18


After its attempts to digest romance novels, one of Google's artificial intelligence projects is now accidentally writing poetry, some of which would make the fictional Vogons proud.
Google is working with Stanford University and University of Massachusetts in the US to enhance the natural language skills of an AI technique called recurrent neural network language model (RNNLM), which is used within machine translation and image captioning among other tasks. It essentially builds sentences a single word at a time by analysing the previous words in that sentence.

谷歌人工智能会写诗 而且你一定能读懂

Currently, RNNLM is not capable of implementing global themes or features, such as a set topic, within its sentence generation. Each sentence produced by the algorithms doesn't necessarily flow smoothly into the next. The work, published as a paper through Cornell University's open scientific paper archive, arXiv, details the researcher's efforts to add the ability to apply a global theme to sentence generation using a system called a variational autoencoder and the results, including what could easily be mistaken for poetry.
Some of it would arguably give Douglas Adams a run for his money, as the creator of the Vogons, the Hitchhiker's Guide to the Galaxy and its Ode to a Small Lump of Green Putty I Found in My Armpit One Midsummer Morning, during a recital of which “four of the audience members died of internal haemorrhaging and the president of the Mid-Galactic Arts Nobbling Council survived only by gnawing one of his own legs off”, according to the book.
The researchers fed the system starting and ending sentences and then asked it to fill in the gap. Below, the bolded text is what the researchers gave the algorithm and the text in between is what it produced. The results are generated by the machine based on what it learnt from thousands of romance novels, which made some of the topics “rather dramatic”, according to the authors of the paper.
The generated sentences make grammatical sense, maintain a sort of theme and for the most part fit with the start and end sentence. Others weren't quite as poetic, but still maintain the theme set by the start and ending sentences.
The results show interesting improvements in the ability of the machine to generate sentences that make sense together, which could led to much more human-like interactions with AI chatbots, perhaps even Google's Now.

  • artificialadj. 人造的,虚伪的,武断的
  • internaladj. 国内的,内在的,身体内部的
  • galaxyn. 银河,一群显赫之人
  • lumpn. 团,块,瘤,笨重的人 v. 使成块,形成团状,归并
  • smoothlyadv. 平滑地,流畅地
  • intelligencen. 理解力,智力 n. 情报,情报工作,情报机关
  • essentiallyadv. 本质上,本来
  • networkn. 网络,网状物,网状系统 vt. (以网络)覆
  • grammaticaladj. 语法的,合乎文法的
  • themen. 题目,主题