MTrainS: Improving DLRM training efficiency using heterogeneous memories

Hiwot Tadese Kassa, Paul Johnson, Jason Akers, Mrinmoy Ghosh, Andrew Tulloch +5 more
4/19/2023
cs.IRcs.LGcs.PF

No confident code implementation found for this paper.

Abstract

Recommendation models are very large, requiring terabytes (TB) of memory during training. In pursuit of better quality, the model size and complexity grow over time, which requires additional training data to avoid overfitting. This model growth demands a large number of resources in data centers. Hence, training efficiency is becoming considerably more important to keep the data center power demand manageable. In Deep Learning Recommendation Models (DLRM), sparse features capturing categorical inputs through embedding tables are the major contributors to model size and require high memory bandwidth. In this paper, we study the bandwidth requirement and locality of embedding tables in real-world deployed models. We observe that the bandwidth requirement is not uniform across different tables and that embedding tables show high temporal locality. We then design MTrainS, which leverages heterogeneous memory, including byte and block addressable Storage Class Memory for DLRM hierarchically. MTrainS allows for higher memory capacity per node and increases training efficiency by lowering the need to scale out to multiple hosts in memory capacity bound use cases. By optimizing the platform memory hierarchy, we reduce the number of nodes for training by 4-8X, saving power and cost of training while meeting our target training performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kassa2023mtrains,
  title  = {MTrainS: Improving DLRM training efficiency using heterogeneous memories},
  author = {Hiwot Tadese Kassa and Paul Johnson and Jason Akers and Mrinmoy Ghosh and Andrew Tulloch and Dheevatsa Mudigere and Jongsoo Park and Xing Liu and Ronald Dreslinski and Ehsan K. Ardestani},
  year   = {2023},
  eprint = {2305.01515},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.01515v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.01515.svg)](https://codeofpaper.com/paper/2305.01515)

Discussion