Practice
Solution
Step 1: Identify the role of each component.
The retriever model is designed to fetch relevant documents from a large corpus based on a query.Step 2: Eliminate wrong options.
The generator model creates text based on retrieved documents, the encoder processes input data, and the decoder generates output from encoded data.Final Answer:
Option A -> Option AQuick Check:
Retriever fetches, generator creates. [OK]
Solution
Step 1: Understand the impact on accuracy.
Speculative Decoding can introduce errors by predicting future tokens.Step 2: Eliminate wrong options.
Batching and KV Cache do not inherently affect accuracy. Model Pruning reduces model size but can be controlled to maintain accuracy.Final Answer:
Option B -> Option BQuick Check:
Speculative Decoding risks accuracy for speed. [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 scaling impact
Feature extraction often involves complex computations that scale with data volume.Step 2: Eliminate wrong options
Data storage can be scaled with distributed systems, model training is periodic, and network bandwidth is less likely to bottleneck first.Final Answer:
Option D -> Option DQuick Check:
Feature extraction scales with data. [OK]
Solution
Step 1: Analyze the impact of scaling on each component
DPO involves handling and optimizing large volumes of data, which can become a bottleneck as data scales.Step 2: Eliminate wrong options
B: SFT scales with model size, not data volume. C: RLHF is more about feedback processing, not data volume. D: Deployment infrastructure is affected by model size, not data volume.Final Answer:
Option A -> Option AQuick Check:
DPO bottlenecks with data scale. [OK]
