Skip to main content
QUICK REVIEW

[Paper Review] Managed-Retention Memory: A New Class of Memory for the AI Era

Sergey Legtchenko, Ioan Stefanovici|ArXiv.org|Jan 16, 2025
Ferroelectric and Negative Capacitance DevicesEngineering3 citations
TL;DR

This paper introduces Managed-Retention Memory (MRM), a new memory class optimized for AI inference workloads that relaxes long-term data retention to improve read throughput, energy efficiency, and capacity, co-existing with HBM.

ABSTRACT

AI clusters today are one of the major uses of High Bandwidth Memory (HBM). However, HBM is suboptimal for AI workloads for several reasons. Analysis shows HBM is overprovisioned on write performance, but underprovisioned on density and read bandwidth, and also has significant energy per bit overheads. It is also expensive, with lower yield than DRAM due to manufacturing complexity. We propose a new memory class: Managed-Retention Memory (MRM), which is more optimized to store key data structures for AI inference workloads. We believe that MRM may finally provide a path to viability for technologies that were originally proposed to support Storage Class Memory (SCM). These technologies traditionally offered long-term persistence (10+ years) but provided poor IO performance and/or endurance. MRM makes different trade-offs, and by understanding the workload IO patterns, MRM foregoes long-term data retention and write performance for better potential performance on the metrics important for these workloads.

Motivation & Objective

  • Motivate memory architecture rethink for AI foundation model inference workloads.
  • Characterize foundation model memory IO patterns and why HBM is suboptimal."
  • Propose a new memory class (MRM) that trades retention and write performance for better read throughput, density, and energy efficiency.
  • Outline the software and hardware implications for deploying MRM in AI clusters.

Proposed method

  • Define the foundation model inference workload characteristics (weights, KV cache, activations) and their memory access patterns.
  • Analyze why HBM is overprovisioned for this workload and identify the mismatch with traditional DRAM/SCM.
  • Introduce the concept of MRM and explain the trade-offs (relaxed retention, higher endurance, better read throughput).
  • Discuss cross-layer implications including retention-aware data placement, lightweight memory controllers, and dynamic retention configuration.
  • Outline potential error correction strategies suitable for a block-based MRM interface.

Experimental results

Research questions

  • RQ1What memory characteristics are most critical for foundation model inference workloads?
  • RQ2Can a memory class that relaxes long-term retention meet AI workload requirements for throughput and energy more effectively than HBM/DRAM?
  • RQ3What are the system-level implications (OS, scheduling, data placement) of deploying MRM in AI clusters?
  • RQ4How should data (weights, KV cache, activations) be allocated and refreshed across memory tiers in an MRM-enabled system?
  • RQ5What error correction approaches are suitable for a relaxed-retention, high-throughput memory like MRM?

Key findings

  • Foundation model inference is highly read-dominated with large, predictable read patterns and sparse writes, driving memory system requirements that differ from traditional workloads.
  • HBM overprovisioned on endurance and suboptimal for density and read bandwidth; SCM-like retention is unnecessary for inference data.
  • MRM enables leveraging SCM-like technologies by trading long-term retention for improved read throughput, energy efficiency, and capacity, potentially matching AI workload needs.
  • A cross-layer memory stack (from hardware to rack-scale OS) can manage data lifetime, placement, and refresh to realize MRM’s benefits.
  • Data integrity and error correction can be adapted to a block-based MRM interface, leveraging existing memory ECC with opportunities for larger-codeword schemes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.