隨機捲積遞迴網路
Stochastic Convolutional Recurrent Networks
摘要
深度學習在電腦視覺跟自然語言處理領域都取得巨大的成功。基本上,深度神經網路可以處理高維數據間複雜的輸入與輸出目標間映射,並在分類與迴歸問題上有良好的表現。然而,深度神經網路仍無法在高維數據的生成任務中得到想要的結果。在此同時,序列資料是隨處可見的。從語音資料、文字、影片,都是序列資料的一種。當我們在處理訊序列學習與生成時,因為訊號中存在因果性,很重要的是要根據過去的樣本來預測或生成未來的目標,。我們稱這種基於所有過去觀察的預測為自迴歸生成(autoregressive generation)。在這篇論文中,我們針對自迴歸生成提出了一個新的隨機表徵學習方法,而中間的生成跟推斷過程是基於捲積神經網路(CNN)跟遞迴神經網路(RNN)來做延伸的。
遞迴神經網路是利用更新動態狀態當作內部記憶來表達序列的模式並抓出時序性的資訊。多年來,遞迴神經網路被視作在自迴歸模型中一個很常見的時序性學習方法。捲積神經網路已經在電腦視覺中取得很大的成功,近年來時間捲積網路也開始被應用在時序性學習上。受惠於平行運算優勢,時間捲積網路可以快速的生成。而因為每一層具有不同大小的接受區,多層的時間捲積網路抓到時間上的階層關係。遞迴神經網路跟時間捲積網路在時序學習上都是可行的。而這篇論文是想結合兩者的優點,建立一個捲積遞迴網路(CRN)。基本上,時間捲積網路有很強的能力來抓取局部的特徵,遞迴神經網路則可以從序列中抓到一些長時間的關係。我們提出的捲積遞迴神經網路利用捲積層將局部的資訊編碼,接著用遞迴層來解碼、預測、生成。藉由將時間捲積網路當作編碼器,遞迴神經網路作為解碼器,我們提出了一個混合模型來結合捲積神經網路跟遞迴神經網路。局部跟全局的特徵都能被充分的表達到。重點是,遞迴層能夠解除時間捲積網路中接受區大小被層數的限制。捲積遞迴網路可以彌補在時間捲積網路中不足以充分表達到的長時間資訊。
接下來我們針對捲積遞迴網路提出了兩個進一步延伸,一個是隨機捲積遞迴網路(SCRN),另一個是多解析捲積遞迴網路(multi-resolution CRN)。隨機捲積遞迴網路是想藉由引進隨機性來改善捲積遞迴網路的魯棒性。隨機潛在變數的最佳化是變分推斷(variational inference),讓其中的證據下界(evidence lower bound)被最大化,來完成的。在另一方面,我們質疑在捲積遞迴網路中只用最後一層捲積層的資訊給遞迴層,編碼進去的訊息會不夠豐富。而最終預測的結果可能會因此受限。據此,我們提出了多解析捲積遞迴網路來將不同捲積層中學到的多解析度的資訊,分別交給不同的遞迴層來解碼。如此一來,不同時間長度的關係都能在多解析捲積遞迴網路中被學到。
在語言模型的實驗中,我們比較了各種不同捲積遞迴網路的變體的表現,我們提出的模型跟遞迴神經網路和時間捲積網路比的優勢在實驗中充分的展現出來。
遞迴神經網路是利用更新動態狀態當作內部記憶來表達序列的模式並抓出時序性的資訊。多年來,遞迴神經網路被視作在自迴歸模型中一個很常見的時序性學習方法。捲積神經網路已經在電腦視覺中取得很大的成功,近年來時間捲積網路也開始被應用在時序性學習上。受惠於平行運算優勢,時間捲積網路可以快速的生成。而因為每一層具有不同大小的接受區,多層的時間捲積網路抓到時間上的階層關係。遞迴神經網路跟時間捲積網路在時序學習上都是可行的。而這篇論文是想結合兩者的優點,建立一個捲積遞迴網路(CRN)。基本上,時間捲積網路有很強的能力來抓取局部的特徵,遞迴神經網路則可以從序列中抓到一些長時間的關係。我們提出的捲積遞迴神經網路利用捲積層將局部的資訊編碼,接著用遞迴層來解碼、預測、生成。藉由將時間捲積網路當作編碼器,遞迴神經網路作為解碼器,我們提出了一個混合模型來結合捲積神經網路跟遞迴神經網路。局部跟全局的特徵都能被充分的表達到。重點是,遞迴層能夠解除時間捲積網路中接受區大小被層數的限制。捲積遞迴網路可以彌補在時間捲積網路中不足以充分表達到的長時間資訊。
接下來我們針對捲積遞迴網路提出了兩個進一步延伸,一個是隨機捲積遞迴網路(SCRN),另一個是多解析捲積遞迴網路(multi-resolution CRN)。隨機捲積遞迴網路是想藉由引進隨機性來改善捲積遞迴網路的魯棒性。隨機潛在變數的最佳化是變分推斷(variational inference),讓其中的證據下界(evidence lower bound)被最大化,來完成的。在另一方面,我們質疑在捲積遞迴網路中只用最後一層捲積層的資訊給遞迴層,編碼進去的訊息會不夠豐富。而最終預測的結果可能會因此受限。據此,我們提出了多解析捲積遞迴網路來將不同捲積層中學到的多解析度的資訊,分別交給不同的遞迴層來解碼。如此一來,不同時間長度的關係都能在多解析捲積遞迴網路中被學到。
在語言模型的實驗中,我們比較了各種不同捲積遞迴網路的變體的表現,我們提出的模型跟遞迴神經網路和時間捲積網路比的優勢在實驗中充分的展現出來。
Deep learning has achieved great success in computer vision and natural language processing. Basically, deep neural networks (DNNs) are able to handle high-dimensional data with the complicated mapping between input data and output targets and perform well for different classification and regression tasks. Nevertheless, it is still challenging to carry out a desirable generation task in presence of high-dimensional data. Meanwhile, sequence data are everywhere in real world. Sequence data are ranged from speech signals to natural sentences and video streams, to name a few. When we deal with sequential learning and generation, it is important to predict or generate future targets based on all previous samples due to the causal property in signals. Such a prediction is also named as the autoregressive generation where the prediction at each time step is conditioned on all previous observations. This thesis presents a new stochastic learning representation for autoregressive generation where an inference and generative procedure based on convolutional neural network (CNN) and recurrent neural network (RNN) is developed.
RNN is specialized to characterize the sequential patterns and extract temporal information by evolving the dynamic states through time as an internal memory. RNN has been recognized as a popular sequential learning solution to autoregressive model for many years. Recently, temporal convolutional network (TCN) is proposed for sequential learning although CNN has been successfully developed for spatial modeling in computer vision. Typically, TCN is beneficial for parallel computation which provides rapid generation. Multilayer TCN can capture the temporal hierarchy where different layers represent various sizes of receptive fields. RNN and TCN are both feasible to sequential learning. This work aims to combine the advantages in TCN and RNN for construction of the so-called convolutional recurrent network (CRN). Basically, TCN is powerful to extract local features while RNN is able to capture long-term temporal dependencies in sequence data. The proposed CRN would like to infer or encode local information via convolutional layers and then predict, decode or generate each individual time sample via recurrent layers. CRN corresponds to implement TCN as encoder and RNN as decoder. A hybrid model of TCN and RNN is established. The complementary local and global features are characterized. Importantly, the recurrent layers in CRN are used to relax the limitation of TCN where the size of receptive field is constrained by the number of layers. CRN allocates the recurrent layers on top of convolutional layers so as to compensate the insufficiency of long-term temporal characteristics in TCN.
The proposed CRN is further improved by twofold extensions including the stochastic CRN (SCRN) and the multi-resolution CRN. Stochastic CRN aims to improve the robustness of CRN by incorporating stochastic property into CRN. The randomness of latent variables is considered in optimization procedure via variational inference where the variational lower bound of log likelihood, marginalized over latent variables, is maximized. On the other hand, we challenge the richness of the encoded information in CRN where only the latent variable in the last convolutional layer is fed into recurrent layer. The prediction performance may be constrained. Accordingly, the multi-resolution CRN is developed by capturing the multi-resolution encodings from different convolutional layers and feeding them into different recurrent layers for decoding and prediction in each time step. The temporal dependency with different lengths is learned in multi-resolution CRN.
The experiments on language modeling and action recognition are conducted to investigate the performance of different variants of convolutional recurrent networks. We show the merits of the proposed methods by comparing with RNN and TCN under different experimental settings.
RNN is specialized to characterize the sequential patterns and extract temporal information by evolving the dynamic states through time as an internal memory. RNN has been recognized as a popular sequential learning solution to autoregressive model for many years. Recently, temporal convolutional network (TCN) is proposed for sequential learning although CNN has been successfully developed for spatial modeling in computer vision. Typically, TCN is beneficial for parallel computation which provides rapid generation. Multilayer TCN can capture the temporal hierarchy where different layers represent various sizes of receptive fields. RNN and TCN are both feasible to sequential learning. This work aims to combine the advantages in TCN and RNN for construction of the so-called convolutional recurrent network (CRN). Basically, TCN is powerful to extract local features while RNN is able to capture long-term temporal dependencies in sequence data. The proposed CRN would like to infer or encode local information via convolutional layers and then predict, decode or generate each individual time sample via recurrent layers. CRN corresponds to implement TCN as encoder and RNN as decoder. A hybrid model of TCN and RNN is established. The complementary local and global features are characterized. Importantly, the recurrent layers in CRN are used to relax the limitation of TCN where the size of receptive field is constrained by the number of layers. CRN allocates the recurrent layers on top of convolutional layers so as to compensate the insufficiency of long-term temporal characteristics in TCN.
The proposed CRN is further improved by twofold extensions including the stochastic CRN (SCRN) and the multi-resolution CRN. Stochastic CRN aims to improve the robustness of CRN by incorporating stochastic property into CRN. The randomness of latent variables is considered in optimization procedure via variational inference where the variational lower bound of log likelihood, marginalized over latent variables, is maximized. On the other hand, we challenge the richness of the encoded information in CRN where only the latent variable in the last convolutional layer is fed into recurrent layer. The prediction performance may be constrained. Accordingly, the multi-resolution CRN is developed by capturing the multi-resolution encodings from different convolutional layers and feeding them into different recurrent layers for decoding and prediction in each time step. The temporal dependency with different lengths is learned in multi-resolution CRN.
The experiments on language modeling and action recognition are conducted to investigate the performance of different variants of convolutional recurrent networks. We show the merits of the proposed methods by comparing with RNN and TCN under different experimental settings.