Alignment, Retrieval Quality, and Resource Limits
Analyse a system-wide trade-off without assuming a single alignment or retrieval method is best.
generative ai, alignment, retrieval, resources, evaluationAnalyse the whole system
Consider a document assistant with a fixed latency and memory budget. A larger retriever cutoff might find more relevant passages but consume more tokens and distract the model. A smaller or quantized model can reduce memory, while changing accuracy on particular tasks. A preference-tuned model may better match a rubric without matching every person's values.
Compare two designs
- Design A retrieves three passages and uses an uncompressed model.
- Design B retrieves six and uses a quantized model under the same budget.
- Test both on the same held-out queries, permissions and no-answer cases. Record recall, grounding, harmful outcomes, tail latency, memory and cost. No winner is assumed before evidence is available.
See the reasoning
Follow the example one step at a time
Compare two hypothetical designs without assuming a winner. This is a prepared teaching demonstration, not live code execution.
Design A
3 passages + uncompressed model
One design retrieves fewer passages and keeps the model uncompressed.
Limits and open questions
RLHF and DPO optimise different formulations based on collected preferences; compare their data, reference models, training cost and held-out behaviours rather than assuming either universally wins. Retrieval labels may be incomplete; source provenance and access controls remain necessary. Quantisation and context truncation can interact with retrieval quality.
Open questions include how to measure changing human preferences, detect rare unsafe tool trajectories, assess source trust and generalise beyond benchmarks. State assumptions, test failure slices and repeat evaluations after changes. These examples do not deploy models or store learner data.
Reflect on the concept
Four fixed questions to reinforce the reasoning. Answers are not saved or scored.
