Title
MERCI: efficient embedding reduction on commodity hardware via sub-query memoization
Abstract
ABSTRACTDeep neural networks (DNNs) with embedding layers are widely adopted to capture complex relationships among entities within a dataset. Embedding layers aggregate multiple embeddings — a dense vector used to represent the complicated nature of a data feature— into a single embedding; such operation is called embedding reduction. Embedding reduction spends a significant portion of its runtime on reading embeddings from memory and thus is known to be heavily memory-bandwidth-bound. Recent works attempt to accelerate this critical operation, but they often require either hardware modifications or emerging memory technologies, which makes it hardly deployable on commodity hardware. Thus, we propose MERCI, Memoization for Embedding Reduction with ClusterIng, a novel memoization framework for efficient embedding reduction. MERCI provides a mechanism for memoizing partial aggregation of correlated embeddings and retrieving the memoized partial result at a low cost. MERCI substantially reduces the number of memory accesses by 44% (29%), leading to 102% (74%) throughput improvement on real machines and 40.2% (28.6%) energy savings at the expense of 8×(1×) additional memory usage.
Year
DOI
Venue
2021
10.1145/3445814.3446717
ASPLOS
DocType
Citations 
PageRank 
Conference
1
0.35
References 
Authors
0
7
Name
Order
Citations
PageRank
Yejin Lee110.35
Seong Hoon Seo210.35
Hyunji Choi310.35
Hyoung Uk Sul410.35
Soosung Kim510.35
Jae W. Lee660752.37
Tae Jun Ham743.76