paper-with-me

홈 › Papers

Mamba-PTQ: Outlier Channels in Recurrent Large Language Models

2024-07-17 · Alessandro Pierro, Steven Abreu

Modern recurrent layers are emerging as a promising path toward edge deployment of foundation models, especially in the context of large language models (LLMs). Compressing the whole input sequence in a finite-dimensional representation enables recurrent layers to model long-range dependencies while maintaining a constant inference cost for each token and a fixed memory requirement. However, the practical deployment of LLMs in resource-limited environments often requires further model compression, such as quantization and pruning. While these techniques are well-established for attention-based models, their effects on recurrent layers remain underexplored. In this preliminary work, we focus on post-training quantization for recurrent LLMs and show that Mamba models exhibit the same pattern of outlier channels observed in attention-based LLMs. We show that the reason for the difficulty of quantizing SSMs is caused by activation outliers, similar to those observed in transformer-based LLMs. We report baseline results for post-training quantization of Mamba that do not take into account the activation outliers and suggest first steps for outlier-aware quantization.

📄 PDF Abstract BibTeX arXiv:2407.12397

Code (0)

등록된 구현이 없습니다.

Tasks

MambaModel CompressionQuantization

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

MambaQuant: Quantizing the Mamba Family with Variance Aligned Rotation Methods

2025-01-23 · Zukang Xu, Yuxuan Yue, Xing Hu, Zhihang Yuan 외

Mamba is an efficient sequence model that rivals Transformers and demonstrates significant potential as a foundational architecture for various tasks. Quantization is commonly used in neural networks to reduce model size…

MambaQuantization

OuroMamba: A Data-Free Quantization Framework for Vision Mamba Models

2025-03-13 · Akshat Ramachandran, Mingyu Lee, Huan Xu, Souvik Kundu 외

We present OuroMamba, the first data-free post-training quantization (DFQ) method for vision Mamba-based models (VMMs). We identify two key challenges in enabling DFQ for VMMs, (1) VMM's recurrent state transitions restr…

channel selectionContrastive LearningData Free QuantizationGPU+3

LongMamba: Enhancing Mamba's Long Context Capabilities via Training-Free Receptive Field Enlargement

2025-04-22 · Zhifan Ye, Kejing Xia, Yonggan Fu, Xin Dong 외

State space models (SSMs) have emerged as an efficient alternative to Transformer models for language modeling, offering linear computational complexity and constant memory usage as context length increases. However, des…

BenchmarkingLanguage ModelingLanguage ModellingLong-Context Understanding+2

How Can Mamba Learn In Context with Outliers and Generalize Provably?

2025-10-01 · Hongkang Li, Songtao Lu, Xiaodong Cui, Pin-Yu Chen 외 arxiv

The Mamba model has gained significant attention for its computational advantages over Transformer-based models, while achieving comparable performance across a wide range of language tasks. Like Transformers, Mamba exhi…

Binary Classification

MSCrackMamba: Leveraging Vision Mamba for Crack Detection in Fused Multispectral Imagery

2024-12-09 · Qinfeng Zhu, Yuan Fang, Lei Fan

Crack detection is a critical task in structural health monitoring, aimed at assessing the structural integrity of bridges, buildings, and roads to prevent potential failures. Vision-based crack detection has become the …

Image SegmentationMambaSemantic SegmentationStructural Health Monitoring+1