CoMERA: Computing- and Memory-Efficient Training via Rank-Adaptive Tensor Optimization

Zi Yang, Samridhi Choudhary, Xinfeng Xie, Cao Gao, Siegfried Kunzmann +1 more
2/3/2026

No official code found. Best implementation: ziyangjoy/CoMERA (9 stars, last commit 2024-10-25).

Abstract

Training large AI models such as LLMs and DLRMs costs massive GPUs and computing time. The high training cost has become only affordable to big tech companies, meanwhile also causing increasing concerns about the environmental impact. This paper presents CoMERA, a Computing- and Memory-Efficient training method via Rank-Adaptive tensor optimization. CoMERA achieves rank-adaptive tensor-compressed (pre)-training via a multi-objective optimization formulation and improves the training to provide both a high compression ratio and excellent accuracy in the training process. Our optimized numerical computation (e.g., optimized tensorized embedding and tensor-network contractions) and GPU implementation eliminate part of the run-time overhead in the tensorized training on GPU. This leads to, for the first time, $2-3\times$ speedup per training epoch compared with standard training. CoMERA also outperforms the recent GaLore in terms of both memory and computing efficiency. Specifically, CoMERA is $2\times$ faster per training epoch and $9\times$ more memory-efficient than GaLore on a tested six-encoder transformer with single-batch training. Our method also shows $\sim 2\times$ speedup than standard pre-training on a BERT-like code-generation LLM while achieving $4.23\times$ compression ratio in pre-training. With further HPC optimization, CoMERA may reduce the pre-training cost of many other LLMs. An implementation of CoMERA is available at https://github.com/ziyangjoy/CoMERA.

View on arXivView PDF

Code Implementations(1)

ziyangjoy/CoMERACommunity100%

Implementation of CoMERA

93Shell, PythonOct 25, 20241 years ago

Similar Papers

Cite this paper

@article{yang2026comera,
  title  = {CoMERA: Computing- and Memory-Efficient Training via Rank-Adaptive Tensor Optimization},
  author = {Zi Yang and Samridhi Choudhary and Xinfeng Xie and Cao Gao and Siegfried Kunzmann and Zheng Zhang},
  year   = {2026},
  eprint = {2405.14377},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.14377},
  url    = {https://arxiv.org/abs/2405.14377},
  journal = {NEURIPS 2024 2024}
}

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/2405.14377.svg)](https://codeofpaper.com/paper/2405.14377)

Discussion