Recent advancements in unsupervised protein language models (ProteinLMs), like ESM-1b and ESM-2, have shown promise in different protein prediction tasks. However, these models face challenges due to their high computational demands, significant memory needs, and latency, restricting their usage on devices with limited resources. To tackle this, we explore post-training quantization (PTQ) for ProteinLMs, focusing on ESMFold, a simplified version of AlphaFold based on ESM-2 ProteinLM. Our study is the first attempt to quantize all weights and activations of ProteinLMs. We observed that the typical uniform quantization method performs poorly on ESMFold, causing a significant drop in TM-Score when using 8-bit quantization. We conducted extensive quantization experiments, uncovering unique challenges associated with ESMFold, particularly highly asymmetric activation ranges before Layer Normalization, making representation difficult using low-bit fixed-point formats. To address these challenges, we propose a new PTQ method for ProteinLMs, utilizing piecewise linear quantization for asymmetric activation values to ensure accurate approximation. We demonstrated the effectiveness of our method in protein structure prediction tasks, demonstrating that ESMFold can be accurately quantized to low-bit widths without compromising accuracy. Additionally, we applied our method to the contact prediction task, showcasing its versatility. In summary, our study introduces an innovative PTQ method for ProteinLMs, addressing specific quantization challenges and potentially leading to the development of more efficient ProteinLMs with significant implications for various protein-related applications.
Exploring zero-shot structure-based protein fitness prediction
Department of Computer Sciences(计算机科学系);Department of Biostatistics and Medical Informatics(生物统计学与医学信息学系);Morgridge Institute for Research(Morgridge研究所)
Exploring proteomic signatures in sepsis and non-infectious systemic inflammatory response syndrome
Universitat Autònoma de Barcelona(巴塞罗那自治大学);Vall d'Hebron University Hospital(瓦尔·德希布伦大学医院);Eurecat, Centre Tecnològic de Catalunya(加泰罗尼亚技术中心Eurecat);Instituto de Salud Carlos III(卡洛斯三世健康研究所)
Exploring Layer-wise Information Effectiveness for Post-Training Quantization in Small Language Models
The University of Hong Kong(香港大学);Huazhong University of Science and Technology(华中科技大学);Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生学院)
Exploring Drug Safety Through Knowledge Graphs: Protein Kinase Inhibitors as a Case Study
David Jackson Institute of Informatics University of Amsterdam(大卫·杰克逊信息学研究所 阿姆斯特丹大学);Michael Gertz Institute of Computer Science Heidelberg University(迈克尔·格茨计算机科学研究所海德堡大学);Jürgen Hesser Data Analysis and Modeling in Medicine Mannheim Institute for Intelligent Systems in Medicine (MIISM) Medical Faculty Mannheim, Heidelberg University(朱尔根·赫瑟医学数据分析与建模 马尔姆研究所(MIISM)海德堡大学医学系)
Towards Efficient Pre-training: Exploring FP4 Precision in Large Language Models
School of Information Science and Technology, University of Science and Technology of China(中国科学技术大学信息科学技术学院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)
Quantization Meets Reasoning: Exploring and Mitigating Degradation of Low-Bit LLMs in Mathematical Reasoning
The Hong Kong Polytechnic University(香港理工大学);University of California, Santa Barbara(加州大学圣芭芭拉分校);Peking University(北京大学);The Hong Kong University of Science and Technology(香港科学与技术大学);The University of Hong Kong(香港大学)
VQSynery: Robust Drug Synergy Prediction With Vector Quantization Mechanism
School of Data Science and Engineering(数据科学与工程学院);East China Normal University(华东师范大学);School of Medicine(医学院);College of Design&Engineering(设计与工程学院);National University of Singapore(新加坡国立大学)
BridgeDPI: A Novel Graph Neural Network for Predicting Drug-Protein Interactions
SenseTime Research(商汤科技研究院);School of Computer Science and Engineering, Central South University(中南大学计算机科学与工程学院);Qing yuan Research Institute, Shanghai Jiao Tong University(上海交通大学清源研究院)
MergeQuant: Accurate 4-bit Static Quantization of Large Language Models by Channel-wise Calibration
State Key Laboratory of Networking and Switching Technology, Beijing University of Posts and Telecommunications(北京邮电大学网络与交换技术国家重点实验室);PengCheng Laboratory(鹏城实验室)