LoGAH:使用参数仅为1/100的图超网络预测7.74亿参数的Transformer
LoGAH: Predicting 774-Million-Parameter Transformers using Graph HyperNetworks with 1/100 Parameters
AI总结:
提出LoGAH,一种低秩图超网络,以1/100的参数高效预测7.74亿参数的Transformer,提升ViT和GPT-2的初始化性能,并支持迁移学习。
摘要:
深度学习模型的良好初始化对其更好、更快的收敛至关重要。然而,预训练大型模型对许多研究者而言成本过高,这使得对初始参数的理想预测在当前显得尤为必要。图超网络(GHNs)作为一种预测模型参数的方法,近期在初始化大型视觉模型方面展现出强大性能。遗憾的是,预测极宽网络的参数依赖于多次复制小块参数,并且需要极其大量的参数来支持完整预测,这极大地阻碍了其在实际中的应用。为解决这一局限,我们提出了LoGAH(低秩图超网络),一种带有低秩参数解码器的GHN,能够扩展到显著更宽的网络,而无需像先前尝试那样过度增加参数。LoGAH使我们能够以内存高效的方式预测7.74亿参数的大型神经网络。我们展示了使用LoGAH初始化的视觉和语言模型(即ViT和GPT-2)相比随机初始化或使用现有超网络初始化的模型,取得了更好的性能。此外,我们展示了在小型数据集上训练LoGAH并使用预测参数初始化更大任务的有前景的迁移学习结果。我们在https://github.com/Blackzxy/LoGAH提供了代码。
英文摘要:
A good initialization of deep learning models is essential since it can help them converge better and faster. However, pretraining large models is unaffordable for many researchers, which makes a desired prediction for initial parameters more necessary nowadays. Graph HyperNetworks (GHNs), one approach to predicting model parameters, have recently shown strong performance in initializing large vision models. Unfortunately, predicting parameters of very wide networks relies on copying small chunks of parameters multiple times and requires an extremely large number of parameters to support full prediction, which greatly hinders its adoption in practice. To address this limitation, we propose LoGAH (Low-rank GrAph Hypernetworks), a GHN with a low-rank parameter decoder that expands to significantly wider networks without requiring as excessive increase of parameters as in previous attempts. LoGAH allows us to predict the parameters of 774-million large neural networks in a memory-efficient manner. We show that vision and language models (i.e., ViT and GPT-2) initialized with LoGAH achieve better performance than those initialized randomly or using existing hypernetworks. Furthermore, we show promising transfer learning results w.r.t. training LoGAH on small datasets and using the predicted parameters to initialize for larger tasks. We provide the codes in https://github.com/Blackzxy/LoGAH .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。