atlas

Research map / Architectures and efficiency / RNNs and normalization

Error Feedback Can Accurately Compress Preconditioners

ICML 2024 · Architectures and efficiency › RNNs and normalization · approach: Scalable approximation and equivariant compute · 0 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 EFCP, which applies error feedback to gradients before they enter full-matrix preconditioner sliding windows (M-FAC, GGT), compressing the window via sparsity or low rank with GPU kernels for sparse ring buffers.

Problem

Full-matrix preconditioners such as GGT and M-FAC need to store a sliding window of m past gradients (memory Θ(md)), which is prohibitive even for small models.

Approach

Compress gradients (Top-k sparsification or low-rank power iteration) before inserting them into the preconditioner's gradient window, and feed the compression error back into subsequent gradients via error feedback, so the window stores only compressed representations while preserving accuracy.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
compress preconditioner gradients with 1% density and error feedbackM-FAC on ImageNet-1K ResNet-18 · ImageNet-1K validationTop-1 accuracy: 70.03% -> 70.01%No clear effect
replace Dense M-FAC with sparse M-FAC using 1% gradient densityM-FAC on ImageNet-1K ResNet-18 · ImageNet-1Kmemory: 58.5 GB -> 14.3 GBHelped
compress preconditioner gradients with sparsity and error feedbackM-FAC on GLUE-MNLI BERT-Tiny · GLUE-MNLI, BERT-Tinyevaluation accuracy: 66.86 -> 71.06Helped
replace Dense M-FAC with sparse M-FACM-FAC on GLUE-MNLI BERT-Mini · GLUE-MNLI, BERT-Minievaluation accuracy: 76.39 -> 76.40No clear effect
use sparse M-FAC instead of AdamBERT-Base · GLUE-MNLIevaluation accuracy: 84.6 -> 84.86Helped
use sparse M-FAC instead of Dense M-FACBERT-Base · GLUE-MNLIwhether training runs: OOM -> 84.86Helped
compress gradients with sparsity and error feedbackM-FAC on CIFAR-10 ViT-T · CIFAR-10, ViT-Ttest accuracy: 98.0 -> 98.0No clear effect
reduce gradient density to k=0.17% (ablation)S-MFAC on ImageNet-1K ResNet-18 · ImageNet-1K validationTop-1 accuracyMixed
use sparse M-FAC instead of SGDResNet-20 · CIFAR-10maximum Hessian eigenvalue: 9.12 / 24.51 -> 0.06 / 0.11Helped
vary gradient density from k=0.1% to k=10% (ablation)S-MFAC · ResNet-20, CIFAR-10, epoch 100maximum Hessian eigenvalue (train / test): 0.1 / 0.23; 0.07 / 0.1; 0.06 / 0.11; 0.05 / 0.11; 0.05 / 0.12Mixed
compress gradients with the proposed sparse data structures and CUDA kernels rather than a naive PyTorch implementationSparse M-FAC · implementation efficiencyspeed: 1.5-2x fasterHelped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K CIFAR-10 GLUE MNLI

Benchmarks: ImageNet-1K CIFAR-10 GLUE MNLI

Metrics: top-1 validation accuracy test accuracy training loss peak GPU memory training time max eigenvalue of Hessian

Baselines: SGD with momentum AdamW Dense M-FAC Shampoo K-FAC SENG Adam Dense GGT

Builds on: M-FAC GGT Adagrad error feedback ASDL

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