State-Aware Activation Recomputation with Replay Contracts and Selective Preservation

Impact 7 arXiv cs.AI

Summary

  • Researchers introduce state-aware activation recomputation using versioned replay contracts to ensure correct segment replaying during backward passes.
  • A joint planner evaluates activation retention, whole-buffer snapshots, and selective-region preservation based on measured memory and recovery costs.
  • On sparse-write H100 workloads, joint planning reduces paired step time by 18.16% at a 44 GiB budget compared to an eager/whole planner.
  • For a dense-queue CIFAR-100 application, joint planning uses 22.41% more allocated memory than whole snapshots with comparable processing times.

Why it matters

Optimizing activation recomputation and memory management directly improves accelerator efficiency and enables training of larger models under tight memory constraints.

Who should care