atlas

Research map / Architectures and efficiency / RNNs and normalization

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

NeurIPS 2024 · Architectures and efficiency › RNNs and normalization · approach: Efficient network compression and training · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CoMERA, a rank-adaptive tensor-compressed end-to-end training method with multi-objective (scalarization) rank control and GPU-optimized TTM embedding lookup, tensor contraction paths, and CUDA Graph, achieving speedups and memory savings over GaLore and LTE.

Problem

Training large AI models (LLMs, DLRMs) is extremely costly in memory and compute, and prior tensor-compressed training lacks automatic rank selection and has not shown real wall-clock or memory reductions on GPU.

Approach

Control TT/TTM ranks during end-to-end training via diagonal matrices with l1 relaxation and multi-objective scalarization (linear early stage, achievement scalarization late stage), combined with optimized TTM embedding lookup, a near-optimal contraction path for TT forward/backward, and CUDA Graph to make tensorized training faster on GPU.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CoMERA rank-adaptive tensor compression instead of uncompressed trainingSix-encoder transformer · MNLI validationaccuracy: 62.2% -> 63.3%Helped
Apply late-stage rank adaptation with target ratio 0.8 (ablation)CoMERA six-encoder transformer · MNLI validationaccuracy: 63.3% -> 62.2%No clear effect
Apply late-stage rank adaptation with target ratio 0.5 (ablation)CoMERA six-encoder transformer · MNLI validationaccuracy: 63.3% -> 62.1%Hurt
Apply late-stage rank adaptation with target ratio 0.2 (ablation)CoMERA six-encoder transformer · MNLI validationaccuracy: 63.3% -> 61.5%Hurt
Replace uncompressed training with CoMERA compressionDLRM · Criteo Ad Kaggle testaccuracy: 78.68% -> 78.76%No clear effect
Use optimized TTM embedding lookup instead of unoptimized TTM lookup (ablation)CoMERA DLRM · DLRM trainingtraining time per epoch: around 2× speedupHelped
Use optimized TTM embedding lookup instead of unoptimized TTM lookup (ablation)CoMERA DLRM · DLRM trainingpeak memory: 4-5×Helped
Enable CUDA Graph (ablation)CoMERA six-encoder transformer · MNLI trainingtraining time: around 3× speed-upHelped
Use CoMERA instead of GaLoreSix-encoder transformer · MNLItraining time per epoch: about 2× fasterHelped
Use CoMERA instead of LTESix-encoder transformer · MNLItraining time per epoch: 3× fasterHelped
Use CoMERA instead of GaLore in single-batch trainingSix-encoder transformer · MNLImemory cost: 9× more memory-efficientHelped
Use CoMERA instead of standard pre-trainingCodeBERT LARGE · CodeSearchNet pre-training, Phase 1training speed: 2.3× fasterHelped

Surprising findings

Limitations

Experimental setup

Datasets: MNLI Criteo Ad Kaggle CodeSearchNet Wikipedia SST-2 MRPC SQuAD

Benchmarks: MNLI Criteo Ad Kaggle SST-2 MRPC SQuAD

Metrics: validation accuracy compression ratio training time per epoch peak memory training loss normalized cross-entropy F1

Baselines: uncompressed training GaLore LTE standard pre-training

Builds on: SVDinsTN GaLore LTE CodeBERT DLRM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy