atlas

Research map / Architectures and efficiency / RNNs and normalization

HiRemate: Hierarchical Approach for Efficient Re-materialization of Neural Networks

ICML 2025 · Architectures and efficiency › RNNs and normalization · approach: Efficient network compression and training

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 HiRemate, a hierarchical re-materialization framework that recursively partitions a general data-flow graph and combines a new hierarchical ILP (H-ILP) with existing solvers to produce memory-budgeted PyTorch training schedules.

Problem

Re-materialization (recomputation) for training DNNs under GPU memory budgets is NP-hard on general graphs; existing exact ILP methods (Checkmate) do not scale beyond ~70-90 nodes, and chain-based methods (Rockmate, Rotor) lack generality for long skip connections.

Approach

Recursively partition the computation graph into convex subgraphs (H-Partition), solve bottom-level subgraphs under multiple budgets with different solvers, and recombine their options at higher levels with a new ILP (H-ILP) using phantom nodes and option-specific memory corrections, yielding a global schedule.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use H-ILP instead of RK-CHECKMATEHIREMATE · UNet, 7.1 GB budgetiteration time overhead: 5.32% -> 5.44%Hurt
use H-ILP instead of RK-CHECKMATEHIREMATE · 2-layer Transformer, 7.0 GB budgetiteration time overhead: 5.32% -> 5.34%Hurt
use H-ILP instead of RK-CHECKMATEHIREMATE · MLP-Mixer, 6.0 GB budgetiteration time overhead: 2.47% -> 2.44%Helped
use H-ILP instead of RK-CHECKMATEHIREMATE · 5-layer GPT2, 1.25 GB budgetiteration time overhead: 6.02% -> 9.24%Hurt

Surprising findings

Limitations

Experimental setup

Metrics: peak memory iteration time solving time relative overhead

Baselines: Checkmate TW-Remat Moccasin Rockmate PyTorch autodiff

Builds on: Checkmate RK-Checkmate Rockmate Rotor TW-Remat

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