용량 주도 확장형 신경 추천 추론 이해
Understanding Capacity-Driven Scale-Out Neural Recommendation Inference
Understanding Capacity-Driven Scale-Out Neural Recommendation Inference
@misc{lui2020understanding,
title = {Understanding Capacity-Driven Scale-Out Neural Recommendation Inference},
author = {Michael Lui and Yavuz Yetim and Özgür Özkan and Zhuoran Zhao and Shin-Yeh Tsai and Carole-Jean Wu and Mark Hempstead},
year = {2020},
eprint = {2011.02084},
archivePrefix = {arXiv},
primaryClass = {cs.DC},
url = {https://arxiv.org/abs/2011.02084}
}
Lui, M., Yetim, Y., Özkan, Ö., Zhao, Z., Tsai, S.-Y., Wu, C.-J., & Hempstead, M. (2020). Understanding Capacity-Driven Scale-Out Neural Recommendation Inference [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.02084
LUI M, YETIM Y, ÖZKAN Ö, et al. Understanding Capacity-Driven Scale-Out Neural Recommendation Inference[EB/OL]. (2020-11-04)[2026-11-29]. https://arxiv.org/abs/2011.02084.
초록
딥러닝 추천 모델은 테라바이트 규모로 성장했으며, 단일 서버에 전체 모델을 로드하는 전통적인 서빙 스키마는 이러한 규모를 지원할 수 없다. 이러한 규모를 지원하기 위한 접근법 중 하나는 분산 서빙 또는 분산 추론으로, 단일 대형 모델의 메모리 요구사항을 여러 서버에 분배하는 것이다. 이 작업은 거대한 시스템 설계 공간 속에서 시스템 연구 커뮤니티가 새로운 모델 서빙 솔루션을 개발하는 데 있어 첫 단계이다. 대규모 딥러닝 추천 시스템은 데이터 센터의 모든 추론 사이클의 79%까지 차지하는 새로운 워크로드이며 연구가 필수적이다. 이 작업은 데이터 센터 서빙 인프라를 사용하여 스케일 아웃 딥러닝 추천 추론을 기술하고 분석한다. 이 작업은 최근 다른 작업들의 통량 지향적인 훈련 시스템과 비교하여 지연 시간 제한 추론 시스템을 탐구한다. 우리는 분산 추론의 지연 시간과 컴퓨팅 오버헤드가 모델의 정적 임베딩 테이블 분포와 입력 추론 요청의 희소성에 주로 기인함을 발견한다. 또한 세 가지 DLRM 유사 모델의 세 가지 임베딩 테이블 매핑 전략을 평가하며, 엔드 투 엔드 지연 시간, 컴퓨팅 오버헤드, 그리고 자원 효율성에 대한 도전적인 설계 트레이드 오프를 명시한다. 전반적으로, 데이터 센터 규모의 추천 모델을 분산 추론 방식으로 서빙할 때만 경미한 지연 시간 오버헤드를 관찰한다. 최적 구성에서 P99 지연 시간은 1% 만 증가한다. 지연 시간 오버헤드는 주로 사용된 오프쇼드 인프라와 임베딩 테이블의 희소성에 기인한다. 더욱 고무적인 것은 분산 추론이 데이터 센터 규모의 추천 서빙에서 효율성 개선을 설명할 수 있음을 보여주는 것이다.
Deep learning recommendation models have grown to the terabyte scale. Traditional serving schemes-that load entire models to a single server-are unable to support this scale. One approach to support this scale is with distributed serving, or distributed inference, which divides the memory requirements of a single large model across multiple servers. This work is a first-step for the systems research community to develop novel model-serving solutions, given the huge system design space. Large-scale deep recommender systems are a novel workload and vital to study, as they consume up to 79% of all inference cycles in the data center. To that end, this work describes and characterizes scale-out deep learning recommendation inference using data-center serving infrastructure. This work specifically explores latency-bounded inference systems, compared to the throughput-oriented training systems of other recent works. We find that the latency and compute overheads of distributed inference are largely a result of a model's static embedding table distribution and sparsity of input inference requests. We further evaluate three embedding table mapping strategies of three DLRM-like models and specify challenging design trade-offs in terms of end-to-end latency, compute overhead, and resource efficiency. Overall, we observe only a marginal latency overhead when the data-center scale recommendation models are served with the distributed inference manner-P99 latency is increased by only 1% in the best case configuration. The latency overheads are largely a result of the commodity infrastructure used and the sparsity of embedding tables. Even more encouragingly, we also show how distributed inference can account for efficiency improvements in data-center scale recommendation serving.