顯示廣告
隱藏 ✕
看板 virsey
作者 virsitility (J)
標題 [新聞] Google AI自創新加密法 無人瞭解如何運作
時間 2016-12-03 Sat. 00:18:36


看板 Gossiping
作者 prime2477 (12345678901234567890123)
標題 [新聞] Google AI自創新加密法 無人瞭解如何運作
時間 Sat Oct 29 17:39:44 2016


1.媒體來源: Ars Technica UK

2.完整新聞標題:
Google AI invents its own cryptographic algorithm; no one knows how it works

Google AI 發明了新的加密演算法; 沒有人知道它是如何運作的

Neural networks seem good at devising crypto methods; less good at
codebreaking.

神經網路看似擅長發明加密方法; 不擅於破解。

3.完整新聞內文:

SEBASTIAN ANTHONY - 28/10/2016, 20:26

Google Brain has created two artificial intelligences that evolved their own
cryptographic algorithm to protect their messages from a third AI, which was
trying to evolve its own method to crack the AI-generated crypto. The study
was a success: the first two AIs learnt how to communicate securely from
scratch.

谷歌大腦創造了兩個人工智慧,使其發展出它們的加密演算法,來保護它們之間的通訊,
以防被第三個 AI 發展出破解方法。這個研究成功的使前兩個 AI 從零開始學習如何安全
地通訊。

The Google Brain team (which is based out in Mountain View and is separate
from Deep Mind in London) started with three fairly vanilla neural networks
called Alice, Bob, and Eve. Each neural network was given a very specific
goal: Alice had to send a secure message to Bob; Bob had to try and decrypt
the message; and Eve had to try and eavesdrop on the message and try to
decrypt it. Alice and Bob have one advantage over Eve: they start with a
shared secret key (i.e. this is symmetric encryption).

谷歌大腦團隊從三個 vanilla 神經網路 (Alice, Bob, 和 Eve) 開始。每個神經網路各
指定了不同目標: Alice 必須傳送加密訊息給 Bob; Bob 必須解密訊息; Eve 必須偷聽並
破解訊息。Alice 和 Bob 比 Eve 有一個優勢: 它們有一個共享的密鑰 (也就是對稱加密
)。

http://i.imgur.com/fLbDjRK.jpg


Enlarge / The setup of the crypto system. P = input plaintext, K = shared
key, C = encrypted text, and P_Eve and P_Bob are the computed plaintext
outputs.

Enlarge / 密碼系統配置. P = 輸入明文, K = 共享密鑰, C = 密文, P_Eve 與 P_Bob
是計算後的明文輸出.

Importantly, the AIs were not told how to encrypt stuff, or what crypto
techniques to use: they were just given a loss function (a failure
condition), and then they got on with it. In Eve's case, the loss function
was very simple: the distance, measured in correct and incorrect bits,
between Alice's original input plaintext and its guess. For Alice and Bob the
loss function was a bit more complex: if Bob's guess (again measured in bits)
was too far from the original input plaintext, it was a loss; for Alice, if
Eve's guesses are better than random guessing, it's a loss. And thus an
adversarial generative network (GAN) was created.

最重要的是,沒有告訴 AI 如何加密或是指定使用某種加密技術: 只有告訴它們 loss
function (失敗條件)。Eve 的 loss function 非常簡單: 原始輸入明文與 Eve 猜測出
的明文的差距。Alice 與 Bob 的 loss function 比較複雜: 如果原始輸入明文與 Bob
猜測出的差距過大,Bob 就算是失敗; 如果 Eve 猜測出的結果好於隨機猜測,Alice 就
算是失敗。如此一個 adversarial generative network (GAN) 就被創造出來了。

Alice, Bob, and Eve all shared the same "mix and transform" neural network
architecture, but they were initialised independently and had no connection
other Alice and Bob's shared key. For Alice the key and plaintext are input
into the first layer of the neural network; for Bob the key and the
ciphertext were input; and for Eve, she got just the ciphertext. The first
layer is fully-connected, so the text and key can mix about. Following the
first layer there are a number of convolutional layers, which learn to apply
a function to the bits that were handed to it by the previous layer. They
don't know what that function might be; they just learn as they go along. For
Alice, the final layer spits out some ciphertext; Bob and Eve output what
they hope is the plaintext.

Alice, Bob, 與 Eve 都有一樣的 "mix and transform" 神經網路架構,但她們各自初始
化且沒有互相連結。Alice 是輸入密鑰與明文到第一層神經網路; Bob 是輸入密鑰與密文
; Eve只有密文。第一層是 fully-connected,所以文字與密鑰可以混合在一起。第一層之
後是數個卷積層,其學習用函數處理前一層給的位元。它們不知道函數會是什麼; 它們只
需運作就可以學習。Alice 最後會吐出密文; Bob 和 Eve 會輸出它們希望的明文。

The results were... a mixed bag. Some runs were a complete flop, with Bob
never able to reconstruct Alice's messages. Most of the time, Alice and Bob
did manage to evolve a system where they could communicate with very few
errors. In some tests, Eve showed an improvement over random guessing, but
Alice and Bob then usually responded by improving their cryptography
technique until Eve had no chance (see graph).

結果是...有好有壞。有些回合完全失敗,Bob 沒能解密出 Alice 的密文。大多數時候,
Alice 和 Bob 可以進化到只有非常少的錯誤。在一些測試中,Eve可以比隨機猜測更好,
但接著 Alice 和 Bob 就會有所反應,改善他們的加密技術直到 Eve 沒有任何機會 (見
圖)。

http://i.imgur.com/Gdv8oEj.jpg


Enlarge / Bob and Eve's reconstruction errors during training. You can see
that Eve starts to improve, but then a change in the Alice-Bob crypto method
shuts her out again.

The researchers didn't perform an exhaustive analysis of the encryption
methods devised by Alice and Bob, but for one specific training run they
observed that it was both key- and plaintext-dependent. "However, it is not
simply XOR. In particular, the output values are often floating-point values
other than 0 and 1," they said.

研究者們沒有完全分析出 Alice 和 Bob 發明的加密方法,但是在某一次訓練中,他們觀
察到該加密方法是 key- and plaintext-dependent。"然而,它並不是簡單的 XOR。尤其
輸出值是非0與1的浮點數。"

In conclusion, the researchers—Martín Abadi and David G. Andersen—said
that neural networks can indeed learn to protect their communications, just
by telling Alice to value secrecy above all else—and importantly, that
secrecy can be obtained without prescribing a certain set of cryptographic
algorithms.

最後,研究者 — Martín Abadi 和 David G. Andersen — 表示神經網路的確可以學習
保護它們的通訊,只要告訴 Alice 重視保密高於一切 — 重要的是,不用指定一組特定
的加密算法,就可以獲得保密能力。

There is more to cryptography than just symmetric encryption of data, though,
and the researchers said that future work might look at steganography
(concealing data within other media) and asymmetric (public-key) encryption.
On whether Eve might ever become a decent adversary, the researchers said:
"While it seems improbable that neural networks would become great at
cryptanalysis, they may be quite effective in making sense of metadata and in
traffic analysis."

You can read the researchers' preprint paper on arXiv.
https://arxiv.org/pdf/1610.06918v1.pdf

然而密碼學不只有對稱加密,研究者表示之後的研究可能會考慮隱寫術(用其他媒體隱藏
訊息)與非對稱(公開金鑰)加密。關於 Eve 是否會成為一個稱職的對手,研究者表示"看
起來神經網路不擅長密碼破譯,但在 metadata 和流量分析方面可能相當有效。"

4.完整新聞連結 (或短網址):
https://goo.gl/En8Hzy


5.備註:

愛麗絲與鮑伯 - 維基百科,自由的百科全書
https://goo.gl/NHGl15


--
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.169.140.43
※ 文章代碼(AID): #1O56vdLd (Gossiping)
※ 文章網址: https://www.ptt.cc/bbs/Gossiping/M.1477733991.A.567.html
moaws: 塊陶阿1F 10/29 17:40
gankgf: 我也是這樣想 但是還是有瑕疵 所以沒發表2F 10/29 17:40
avgirl: 破解密碼不如繞過去3F 10/29 17:40
bronco5229: 完蛋喇 天網來了4F 10/29 17:40
junki8957: 快推 免得以為我看不懂5F 10/29 17:41
mr955258: 塊陶R6F 10/29 17:41
rock0807: 你要記住 ,google就是天網7F 10/29 17:41
tsmcprince: 發展到連工程師也看不懂這樣8F 10/29 17:41
zergaiur: 這個我知錢就想到了! 只是覺得還不夠好,所以還沒發表而9F 10/29 17:41
Leeng: 哈哈以後就自動把admin的資料鎖起來 admin哭哭喔10F 10/29 17:41
UMADBRO: 不完全對 但也不算錯 某些地方仍有小漏洞11F 10/29 17:42
Hateson: 看不懂啦12F 10/29 17:42
BILLYTHEKID: 還不是被繞過去13F 10/29 17:42
poker0531: 要被機器人統治惹14F 10/29 17:43
OmegaWind: 跟我想的一樣   恩恩15F 10/29 17:43
linceass: yoyodiy笑而不語16F 10/29 17:43
JCS15: Eve QQ17F 10/29 17:43
Everforest: [新聞]google AI 發動政變                     2026/18F 10/29 17:43
yoyodjy: 媽阿這你翻的嗎?19F 10/29 17:43
Anonym5566: yo叔有程式別怕20F 10/29 17:43
buke: 天網要來惹…21F 10/29 17:43
sadmonkey: 等到擅長解密的AI出現就真的是世界末日了22F 10/29 17:44
Anonym5566: 淦是yo叔23F 10/29 17:44
kent21413: yoyodiy人類最後希望24F 10/29 17:44
Leeng: 幹你娘 又是Alice Bob25F 10/29 17:44
JudgmentLin: 天網來了26F 10/29 17:45
JCS15: yo叔出沒 救救Eve好嗎27F 10/29 17:45
abramtw: Bob的主機在FBI總部 end28F 10/29 17:47
darkbrigher: 天網出現 剛好美國又要發展無人戰艦 完蛋了29F 10/29 17:47
chocopie: Eve 邊緣人哭哭30F 10/29 17:47
h73o1012: 太棒了所以我可以訓練一個愛我的女友!31F 10/29 17:48
alog: 結果將超強密文解密給一般電腦解了一個月32F 10/29 17:48
alog: 得到的明文是「ㄏㄏ87」
loking: 加密演算法也可以用訓練的,真好奇類神經架構怎麼寫的...34F 10/29 17:48
CavendishJr: !!!35F 10/29 17:49
s01714: 邊緣AI36F 10/29 17:49
akway: 天網!!!!!!!!想不到人類在我有生之年會滅亡37F 10/29 17:49
momocom: yo叔是未來的約翰康納38F 10/29 17:50
retrud: 先叫他cout hello wrold39F 10/29 17:50
A1S2D3F4: 審判日要來惹 塊陶R40F 10/29 17:50
alog: Alice 表示 他媽的婊子 Eve不要搶我的 Bob41F 10/29 17:50
silentence: 慘了  人類要滅亡了42F 10/29 17:50
ge99764: 在有能力破解之前可以暫停實驗嗎43F 10/29 17:51
silentence: 要演算出消滅人類的日子也快了44F 10/29 17:51
bitlife: 這篇是UK研究,不知道可信度是否為87%?45F 10/29 17:52
q76211635: 計算如何讓地球更美好? 答案:消滅全人類46F 10/29 17:52
chocopie: Bob 表示:Alice我們跟Eve三P好噗好?可以增加AI數喔47F 10/29 17:52
DarkerDuck: 人類最後的反攻力量,由YOYODIY帶領48F 10/29 17:52
chocopie: Alice:Fuxx you.49F 10/29 17:52
kop5236: 完了 塊陶阿50F 10/29 17:52
liaon98: 天網出現時就只能靠yoyo繞過去了51F 10/29 17:54
grimmq427532: 怒噓AliceBob52F 10/29 17:55
suileen: 到時候全世界都跪在yo叔目前求破解53F 10/29 17:56
turbomons: 這是不是有點像 每天都各自用新發明的語言溝通啊54F 10/29 17:57
alog: 只要Eve正妹奶大 鄉民Bob就會放生Alice惹55F 10/29 17:57
pooznn: 天網要抓人用愛發電惹...56F 10/29 17:59
JokePtt: 內藏恐怖程式?57F 10/29 17:59
al0313: 誰叫你硬幹 繞過去不就得了58F 10/29 18:00
ananan1414: 繞過去就好拉幹嘛破解59F 10/29 18:01
Teddyseed: 沒人搞的清楚它在做啥?60F 10/29 18:02
wiston1419: 解棋譜的也看不懂alpha go在幹嘛啊61F 10/29 18:03
vance6313: 塊陶RRR62F 10/29 18:03
Kmmmmmmmmmmt: 類神經網路的人工智慧 人類都難以理解63F 10/29 18:04
fransice7: 看無喇幹64F 10/29 18:04
Tr3e: 幹,世界要毀滅了 筷陶R65F 10/29 18:05
yao03911: 跟我想的差不多66F 10/29 18:06
thousandwave: AI : 亂寫你也信67F 10/29 18:06
ahaw99: 網路型使徒68F 10/29 18:07
VVax:69F 10/29 18:09
wiston1419: 邏輯化簡結果人也很難解讀,但要電腦化簡非常容易70F 10/29 18:11
wiston1419: 不知這樣可不可類比
gaymuscle: 跟我想的一樣72F 10/29 18:13
momoisacow: you are being watched.the government has a secret73F 10/29 18:16
asmiocv: 所以人類在向一個他發明的東西學習,真奇妙74F 10/29 18:17
summerleaves: Skynet 要上線了75F 10/29 18:17
Kmmmmmmmmmmt: 人類只能知道原理 但無法預測 或解讀收斂出來的結果76F 10/29 18:20
Kmmmmmmmmmmt: 之成因
bbc0217: 幹,人類8878F 10/29 18:22
chrislai: 人類要滅亡啦  塊陶R79F 10/29 18:23
calvinhs: 天網雛形R80F 10/29 18:25
hsiehhsing: google->天網->母體             RIP terran81F 10/29 18:26
cerberi: 第10000步時Bob加入的錯誤就是為了噱Eve這個老狐狸!!82F 10/29 18:26
orze04:83F 10/29 18:29
carlos159357: 好啦好啦,我知道天網要統一世界了啦,不用一直放預84F 10/29 18:29
carlos159357: 告片進度啦,等到那天我早就躲在防空洞等yoyo康納率
carlos159357: 領反抗軍救我啦
Kmmmmmmmmmmt: 不知道原理??? 難道是煉蠱 意外產生的哦 那不是 GA?87F 10/29 18:30
followwar: 類神經網路所fit的函數dimension太高了 人類無法了解88F 10/29 18:30
orze04: 還好只是對稱加密 不是RSA89F 10/29 18:32
orze04: nn就是在練蠱阿 train出來之前沒人知道結果
rudy30832: yoyo噗嗤一笑:)91F 10/29 18:34
yu800910: yoyo大叔會直接繞過去92F 10/29 18:34
Kmmmmmmmmmmt: 只是演算法不一定是GA就是了?? 我只摸過遺傳演算93F 10/29 18:35
ccjj8: Yoyo:94F 10/29 18:36
Kmmmmmmmmmmt: 理解不能...........95F 10/29 18:37
jack0216: 最好是跟你想的一樣XDD96F 10/29 18:38
heinse: yo叔表示97F 10/29 18:41
shadleheart: yoyodiy嘴角微微上揚98F 10/29 18:41
wwvvkai: 還好 yoyodiy是人類最後的希望99F 10/29 18:42
king22649: 有趣w100F 10/29 18:43
king22649: 某種程度上來說 的確是在練蠱
nfsong: 太強了102F 10/29 18:44
king22649: 知道蠱的外型 功用 不過很難知道他怎麼想der103F 10/29 18:44
king22649: 如果層數多到靠背的話 那根本就是詳細理解不能XDD
ePaper: 完了 機器人控制人類的時代越來越近了105F 10/29 18:49
color3258: yoyodiy繞過106F 10/29 18:56
fragment1000: yoyo交給你囉107F 10/29 19:08
louis210000: 好酷,但是看不懂QAQ108F 10/29 19:08
naya7415963: 認真問 未來就算武器應用AI也不會用會學習的吧?109F 10/29 19:09
naya7415963: 這種類型的AI感覺應該是研發用
yvonstaf: 演算法要公佈,才是真的加密演算法111F 10/29 19:10
umano: Alice, Bob, 和 Eve112F 10/29 19:11
liberte: 跟我想的差不多 嗯嗯113F 10/29 19:13
BoiceSun: yo叔拯救世界114F 10/29 19:13
Zeroyeu: 完蛋了…天網在我有生之年出現115F 10/29 19:21
KongHai: 只有我看不懂嗎?116F 10/29 19:23
s13541298: 快推 免得別人以為我看不懂QQ117F 10/29 19:26
j21118: 完了 只有yo叔能解救世界了118F 10/29 19:28
nucleargod: 這個訓練出來的演算法,連發明人自己都真的不知道內容119F 10/29 19:28
nucleargod: 甚至訓練兩次會產生兩個完全不同的加密法
vikingman: 天網121F 10/29 19:32
c890317: 趕快推 不然別人以為我看不懂122F 10/29 19:33
sai5566: 跟diy小丑到底有甚麼關係,這篇講得明明就ai的進步123F 10/29 19:33
sai5566: 一群低能盲從酸民
lyu0001: 加密越複雜 電腦速度會變慢125F 10/29 19:36
timuwtpirt: yoyodiy是人類對抗天網的最後希望了126F 10/29 19:38
jackyoyo: Yoyodiy表示:127F 10/29 19:50
j900414: yo叔笑而不語128F 10/29 19:52
Rabbit19264: yo叔笑到內褲掉下來129F 10/29 20:01
parkblack: 嗯嗯  我先前也曾數度想要發表類似的看法130F 10/29 20:09
sai5566: diy搞不好跟蘇美一樣現實的魯大叔,網路真的太多盲從了131F 10/29 20:11
x2002s: 當AI決定發射核彈,這世界就由AI統治了132F 10/29 20:19
ceab: 圖靈解得出來嗎133F 10/29 20:24
orzorza3r: 當然破解不了 其實這是YO叔幫忙設計的134F 10/29 20:38
luckyalbert: 這還好吧...邊做邊刪的意思啊xD135F 10/29 20:44
tyifgee: 有點強136F 10/29 20:45
luckyalbert: 跟某個以前常在綜藝節目的遊戲很像137F 10/29 20:46
luckyalbert: 傳話帶耳機請歪國人來傳
luckyalbert: 更簡單的AI想法=》某人偷吃小三不想讓元配知道
WindSucker: YOYO已繞過140F 10/29 21:25
stock0907 
stock0907: 愛你濕加蜜,鮑勃解碼,夏娃偷窺還要破處 @@!?141F 10/29 21:28
aromaQ626: Alice正妹142F 10/29 21:33
nura: Eve被排擠QQ143F 10/29 22:00
zerodsw: AI:人類真好騙,我丟亂碼他們還以為是加密144F 10/29 22:05
nasvacta: 坐看yoyo繞爆alice145F 10/29 22:13
kikujiro: 嗯嗯,跟我放在抽屜的計算紙寫的差不多146F 10/29 22:18
faxy: 機械公敵!147F 10/29 22:19
tw88: 之前霍金教授說過:人工智慧會使人類掰掰!148F 10/29 22:21
PigBlood: 駭客任務起點149F 10/29 22:22
hungkuang: 要通過圖靈測試了嗎150F 10/30 01:56
qaz12453: 破解?交給yoyodiy繞過去 就好啦151F 10/30 07:19
manaup: 不把Eve換成yoyo 別放膽說這加密有強度152F 10/30 13:54
creepish: adversarial generative network (GAN) 妳才gan153F 10/30 16:32
eterbless: 誰快點把約翰康納找出來 人類的未來要靠他了154F 10/31 11:38
Siu: 加密有可能解不出來有點可愛155F 10/31 12:56
pcchou: 哇xDD156F 10/31 20:10
※ 編輯: prime2477 (36.226.102.159), 11/01/2016 02:55:15
推文自動更新已關閉
本網站已依台灣網站內容分級規定處理。此區域為限制級,未滿十八歲者不得瀏覽。


--
※ 作者: virsitility 時間: 2016-12-03 00:18:37
※ 看板: virsey 文章推薦值: 0 目前人氣: 0 累積人氣: 368 
分享網址: 複製 已複製
guest
x)推文 r)回覆 e)編輯 d)刪除 M)收藏 ^x)轉錄 同主題: =)首篇 [)上篇 ])下篇