Google 的人工智慧會寫詩,而且你一定能讀懂
編輯觀點:人工智慧的進展很快,但是牽涉到人文涵養,似乎還有很多不及人類的地方;不過現在Google 的人工智慧已經會寫詩了,反觀小編只會背「床前明月光」而已,這該怎麼辦?
人工智慧除了可以用來識別圖像、可以用來和圍棋手對戰、可以用來操控機器人、可以用來作畫,現在,它又能寫詩了。先來欣賞一首:
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.
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.
乍一看,上面這些句子像是些不成規則的日常用語,但實際上卻是Google人工智慧機器寫的一首詩。用的單詞都很簡單,有一點英語基礎的人都能讀懂,但意境的話,就要靠你的想像力了。
Google 讓人工智慧學習了2865 篇愛情小說,並為其設定了一定的格式,然後它的詩詞水平就描繪出了上面這些句子。
如果你覺得第一首詩太簡單的話,這個能寫作的機器人也能擺弄出一些複雜的句子,比如下面這首:
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.
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.
看上去,這個人工智慧機器學習完言情小說之後好像也變得多愁善感起來。但實際上,它卻只是一堆接通了電流的機器零件。電影《Her》中的場景離我們還遠著呢。
按照Google工程師的說法,目前這個項目還處在比較初級的階段,想讓人機器自如的交流還有很長的路要走。
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.
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.
他沉默了許久。他沉默了片刻。言情小說中大多都是類似的情節,人工智慧自然也就只能一遍又一遍的寫這些相似的句子。Google 的工程師們給機器設計了每首詩的開頭和結尾,然後讓它們往裡面填充適當的句子進而把這些內容串起來。
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.
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.
不難看出,這些人工智慧機器書寫的詩句雖然能保證語法的準確,但都是一些簡單的句子。
當然,鑑於人工智慧會不斷地學習,沒準有一天它真的能成為一個後現代言情詩人,那個時候,不曉得它學習科幻小說的同伴會造出什麼?
下一場星球大戰的劇情或許已經在醞釀了。
延伸影片閱讀: