deeprecsys-eval
DeepRecSys: A System for Optimizing End-To-End At-scale Neural Recommendation Inference — Gupta et al. (2020) (arXiv:2001.02772, 2020)
What this evaluates
Evaluates the throughput, tail latency, and power efficiency of a dynamic scheduling system for at-scale neural recommendation inference across various industry models, hardware platforms, and tail-latency constraints.
Datasets
- Industry-representative recommendation models (DLRM-RMC1/2/3, WND, MT-WND, NCF, DIN, DIEN) — total ?; splits: test (-1)
Metrics
QPS (primary) — range: other
- Queries Per Second, normalized to the baseline static scheduler's QPS at the low tail latency case.
Tail Latency (p95, p99) — range: other
- 95th and 99th percentile of inference latency, measured in milliseconds.
QPS/Watt — range: other
- Throughput normalized by power consumption, measuring queries processed per watt of energy.
Input / output format
Input: Recommendation inference queries with varying sizes and arrival rates, processed by neural recommendation models.
Output: System throughput (QPS), tail latency percentiles (p95, p99), and power efficiency (QPS/Watt) under different tail latency targets and hardware configurations.
Scoring recipe
def compute_metrics(predictions, gold):
# predictions: list of per-query inference latencies
# gold: dict with 'time_seconds' and 'power_watts'
qps = len(predictions) / gold['time_seconds']
p95 = np.percentile(predictions, 95)
p99 = np.percentile(predictions, 99)
qps_per_watt = qps / gold['power_watts']
return {'QPS': qps, 'p95': p95, 'p99': p99, 'QPS/Watt': qps_per_watt}
Common pitfalls
- Tail latency targets (low, medium, high) significantly impact optimal batch size and hardware offloading strategy.
- Power efficiency (QPS/Watt) does not always improve with GPU offloading; memory-intensive models may see degradation due to GPU power overhead.
- Production traffic distributions (heavier tail) differ from synthetic lognormal distributions, requiring careful batch-size tuning.
Evidence (verbatim from paper)
Overall, DeepRecSched-CPU achieves 1.7×, 2.1×, and 2.7× higher QPS across all models for the low, medium, and high tail latency targets, respectively. DeepRecSched-CPU is able to increase the overall system throughput by operating at the optimal batch size configuration. Furthermore, DeepRecSched-GPU increases performance improvement to 4.0×, 5.1×, and 5.8× at the low, medium, and high tail latency targets, respectively.
Citation
@misc{gupta2020deeprecsys,
title={DeepRecSys: A System for Optimizing End-To-End At-scale Neural Recommendation Inference},
author={Gupta et al. (2020)},
year={2020},
note={arXiv:2001.02772}
}
1---2name: deeprecsys-eval3description: Evaluates the throughput, tail latency, and power efficiency of a dynamic scheduling system for at-scale neural recommendation inference across various industry models, hardware platforms, and tail-latency constraints. Use when the user wants to benchmark on Industry-representative recommendation models (DLRM-RMC1/2/3, WND, MT-WND, NCF, DIN, DIEN), or asks about evaluating this task. Reports QPS.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/deeprecsys-eval6 skill_kind: dataset_eval7 source_arxiv: 2001.027728 bibtex_key: gupta2020deeprecsys9 confidence: high10---1112# deeprecsys-eval1314> DeepRecSys: A System for Optimizing End-To-End At-scale Neural Recommendation Inference — Gupta et al. (2020) (arXiv:2001.02772, 2020)1516## What this evaluates1718Evaluates the throughput, tail latency, and power efficiency of a dynamic scheduling system for at-scale neural recommendation inference across various industry models, hardware platforms, and tail-latency constraints.1920## Datasets2122- **Industry-representative recommendation models (DLRM-RMC1/2/3, WND, MT-WND, NCF, DIN, DIEN)** — total ?; splits: test (-1)2324## Metrics2526- `QPS` **(primary)** — range: other27 - Queries Per Second, normalized to the baseline static scheduler's QPS at the low tail latency case.28- `Tail Latency (p95, p99)` — range: other29 - 95th and 99th percentile of inference latency, measured in milliseconds.30- `QPS/Watt` — range: other31 - Throughput normalized by power consumption, measuring queries processed per watt of energy.3233## Input / output format3435**Input**: Recommendation inference queries with varying sizes and arrival rates, processed by neural recommendation models.3637**Output**: System throughput (QPS), tail latency percentiles (p95, p99), and power efficiency (QPS/Watt) under different tail latency targets and hardware configurations.3839## Scoring recipe4041```python42def compute_metrics(predictions, gold):43 # predictions: list of per-query inference latencies44 # gold: dict with 'time_seconds' and 'power_watts'45 qps = len(predictions) / gold['time_seconds']46 p95 = np.percentile(predictions, 95)47 p99 = np.percentile(predictions, 99)48 qps_per_watt = qps / gold['power_watts']49 return {'QPS': qps, 'p95': p95, 'p99': p99, 'QPS/Watt': qps_per_watt}50```5152## Common pitfalls5354- Tail latency targets (low, medium, high) significantly impact optimal batch size and hardware offloading strategy.55- Power efficiency (QPS/Watt) does not always improve with GPU offloading; memory-intensive models may see degradation due to GPU power overhead.56- Production traffic distributions (heavier tail) differ from synthetic lognormal distributions, requiring careful batch-size tuning.5758## Evidence (verbatim from paper)5960> Overall, DeepRecSched-CPU achieves 1.7×, 2.1×, and 2.7× higher QPS across all models for the low, medium, and high tail latency targets, respectively. DeepRecSched-CPU is able to increase the overall system throughput by operating at the optimal batch size configuration. Furthermore, DeepRecSched-GPU increases performance improvement to 4.0×, 5.1×, and 5.8× at the low, medium, and high tail latency targets, respectively.6162## Citation6364```bibtex65@misc{gupta2020deeprecsys,66 title={DeepRecSys: A System for Optimizing End-To-End At-scale Neural Recommendation Inference},67 author={Gupta et al. (2020)},68 year={2020},69 note={arXiv:2001.02772}70}71```7273- arXiv: 2001.02772