A retailer trained a LoRA adapter on acme-8b (the base model). The serving team loads it onto acme-8b-instruct, which has the same architecture. It loads without any error, but answers are clearly worse than in the training team's evaluation. What explains this, and what prevents it?
Show the answer and explanation
Correct answer: D, The update ΔW was learned for the exact base weights, and matching shapes mean nothing fails on load; record the base model and revision with each adapter and verify them before serving.
Explanation PEFT & LoRA
A LoRA adapter stores only the low-rank factors of an update: W' = W + ΔW with ΔW = (α/r)·B·A. The update is meaningful only relative to the W it was trained on. The instruct variant has the same shapes but different weights (after SFT and preference tuning), so W_instruct + ΔW is a model nobody trained or evaluated. The same happens when a base repository is updated in place and the server pulls a newer revision.
Nothing fails loudly: the adapter's tensors fit the new matrices perfectly, so the only symptom is lower quality, which may go unnoticed for weeks.
Prevention:
- Record the exact base model and revision (commit hash or registry version) with every adapter. An adapter config usually records the base model's name, but a name can point to different weights over time, so pin the revision explicitly too.
- Load the base at that pinned revision and check it at startup; refuse to serve on a mismatch.
- Use the adapter's evaluation suite as a deployment gate, so a wrong pairing fails a smoke test before it gets traffic.
- To use the adapter on the instruct model, retrain it there and re-evaluate.
Why the alternatives are wrong: adapters do not contain full weight copies; a chat-template mismatch is a separate problem and does not make ΔW fit different weights; shape errors appear only when architectures differ, so a clean load proves nothing about the pairing; and overfitting cannot explain a drop that appeared only after the base was swapped, since the same adapter scored well in the training team's evaluation.
Interview tip: treat base model + revision + adapter + tokenizer + chat template as one versioned artifact in the model registry.