paper-with-me

Papers

Exploring Post-Training Quantization of Protein Language Models

2023-10-30 · Shuang Peng, Fei Yang, Ning Sun, Sheng Chen, Yanfeng Jiang, Aimin Pan

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.

📄 PDF Abstract BibTeX arXiv:2310.19624

Code (1)

pengshuang/PTQ4Protein 공식 구현 pytorch

Tasks

Protein Structure PredictionQuantization

Methods 이 논문이 사용한 방법론

AlphaFold 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

ZeroQuant-V2: Exploring Post-training Quantization in LLMs from Comprehensive Study to Low Rank Compensation

2023-03-15 · Zhewei Yao, Xiaoxia Wu, Cheng Li, Stephen Youn 외

Post-training quantization (PTQ) has emerged as a promising technique for mitigating memory consumption and computational costs in large language models (LLMs). However, a systematic examination of various quantization s…

Quantization

FoldToken: Learning Protein Language via Vector Quantization and Beyond

2024-02-04 · Zhangyang Gao, Cheng Tan, Jue Wang, Yufei Huang 외

Is there a foreign language describing protein sequences and structures simultaneously? Protein structures, represented by continuous 3D points, have long posed a challenge due to the contrasting modeling paradigms of di…

Quantization

PTQ-SL: Exploring the Sub-layerwise Post-training Quantization

2021-10-15 · Zhihang Yuan, Yiqi Chen, Chenhao Xue, Chenguang Zhang 외

Network quantization is a powerful technique to compress convolutional neural networks. The quantization granularity determines how to share the scaling factors in weights, which affects the performance of network quanti…

Quantization

Exploring Model Invariance with Discrete Search for Ultra-Low-Bit Quantization

2025-02-06 · Yuqiao Wen, Yanshuai Cao, Lili Mou

Large language models have been increasing in size due to their success in a wide range of applications. This calls for a pressing need to reduce memory usage to make them more accessible. Post-training quantization is a…

Quantization

Exploring Layer-wise Information Effectiveness for Post-Training Quantization in Small Language Models

2025-08-05 · He Xiao, Qingyao Yang, Dirui Xie, Wendong Xu 외 arxiv

Large language models with billions of parameters are often over-provisioned: many layers contribute little unique information yet dominate the memory and energy footprint during inference. We present LieQ Layer-wise inf…