特別節目·中文精讀

約書亞·本吉奧:深度學習

Yoshua Bengio: Deep Learning

深度學習先驅談神經網路的發展脈絡、注意力機制與表示學習的核心思想。

官方音訊00:00 / --:--
中文精讀由 AI 基於原始訪談改寫,非官方翻譯,可能存在偏差或錯誤;表述以原音訊與官方文稿為準。說明

一個成年人能回憶起去年做過的某個決定,然後因為今天看到的新證據,回過頭去改變當初的判斷。下次再遇到類似情況,他不會犯同樣的錯誤。當前的神經網路做不到這件事。

Yoshua Bengio 在 2018 年 10 月和 Lex Fridman 對談時,反覆回到這個問題。他把它叫做信用分配(credit assignment)的時間跨度問題。

現有的 LSTM 和各類序列模型,處理幾十到幾百個時間步的依賴還算稱職。跨度再拉長,記憶就開始衰減,效果越來越差。人類卻可以把信用分配延伸到幾乎任意長的時間尺度上。

Bengio 認為這裡有一個被低估的機制:遺忘。人腦會極其高效地篩選記憶,只留下真正重要的東西。什麼能進入意識,什麼被寫進長期記憶,這個選擇過程本身就涉及意識、決策和情緒,遠不是簡單的儲存問題。

我們最近研究的一件事,是生物神經網路怎麼做而我們不知道、但對人工網路極其有用的能力:在極長的時間跨度上做信用分配。(Yoshua Bengio)

這種生物做得到、人工做不到的錯位,在他看來是個雙向機會。人工網路裡沒有對應的理論,這促使我們去更好地理解大腦。反過來,大腦的不同做法可能給人工網路提供新思路。

神經網路眼中的世界,比人類淺得多

Bengio 對當前深度學習狀態的判斷很直接。在大規模影象或文字上訓練出來的頂尖網路,確實掌握了一些關於資料集的解釋,但這個理解非常基礎,非常低層。它不夠穩健,不夠抽象,不夠通用。

這個判斷本身不告訴我們怎麼修。但它提示了一個方向:能不能換一種訓練方式,讓網路把注意力放在因果解釋上?現在的神經網路訓練裡,基本沒有這一環。

另一個方向是語言和世界的聯合學習。今天的研究往往把影象影片放一邊,文字放另一邊,各學各的。Bengio 認為應該讓兩邊互相幫忙。要讓網路真正理解一句描述現實世界的句子,它需要一個足夠好的世界模型。反過來,語言輸入能提供線索,告訴網路高層語義概念應該長什麼樣。

有證據表明,純無監督學習得到的表徵,不如監督學習得到的高層表徵強大。僅僅靠標籤給出的線索,就已經非常非常高層了。(Yoshua Bengio)

這個觀察值得多停一會兒。很多人預設無監督學習才是通往通用智慧的正路,監督學習只是權宜之計。Bengio 在這裡指出的是,哪怕只有標籤這種極簡的監督訊號,它帶來的表徵質量提升也已經相當可觀。這個事實在討論未來路線時不應該被忘掉。

問題既不在架構,也不在資料集

Lex 問,這到底是架構的挑戰還是資料集的挑戰。Bengio 的回答是:都不是。他開玩笑說自己很想就此打住,但還是解釋了。

資料集和架構當然要一直折騰。但真正關鍵的東西在訓練目標和訓練框架上。

他舉了幾個例子。從被動觀察資料,轉向更主動的智慧體,透過干預世界來學習因果關係。設計合適的目標函式,讓最高層的解釋能從學習過程中自然浮現。設計獎勵探索的目標函式,而且是獎勵正確型別的探索。

這些東西既不在資料集裡,也不在架構裡,而在怎麼學、用什麼目標學這個層面。

談到兒童學習,Bengio 提到他剛和 Rebecca Saxe 聊過。大量來自嬰兒研究的證據顯示,嬰兒會以非常定向的方式挑選自己感興趣的東西。他們會主動把注意力集中在世界上那些最有趣、以非平凡方式令人驚訝的部分。正是這些部分促使他們更新自己對世界的理論。

繼續變大變深有用,但遠遠不夠

Bengio 對堆規模這件事的態度是:會帶來顯著進步,但不夠。

工程團隊、公司、實驗室、研究生會繼續調架構,探索各種小改動,讓當前的最優結果再好一點點。他不覺得這條路能走到終點。真正的目標應該是讓學習者深入理解它所觀察和行動的環境,這需要學習方式本身發生變化。

Lex 追問的是另一個層面的問題:一旦找到透過互動學習的方法,儲存這些資訊需要多少引數?Bengio 承認,要構建具備普通成年人那種廣泛世界知識的神經網路,現在這點算力大機率不夠。好訊息是硬體公司在做神經網路晶片,情況會變好。

但還有一個更尷尬的事實。哪怕是最頂尖的深度學習方法,連非常簡單的環境都學不明白。比如他們搭的一些網格世界(grid world),環境簡單到不能再簡單。用足夠多的例子硬灌,最終能學會。可人類可能只需要幾十個例子,這些系統要幾百萬個。

我認為這給沒有 Google 那種算力的學術研究者一個機會,去做真正重要、激動人心的研究,推進訓練框架、學習模型、智慧體學習的前沿,哪怕環境是合成的、看起來很平凡,但當前機器學習就是搞不定。(Yoshua Bengio)

常識為什麼編碼不進去

上世紀 80 年代,符號 AI 把知識表示、知識獲取、專家系統當成核心問題來攻。後來這條路基本被擱置了。原因很簡單:它不 work。

但 Bengio 強調,那些目標本身依然重要。他相信經典專家系統失敗的一個原因是,人類擁有的很多知識根本不在意識層面。我們做的很多決定沒法解釋,有時候還會事後編個故事出來。而這類知識恰恰是機器做決策時也需要的。它很難被寫成規則,很難塞進專家系統和經典 AI 的形式化框架裡。

老 AI 還有其他問題,比如處理不確定性的手段不夠好。不過 Bengio 認為更深層的問題在於分散式表徵(distributed representations)。

神經網路的威力來自一大團引數緊密協作,共同表示網路知道的所有東西。這種表示方式在符號世界裡很難復現。專家系統裡的知識被整齊地拆成一堆規則,每條規則各管一攤。神經網路是反過來的。

問題就在這裡:它不夠因子化(factorized)。Bengio 認為這是當前神經網路的一大弱點。我們需要從經典 AI 那裡取經,把語言和規則裡那種組合性(compositionality)引進來,而組合性在神經網路裡並不天然存在。

變數要解耦,規則也要解耦

順著這個思路,就繞不開解耦表徵(disentangled representations)。

Bengio 很多年前就在想這件事,至今仍然相信它重要:設計一種學習演算法,不管無監督、監督還是強化學習,讓表徵裡的重要因素,最好是因果因素,被清晰地分開,容易從表徵裡提取出來。用一句話概括,就是把資料變換到一個空間,讓一切變得簡單,簡單到用線性模型就能學會我們關心的東西。

但他現在覺得,這個想法漏掉了一個關鍵成分。而這個成分,經典 AI 系統可以提醒我們。

假設我們有了解耦表徵。變數之間還是需要學習它們的關係。這些高層語義變數不會彼此獨立,它們之間有有意思的關聯,能用來預測未來、解釋過去。

在經典 AI 裡,這種關於變數關係的知識編碼在規則裡。一條規則就是一小塊知識,說的是這幾個變數以某種方式關聯,知道其中幾個就能推斷另外幾個。

所以,除了把表徵裡的元素解耦(相當於規則系統裡的變數),還需要把連線這些變數的機制解耦,也就是規則本身。

規則是各自獨立的。我因為學習而改動一條規則,不需要破壞其他規則。而當前的神經網路對災難性遺忘非常敏感,學了新東西之後,舊東西可能被毀掉。如果知識被更好地因子化、分離、解耦,很多這類問題就能避免。(Yoshua Bengio)

Bengio 承認,在感官層面做不到這件事。畫素空間裡,資訊以極其複雜的方式糾纏在一起,變數之間完全相互依賴,計算也交織在一起。但他假設,在合適的高層表徵空間裡,變數和變數之間的關係都可以被解耦。這會帶來巨大的泛化能力。

人類怎麼讀懂一本科幻小說

泛化能力,指向的是當前機器學習一個根本弱點:它預設測試集分佈和訓練集分佈相同。

它沒法告訴我們,一個神經網路面對新分佈時會表現如何。有人會說,不知道新分佈長什麼樣,當然沒法預測。但人類就是能泛化到新分佈。憑什麼?

Bengio 給了一個很具體的例子。你讀一本科幻小說,小說把你帶到某個外星球,表面上一切都很不一樣。但物理定律還是那套。你能讀懂這本書,理解發生了什麼。因為你可以把在地球上學到的關於底層因果關係、物理機制甚至社會互動的知識遷移過去,於是這個視覺上完全陌生的星球變得可以理解。

這些新分佈雖然看起來可能和訓練分佈非常不同,但它們有共同的東西。(Yoshua Bengio)

這段話背後的意思值得琢磨。當前機器學習缺少的,正是一種能夠捕捉底層因果機制、從而遷移到新分佈的模型。訓練分佈和測試分佈共享的那些東西,就是人類泛化能力的來源。

短期的風險,比天網更值得擔心

Lex 把話題轉向 AI 安全。他提到,在 AI 圈子之外,有相當大一群人擔心人工智慧的存在性威脅。

Bengio 先做了一個區分:AI 圈子內部該有的討論,和真正對公眾重要的討論,是兩回事。

終結者式的畫面,AI 失控殺人,超級智慧不惜一切代價毀滅人類,這些對公眾討論幫助不大。他認為真正重要的是短期和中期那些大機率會發生的負面影響。安全層面的老大哥場景,人臉識別,致命性自主武器。就業市場受到的衝擊。權力集中和歧視。這些社會問題裡,有些真的可能威脅民主。

他特別澄清了一句,說的 killer robots 指的是自主武器系統。

至於存在性風險,Bengio 的措辭很謹慎。對他個人而言,這類風險極不可能發生,但仍然值得學術界研究,就像研究隕石撞擊地球的可能性一樣。AI 失控這類場景,和他所理解的當前機器學習、當前神經網路是對不上的,他覺得不成立。但他也承認自己沒有水晶球,誰知道 50 年後的 AI 是什麼樣。

科學家應該研究這些問題。只是對我來說,它不是緊迫問題。(Yoshua Bengio)

科學不是一個人在黑屋子裡搞出來的

談到《機械姬》(Ex Machina),Bengio 說自己有喜歡的地方也有討厭的地方。討厭的是,這部電影對科學的描繪完全錯了。

科學不是在某個隱秘的地方、由某個絕頂聰明的人獨自完成的。這完全不現實。就算是一群人在一個與世隔絕的地方,也做不成。科學靠的是大量研究者組成的社群互相協作,一小步一小步往前走。所有領域內的專家,包括工業實驗室裡的,大致都知道正在發生什麼,資訊會流動,會洩露。電影里科學的那種氣質和真實情況差得很遠。

Lex 追問:到目前為止,即使研究發生在 Google 或 Facebook 內部,想法最終還是會流出來。AI 會一直這樣嗎?有沒有可能把想法捂得嚴嚴實實,某些突破完全不為外界所知?

Bengio 的回答是:有可能,但不太可能。現在不是這麼運作的,在可預見的未來他也看不到這種可能。但他再次強調,他沒有水晶球。

他借這個話題講了一個更重要的原則:研究需要多樣性。

研究是在想法空間裡的探索。不同的人關注不同方向。這不只是好事,是必需的。他對別人探索和他相反或正交的方向完全接受,甚至覺得這很重要。他和他的朋友們不聲稱自己掌握了關於未來的普遍真理。

我們有我們的直覺,然後據此行動,選擇我們認為最能發揮作用、社會收益最大或損失最小的地方。我們應該有這些爭論,而不是最終走到一個只有一種聲音、一種思維方式的社會,研究經費也被集中分配。(Yoshua Bengio)

分歧是好的研究、好的科學的標誌。Lex 提到,討論到一半燈滅了,他覺得這有點不祥。這個插曲和 Bengio 講的科學觀放在一起,倒有點意思。

偏見能修,但需要強制

關於機器學習中的偏見(bias),Bengio 分短期和長期來看。

短期,已經有技術被提出來,而且會繼續改進。對於那些已知存在偏見的資料集,偏見是可以被測量的。任何記錄了人類決策的資料集,幾乎都帶有某種偏見,對特定群體的歧視等等。可以用機器學習技術構建偏見更小的預測器、分類器。比如用對抗方法,讓系統對那些它本不該敏感的變數變得不敏感。

這些方法有明確的定義,也有弱點,還需要更多研究。但 Bengio 認為它們已經足夠成熟,政府應該開始監管那些偏見真正要緊的公司,比如保險公司,強制它們使用這些技術。

這些技術很可能會減少偏見,但有代價。比如預測可能變得不那麼準,公司不會主動去做,除非你強制它們。(Yoshua Bengio)

長期,他感興趣的是怎麼把道德價值觀灌輸進計算機。這顯然不是未來五到十年能實現的。目前已經有工作在做影象、聲音、文字中的情緒檢測,也在研究不同智慧體以不同方式互動時,怎樣對應到不公正的模式,進而觸發憤怒。

Bengio 說,最簡單的情形就是不公正的場景觸發憤怒,這是人類和其他動物共有的最基本的情緒之一。他判斷,未來幾年內構建能檢測這類情況的系統是可行的,前提是系統對周圍世界有足夠的理解,而這本身還很遙遠。可以先在虛擬環境裡做。設想一個電子遊戲,智慧體們以某種方式互動,某些情境觸發情緒,訓練機器去檢測這些情境,並預測如果玩家操控其中一個角色,大機率會感受到哪種情緒。

從標註到機器教學

Bengio 對無監督學習投入很多,但他也承認監督學習這條線取得了大量成果。他真正在意的一個方向是人類和機器人如何協作,放在監督學習的語境裡,就是標註(annotation)過程。

Lex 把這個問題換了個說法:人類教機器。Bengio 覺得這個說法很好。把問題簡化成標註,對明天就要搭系統的人有用。但更長遠看,教學這個過程本身值得機器學習社群投入多得多的注意力。

已經有人提出了機器教學(machine teaching)這個詞。好的教學策略是什麼?能不能設計並訓練一個系統,讓它成為好老師?

Bengio 的組裡有一個叫 BBI 的專案,一個遊戲或場景,裡面有一個學習智慧體和一個教學智慧體。教學智慧體最終應該由人類來扮演,但現在還沒到那一步。老師的職責,是利用它對環境的瞭解(可以透過任何粗暴的方式獲得),幫學習者儘快學會。學習者自己嘗試,可能會探索。老師可以影響和學習者的互動,引導學習者,比如教它最吃力的部分,或者找到它已知和未知之間的邊界。

未來會有越來越多人在環路中的人機互動。理解怎麼讓這件事運作得更好,圍繞它的所有問題都很有意思,而且沒有得到足夠的關注。(Yoshua Bengio)

對話裡最難的是語言之外的東西

Lex 問 Bengio,傳統圖靈測試裡,對話的哪個部分在他看來最難解決。

Bengio 的答案是:一切和語言之外的知識相關的東西。這些知識是你理解句子時隱式需要的。他舉了 Winograd schema 的例子,這類句子語義上有歧義,必須對世界有足夠的瞭解才能真正正確解讀。

這類挑戰有意思的地方在於,它指向的是同時理解世界如何運作、理解世界中的因果關係,並且把這種知識和語言表達方式關聯起來的系統,無論閱讀還是寫作。

Bengio 的母語是法語。Lex 問,透過圖靈測試以及背後那些挑戰,會不會依賴於具體語言,法語會不會比英語容易?Bengio 認為和語言無關。他希望構建的系統能用同樣的原則、同樣的學習機制從人類智慧體那裡學習,不管對方用什麼語言。

他承認語言之間有差異,也許某些語言在某類表達上稍微強一點。但在理解大腦如何工作、理解語言這件事的大框架下,這些差異很細微。

AI 寒冬裡靠什麼撐過來

Bengio 經歷過 AI 寒冬。Lex 問他怎麼保持熱度、繼續研究。他的回答很簡潔:和朋友一起取暖。

他從這段經歷裡學到的,是聽從內心的聲音。不要只想著取悅人群和時尚。如果你對某件事有強烈的直覺,而且它沒有被實際證據推翻,就去做。它可能被別人否定,但不該被自己的直覺否定,前提是直覺建立在學到的一切之上。

當然,當實驗和信念衝突時,必須調整信念。但該堅持的時候要堅持。正是這一點讓他走過那些年,讓他在那些需要時間成熟、需要時間結果的方向上堅持下來,不管別人怎麼想。

聽從你內心的聲音。不要只想著取悅人群和時尚。如果你對某件事有強烈的直覺,而且它沒有被實際證據推翻,就去做。(Yoshua Bengio)

AlphaGo 時刻被高估了

AI 的歷史上有技術突破,也有那些抓住整個社群想象力的標誌性事件。最近的例子是 AlphaGo 擊敗人類圍棋世界冠軍。

Bengio 覺得這類所謂標誌性事件被高估了。科學真正靠的是一小步一小步走。你多走了一小步,正好是裝滿水桶的那一滴,然後產生劇烈後果,因為你突然能做到之前做不到的事,或者某個裝置、某個問題的成本降到比現有方案更低,新市場開啟了。在商業和應用世界裡,一點科學進步的影響可能巨大。但在科學本身裡,它是非常非常漸進的。

那麼現在這些小步發生在哪裡?Bengio 點了兩個最難的方向:生成對抗網路(GANs)和強化學習。

蒙特利爾尤其如此,兩三年前強化學習在這裡幾乎缺席,現在學生興趣很大,像他這樣的人興趣也很大。這個方向會看到更多進展,儘管它還沒有帶來多少實際的工業產出。就算有 AlphaGo,Google 現在也沒靠它賺錢。但長期看,它非常重要。

他更願意把強化學習理解為更一般的智慧體學習,因為不一定非要有獎勵,智慧體可以透過各種方式瞭解環境。

至於 GANs,或者更廣的生成模型,Bengio 相信它們會是構建能理解世界的智慧體的關鍵成分。過去強化學習的很多成功用的是策略梯度(policy gradient),直接學一個策略,不學世界模型。但這種方法問題很多。基於模型的強化學習(model based RL)現在還不知道怎麼做,但這是必須走的方向,為了構建能更快更好地泛化、至少能部分捕捉世界底層因果機制的模型。

科幻小說領進門

最後一個問題。是什麼讓 Bengio 愛上人工智慧?回頭看,生命裡第一個讓他著迷的瞬間是什麼?

他十幾歲的時候讀了很多書,後來開始讀科幻小說。就是那裡,他被鉤住了。再後來,他有了最早的幾臺個人電腦,又迷上了程式設計。從科幻開始,然後把它變成現實。

給讀者的行動建議

  • 如果你想進入 AI 研究但算力有限,別隻盯著大模型。Bengio 明確說,簡單的網格世界、合成環境裡,當前機器學習都搞不定,這裡面有大量重要問題等著被解決,對學術研究者是機會。
  • 關注訓練目標和訓練框架,不要只在架構和資料上做文章。主動智慧體、干預世界學習因果、獎勵正確型別的探索,這些方向比繼續加深網路更可能帶來質變。
  • 讀一讀經典 AI 關於知識表示和規則系統的工作。Bengio 認為神經網路的弱點是不夠因子化,組合性要從經典 AI 那裡借。變數要解耦,連線變數的機制也要解耦。
  • 做研究時保留多樣性,接受和自己方向相反或正交的探索。分歧是好的科學的標誌。
  • 如果你想做 AI 倫理或安全,把重心放在短期和中期影響上:人臉識別、自主武器、就業衝擊、權力集中、歧視。這些比存在性風險緊迫得多。
  • 在偏見問題上,短期可以推動企業採用對抗方法等技術,並呼籲政府在保險等關鍵領域強制監管。代價是預測精度可能下降,所以需要外力推動。
  • 留意機器教學這個方向。未來會有越來越多人在環路中的人機互動,怎麼教一個學習智慧體,是一個被低估的問題。
  • 如果你在 AI 寒冬或低谷期,Bengio 的建議是:聽從內心聲音,堅持有證據支援的強直覺,別隻想著取悅潮流。
文稿來自公開 Kaggle 資料集(rajneesh231/lex-fridman-podcast-transcript),為早期自動轉錄存檔,可能存在識別錯誤。
What difference between biological neural networks and artificial neural networks is most mysterious, captivating, and profound for you? First of all, there's so much we don't know about biological neural networks, and that's very mysterious and captivating because maybe it holds the key to improving artificial neural networks. One of the things I studied recently is something that we don't know how biological neural networks do but would be really useful for artificial ones is the ability to do credit assignment through very long time spans. There are things that we can in principle do with artificial neural nets, but it's not very convenient and it's not biologically plausible. And this mismatch, I think this kind of mismatch may be an interesting thing to study to, A, understand better how brains might do these things because we don't have good corresponding theories with artificial neural nets, and B, maybe provide new ideas that we could explore about things that brain do differently and that we could incorporate in artificial neural nets. So let's break credit assignment up a little bit. Yes. So what, it's a beautifully technical term, but it could incorporate so many things. So is it more on the RNN memory side, that thinking like that, or is it something about knowledge, building up common sense knowledge over time? Or is it more in the reinforcement learning sense that you're picking up rewards over time for a particular, to achieve a certain kind of goal? So I was thinking more about the first two meanings whereby we store all kinds of memories, episodic memories in our brain, which we can access later in order to help us both infer causes of things that we are observing now and assign credit to decisions or interpretations we came up with a while ago when those memories were stored. And then we can change the way we would have reacted or interpreted things in the past, and now that's credit assignment used for learning. So in which way do you think artificial neural networks, the current LSTM, the current architectures are not able to capture the, presumably you're thinking of very long term? Yes. So current, the current nets are doing a fairly good jobs for sequences with dozens or say hundreds of time steps. And then it gets harder and harder and depending on what you have to remember and so on, as you consider longer durations. Whereas humans seem to be able to do credit assignment through essentially arbitrary times, like I could remember something I did last year. And then now because I see some new evidence, I'm going to change my mind about the way I was thinking last year. And hopefully not do the same mistake again. I think a big part of that is probably forgetting. You're only remembering the really important things. It's very efficient forgetting. Yes. So there's a selection of what we remember. And I think there are really cool connection to higher level cognition here regarding consciousness, deciding and emotions, so deciding what comes to consciousness and what gets stored in memory, which are not trivial either. So you've been at the forefront there all along, showing some of the amazing things that neural networks, deep neural networks can do in the field of artificial intelligence is just broadly in all kinds of applications. But we can talk about that forever. But what, in your view, because we're thinking towards the future, is the weakest aspect of the way deep neural networks represent the world? What is that? What is in your view is missing? So current state of the art neural nets trained on large quantities of images or texts have some level of understanding of, you know, what explains those data sets, but it's very basic, it's it's very low level. And it's not nearly as robust and abstract and general as our understanding. Okay, so that doesn't tell us how to fix things. But I think it encourages us to think about how we can maybe train our neural nets differently, so that they would focus, for example, on causal explanation, something that we don't do currently with neural net training. Also, one thing I'll talk about in my talk this afternoon is the fact that instead of learning separately from images and videos on one hand and from texts on the other hand, we need to do a better job of jointly learning about language and about the world to which it refers. So that, you know, both sides can help each other. We need to have good world models in our neural nets for them to really understand sentences, which talk about what's going on in the world. And I think we need language input to help provide clues about what high level concepts like semantic concepts should be represented at the top levels of our neural nets. In fact, there is evidence that the purely unsupervised learning of representations doesn't give rise to high level representations that are as powerful as the ones we're getting from supervised learning. And so the clues we're getting just with the labels, not even sentences, is already very, very high level. And I think that's a very important thing to keep in mind. It's already very powerful. Do you think that's an architecture challenge or is it a data set challenge? Neither. I'm tempted to just end it there. Can you elaborate slightly? Of course, data sets and architectures are something you want to always play with. But I think the crucial thing is more the training objectives, the training frameworks. For example, going from passive observation of data to more active agents, which learn by intervening in the world, the relationships between causes and effects, the sort of objective functions, which could be important to allow the highest level explanations to rise from the learning, which I don't think we have now, the kinds of objective functions, which could be used to reward exploration, the right kind of exploration. So these kinds of questions are neither in the data set nor in the architecture, but more in how we learn, under what objectives and so on. Yeah, I've heard you mention in several contexts, the idea of sort of the way children learn, they interact with objects in the world. And it seems fascinating because in some sense, except with some cases in reinforcement learning, that idea is not part of the learning process in artificial neural networks. So it's almost like, do you envision something like an objective function saying, you know what, if you poke this object in this kind of way, it would be really helpful for me to further learn. Right, right. Sort of almost guiding some aspect of the learning. Right, right, right. So I was talking to Rebecca Sacks just a few minutes ago, and she was talking about lots and lots of evidence from infants seem to clearly pick what interests them in a directed way. And so they're not passive learners, they focus their attention on aspects of the world, which are most interesting, surprising in a non trivial way. That makes them change their theories of the world. So that's a fascinating view of the future progress. But on a more maybe boring question, do you think going deeper and larger, so do you think just increasing the size of the things that have been increasing a lot in the past few years, is going to be a big thing? I think increasing the size of the things that have been increasing a lot in the past few years will also make significant progress. So some of the representational issues that you mentioned, they're kind of shallow, in some sense. Oh, shallow in the sense of abstraction. In the sense of abstraction, they're not getting some... I don't think that having more depth in the network in the sense of instead of 100 layers, you're going to have more layers. I don't think so. Is that obvious to you? Yes. What is clear to me is that engineers and companies and labs and grad students will continue to tune architectures and explore all kinds of tweaks to make the current state of the art slightly ever slightly better. But I don't think that's going to be nearly enough. I think we need changes in the way that we're considering learning to achieve the goal that these learners actually understand in a deep way the environment in which they are, you know, observing and acting. But I guess I was trying to ask a question that's more interesting than just more layers. It's basically, once you figure out a way to learn through interacting, how many parameters it takes to store that information. So I think our brain is quite bigger than most neural networks. Right, right. Oh, I see what you mean. Oh, I'm with you there. So I agree that in order to build neural nets with the kind of broad knowledge of the world that typical adult humans have, probably the kind of computing power we have now is going to be insufficient. So the good news is there are hardware companies building neural net chips. And so it's going to get better. However, the good news in a way, which is also a bad news, is that even our state of the art, deep learning methods fail to learn models that understand even very simple environments, like some grid worlds that we have built. Even these fairly simple environments, I mean, of course, if you train them with enough examples, eventually they get it. But it's just like, instead of what humans might need just dozens of examples, these things will need millions for very, very, very simple tasks. And so I think there's an opportunity for academics who don't have the kind of computing power that, say, Google has to do really important and exciting research to advance the state of the art in training frameworks, learning models, agent learning in even simple environments that are synthetic, that seem trivial, but yet current machine learning fails on. We talked about priors and common sense knowledge. It seems like we humans take a lot of knowledge for granted. So what's your view of these priors of forming this broad view of the world, this accumulation of information and how we can teach neural networks or learning systems to pick that knowledge up? So knowledge, for a while, the artificial intelligence was maybe in the 80s, like there's a time where knowledge representation, knowledge, acquisition, expert systems, I mean, the symbolic AI was a view, was an interesting problem set to solve and it was kind of put on hold a little bit, it seems like. Because it doesn't work. It doesn't work. That's right. But that's right. But the goals of that remain important. Yes. Remain important. And how do you think those goals can be addressed? Right. So first of all, I believe that one reason why the classical expert systems approach failed is because a lot of the knowledge we have, so you talked about common sense intuition, there's a lot of knowledge like this, which is not consciously accessible. There are lots of decisions we're taking that we can't really explain, even if sometimes we make up a story. And that knowledge is also necessary for machines to take good decisions. And that knowledge is hard to codify in expert systems, rule based systems and classical AI formalism. And there are other issues, of course, with the old AI, like not really good ways of handling uncertainty, I would say something more subtle, which we understand better now, but I think still isn't enough in the minds of people. There's something really powerful that comes from distributed representations, the thing that really makes neural nets work so well. And it's hard to replicate that kind of power in a symbolic world. The knowledge in expert systems and so on is nicely decomposed into like a bunch of rules. Whereas if you think about a neural net, it's the opposite. You have this big blob of parameters which work intensely together to represent everything the network knows. And it's not sufficiently factorized. It's not sufficiently factorized. And so I think this is one of the weaknesses of current neural nets, that we have to take lessons from classical AI in order to bring in another kind of compositionality, which is common in language, for example, and in these rules, but that isn't so native to neural nets. And on that line of thinking, disentangled representations. Yes. So let me connect with disentangled representations, if you might, if you don't mind. So for many years, I've thought, and I still believe that it's really important that we come up with learning algorithms, either unsupervised or supervised, but reinforcement, whatever, that build representations in which the important factors, hopefully causal factors are nicely separated and easy to pick up from the representation. So that's the idea of disentangled representations. It says transform the data into a space where everything becomes easy. We can maybe just learn with linear models about the things we care about. And I still think this is important, but I think this is missing out on a very important ingredient, which classical AI systems can remind us of. So let's say we have these disentangled representations. You still need to learn about the relationships between the variables, those high level semantic variables. They're not going to be independent. I mean, this is like too much of an assumption. They're going to have some interesting relationships that allow to predict things in the future, to explain what happened in the past. The kind of knowledge about those relationships in a classical AI system is encoded in the rules. Like a rule is just like a little piece of knowledge that says, oh, I have these two, three, four variables that are linked in this interesting way, then I can say something about one or two of them given a couple of others, right? In addition to disentangling the elements of the representation, which are like the variables in a rule based system, you also need to disentangle the mechanisms that relate those variables to each other. So like the rules. So the rules are neatly separated. Like each rule is, you know, living on its own. And when I change a rule because I'm learning, it doesn't need to break other rules. Whereas current neural nets, for example, are very sensitive to what's called catastrophic forgetting, where after I've learned some things and then I learn new things, they can destroy the old things that I had learned, right? If the knowledge was better factorized and separated, disentangled, then you would avoid a lot of that. Now, you can't do this in the sensory domain. What do you mean by sensory domain? Like in pixel space. But my idea is that when you project the data in the right semantic space, it becomes possible to now represent this extra knowledge beyond the transformation from inputs to representations, which is how representations act on each other and predict the future and so on in a way that can be neatly disentangled. So now it's the rules that are disentangled from each other and not just the variables that are disentangled from each other. And you draw a distinction between semantic space and pixel, like does there need to be an architectural difference? Well, yeah. So there's the sensory space like pixels, which where everything is entangled. The information, like the variables are completely interdependent in very complicated ways. And also computation, like it's not just the variables, it's also how they are related to each other is all intertwined. But I'm hypothesizing that in the right high level representation space, both the variables and how they relate to each other can be disentangled. And that will provide a lot of generalization power. Generalization power. Yes. Distribution of the test set is assumed to be the same as the distribution of the training set. Right. This is where current machine learning is too weak. It doesn't tell us anything, is not able to tell us anything about how our neural nets, say, are going to generalize to a new distribution. And, you know, people may think, well, but there's nothing we can say if we don't know what the new distribution will be. The truth is humans are able to generalize to new distributions. Yeah. How are we able to do that? Yeah. Because there is something, these new distributions, even though they could look very different from the training distributions, they have things in common. So let me give you a concrete example. You read a science fiction novel. The science fiction novel, maybe, you know, brings you in some other planet where things look very different on the surface, but it's still the same laws of physics. And so you can read the book and you understand what's going on. So the distribution is very different. But because you can transport a lot of the knowledge you had from Earth about the underlying cause and effect relationships and physical mechanisms and all that, and maybe even social interactions, you can now make sense of what is going on on this planet where, like, visually, for example, things are totally different. Taking that analogy further and distorting it, let's enter a science fiction world of, say, Space Odyssey, 2001, with Hal. Or maybe, which is probably one of my favorite AI movies. Me too. And then there's another one that a lot of people love that may be a little bit outside of the AI community is Ex Machina. I don't know if you've seen it. Yes. Yes. By the way, what are your views on that movie? Are you able to enjoy it? Are there things I like and things I hate? So you could talk about that in the context of a question I want to ask, which is, there's quite a large community of people from different backgrounds, often outside of AI, who are concerned about existential threat of artificial intelligence. You've seen this community develop over time. You've seen you have a perspective. So what do you think is the best way to talk about AI safety, to think about it, to have discourse about it within AI community and outside and grounded in the fact that Ex Machina is one of the main sources of information for the general public about AI? So I think you're putting it right. There's a big difference between the sort of discussion we ought to have within the AI community and the sort of discussion that really matter in the general public. So I think the picture of Terminator and AI loose and killing people and super intelligence that's going to destroy us, whatever we try, isn't really so useful for the public discussion. Because for the public discussion, the things I believe really matter are the short term and medium term, very likely negative impacts of AI on society, whether it's from security, like, you know, big brother scenarios with face recognition or killer robots, or the impact on the job market, or concentration of power and discrimination, all kinds of social issues, which could actually, some of them could really threaten democracy, for example. Just to clarify, when you said killer robots, you mean autonomous weapon, weapon systems. Yes, I don't mean that's right. So I think these short and medium term concerns should be important parts of the public debate. Now, existential risk, for me is a very unlikely consideration, but still worth academic investigation in the same way that you could say, should we study what could happen if meteorite, you know, came to earth and destroyed it. So I think it's very unlikely that this is going to happen in or happen in a reasonable future. The sort of scenario of an AI getting loose goes against my understanding of at least current machine learning and current neural nets and so on. It's not plausible to me. But of course, I don't have a crystal ball and who knows what AI will be in 50 years from now. So I think it is worth that scientists study those problems. It's just not a pressing question as far as I'm concerned. So before I continue down that line, I have a few questions there. But what do you like and not like about Ex Machina as a movie? Because I actually watched it for the second time and enjoyed it. I hated it the first time, and I enjoyed it quite a bit more the second time when I sort of learned to accept certain pieces of it, see it as a concept movie. What was your experience? What were your thoughts? So the negative is the picture it paints of science is totally wrong. Science in general and AI in particular. Science is not happening in some hidden place by some, you know, really smart guy, one person. This is totally unrealistic. This is not how it happens. Even a team of people in some isolated place will not make it. Science moves by small steps, thanks to the collaboration and community of a large number of people interacting. And all the scientists who are expert in their field kind of know what is going on, even in the industrial labs. It's information flows and leaks and so on. And the spirit of it is very different from the way science is painted in this movie. Yeah, let me ask on that point. It's been the case to this point that kind of even if the research happens inside Google or Facebook, inside companies, it still kind of comes out, ideas come out. Do you think that will always be the case with AI? Is it possible to bottle ideas to the point where there's a set of breakthroughs that go completely undiscovered by the general research community? Do you think that's even possible? It's possible, but it's unlikely. It's not how it is done now. It's not how I can foresee it in the foreseeable future. But of course, I don't have a crystal ball and science is a crystal ball. And so who knows? This is science fiction after all. I think it's ominous that the lights went off during that discussion. So the problem, again, there's one thing is the movie and you could imagine all kinds of science fiction. The problem for me, maybe similar to the question about existential risk, is that this kind of movie paints such a wrong picture of what is the actual science and how it's going on that it can have unfortunate effects on people's understanding of current science. And so that's kind of sad. There's an important principle in research, which is diversity. So in other words, research is exploration. Research is exploration in the space of ideas. And different people will focus on different directions. And this is not just good, it's essential. So I'm totally fine with people exploring directions that are contrary to mine or look orthogonal to mine. I am more than fine. I think it's important. I and my friends don't claim we have universal truth about what will, especially about what will happen in the future. Now that being said, we have our intuitions and then we act accordingly according to where we think we can be most useful and where society has the most to gain or to lose. We should have those debates and not end up in a society where there's only one voice and one way of thinking and research money is spread out. So disagreement is a sign of good research, good science. Yes. The idea of bias in the human sense of bias. How do you think about instilling in machine learning something that's aligned with human values in terms of bias? We intuitively as human beings have a concept of what bias means, of what fundamental respect for other human beings means. But how do we instill that into machine learning systems, do you think? So I think there are short term things that are already happening and then there are long term things that we need to do. In the short term, there are techniques that have been proposed and I think will continue to be improved and maybe alternatives will come up to take data sets in which we know there is bias, we can measure it. Pretty much any data set where humans are being observed taking decisions will have some sort of bias, discrimination against particular groups and so on. And we can use machine learning techniques to try to build predictors, classifiers that are going to be less biased. We can do it, for example, using adversarial methods to make our systems less sensitive to these variables we should not be sensitive to. So these are clear, well defined ways of trying to address the problem. Maybe they have weaknesses and more research is needed and so on. But I think in fact they are sufficiently mature that governments should start regulating companies where it matters, say like insurance companies, so that they use those techniques. Because those techniques will probably reduce the bias but at a cost. For example, maybe their predictions will be less accurate and so companies will not do it until you force them. All right, so this is short term. Long term, I'm really interested in thinking how we can instill moral values into computers. Obviously, this is not something we'll achieve in the next five or 10 years. How can we, you know, there's already work in detecting emotions, for example, in images, in sounds, in texts, and also studying how different agents interacting in different ways may correspond to patterns of, say, injustice, which could trigger anger. So these are things we can do in the medium term and eventually train computers to model, for example, how humans react emotionally. I would say the simplest thing is unfair situations which trigger anger. This is one of the most basic emotions that we share with other animals. I think it's quite feasible within the next few years that we can build systems that can detect these kinds of things to the extent, unfortunately, that they understand enough about the world around us, which is a long time away. But maybe we can initially do this in virtual environments. So you can imagine a video game where agents interact in some ways and then some situations trigger an emotion. I think we could train machines to detect those situations and predict that the particular emotion will likely be felt if a human was playing one of the characters. You have shown excitement and done a lot of excellent work with unsupervised learning. But there's been a lot of success on the supervised learning side. Yes, yes. And one of the things I'm really passionate about is how humans and robots work together. And in the context of supervised learning, that means the process of annotation. Do you think about the problem of annotation put in a more interesting way as humans teaching machines? Yes. Is there? Yes. I think it's an important subject. Reducing it to annotation may be useful for somebody building a system tomorrow. But longer term, the process of teaching, I think, is something that deserves a lot more attention from the machine learning community. So there are people who have coined the term machine teaching. So what are good strategies for teaching a learning agent? And can we design and train a system that is going to be a good teacher? So in my group, we have a project called BBI or BBI game, where there is a game or scenario where there's a learning agent and a teaching agent. Presumably, the teaching agent would eventually be a human. But we're not there yet. And the role of the teacher is to use its knowledge of the environment, which it can acquire using whatever way brute force to help the learner learn as quickly as possible. So the learner is going to try to learn by itself, maybe using some exploration and whatever. But the teacher can choose, can have an influence on the interaction with the learner, so as to guide the learner, maybe teach it the things that the learner has most trouble with, or just add the boundary between what it knows and doesn't know, and so on. So there's a tradition of these kind of ideas from other fields and like tutorial systems, for example, and AI. And of course, people in the humanities have been thinking about these questions. But I think it's time that machine learning people look at this, because in the future, we'll have more and more human machine interaction with the human in the loop. And I think understanding how to make this work better, all the problems around that are very interesting and not sufficiently addressed. You've done a lot of work with language, too. What aspect of the traditionally formulated Turing test, a test of natural language understanding and generation in your eyes is the most difficult of conversation? What in your eyes is the hardest part of conversation to solve for machines? So I would say it's everything having to do with the non linguistic knowledge, which implicitly you need in order to make sense of sentences, things like the Winograd schema. So these sentences that are semantically ambiguous. In other words, you need to understand enough about the world in order to really interpret properly those sentences. I think these are interesting challenges for machine learning, because they point in the direction of building systems that both understand how the world works and this causal relationships in the world and associate that knowledge with how to express it in language, either for reading or writing. You speak French? Yes, it's my mother tongue. It's one of the romance languages. Do you think passing the Turing test and all the underlying challenges we just mentioned depend on language? Do you think it might be easier in French than it is in English, or is independent of language? I think it's independent of language. I would like to build systems that can use the same principles, the same learning mechanisms to learn from human agents, whatever their language. Well, certainly us humans can talk more beautifully and smoothly in poetry, some Russian originally. I know poetry in Russian is maybe easier to convey complex ideas than it is in English. But maybe I'm showing my bias and some people could say that about French. But of course, the goal ultimately is our human brain is able to utilize any kind of those languages to use them as tools to convey meaning. Yeah, of course, there are differences between languages, and maybe some are slightly better at some things, but in the grand scheme of things, where we're trying to understand how the brain works and language and so on, I think these differences are minute. So you've lived perhaps through an AI winter of sorts? Yes. How did you stay warm and continue your research? Stay warm with friends. With friends. Okay, so it's important to have friends. And what have you learned from the experience? Listen to your inner voice. Don't, you know, be trying to just please the crowds and the fashion. And if you have a strong intuition about something that is not contradicted by actual evidence, go for it. I mean, it could be contradicted by people. Not your own instinct of based on everything you've learned? Of course, you have to adapt your beliefs when your experiments contradict those beliefs. But you have to stick to your beliefs. Otherwise, it's what allowed me to go through those years. It's what allowed me to persist in directions that, you know, took time, whatever other people think, took time to mature and bring fruits. So history of AI is marked with these, of course, it's marked with technical breakthroughs, but it's also marked with these seminal events that capture the imagination of the community. Most recent, I would say, AlphaGo beating the world champion human Go player was one of those moments. What do you think the next such moment might be? Okay, so first of all, I think that these so called seminal events are overrated. As I said, science really moves by small steps. Now what happens is you make one more small step and it's like the drop that, you know, that fills the bucket and then you have drastic consequences because now you're able to do something you were not able to do before. Or now, say, the cost of building some device or solving a problem becomes cheaper than what existed and you have a new market that opens up, right? So especially in the world of commerce and applications, the impact of a small scientific progress could be huge. But in the science itself, I think it's very, very gradual. And where are these steps being taken now? So there's unsupervised learning. So if I look at one trend that I like in my community, so for example, at Milan, my institute, what are the two hardest topics? GANs and reinforcement learning. Even though in Montreal in particular, reinforcement learning was something pretty much absent just two or three years ago. So there's really a big interest from students and there's a big interest from people like me. So I would say this is something where we're going to see more progress, even though it hasn't yet provided much in terms of actual industrial fallout. Like even though there's AlphaGo, there's no, like Google is not making money on this right now. But I think over the long term, this is really, really important for many reasons. So in other words, I would say reinforcement learning may be more generally agent learning because it doesn't have to be with rewards. It could be in all kinds of ways that an agent is learning about its environment. Now reinforcement learning you're excited about, do you think GANs could provide something, at the moment? Well, GANs or other generative models, I believe, will be crucial ingredients in building agents that can understand the world. A lot of the successes in reinforcement learning in the past has been with policy gradient, where you just learn a policy, you don't actually learn a model of the world. But there are lots of issues with that. And we don't know how to do model based RL right now. But I think this is where we have to go in order to build models that can generalize faster and better like to new distributions that capture to some extent, at least the underlying causal mechanisms in the world. Last question. What made you fall in love with artificial intelligence? If you look back, what was the first moment in your life when you were fascinated by either the human mind or the artificial mind? You know, when I was an adolescent, I was reading a lot. And then I started reading science fiction. There you go. That's it. That's where I got hooked. And then, you know, I had one of the first personal computers and I got hooked in programming. And so it just, you know, Start with fiction and then make it a reality. That's right. Yoshua, thank you so much for talking to me. My pleasure.

本集資源與出處