Low-precision arithmetic has had a transformative effect on the training of neural networks, reducing computation, memory and energy requirements. However, despite its promise, low-precision arithmetic has received little attention for Gaussian processes (GPs), largely because GPs require sophisticated linear algebra routines that are unstable in low-precision. We study the different failure modes that can occur when training GPs in half precision. To circumvent these failure modes, we propose a multi-faceted approach involving conjugate gradients with re-orthogonalization, mixed precision, and preconditioning. Our approach significantly improves the numerical stability and practical performance of conjugate gradients in low-precision over a wide range of settings, enabling GPs to train on $1.8$ million data points in $10$ hours on a single GPU, without any sparse approximations.
How Numerical Precision Affects Arithmetical Reasoning Capabilities of LLMs
State Key Laboratory of General Artificial Intelligence, School of Intelligence Science and Technology, Peking University(通用人工智能国家重点实验室,智能科学与技术学院,北京大学);School of EECS, Peking University(电子工程系,北京大学);Huawei Noah’s Ark Lab(华为诺亚实验室);Center for Machine Learning Research, Peking University(机器学习研究中心,北京大学)
Automatic Generation of Multi-precision Multi-arithmetic CNN Accelerators for FPGAs
University of Cambridge(剑桥大学);Shenzhen Institutes of Advanced Technology(深圳先进技术研究院);Microsoft Research Cambridge(微软剑桥研究院);Imperial College London(帝国理工学院);University of Macau(澳门大学)
Center for Computational Quantum Physics, Flatiron Institute(计算量子物理中心,Flatiron研究所);Department of Mathematical Sciences, Rutgers University(数学科学系,罗格斯大学);Center for Computational Mathematics, Flatiron Institute(计算数学中心,Flatiron研究所)
SFC: Achieve Accurate Fast Convolution under Low-precision Arithmetic
School of Electronic Science and Engineering, Nanjing University(南京大学电子科学与工程学院);Interdisciplinary Research Center for Future Intelligent Chips (Chip-X), Nanjing University(南京大学未来智能芯片交叉研究中心(Chip-X))
Lyapunov-Guided Training for Hardware-Safe Neural Networks Under Fixed-Point Arithmetic
The School of Engineering & Physical Sciences(工程与物理科学学院);SDAIA-KFUPM Joint Research Centre for Artificial Intelligence(SDAIA-KFUPM人工智能联合研究中心);Heriot-Watt University(赫瑞-沃森大学);King Fahd University of Petroleum and Minerals(国王法赫德石油大学)