Practice
1. For an ad auction system aiming to maximize revenue, which metric should be optimized?
easy
Solution
Step 1: Align metric with objective
To maximize revenue, the system should optimize for Expected Revenue, which considers both CTR and bid amounts.Step 2: Eliminate wrong options
- Click-through Rate (CTR): Measures engagement, not directly linked to revenue.
- Conversion Rate: Focuses on post-click actions, not directly on revenue.
- Ad Impressions: Measures visibility, not revenue.
Final Answer:
Option D -> Option DQuick Check:
Optimize Expected Revenue for revenue goals. [OK]
Hint: Optimize Expected Revenue for revenue goals. [OK]
Common Mistakes:
2. In content-based filtering using item embeddings, which component is primarily responsible for capturing item similarities?
easy
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]
Hint: Item embeddings capture similarities. [OK]
Common Mistakes:
3. In the context of semantic search, which component is responsible for encoding both queries and documents into a shared vector space?
easy
Solution
Step 1: Identify the role of each component
Bi-Encoders encode both queries and documents into a shared vector space for efficient retrieval.Step 2: Eliminate wrong options
Cross-Encoders evaluate query-document pairs directly, Dense Retrievers use encoded vectors, Sparse Retrievers use traditional methods.Final Answer:
Option A -> Option AQuick Check:
Bi-Encoder = shared vector space [check]
Hint: Bi-Encoder = shared vector space [check]
Common Mistakes:
4. In an anomaly detection system using an Autoencoder, what is a likely failure mode if the model is overfitting?
medium
Solution
Step 1: Understand overfitting in Autoencoders.
Overfitting occurs when the model learns the noise in the training data, leading to poor generalization.Step 2: Eliminate wrong options.
The model will fail to detect any anomalies. is incorrect because the model will still detect anomalies, but with poor accuracy. The model will have a high reconstruction error on the training data. is incorrect because overfitting typically results in low reconstruction error on training data. The model will require more labeled data to function correctly. is incorrect because labeled data is not required for Autoencoders.Final Answer:
Option A -> Option AQuick Check:
Overfitting = false positives increase [OK]
Hint: Overfitting = false positives increase [OK]
Common Mistakes:
5. What is a likely failure mode if the fraud detection model is trained on outdated transaction data?
medium
Solution
Step 1: Consider the impact of outdated data.
Outdated data means the model won't recognize new fraud patterns.Step 2: Identify the failure mode.
The model will likely miss new fraud patterns, leading to undetected fraud.Final Answer:
Option D -> Option DQuick Check:
Outdated data misses new patterns. [OK]
Hint: Outdated data misses new patterns. [OK]
Common Mistakes:
