Quantized neural networks have drawn a lot of attention as they reduce the space and computational complexity during the inference. Moreover, there has been folklore that quantization acts as an implicit regularizer and thus can improve the generalizability of neural networks, yet no existing work formalizes this interesting folklore. In this paper, we take the binary weights in a neural network as random variables under stochastic rounding, and study the distribution propagation over different layers in the neural network. We propose a quasi neural network to approximate the distribution propagation, which is a neural network with continuous parameters and smooth activation function. We derive the neural tangent kernel (NTK) for this quasi neural network, and show that the eigenvalue of NTK decays at approximately exponential rate, which is comparable to that of Gaussian kernel with randomized scale. This in turn indicates that the Reproducing Kernel Hilbert Space (RKHS) of a binary weight neural network covers a strict subset of functions compared with the one with real value weights. We use experiments to verify that the quasi neural network we proposed can well approximate binary weight neural network. Furthermore, binary weight neural network gives a lower generalization gap compared with real value weight neural network, which is similar to the difference between Gaussian kernel and Laplace kernel.
The Devil is in the Condition Numbers: Why is GLU Better than non-GLU Structure?
State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China(人工智能安全国家重点实验室,计算技术研究所,中国科学院,北京100190,中国);School of Computer Science and Technology, University of Chinese Academy of Sciences, Beijing 101408, China(中国科学院大学计算机科学与技术学院,北京101408,中国);Beijing Academy of Artificial Intelligence (BAAI), Beijing, China(北京人工智能研究院(BAAI),北京,中国)
MLP Fusion: Towards Efficient Fine-tuning of Dense and Mixture-of-Experts Language Models
School of Information Sciences, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校信息科学学院);Hong Kong Baptist University(香港浸会大学);Jacobs Technion-Cornell Institute, Cornell Tech(康奈尔理工学院雅各布斯以色列理工学院)
Rethinking Influence Functions of Neural Networks in the Over-parameterized Regime
Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);School of Mathematical Sciences, University of Chinese Academy of Sciences(中国科学院大学数学科学学院)
From Attention Sensitivity to Layer Role: Revisiting Mixed-Precision Quantization of Transformers
Sharif University of Technology(谢里夫理工大学);GISMA University of Applied Sciences(GISMA应用科学大学);BRAINS, Brandenburg Research Center for Applied Intelligent Systems(勃兰登堡应用智能系统研究中心);Max Planck Institute for Security and Privacy(马克斯·普朗克安全与隐私研究所);Computer Vision Center (CVC)(计算机视觉中心);University of Cambridge(剑桥大学)
On the linearity of large non-linear models: when and why the tangent kernel is constant
Department of Computer Science, The Ohio State University(俄亥俄州立大学计算机科学系);Halicioğlu Data Science Institute, University of California, San Diego(加利福尼亚大学圣迭戈分校哈利西奥卢数据科学学院)
Unveiling the Mechanism of Continuous Representation Full-Waveform Inversion: A Wave Based Neural Tangent Kernel Framework
School of Mathematics and Statistics, Xi’an Jiaotong University, Xi’an, Shaanxi, China(西安交通大学数学与统计学学院);Macao Institute of Systems Engineering, Macau University of Science and Technology, Taipa, Macao(澳门系统工程研究院,澳门科技大学,路环,澳门)
Multi-dimensional training-priority weighting based on physical information propagation paths: a unified residual-weighting framework for physics-informed neural networks
Do All MobileNets Quantize Poorly? Gaining Insights into the Effect of Quantization on Depthwise Separable Convolutional Networks Through the Eyes of Multi-scale Distributional Dynamics
University of Waterloo(滑铁卢大学);Waterloo Artificial Intelligence Institute(滑铁卢人工智能研究所)
A Convergence Theory for Deep Learning via Over-Parameterization
Microsoft Research AI(微软研究院AI);Stanford University(斯坦福大学);Princeton University(普林斯顿大学);UT-Austin(德克萨斯大学奥斯汀分校);University of Washington(华盛顿大学);Harvard University(哈佛大学)