Practice
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]
Solution
Step 1: Identify the role of each component.
The Tokenizer is responsible for converting raw text into tokens, which are then converted into numerical vectors.Step 2: Eliminate wrong options.
Data Loader handles data input, Feature Extractor processes features but not directly from raw text, and Batch Normalizer normalizes data batches.Final Answer:
Option C -> Option CQuick Check:
Tokenizer converts text to tokens. [OK]
Solution
Step 1: Analyze the symptom
Irrelevant results suggest a mismatch in understanding query-document relevance.Step 2: Identify the most likely cause
Feature mismatch can lead to poor relevance scoring.Final Answer:
Option A -> Option AQuick Check:
Feature mismatch leads to poor relevance. [OK]
Solution
Step 1: Consider resource allocation
If the ranking stage is computationally expensive, a simpler candidate generation model can save resources for the ranking stage.Step 2: Eliminate wrong options
When the dataset is small and computation resources are abundant. is incorrect because a small dataset doesn't necessitate a simpler model. When precision is more important than recall in the candidate generation stage. is incorrect because recall is typically prioritized in candidate generation. When the ranking model is not capable of handling large candidate sets. is incorrect because the ranking model should handle the candidate set size.Final Answer:
Option A -> Option AQuick Check:
Save resources for ranking if it's costly. [OK]
Solution
Step 1: Consider the cold-start problem
Cold-start users lack interaction data, making content-based features useful for initial embeddings.Step 2: Eliminate wrong options
Use collaborative filtering to generate initial embeddings. relies on interaction data, which cold-start users lack. Use random embeddings until enough data is collected. provides no meaningful information. Use embeddings from a pre-trained language model. might not capture user-specific features effectively.Final Answer:
Option C -> Option CQuick Check:
Content-based features help with cold-start. [OK]
