MLoRQ: Bridging Low-Rank and Quantization for Transformer Compression

Ofir Gordon, Ariel Lapid, Elad Cohen, Yarden Yagil, Arnon Netzer +1 more
7/13/2025
cs.LGcs.CV

No official code found. Best implementation: ofirgo/MLoRQ (0 stars, Apache-2.0, last commit 2025-10-26).

Abstract

Deploying transformer-based neural networks on resource-constrained edge devices presents a significant challenge. This challenge is often addressed through various techniques, such as low-rank approximation and mixed-precision quantization. In this work, we introduce Mixed Low-Rank and Quantization (MLoRQ), a novel method that integrates both techniques. MLoRQ employs a two-stage optimization process to determine optimal bit-width and rank assignments for each layer, adhering to predefined memory constraints. This process includes: (i) an intra-layer optimization that identifies potentially optimal compression solutions out of all low-rank and quantization combinations; (ii) an inter-layer optimization that assigns bit-width precision and rank to each layer while ensuring the memory constraint is met. An optional final step applies a sequential optimization process using a modified adaptive rounding technique to mitigate compression-induced errors in joint low-rank approximation and quantization. The method is compatible and can be seamlessly integrated with most existing quantization algorithms. MLoRQ shows state-of-the-art results with up to 15\% performance improvement, evaluated on Vision Transformers for image classification, object detection, and instance segmentation tasks.

View on arXivView PDF

Code Implementations(1)

ofirgo/MLoRQCommunity66%
Apache-2.0

[BMVC 2025] MLoRQ: Bridging Low-Rank and Quantization for Transformer Compression

00PythonJul 30, 202512 months agoApache-2.0

Similar Papers

Cite this paper

@article{gordon2025mlorq,
  title  = {MLoRQ: Bridging Low-Rank and Quantization for Transformer Compression},
  author = {Ofir Gordon and Ariel Lapid and Elad Cohen and Yarden Yagil and Arnon Netzer and Hai Victor Habi},
  year   = {2025},
  eprint = {2507.09616},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.09616v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.09616.svg)](https://codeofpaper.com/paper/2507.09616)

Discussion