Train-by-Reconnect: 가중치의 위치와 값의 분리
Train-by-Reconnect: Decoupling Locations of Weights from their Values
Train-by-Reconnect: Decoupling Locations of Weights from their Values
@misc{qiu2020trainbyreconnect,
title = {Train-by-Reconnect: Decoupling Locations of Weights from their Values},
author = {Yushi Qiu and Reiji Suda},
year = {2020},
eprint = {2003.02570},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2003.02570}
}
Qiu, Y., & Suda, R. (2020). Train-by-Reconnect: Decoupling Locations of Weights from their Values [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2003.02570
QIU Y, SUDA R. Train-by-Reconnect: Decoupling Locations of Weights from their Values[EB/OL]. (2020-03-05)[2026-11-29]. https://arxiv.org/abs/2003.02570.
초록
훈련되지 않은 심층 신경망 (DNN) 과 훈련된 성능 좋은 DNN 은 어떻게 다른가? 잘 훈련된 DNN 의 가중치를 확대하여 살펴보면, 훈련이 인코딩한 대부분의 정보는 가중치의 위치 (location) 에 존재함을 발견했다. 이러한 관찰을 바탕으로 우리는 확률적 경사하강법 (SGD) 기반 방법으로 훈련된 DNN 의 가중치가 두 차원, 즉 가중치의 위치와 그 정확한 값으로 분리될 수 있다고 가정한다. 이 가설을 검증하기 위해 가중치를 재연결하여 DNN 을 훈련시키는 새로운 방법인 Lookahead Permutation (LaPerm) 을 제안한다. LaPerm 의 다용도성을 경험적으로 입증함과 동시에 우리의 가설을 지지하는 광범위한 증거를 제시한다: 초기 가중치가 무작위적이고 밀집되어 있을 때, LaPerm 은 Adam 과 같은 일반적인 최적화기와 유사하거나 더 빠른 속도와 성능을 보이며; 초기 가중치가 무작위적이고 희소 (많은 0) 일 때, LaPerm 은 뉴런의 연결 방식을 변경하여 잘 훈련된 초기화 네트워크와 비교 가능한 정확도를 달성한다; 초기 가중치가 단일 값을 공유할 때, LaPerm 은 확률보다 훨씬 높은 정확도를 가진 가중치 무관 (weight agnostic) 신경망을 찾는다.
What makes untrained deep neural networks (DNNs) different from the trained performant ones? By zooming into the weights in well-trained DNNs, we found it is the location of weights that hold most of the information encoded by the training. Motivated by this observation, we hypothesize that weights in stochastic gradient-based method trained DNNs can be separated into two dimensions: the locations of weights and their exact values. To assess our hypothesis, we propose a novel method named Lookahead Permutation (LaPerm) to train DNNs by reconnecting the weights. We empirically demonstrate the versatility of LaPerm while producing extensive evidence to support our hypothesis: when the initial weights are random and dense, our method demonstrates speed and performance similar to or better than that of regular optimizers, e.g., Adam; when the initial weights are random and sparse (many zeros), our method changes the way neurons connect and reach accuracy comparable to that of a well-trained fully initialized network; when the initial weights share a single value, our method finds weight agnostic neural network with far better-than-chance accuracy.