當前位置:
首頁 > 最新 > 等不及馬丁新作,人工智慧續寫《冰與火之歌》

等不及馬丁新作,人工智慧續寫《冰與火之歌》

從第一季拖到第七季,《權力的遊戲》的凜冬終於來了,囧雪和龍母匯合,夜王也帶著他的異鬼大軍攻破了長城,然而維斯特洛大陸上的生死大戰剛拉開帷幕,第七季就這麼結束啦。據《權游》演員透露,劇終季第八季至少要等到明年秋季才能播出。

為了給苦苦等待的粉絲們找點樂趣,軟體工程師Zack Thoutt讓循環神經網路人工智慧技術學習該劇原著《冰與火之歌》前五部的內容,然後續寫五章劇情。這些人工智慧創作的情節與粉絲早前的一些推測部分吻合,比如,詹姆最終殺死了瑟曦,囧雪成了龍騎士,而瓦里斯毒死了龍母。如果你感興趣,可以在GitHub的主頁上查看所有章節。

下面來了解一下人工智慧是如何做到的:

After feeding a type of AI known as a recurrent neural network the roughly 5,000 pages of Martin's five previous books, software engineer Zack Thoutt has used the algorithm to predict what will happen next.

軟體工程師Zack Thoutt讓一種名為循環神經網路的人工智慧技術學習了《冰與火之歌》前五部近5000頁的內容,然後利用該演算法預測接下來的情節。

According to the AI's predictions, some long-held fan theories do play out - in the five chapters generated by the algorithm so far, Jaime ends up killing Cersei, Jon rides a dragon, and Varys poisons Daenerys.

根據人工智慧的預測,一些粉絲早前的推測的確出現了。在該演算法目前撰寫的五章內容中,詹姆最終殺死了瑟曦,囧雪成了龍騎士,而瓦里斯毒死了龍母。

如果你感興趣,可以在GitHub的主頁上查看所有章節。附上傳送門:

https://github.com/zackthoutt/got-book-6/tree/master/generated-book-v1

Each chapter starts with a character's name, just like Martin's actual books.

和馬丁本人撰寫的小說一樣,每章打頭的文字都是一個角色的名字。

But in addition to backing up what many of us already suspect will happen, the AI also introduces some fairly unexpected plot turns that we're pretty sure aren't going to be mirrored in either the TV show or Martin's books, so we wouldn't get too excited just yet.

不過,我們也不要太過興奮,因為除了存在很多人已經預測會發生的劇情外,這個人工智慧演算法還引入了一些令人意外的情節,它們絕對不會出現在電視劇或馬丁的小說中。

For example, in the algorithm's first chapter, written from Tyrion's perspective, Sansa turns out to be a Baratheon.

例如,演算法編寫的第一章從小惡魔的視角寫道,珊莎其實屬於拜拉席恩家族。

There's also the introduction of a strange, pirate-like new character called Greenbeard.

書中還出現了一個名叫Greenbeard的怪咖,這個新角色的身份和海盜類似。

"It's obviously not perfect," Thoutt told Sam Hill over at Motherboard. "It isn't building a long-term story and the grammar isn't perfect. But the network is able to learn the basics of the English language and structure of George R.R. Martin's style on its own."

Thoutt在接受Motherboard採訪時告訴山姆?希爾,「這個演算法顯然並不完美,它不能編寫長篇故事,語法也有問題。但是神經網路可以自學英語的基本語言知識以及馬丁的文風結構。」

Neural networks are a type of machine learning algorithm that are inspired by the human brain's ability to not just memorize and follow instructions, but actually learn from past experiences.

神經網路是一種機器學習演算法,設計靈感來自於人腦的記憶能力、遵循指令的能力以及從過去經驗學習的能力。

A recurrent neural network is a specific subclass, which works best when it comes to processing long sequences of data, such as lengthy text from five previous books.

一個循環神經網路是一個特定的子集,最擅長處理長的數據序列,比如《冰與火之歌》前5部冗長的文本。

In theory, Thoutt's algorithm should be able to create a true sequel to Martin's existing work, based off things that have already happened in the novels.

理論上,Thoutt的演算法應該能基於書中已經出現的劇情創作出《冰與火之歌》真正的續集。

But in practice, the writing is clumsy and, most of the time, nonsensical. And it also references characters that have already died.

但實際上,這個演算法的寫作能力還很低級,大部分內容都不知所云,還會提到已經死掉的角色。

"A perfect model would take everything that has happened in the books into account and not write about characters being alive when they died two books ago," Thoutt told Motherboard.

Thoutt告訴Motherboard:「完美的演算法模型能把書中的所有劇情考慮在內,且不會再讓兩部以前去世的角色再次復活。」

"The reality, though, is that the model isn't good enough to do that. If the model were that good authors might be in trouble ... but it makes a lot of mistakes because the technology to train a perfect text generator that can remember complex plots over millions of words doesn't exist yet."

「然而,實際上這個演算法現在還不夠完善。如果它有那麼完美的話,作家們可能就要丟飯碗了……完美的文字創作機器可以記住數百萬字的複雜劇情,現在的技術還不能訓練出這種功能,它會犯很多錯誤。」

One of the main limitations here is the fact that the books just don't contain enough data for an algorithm.

最主要的局限之一是書中包含的數據對一個演算法而言是不夠的。

Although anyone who's read them will testify that they're pretty damn long, they actually represent quite a small data set for a neural network to learn from.

雖然《冰與火之歌》的讀者都認為這部小說太長了,但是對於神經網路要學習的數據集來說,這些內容太少了。

But at the same time they contain a whole lot of unique words, nouns, and adjectives which aren't reused, which makes it very hard for the neural network to learn patterns.|

此外,書中包含了許多獨特的辭彙、名詞和形容詞,它們不能重複出現,這使得神經網路很難學習到模式。

Thoutt told Hill that a better source would be a book 100 times longer, but with the level of vocabulary of a children's book.

Thoutt告訴希爾,更合適的數據源是一本比《冰與火之歌》長100倍,且辭彙水平相當於兒童圖書的書籍。

點擊展開全文

喜歡這篇文章嗎?立刻分享出去讓更多人知道吧!

本站內容充實豐富,博大精深,小編精選每日熱門資訊,隨時更新,點擊「搶先收到最新資訊」瀏覽吧!


請您繼續閱讀更多來自 中國日報英語點津 的精彩文章:

奢侈品牌成京東天貓新戰場
從走路吹風機到黃油擦絲器:最怪誕的日本發明
伊朗禁止醜人當老師 包括多毛女和痤瘡男
英國男子浮誇碰瓷未果!遭女車主嘲笑「傻帽」
還記得毀於ISIS之手的摩蘇爾圖書館嗎?有人正在努力重建它

TAG:中國日報英語點津 |

您可能感興趣

胡歌新劇或將超越《琅琊榜》,孔笙導演又一力作,網友:等不及了
《極限挑戰》剛剛收官,羅志祥就和小嶽嶽上新節目,網友:等不及
楊冪演的新劇「扶搖皇后」新劇照,觀眾們聲稱「早已等不及」
《奔跑吧》才收官,楊穎陳赫轉頭又一新綜?光看嘉賓團就等不及
等不及的歌劇:《美女與野獸》
《倩女幽魂》翻拍,鄭爽出演女主,男主曝光後網友:等不及要追劇
等不及!抖森曝《洛基》新進展或將開啟新時間線
《琅琊榜2》片場照,劉昊然佟麗婭忙著煮火鍋,黃曉明等不及要先吃
《魔獸世界》懷舊服即將上線,陳赫等眾星道賀,網友:等不及了
沙贊製作人想儘快拍續集,巨石強森都等不及了!
高雲翔還沒涼就等不及,李晨合作范冰冰重拍《巴清傳》圖片曝光
「猜畫小歌」通關了沒?新登場的谷歌AI玩具等不及了
《封神演義》正熱播,鄧倫又一新劇來襲,光看主演陣容都等不及了
等不及?傳藍軍門神推動自己加盟皇馬!ESPN:意甲雙雄搶曼聯兩星
《戰神》之父力挺《超越善惡2》全程聯網,稱「等不及與網友大辯一場!」
《德魯大叔》大電影最新預告,等不及了!
沈夢辰杜海濤終於官宣婚期,怒邀樂華七子參加,網友:等不及了!
張嘉譯再接新劇,女主被定是她,網友:等不及了!
新海誠新作《天氣之子》 我已經等不及想看了!
繼《最好的我們》,譚松韻又1部劇未播先火,網友:等不及了