藉由梯度裁剪以參數化降維

Facilitate the Parametric Dimension Reduction by Gradient Clipping

檔案

日期

2020

類型

語言

英文

摘要

我們藉由訓練一個神經網路,將非參數化(non-parametric)的資料降維方t-SNE延伸為參數化(parametric)的方法。參數化的主要優點為可以泛化到新的資料點上,特別適合應用於串流型(streaming)的資料。然而用t-SNE的損失函數來訓練神經網路經常會失敗,先前的方法透過預訓練再微調參數的方式來解決此問題。我們觀察到訓練失敗主要歸因於梯度爆炸,當高維度空間中相距較遠的點被投影到低維空間中鄰近的位置時,低維空間中點和點之間的排斥梯度會過大,發生梯度爆炸(Gradient exploding)的問題,因此我們採用梯度裁剪來直接優化t-SNE的損失函數。我們的方法擁有泛化的好處以及跟非參數化方法相當的降維效果。由於訓練時採用小批次(mini-batch)的訓練方式,使我們的方法在執行速度方面相當快速。我們也更進一步將其他非參數化的方法如: LargeVis和UMAP擴展為參數化的版本。實驗結果顯示了其可行性,考慮到其實用性,我們將會釋出原始碼供公眾使用。
We extend a well-known dimension reduction method, t-distributed stochastic neighbor embedding (t-SNE), from non-parametric to parametric by training neural networks. The main advantage of a parametric technique is the generalization of handling new data, which is particularly beneficial for streaming data exploration. However, training a neural network to optimize the t-SNE objective function frequently fails. Previous methods overcome this problem by pre-training and then fine-tuning the network. We found that the training failure comes from the gradient exploding problem, which occurs when data points distant in high- dimensional space are projected to nearby embedding positions. Accordingly, we applied the gradient clip- ping method to solve the problem. Since the networks are trained by directly optimizing the t-SNE objective function, our method achieves an embedding quality that is compatible with the non-parametric t-SNE while enjoying the ability of generalization. Due to mini- batch network training, our parametric dimension re- duction method is highly efficient. We further extended other non-parametric state-of-the-art approaches, such as LargeVis and UMAP, to the parametric versions. Experiment results demonstrate the feasibility of our method. Considering its practicability, we will soon re- lease the codes for public use.
顯示完整詮釋資料 統計資料

引用此條目

Lai, C.-H. (2020). Facilitate the Parametric Dimension Reduction by Gradient Clipping. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/76353

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/76353