Practice
1. In the context of Ad Click-Through Rate Prediction, which component of the DLRM architecture is responsible for capturing interactions between dense and sparse features?
easy
Solution
Step 1: Identify the role of each component.
Embedding tables handle sparse features, fully connected layers process dense features, and batch normalization normalizes inputs.Step 2: Eliminate wrong options.
Embedding tables (A) and fully connected layers (C) do not specifically capture interactions. Batch normalization (D) is unrelated to feature interactions.Final Answer:
Option A -> Option AQuick Check:
Cross-product for interactions in DLRM. [OK]
Hint: Cross-product for interactions in DLRM. [OK]
Common Mistakes:
2. For an ad click-through rate prediction model, which metric is most appropriate to optimize for business value?
easy
Solution
Step 1: Understand business objectives.
CTR prediction models need to balance true positive rate and false positive rate.Step 2: Eliminate wrong options.
Accuracy (A) doesn't account for class imbalance. Precision (B) and Recall (C) focus on one aspect of performance, not the trade-off.Final Answer:
Option C -> Option CQuick Check:
AUC-ROC balances trade-offs in CTR. [OK]
Hint: AUC-ROC balances trade-offs in CTR. [OK]
Common Mistakes:
3. As the user base scales 10x, which component of a DLRM-based CTR prediction system is most likely to become a bottleneck?
hard
Solution
Step 1: Consider scaling effects on components.
Embedding tables grow with user and feature diversity.Step 2: Eliminate wrong options.
Preprocessing (A) and inference (B) scale with compute resources. Storage (D) is less critical than real-time constraints.Final Answer:
Option D -> Option DQuick Check:
Embedding tables grow with scale. [OK]
Hint: Embedding tables grow with scale. [OK]
Common Mistakes:
4. As the data scale increases by 10x in an anomaly detection system using Isolation Forest, which component is most likely to become a bottleneck?
hard
Solution
Step 1: Analyze the impact of data scale on Isolation Forest.
As data increases, the depth of trees in the Isolation Forest can increase, leading to longer training times.Step 2: Eliminate wrong options.
Memory usage due to storing more trees. is incorrect because memory usage is more affected by the number of trees, not directly by data scale. Inference time due to increased number of features. is incorrect because inference time is less affected by feature count in Isolation Forests. Data preprocessing time due to feature scaling. is incorrect because feature scaling is a preprocessing step that doesn't scale linearly with data size.Final Answer:
Option A -> Option AQuick Check:
10x data = tree depth increases, training slows [OK]
Hint: 10x data = tree depth increases, training slows [OK]
Common Mistakes:
5. As the number of items to rank increases significantly, which component of a listwise ranking system is most likely to become a bottleneck?
hard
Solution
Step 1: Identify the component affected by increased item count.
Listwise approaches require more computation as the list size grows, impacting training time.Step 2: Eliminate wrong options.
Feature extraction and memory usage are affected but not as critically as training time. Evaluation metrics are computed post-training.Final Answer:
Option C -> Option CQuick Check:
Listwise = training time bottleneck with more items [OK]
Hint: Listwise = training time bottleneck with more items [OK]
Common Mistakes:
