# Compressing DMA Engine: Leveraging Activation Sparsity for Training Deep   Neural Networks

**Authors:** Minsoo Rhu, Mike O'Connor, Niladrish Chatterjee, Jeff Pool, Stephen W., Keckler

arXiv: 1705.01626 · 2017-05-05

## TL;DR

This paper presents a high-performance compression technique for DMA engines that leverages activation sparsity to reduce data transfer overheads, significantly improving GPU memory virtualization efficiency during DNN training.

## Contribution

It introduces a compressing DMA engine (cDMA) that exploits activation sparsity to drastically reduce data size, enhancing virtualized DNN training performance.

## Key findings

- Average 2.6x data compression ratio
- 32% average performance improvement
- Up to 13.8x compression ratio

## Abstract

Popular deep learning frameworks require users to fine-tune their memory usage so that the training data of a deep neural network (DNN) fits within the GPU physical memory. Prior work tries to address this restriction by virtualizing the memory usage of DNNs, enabling both CPU and GPU memory to be utilized for memory allocations. Despite its merits, virtualizing memory can incur significant performance overheads when the time needed to copy data back and forth from CPU memory is higher than the latency to perform the computations required for DNN forward and backward propagation. We introduce a high-performance virtualization strategy based on a "compressing DMA engine" (cDMA) that drastically reduces the size of the data structures that are targeted for CPU-side allocations. The cDMA engine offers an average 2.6x (maximum 13.8x) compression ratio by exploiting the sparsity inherent in offloaded data, improving the performance of virtualized DNNs by an average 32% (maximum 61%).

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1705.01626/full.md

## Figures

24 figures with captions in the complete paper: https://tomesphere.com/paper/1705.01626/full.md

## References

71 references — full list in the complete paper: https://tomesphere.com/paper/1705.01626/full.md

---
Source: https://tomesphere.com/paper/1705.01626