Practice
Solution
Step 1: Identify the role of each component
The item embedding matrix captures item similarities by representing items in a continuous vector space.Step 2: Eliminate wrong options
A: User profile matrix captures user preferences, not item similarities. C: Collaborative filtering matrix is not used in content-based filtering. D: User-item interaction matrix captures interactions, not similarities.Final Answer:
Option B -> Option BQuick Check:
Item embeddings capture similarities. [OK]
Solution
Step 1: Understand the importance of balance
F1 Score balances precision and recall, crucial for content moderation.Step 2: Eliminate wrong options
Accuracy doesn't account for class imbalance, precision alone ignores false negatives, and recall alone ignores false positives.Final Answer:
Option A -> Option AQuick Check:
F1 Score balances precision and recall. [OK]
Solution
Step 1: Align metrics with business objectives.
User satisfaction is best measured by user engagement, reflecting how users interact with the system.Step 2: Eliminate wrong options.
Precision, recall, and F1 score are technical metrics that don't directly measure user satisfaction.Final Answer:
Option C -> Option CQuick Check:
User satisfaction = engagement. [OK]
Solution
Step 1: Understand the role of embedding dimensions.
Small dimensions may not capture enough feature information.Step 2: Eliminate wrong options.
Overfitting (A) is unlikely with small dimensions. Latency (C) and gradient issues (D) are unrelated to embedding size.Final Answer:
Option B -> Option BQuick Check:
Small embeddings risk underfitting. [OK]
Solution
Step 1: Identify the role of KV Cache.
KV Cache prevents redundant computations, reducing latency.Step 2: Eliminate wrong options.
Batching inefficiencies affect throughput, not KV Cache. Memory issues are possible but less direct. Speculative decoding affects accuracy, not KV Cache.Final Answer:
Option D -> Option DQuick Check:
KV Cache mismanagement leads to redundant computations. [OK]
