Practice
Solution
Step 1: Identify the goal of the retrieval model
The goal is to rank items effectively for users, making ranking metrics like Precision at K suitable.Step 2: Eliminate wrong options
Mean Squared Error (MSE) (MSE) is for regression tasks. F1 Score (F1 Score) is for classification tasks. Log Loss (Log Loss) is also for classification tasks.Final Answer:
Option D -> Option DQuick Check:
Use ranking metrics like Precision at K. [OK]
Solution
Step 1: Analyze the symptom
A high false negative rate often indicates that the model is not sensitive enough to positive samples.Step 2: Eliminate wrong options
Overfitting would increase false positives, a high learning rate causes instability, and incorrect feature extraction would affect all predictions.Final Answer:
Option A -> Option AQuick Check:
High false negatives = Imbalanced data [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]
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 the impact of scaling on each component.
Serving Infrastructure is directly impacted by increased user requests, making it a likely bottleneck.Step 2: Eliminate wrong options.
Model Training and Data Ingestion are less affected by user growth, and Feature Store scales with data, not users.Final Answer:
Option C -> Option CQuick Check:
Serving scales with user requests. [OK]
