Practice
Solution
Step 1: Identify the role of each component
Collaborative and content-based filtering focus on user preferences, while diversity re-ranking ensures varied content.Step 2: Eliminate wrong options
Collaborative filtering (A) and content-based filtering (B) do not inherently ensure diversity. User profiling (D) focuses on understanding user preferences, not diversity.Final Answer:
Option B -> Option BQuick Check:
Diversity re-ranking ensures varied content [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]
Solution
Step 1: Consider the trade-offs
ANN is preferred when low latency is crucial because it speeds up search at the cost of some accuracy.Step 2: Eliminate wrong options
Exact matches require exact search, small datasets don't benefit much from ANN, and one-dimensional search doesn't need ANN complexity.Final Answer:
Option A -> Option AQuick Check:
ANN for speed, not exactness. [OK]
Solution
Step 1: Analyze scaling impact
Scaling to more items increases the demand for computing and updating item embeddings, making it a potential bottleneck.Step 2: Eliminate wrong options
A: User profile storage scales with users, not items. C: Recommendation generation is more affected by user scale. D: Interaction logging is more about user activity than item count.Final Answer:
Option A -> Option AQuick Check:
More items strain embedding computation. [OK]
Solution
Step 1: Consider the impact of scaling queries
Ranking computation is resource-intensive and scales with query volume.Step 2: Evaluate other components
Query parsing and document retrieval are less computationally intensive, and index updating is not query-dependent.Final Answer:
Option A -> Option AQuick Check:
Ranking computation scales with query volume. [OK]
