Practice
1. For a feed ranking system, which metric should be optimized to ensure users see the most relevant content?
easy
Solution
Step 1: Understand the goal of relevance
CTR measures how often users click on posts, indicating relevance.Step 2: Eliminate wrong options
Page load time affects performance, not relevance. Number of ads and total time spent are not direct indicators of content relevance.Final Answer:
Option A -> Option AQuick Check:
CTR indicates relevance. [OK]
Hint: CTR indicates relevance. [OK]
Common Mistakes:
2. In the context of a Guardrails System for LLMs, which component is primarily responsible for detecting inappropriate content in user-generated text?
easy
Solution
Step 1: Identify the role of each component
The content filtering module is designed to detect and filter inappropriate content.Step 2: Eliminate wrong options
Data augmentation is for enhancing training data, model training is for learning patterns, and user feedback loop is for improving system iteratively.Final Answer:
Option B -> Option BQuick Check:
Content filtering detects inappropriate content. [OK]
Hint: Content filtering detects inappropriate content. [OK]
Common Mistakes:
3. For a semantic search system using a Bi-Encoder, which metric is most appropriate to evaluate the retrieval performance?
easy
Solution
Step 1: Understand retrieval evaluation metrics
Precision@K measures the relevance of the top K retrieved documents, which is crucial for retrieval tasks.Step 2: Eliminate wrong options
Accuracy and F1 Score are more suited for classification tasks, Mean Squared Error is for regression.Final Answer:
Option B -> Option BQuick Check:
Precision@K = retrieval relevance [check]
Hint: Precision@K = retrieval relevance [check]
Common Mistakes:
4. In the context of a Two-Tower Model for Retrieval, what is the primary role of the user tower?
easy
Solution
Step 1: Understand the user tower's role
The user tower is responsible for generating embeddings that represent users based on their features.Step 2: Eliminate wrong options
To generate item embeddings based on user interactions. is incorrect because item embeddings are generated by the item tower. To compute similarity scores between users and items. is incorrect because similarity scores are computed after embeddings are generated. To directly predict user-item interaction scores. is incorrect because the model predicts interaction scores using both towers' outputs.Final Answer:
Option B -> Option BQuick Check:
User tower generates user embeddings. [OK]
Hint: User tower generates user embeddings. [OK]
Common Mistakes:
5. A session-based recommendation model is underperforming. Which of the following is a likely failure mode specific to sequential modeling?
medium
Solution
Step 1: Identify sequential modeling issues
Ignoring the order of interactions can lead to poor performance in sequential models.Step 2: Eliminate generic issues
Overfitting and data leakage are general issues; learning rate affects convergence speed, not sequence handling.Final Answer:
Option A -> Option AQuick Check:
Order matters in sequences. [OK]
Hint: Order matters in sequences. [OK]
Common Mistakes:
